Interface StorageAccountsClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<StorageAccountInner>, InnerSupportsListing<StorageAccountInner>

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

    • checkNameAvailabilityWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner>> checkNameAvailabilityWithResponseAsync(StorageAccountCheckNameAvailabilityParameters accountName)
      Checks that the storage account name is valid and is not already in use.
      Parameters:
      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 CheckNameAvailability operation response 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.
    • checkNameAvailabilityAsync

      Checks that the storage account name is valid and is not already in use.
      Parameters:
      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 CheckNameAvailability operation 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.
    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(StorageAccountCheckNameAvailabilityParameters accountName, com.azure.core.util.Context context)
      Checks that the storage account name is valid and is not already in use.
      Parameters:
      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 CheckNameAvailability operation response 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.
    • checkNameAvailability

      Checks that the storage account name is valid and is not already in use.
      Parameters:
      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 CheckNameAvailability operation 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.
    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters)
      Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      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.
      parameters - The parameters to provide for the created account.
      Returns:
      the 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.
    • beginCreateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<StorageAccountInner>,StorageAccountInner> beginCreateAsync(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters)
      Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      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.
      parameters - The parameters to provide for the created account.
      Returns:
      the PollerFlux for polling of the 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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StorageAccountInner>,StorageAccountInner> beginCreate(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters)
      Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      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.
      parameters - The parameters to provide for the created account.
      Returns:
      the SyncPoller for polling of the 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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StorageAccountInner>,StorageAccountInner> beginCreate(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters, com.azure.core.util.Context context)
      Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      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.
      parameters - The parameters to provide for the created account.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the 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.
    • createAsync

      Mono<StorageAccountInner> createAsync(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters)
      Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      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.
      parameters - The parameters to provide for the created account.
      Returns:
      the 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.
    • create

      StorageAccountInner create(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters)
      Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      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.
      parameters - The parameters to provide for the created account.
      Returns:
      the 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.
    • create

      StorageAccountInner create(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters, com.azure.core.util.Context context)
      Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      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.
      parameters - The parameters to provide for the created account.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String accountName)
      Deletes a storage account in Microsoft Azure.
      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 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)
      Deletes a storage account in Microsoft Azure.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      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:
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Deletes a storage account in Microsoft Azure.
      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 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

      void delete(String resourceGroupName, String accountName)
      Deletes a storage account in Microsoft Azure.
      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.
      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.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<StorageAccountInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String accountName, StorageAccountExpand expand)
      Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
      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.
      expand - May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus.
      Returns:
      the 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.
    • getByResourceGroupAsync

      Mono<StorageAccountInner> getByResourceGroupAsync(String resourceGroupName, String accountName)
      Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<StorageAccountInner>
      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 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<StorageAccountInner> getByResourceGroupWithResponse(String resourceGroupName, String accountName, StorageAccountExpand expand, com.azure.core.util.Context context)
      Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
      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.
      expand - May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • getByResourceGroup

      StorageAccountInner getByResourceGroup(String resourceGroupName, String accountName)
      Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<StorageAccountInner>
      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 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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<StorageAccountInner>> updateWithResponseAsync(String resourceGroupName, String accountName, StorageAccountUpdateParameters parameters)
      The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation.
      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.
      parameters - The parameters to provide for the updated account.
      Returns:
      the 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.
    • updateAsync

      Mono<StorageAccountInner> updateAsync(String resourceGroupName, String accountName, StorageAccountUpdateParameters parameters)
      The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation.
      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.
      parameters - The parameters to provide for the updated account.
      Returns:
      the 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<StorageAccountInner> updateWithResponse(String resourceGroupName, String accountName, StorageAccountUpdateParameters parameters, com.azure.core.util.Context context)
      The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation.
      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.
      parameters - The parameters to provide for the updated account.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • update

      StorageAccountInner update(String resourceGroupName, String accountName, StorageAccountUpdateParameters parameters)
      The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation.
      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.
      parameters - The parameters to provide for the updated account.
      Returns:
      the 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<StorageAccountInner> listAsync()
      Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
      Specified by:
      listAsync in interface InnerSupportsListing<StorageAccountInner>
      Returns:
      the response from the List Storage Accounts operation as paginated response with PagedFlux.
      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

      com.azure.core.http.rest.PagedIterable<StorageAccountInner> list()
      Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
      Specified by:
      list in interface InnerSupportsListing<StorageAccountInner>
      Returns:
      the response from the List Storage Accounts operation 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

      com.azure.core.http.rest.PagedIterable<StorageAccountInner> list(com.azure.core.util.Context context)
      Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the response from the List Storage Accounts operation 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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<StorageAccountInner> listByResourceGroupAsync(String resourceGroupName)
      Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<StorageAccountInner>
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      Returns:
      the response from the List Storage Accounts operation 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<StorageAccountInner> listByResourceGroup(String resourceGroupName)
      Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<StorageAccountInner>
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      Returns:
      the response from the List Storage Accounts operation 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<StorageAccountInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.
      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      the response from the List Storage Accounts operation 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.
    • listKeysWithResponseAsync

      Mono<com.azure.core.http.rest.Response<StorageAccountListKeysResultInner>> listKeysWithResponseAsync(String resourceGroupName, String accountName, ListKeyExpand expand)
      Lists the access keys or Kerberos keys (if active directory enabled) for 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.
      expand - Specifies type of the key to be listed. Possible value is kerb.
      Returns:
      the response from the ListKeys operation 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.
    • listKeysAsync

      Mono<StorageAccountListKeysResultInner> listKeysAsync(String resourceGroupName, String accountName)
      Lists the access keys or Kerberos keys (if active directory enabled) for 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 response from the ListKeys operation 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.
    • listKeysWithResponse

      com.azure.core.http.rest.Response<StorageAccountListKeysResultInner> listKeysWithResponse(String resourceGroupName, String accountName, ListKeyExpand expand, com.azure.core.util.Context context)
      Lists the access keys or Kerberos keys (if active directory enabled) for 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.
      expand - Specifies type of the key to be listed. Possible value is kerb.
      context - The context to associate with this operation.
      Returns:
      the response from the ListKeys operation 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.
    • listKeys

      StorageAccountListKeysResultInner listKeys(String resourceGroupName, String accountName)
      Lists the access keys or Kerberos keys (if active directory enabled) for 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 response from the ListKeys operation.
      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.
    • regenerateKeyWithResponseAsync

      Mono<com.azure.core.http.rest.Response<StorageAccountListKeysResultInner>> regenerateKeyWithResponseAsync(String resourceGroupName, String accountName, StorageAccountRegenerateKeyParameters regenerateKey)
      Regenerates one of the access keys or Kerberos keys for 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.
      regenerateKey - Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2.
      Returns:
      the response from the ListKeys operation 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.
    • regenerateKeyAsync

      Mono<StorageAccountListKeysResultInner> regenerateKeyAsync(String resourceGroupName, String accountName, StorageAccountRegenerateKeyParameters regenerateKey)
      Regenerates one of the access keys or Kerberos keys for 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.
      regenerateKey - Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2.
      Returns:
      the response from the ListKeys operation 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.
    • regenerateKeyWithResponse

      com.azure.core.http.rest.Response<StorageAccountListKeysResultInner> regenerateKeyWithResponse(String resourceGroupName, String accountName, StorageAccountRegenerateKeyParameters regenerateKey, com.azure.core.util.Context context)
      Regenerates one of the access keys or Kerberos keys for 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.
      regenerateKey - Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2.
      context - The context to associate with this operation.
      Returns:
      the response from the ListKeys operation 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.
    • regenerateKey

      StorageAccountListKeysResultInner regenerateKey(String resourceGroupName, String accountName, StorageAccountRegenerateKeyParameters regenerateKey)
      Regenerates one of the access keys or Kerberos keys for 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.
      regenerateKey - Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2.
      Returns:
      the response from the ListKeys operation.
      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.
    • listAccountSasWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ListAccountSasResponseInner>> listAccountSasWithResponseAsync(String resourceGroupName, String accountName, AccountSasParameters parameters)
      List SAS credentials of a 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.
      parameters - The parameters to provide to list SAS credentials for the storage account.
      Returns:
      the List SAS credentials operation response 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.
    • listAccountSasAsync

      Mono<ListAccountSasResponseInner> listAccountSasAsync(String resourceGroupName, String accountName, AccountSasParameters parameters)
      List SAS credentials of a 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.
      parameters - The parameters to provide to list SAS credentials for the storage account.
      Returns:
      the List SAS credentials operation 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.
    • listAccountSasWithResponse

      com.azure.core.http.rest.Response<ListAccountSasResponseInner> listAccountSasWithResponse(String resourceGroupName, String accountName, AccountSasParameters parameters, com.azure.core.util.Context context)
      List SAS credentials of a 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.
      parameters - The parameters to provide to list SAS credentials for the storage account.
      context - The context to associate with this operation.
      Returns:
      the List SAS credentials operation response 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.
    • listAccountSas

      ListAccountSasResponseInner listAccountSas(String resourceGroupName, String accountName, AccountSasParameters parameters)
      List SAS credentials of a 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.
      parameters - The parameters to provide to list SAS credentials for the storage account.
      Returns:
      the List SAS credentials operation 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.
    • listServiceSasWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ListServiceSasResponseInner>> listServiceSasWithResponseAsync(String resourceGroupName, String accountName, ServiceSasParameters parameters)
      List service SAS credentials of a specific resource.
      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.
      parameters - The parameters to provide to list service SAS credentials.
      Returns:
      the List service SAS credentials operation response 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.
    • listServiceSasAsync

      Mono<ListServiceSasResponseInner> listServiceSasAsync(String resourceGroupName, String accountName, ServiceSasParameters parameters)
      List service SAS credentials of a specific resource.
      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.
      parameters - The parameters to provide to list service SAS credentials.
      Returns:
      the List service SAS credentials operation 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.
    • listServiceSasWithResponse

      com.azure.core.http.rest.Response<ListServiceSasResponseInner> listServiceSasWithResponse(String resourceGroupName, String accountName, ServiceSasParameters parameters, com.azure.core.util.Context context)
      List service SAS credentials of a specific resource.
      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.
      parameters - The parameters to provide to list service SAS credentials.
      context - The context to associate with this operation.
      Returns:
      the List service SAS credentials operation response 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.
    • listServiceSas

      ListServiceSasResponseInner listServiceSas(String resourceGroupName, String accountName, ServiceSasParameters parameters)
      List service SAS credentials of a specific resource.
      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.
      parameters - The parameters to provide to list service SAS credentials.
      Returns:
      the List service SAS credentials operation 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.
    • failoverWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> failoverWithResponseAsync(String resourceGroupName, String accountName, FailoverType failoverType)
      A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
      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.
      failoverType - The parameter is set to 'Planned' to indicate whether a Planned failover is requested.
      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.
    • beginFailoverAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginFailoverAsync(String resourceGroupName, String accountName, FailoverType failoverType)
      A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
      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.
      failoverType - The parameter is set to 'Planned' to indicate whether a Planned failover is requested.
      Returns:
      the PollerFlux for polling of long-running operation.
      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.
    • beginFailoverAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginFailoverAsync(String resourceGroupName, String accountName)
      A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
      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 PollerFlux for polling of long-running operation.
      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.
    • beginFailover

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginFailover(String resourceGroupName, String accountName)
      A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
      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 SyncPoller for polling of long-running operation.
      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.
    • beginFailover

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginFailover(String resourceGroupName, String accountName, FailoverType failoverType, com.azure.core.util.Context context)
      A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
      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.
      failoverType - The parameter is set to 'Planned' to indicate whether a Planned failover is requested.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • failoverAsync

      Mono<Void> failoverAsync(String resourceGroupName, String accountName, FailoverType failoverType)
      A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
      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.
      failoverType - The parameter is set to 'Planned' to indicate whether a Planned failover is requested.
      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.
    • failoverAsync

      Mono<Void> failoverAsync(String resourceGroupName, String accountName)
      A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
      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:
      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.
    • failover

      void failover(String resourceGroupName, String accountName)
      A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
      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.
      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.
    • failover

      void failover(String resourceGroupName, String accountName, FailoverType failoverType, com.azure.core.util.Context context)
      A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
      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.
      failoverType - The parameter is set to 'Planned' to indicate whether a Planned failover is requested.
      context - The context to associate with this operation.
      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.
    • hierarchicalNamespaceMigrationWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> hierarchicalNamespaceMigrationWithResponseAsync(String resourceGroupName, String accountName, String requestType)
      Live Migration of storage account to enable Hns.
      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.
      requestType - Required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the account.
      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.
    • beginHierarchicalNamespaceMigrationAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginHierarchicalNamespaceMigrationAsync(String resourceGroupName, String accountName, String requestType)
      Live Migration of storage account to enable Hns.
      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.
      requestType - Required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the account.
      Returns:
      the PollerFlux for polling of long-running operation.
      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.
    • beginHierarchicalNamespaceMigration

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginHierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType)
      Live Migration of storage account to enable Hns.
      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.
      requestType - Required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the account.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginHierarchicalNamespaceMigration

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginHierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType, com.azure.core.util.Context context)
      Live Migration of storage account to enable Hns.
      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.
      requestType - Required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the account.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • hierarchicalNamespaceMigrationAsync

      Mono<Void> hierarchicalNamespaceMigrationAsync(String resourceGroupName, String accountName, String requestType)
      Live Migration of storage account to enable Hns.
      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.
      requestType - Required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the account.
      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.
    • hierarchicalNamespaceMigration

      void hierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType)
      Live Migration of storage account to enable Hns.
      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.
      requestType - Required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the 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.
    • hierarchicalNamespaceMigration

      void hierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType, com.azure.core.util.Context context)
      Live Migration of storage account to enable Hns.
      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.
      requestType - Required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the account.
      context - The context to associate with this operation.
      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.
    • abortHierarchicalNamespaceMigrationWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> abortHierarchicalNamespaceMigrationWithResponseAsync(String resourceGroupName, String accountName)
      Abort live Migration of storage account to enable Hns.
      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 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.
    • beginAbortHierarchicalNamespaceMigrationAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginAbortHierarchicalNamespaceMigrationAsync(String resourceGroupName, String accountName)
      Abort live Migration of storage account to enable Hns.
      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 PollerFlux for polling of long-running operation.
      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.
    • beginAbortHierarchicalNamespaceMigration

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginAbortHierarchicalNamespaceMigration(String resourceGroupName, String accountName)
      Abort live Migration of storage account to enable Hns.
      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 SyncPoller for polling of long-running operation.
      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.
    • beginAbortHierarchicalNamespaceMigration

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginAbortHierarchicalNamespaceMigration(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Abort live Migration of storage account to enable Hns.
      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 SyncPoller for polling of long-running operation.
      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.
    • abortHierarchicalNamespaceMigrationAsync

      Mono<Void> abortHierarchicalNamespaceMigrationAsync(String resourceGroupName, String accountName)
      Abort live Migration of storage account to enable Hns.
      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:
      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.
    • abortHierarchicalNamespaceMigration

      void abortHierarchicalNamespaceMigration(String resourceGroupName, String accountName)
      Abort live Migration of storage account to enable Hns.
      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.
      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.
    • abortHierarchicalNamespaceMigration

      void abortHierarchicalNamespaceMigration(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Abort live Migration of storage account to enable Hns.
      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.
      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.
    • customerInitiatedMigrationWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> customerInitiatedMigrationWithResponseAsync(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters)
      Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.
      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.
      parameters - The request parameters required to perform storage account migration.
      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.
    • beginCustomerInitiatedMigrationAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginCustomerInitiatedMigrationAsync(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters)
      Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.
      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.
      parameters - The request parameters required to perform storage account migration.
      Returns:
      the PollerFlux for polling of long-running operation.
      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.
    • beginCustomerInitiatedMigration

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginCustomerInitiatedMigration(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters)
      Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.
      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.
      parameters - The request parameters required to perform storage account migration.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginCustomerInitiatedMigration

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginCustomerInitiatedMigration(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters, com.azure.core.util.Context context)
      Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.
      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.
      parameters - The request parameters required to perform storage account migration.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • customerInitiatedMigrationAsync

      Mono<Void> customerInitiatedMigrationAsync(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters)
      Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.
      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.
      parameters - The request parameters required to perform storage account migration.
      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.
    • customerInitiatedMigration

      void customerInitiatedMigration(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters)
      Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.
      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.
      parameters - The request parameters required to perform storage account migration.
      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.
    • customerInitiatedMigration

      void customerInitiatedMigration(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters, com.azure.core.util.Context context)
      Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.
      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.
      parameters - The request parameters required to perform storage account migration.
      context - The context to associate with this operation.
      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.
    • getCustomerInitiatedMigrationWithResponseAsync

      Mono<com.azure.core.http.rest.Response<StorageAccountMigrationInner>> getCustomerInitiatedMigrationWithResponseAsync(String resourceGroupName, String accountName, MigrationName migrationName)
      Gets the status of the ongoing migration for 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.
      migrationName - The name of the Storage Account Migration. It should always be 'default'.
      Returns:
      the status of the ongoing migration for 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.
    • getCustomerInitiatedMigrationAsync

      Mono<StorageAccountMigrationInner> getCustomerInitiatedMigrationAsync(String resourceGroupName, String accountName, MigrationName migrationName)
      Gets the status of the ongoing migration for 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.
      migrationName - The name of the Storage Account Migration. It should always be 'default'.
      Returns:
      the status of the ongoing migration for 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.
    • getCustomerInitiatedMigrationWithResponse

      com.azure.core.http.rest.Response<StorageAccountMigrationInner> getCustomerInitiatedMigrationWithResponse(String resourceGroupName, String accountName, MigrationName migrationName, com.azure.core.util.Context context)
      Gets the status of the ongoing migration for 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.
      migrationName - The name of the Storage Account Migration. It should always be 'default'.
      context - The context to associate with this operation.
      Returns:
      the status of the ongoing migration for 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.
    • getCustomerInitiatedMigration

      StorageAccountMigrationInner getCustomerInitiatedMigration(String resourceGroupName, String accountName, MigrationName migrationName)
      Gets the status of the ongoing migration for 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.
      migrationName - The name of the Storage Account Migration. It should always be 'default'.
      Returns:
      the status of the ongoing migration for 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.
    • restoreBlobRangesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> restoreBlobRangesWithResponseAsync(String resourceGroupName, String accountName, BlobRestoreParameters parameters)
      Restore blobs in the specified blob ranges.
      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.
      parameters - The parameters to provide for restore blob ranges.
      Returns:
      blob restore status 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.
    • beginRestoreBlobRangesAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BlobRestoreStatusInner>,BlobRestoreStatusInner> beginRestoreBlobRangesAsync(String resourceGroupName, String accountName, BlobRestoreParameters parameters)
      Restore blobs in the specified blob ranges.
      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.
      parameters - The parameters to provide for restore blob ranges.
      Returns:
      the PollerFlux for polling of blob restore status.
      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.
    • beginRestoreBlobRanges

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BlobRestoreStatusInner>,BlobRestoreStatusInner> beginRestoreBlobRanges(String resourceGroupName, String accountName, BlobRestoreParameters parameters)
      Restore blobs in the specified blob ranges.
      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.
      parameters - The parameters to provide for restore blob ranges.
      Returns:
      the SyncPoller for polling of blob restore status.
      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.
    • beginRestoreBlobRanges

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BlobRestoreStatusInner>,BlobRestoreStatusInner> beginRestoreBlobRanges(String resourceGroupName, String accountName, BlobRestoreParameters parameters, com.azure.core.util.Context context)
      Restore blobs in the specified blob ranges.
      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.
      parameters - The parameters to provide for restore blob ranges.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of blob restore status.
      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.
    • restoreBlobRangesAsync

      Mono<BlobRestoreStatusInner> restoreBlobRangesAsync(String resourceGroupName, String accountName, BlobRestoreParameters parameters)
      Restore blobs in the specified blob ranges.
      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.
      parameters - The parameters to provide for restore blob ranges.
      Returns:
      blob restore status 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.
    • restoreBlobRanges

      BlobRestoreStatusInner restoreBlobRanges(String resourceGroupName, String accountName, BlobRestoreParameters parameters)
      Restore blobs in the specified blob ranges.
      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.
      parameters - The parameters to provide for restore blob ranges.
      Returns:
      blob restore status.
      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.
    • restoreBlobRanges

      BlobRestoreStatusInner restoreBlobRanges(String resourceGroupName, String accountName, BlobRestoreParameters parameters, com.azure.core.util.Context context)
      Restore blobs in the specified blob ranges.
      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.
      parameters - The parameters to provide for restore blob ranges.
      context - The context to associate with this operation.
      Returns:
      blob restore status.
      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.
    • revokeUserDelegationKeysWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> revokeUserDelegationKeysWithResponseAsync(String resourceGroupName, String accountName)
      Revoke user delegation keys.
      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 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.
    • revokeUserDelegationKeysAsync

      Mono<Void> revokeUserDelegationKeysAsync(String resourceGroupName, String accountName)
      Revoke user delegation keys.
      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:
      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.
    • revokeUserDelegationKeysWithResponse

      com.azure.core.http.rest.Response<Void> revokeUserDelegationKeysWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Revoke user delegation keys.
      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 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.
    • revokeUserDelegationKeys

      void revokeUserDelegationKeys(String resourceGroupName, String accountName)
      Revoke user delegation keys.
      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.
      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.