Interface WorkspaceManagedSqlServerBlobAuditingPolicies
public interface WorkspaceManagedSqlServerBlobAuditingPolicies
Resource collection API of WorkspaceManagedSqlServerBlobAuditingPolicies.
-
Method Summary
Modifier and TypeMethodDescriptiondefine
(BlobAuditingPolicyName name) Begins definition for a new ServerBlobAuditingPolicy resource.get
(String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName) Get server's blob auditing policy.Get server's blob auditing policy.com.azure.core.http.rest.Response<ServerBlobAuditingPolicy>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get server's blob auditing policy.com.azure.core.http.rest.Response<ServerBlobAuditingPolicy>
getWithResponse
(String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName, com.azure.core.util.Context context) Get server's blob auditing policy.com.azure.core.http.rest.PagedIterable<ServerBlobAuditingPolicy>
listByWorkspace
(String resourceGroupName, String workspaceName) List workspace server's blob auditing policies.com.azure.core.http.rest.PagedIterable<ServerBlobAuditingPolicy>
listByWorkspace
(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) List workspace server's blob auditing policies.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<ServerBlobAuditingPolicy> getWithResponse(String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName, com.azure.core.util.Context context) Get server's blob auditing policy.Get a workspace managed sql server's blob auditing policy.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.blobAuditingPolicyName
- The name of the blob auditing policy.context
- The context to associate with this operation.- Returns:
- a workspace managed sql server's blob auditing policy 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.
-
get
ServerBlobAuditingPolicy get(String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName) Get server's blob auditing policy.Get a workspace managed sql server's blob auditing policy.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.blobAuditingPolicyName
- The name of the blob auditing policy.- Returns:
- a workspace managed sql server's blob auditing policy.
- 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.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<ServerBlobAuditingPolicy> listByWorkspace(String resourceGroupName, String workspaceName) List workspace server's blob auditing policies.List workspace managed sql server's blob auditing policies.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- a list of server auditing settings 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.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<ServerBlobAuditingPolicy> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) List workspace server's blob auditing policies.List workspace managed sql server's blob auditing policies.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.context
- The context to associate with this operation.- Returns:
- a list of server auditing settings 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.
-
getById
Get server's blob auditing policy.Get a workspace managed sql server's blob auditing policy.
- Parameters:
id
- the resource ID.- Returns:
- a workspace managed sql server's blob auditing policy 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<ServerBlobAuditingPolicy> getByIdWithResponse(String id, com.azure.core.util.Context context) Get server's blob auditing policy.Get a workspace managed sql server's blob auditing policy.
- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a workspace managed sql server's blob auditing policy 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.
-
define
Begins definition for a new ServerBlobAuditingPolicy resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new ServerBlobAuditingPolicy definition.
-