Interface BlobInventoryPoliciesClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<BlobInventoryPolicyInner>> getWithResponseAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName)
      Gets the blob inventory policy associated with the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      blobInventoryPolicyName - The name of the storage account blob inventory policy. It should always be 'default'.
      Returns:
      the blob inventory policy associated with the specified storage account along with Response on successful completion of Mono.
      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<BlobInventoryPolicyInner> getAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName)
      Gets the blob inventory policy associated with the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      blobInventoryPolicyName - The name of the storage account blob inventory policy. It should always be 'default'.
      Returns:
      the blob inventory policy associated with the specified storage account on successful completion of Mono.
      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

      BlobInventoryPolicyInner get(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName)
      Gets the blob inventory policy associated with the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      blobInventoryPolicyName - The name of the storage account blob inventory policy. It should always be 'default'.
      Returns:
      the blob inventory policy associated with the specified storage account.
      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<BlobInventoryPolicyInner> getWithResponse(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, com.azure.core.util.Context context)
      Gets the blob inventory policy associated with the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      blobInventoryPolicyName - The name of the storage account blob inventory policy. It should always be 'default'.
      context - The context to associate with this operation.
      Returns:
      the blob inventory policy associated with the specified storage account 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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<BlobInventoryPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, BlobInventoryPolicyInner properties)
      Sets the blob inventory policy to the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      blobInventoryPolicyName - The name of the storage account blob inventory policy. It should always be 'default'.
      properties - The blob inventory policy set to a storage account.
      Returns:
      the storage account blob inventory policy along with Response on successful completion of Mono.
      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<BlobInventoryPolicyInner> createOrUpdateAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, BlobInventoryPolicyInner properties)
      Sets the blob inventory policy to the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      blobInventoryPolicyName - The name of the storage account blob inventory policy. It should always be 'default'.
      properties - The blob inventory policy set to a storage account.
      Returns:
      the storage account blob inventory policy on successful completion of Mono.
      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

      BlobInventoryPolicyInner createOrUpdate(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, BlobInventoryPolicyInner properties)
      Sets the blob inventory policy to the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      blobInventoryPolicyName - The name of the storage account blob inventory policy. It should always be 'default'.
      properties - The blob inventory policy set to a storage account.
      Returns:
      the storage account blob inventory 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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<BlobInventoryPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, BlobInventoryPolicyInner properties, com.azure.core.util.Context context)
      Sets the blob inventory policy to the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      blobInventoryPolicyName - The name of the storage account blob inventory policy. It should always be 'default'.
      properties - The blob inventory policy set to a storage account.
      context - The context to associate with this operation.
      Returns:
      the storage account blob inventory 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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName)
      Deletes the blob inventory policy associated with the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      blobInventoryPolicyName - The name of the storage account blob inventory policy. It should always be 'default'.
      Returns:
      the Response on successful completion of Mono.
      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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName)
      Deletes the blob inventory policy associated with the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      blobInventoryPolicyName - The name of the storage account blob inventory policy. It should always be 'default'.
      Returns:
      A Mono that completes when a successful response is received.
      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 resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName)
      Deletes the blob inventory policy associated with the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      blobInventoryPolicyName - The name of the storage account blob inventory policy. It should always be 'default'.
      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 resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, com.azure.core.util.Context context)
      Deletes the blob inventory policy associated with the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      blobInventoryPolicyName - The name of the storage account blob inventory policy. It should always be 'default'.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<BlobInventoryPolicyInner> listAsync(String resourceGroupName, String accountName)
      Gets the blob inventory policy associated with the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      Returns:
      the blob inventory policy associated with the specified storage account as paginated response with PagedFlux.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<BlobInventoryPolicyInner> list(String resourceGroupName, String accountName)
      Gets the blob inventory policy associated with the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      Returns:
      the blob inventory policy associated with the specified storage account 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.
    • list

      com.azure.core.http.rest.PagedIterable<BlobInventoryPolicyInner> list(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Gets the blob inventory policy associated with the specified storage account.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      context - The context to associate with this operation.
      Returns:
      the blob inventory policy associated with the specified storage account 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.