Interface WorkspaceManagedSqlServerBlobAuditingPoliciesClient


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

      • get

        ServerBlobAuditingPolicyInner get​(String resourceGroupName,
                                          String workspaceName,
                                          BlobAuditingPolicyName blobAuditingPolicyName)
        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.
      • getWithResponse

        com.azure.core.http.rest.Response<ServerBlobAuditingPolicyInner> getWithResponse​(String resourceGroupName,
                                                                                         String workspaceName,
                                                                                         BlobAuditingPolicyName blobAuditingPolicyName,
                                                                                         com.azure.core.util.Context context)
        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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerBlobAuditingPolicyInner>,​ServerBlobAuditingPolicyInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                    String workspaceName,
                                                                                                                                                                                    BlobAuditingPolicyName blobAuditingPolicyName,
                                                                                                                                                                                    ServerBlobAuditingPolicyInner parameters)
        Create or Update 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.
        parameters - Properties of extended blob auditing policy.
        Returns:
        the SyncPoller for polling of a server 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerBlobAuditingPolicyInner>,​ServerBlobAuditingPolicyInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                    String workspaceName,
                                                                                                                                                                                    BlobAuditingPolicyName blobAuditingPolicyName,
                                                                                                                                                                                    ServerBlobAuditingPolicyInner parameters,
                                                                                                                                                                                    com.azure.core.util.Context context)
        Create or Update 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.
        parameters - Properties of extended blob auditing policy.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of a server 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.
      • createOrUpdate

        ServerBlobAuditingPolicyInner createOrUpdate​(String resourceGroupName,
                                                     String workspaceName,
                                                     BlobAuditingPolicyName blobAuditingPolicyName,
                                                     ServerBlobAuditingPolicyInner parameters)
        Create or Update 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.
        parameters - Properties of extended blob auditing policy.
        Returns:
        a server 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.
      • createOrUpdate

        ServerBlobAuditingPolicyInner createOrUpdate​(String resourceGroupName,
                                                     String workspaceName,
                                                     BlobAuditingPolicyName blobAuditingPolicyName,
                                                     ServerBlobAuditingPolicyInner parameters,
                                                     com.azure.core.util.Context context)
        Create or Update 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.
        parameters - Properties of extended blob auditing policy.
        context - The context to associate with this operation.
        Returns:
        a server 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<ServerBlobAuditingPolicyInner> listByWorkspace​(String resourceGroupName,
                                                                                              String workspaceName)
        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<ServerBlobAuditingPolicyInner> listByWorkspace​(String resourceGroupName,
                                                                                              String workspaceName,
                                                                                              com.azure.core.util.Context context)
        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.