Interface StorageAccountsClient

    • Method Detail

      • 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.
        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

        Mono<CheckNameAvailabilityResultInner> checkNameAvailabilityAsync​(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.
        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

        CheckNameAvailabilityResultInner checkNameAvailability​(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.
        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.
        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.
        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 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 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 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.
        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 completion.
        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:
        the completion.
        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.
      • 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.
      • 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.
        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,
                                                          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.
        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.
        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.
      • 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.
        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.
        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.
        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.
      • 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.
        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.
        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.
        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.
        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.
        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.
        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.
        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.
        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,
                                                              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.
        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.
        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.
      • 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.
        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.
        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.
        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.
      • 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.
        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.
        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.
        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.
      • 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.
        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.
        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.
        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.
      • 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.
        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)
        Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover.
        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 completion.
        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)
        Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover.
        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 completion.
        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)
        Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover.
        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 completion.
        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,
                                                                                                                            com.azure.core.util.Context context)
        Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover.
        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 completion.
        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)
        Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover.
        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 completion.
        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)
        Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover.
        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,
                      com.azure.core.util.Context context)
        Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover.
        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.
      • 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.
        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:
        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:
        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:
        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.
        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 completion.
        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:
        the completion.
        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.
      • 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.