Interface WorkspaceSettingsClient


public interface WorkspaceSettingsClient
An instance of this class provides access to all the operations defined in WorkspaceSettingsClient.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<WorkspaceSettingInner> list()
      Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set.
      Returns:
      list of workspace settings response as paginated response with PagedIterable.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<WorkspaceSettingInner> list(com.azure.core.util.Context context)
      Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      list of workspace settings response as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      WorkspaceSettingInner get(String workspaceSettingName)
      Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set.
      Parameters:
      workspaceSettingName - Name of the security setting.
      Returns:
      configures where to store the OMS agent data for workspaces under a scope.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<WorkspaceSettingInner> getWithResponse(String workspaceSettingName, com.azure.core.util.Context context)
      Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set.
      Parameters:
      workspaceSettingName - Name of the security setting.
      context - The context to associate with this operation.
      Returns:
      configures where to store the OMS agent data for workspaces under a scope along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • create

      WorkspaceSettingInner create(String workspaceSettingName, WorkspaceSettingInner workspaceSetting)
      creating settings about where we should store your security data and logs.
      Parameters:
      workspaceSettingName - Name of the security setting.
      workspaceSetting - Security data setting object.
      Returns:
      configures where to store the OMS agent data for workspaces under a scope.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createWithResponse

      com.azure.core.http.rest.Response<WorkspaceSettingInner> createWithResponse(String workspaceSettingName, WorkspaceSettingInner workspaceSetting, com.azure.core.util.Context context)
      creating settings about where we should store your security data and logs.
      Parameters:
      workspaceSettingName - Name of the security setting.
      workspaceSetting - Security data setting object.
      context - The context to associate with this operation.
      Returns:
      configures where to store the OMS agent data for workspaces under a scope along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      WorkspaceSettingInner update(String workspaceSettingName, WorkspaceSettingInner workspaceSetting)
      Settings about where we should store your security data and logs.
      Parameters:
      workspaceSettingName - Name of the security setting.
      workspaceSetting - Security data setting object.
      Returns:
      configures where to store the OMS agent data for workspaces under a scope.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponse

      com.azure.core.http.rest.Response<WorkspaceSettingInner> updateWithResponse(String workspaceSettingName, WorkspaceSettingInner workspaceSetting, com.azure.core.util.Context context)
      Settings about where we should store your security data and logs.
      Parameters:
      workspaceSettingName - Name of the security setting.
      workspaceSetting - Security data setting object.
      context - The context to associate with this operation.
      Returns:
      configures where to store the OMS agent data for workspaces under a scope along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String workspaceSettingName)
      Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace.
      Parameters:
      workspaceSettingName - Name of the security setting.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String workspaceSettingName, com.azure.core.util.Context context)
      Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace.
      Parameters:
      workspaceSettingName - Name of the security setting.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.