Interface ExtendedServerBlobAuditingPoliciesClient


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

      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ExtendedServerBlobAuditingPolicyInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                                            String serverName)
        Gets an extended server's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        Returns:
        an extended 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.
      • getAsync

        Mono<ExtendedServerBlobAuditingPolicyInner> getAsync​(String resourceGroupName,
                                                             String serverName)
        Gets an extended server's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        Returns:
        an extended 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.
      • get

        ExtendedServerBlobAuditingPolicyInner get​(String resourceGroupName,
                                                  String serverName)
        Gets an extended server's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        Returns:
        an extended 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<ExtendedServerBlobAuditingPolicyInner> getWithResponse​(String resourceGroupName,
                                                                                                 String serverName,
                                                                                                 com.azure.core.util.Context context)
        Gets an extended server's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        context - The context to associate with this operation.
        Returns:
        an extended 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.
      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String serverName,
                                                                                                  ExtendedServerBlobAuditingPolicyInner parameters)
        Creates or updates an extended server's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        parameters - An extended server blob auditing policy.
        Returns:
        an extended 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.
      • beginCreateOrUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ExtendedServerBlobAuditingPolicyInner>,​ExtendedServerBlobAuditingPolicyInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                                         String serverName,
                                                                                                                                                                                                         ExtendedServerBlobAuditingPolicyInner parameters)
        Creates or updates an extended server's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        parameters - An extended server blob auditing policy.
        Returns:
        an extended 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<ExtendedServerBlobAuditingPolicyInner>,​ExtendedServerBlobAuditingPolicyInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                                    String serverName,
                                                                                                                                                                                                    ExtendedServerBlobAuditingPolicyInner parameters)
        Creates or updates an extended server's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        parameters - An extended server blob auditing policy.
        Returns:
        an extended 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<ExtendedServerBlobAuditingPolicyInner>,​ExtendedServerBlobAuditingPolicyInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                                    String serverName,
                                                                                                                                                                                                    ExtendedServerBlobAuditingPolicyInner parameters,
                                                                                                                                                                                                    com.azure.core.util.Context context)
        Creates or updates an extended server's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        parameters - An extended server blob auditing policy.
        context - The context to associate with this operation.
        Returns:
        an extended 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.
      • createOrUpdateAsync

        Mono<ExtendedServerBlobAuditingPolicyInner> createOrUpdateAsync​(String resourceGroupName,
                                                                        String serverName,
                                                                        ExtendedServerBlobAuditingPolicyInner parameters)
        Creates or updates an extended server's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        parameters - An extended server blob auditing policy.
        Returns:
        an extended 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

        ExtendedServerBlobAuditingPolicyInner createOrUpdate​(String resourceGroupName,
                                                             String serverName,
                                                             ExtendedServerBlobAuditingPolicyInner parameters)
        Creates or updates an extended server's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        parameters - An extended server blob auditing policy.
        Returns:
        an extended 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

        ExtendedServerBlobAuditingPolicyInner createOrUpdate​(String resourceGroupName,
                                                             String serverName,
                                                             ExtendedServerBlobAuditingPolicyInner parameters,
                                                             com.azure.core.util.Context context)
        Creates or updates an extended server's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        parameters - An extended server blob auditing policy.
        context - The context to associate with this operation.
        Returns:
        an extended 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.
      • listByServerAsync

        com.azure.core.http.rest.PagedFlux<ExtendedServerBlobAuditingPolicyInner> listByServerAsync​(String resourceGroupName,
                                                                                                    String serverName)
        Lists extended auditing settings of a server.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        Returns:
        a list of server extended auditing settings.
        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.
      • listByServer

        com.azure.core.http.rest.PagedIterable<ExtendedServerBlobAuditingPolicyInner> listByServer​(String resourceGroupName,
                                                                                                   String serverName)
        Lists extended auditing settings of a server.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        Returns:
        a list of server extended auditing settings.
        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.
      • listByServer

        com.azure.core.http.rest.PagedIterable<ExtendedServerBlobAuditingPolicyInner> listByServer​(String resourceGroupName,
                                                                                                   String serverName,
                                                                                                   com.azure.core.util.Context context)
        Lists extended auditing settings of a server.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        context - The context to associate with this operation.
        Returns:
        a list of server extended auditing settings.
        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.