Interface WorkspaceSettings
public interface WorkspaceSettings
Resource collection API of WorkspaceSettings.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new WorkspaceSetting resource.void
Deletes the custom workspace settings for this subscription.void
deleteById
(String id) Deletes the custom workspace settings for this subscription.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the custom workspace settings for this subscription.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String workspaceSettingName, com.azure.core.util.Context context) Deletes the custom workspace settings for this subscription.Settings about where we should store your security data and logs.Settings about where we should store your security data and logs.com.azure.core.http.rest.Response<WorkspaceSetting>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Settings about where we should store your security data and logs.com.azure.core.http.rest.Response<WorkspaceSetting>
getWithResponse
(String workspaceSettingName, com.azure.core.util.Context context) Settings about where we should store your security data and logs.com.azure.core.http.rest.PagedIterable<WorkspaceSetting>
list()
Settings about where we should store your security data and logs.com.azure.core.http.rest.PagedIterable<WorkspaceSetting>
list
(com.azure.core.util.Context context) Settings about where we should store your security data and logs.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<WorkspaceSetting> 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
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
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<WorkspaceSetting> 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.
-
delete
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.
-
getById
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:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<WorkspaceSetting> getByIdWithResponse(String id, 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:
id
- the resource ID.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.
-
deleteById
Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new WorkspaceSetting resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkspaceSetting definition.
-