StorageAccountsClient Interface

Implements

public interface StorageAccountsClient
extends InnerSupportsGet<StorageAccountInner>, InnerSupportsListing<StorageAccountInner>, InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract void abortHierarchicalNamespaceMigration(String resourceGroupName, String accountName)

Abort live Migration of storage account to enable Hns.

abstract void abortHierarchicalNamespaceMigration(String resourceGroupName, String accountName, Context context)

Abort live Migration of storage account to enable Hns.

abstract Mono<Void> abortHierarchicalNamespaceMigrationAsync(String resourceGroupName, String accountName)

Abort live Migration of storage account to enable Hns.

abstract Mono<Response<Flux<ByteBuffer>>> abortHierarchicalNamespaceMigrationWithResponseAsync(String resourceGroupName, String accountName)

Abort live Migration of storage account to enable Hns.

abstract SyncPoller<PollResult<Void>,Void> beginAbortHierarchicalNamespaceMigration(String resourceGroupName, String accountName)

Abort live Migration of storage account to enable Hns.

abstract SyncPoller<PollResult<Void>,Void> beginAbortHierarchicalNamespaceMigration(String resourceGroupName, String accountName, Context context)

Abort live Migration of storage account to enable Hns.

abstract PollerFlux<PollResult<Void>,Void> beginAbortHierarchicalNamespaceMigrationAsync(String resourceGroupName, String accountName)

Abort live Migration of storage account to enable Hns.

abstract SyncPoller<PollResult<StorageAccountInner>,StorageAccountInner> beginCreate(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters)

Asynchronously creates a new storage account with the specified parameters.

abstract SyncPoller<PollResult<StorageAccountInner>,StorageAccountInner> beginCreate(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters, Context context)

Asynchronously creates a new storage account with the specified parameters.

abstract PollerFlux<PollResult<StorageAccountInner>,StorageAccountInner> beginCreateAsync(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters)

Asynchronously creates a new storage account with the specified parameters.

abstract SyncPoller<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.

abstract SyncPoller<PollResult<Void>,Void> beginCustomerInitiatedMigration(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters, Context context)

Account Migration request can be triggered for a storage account to change its redundancy level.

abstract PollerFlux<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.

abstract SyncPoller<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.

abstract SyncPoller<PollResult<Void>,Void> beginFailover(String resourceGroupName, String accountName, FailoverType failoverType, Context context)

A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason.

abstract PollerFlux<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.

abstract PollerFlux<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.

abstract SyncPoller<PollResult<Void>,Void> beginHierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType)

Live Migration of storage account to enable Hns.

abstract SyncPoller<PollResult<Void>,Void> beginHierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType, Context context)

Live Migration of storage account to enable Hns.

abstract PollerFlux<PollResult<Void>,Void> beginHierarchicalNamespaceMigrationAsync(String resourceGroupName, String accountName, String requestType)

Live Migration of storage account to enable Hns.

abstract SyncPoller<PollResult<BlobRestoreStatusInner>,BlobRestoreStatusInner> beginRestoreBlobRanges(String resourceGroupName, String accountName, BlobRestoreParameters parameters)

Restore blobs in the specified blob ranges.

abstract SyncPoller<PollResult<BlobRestoreStatusInner>,BlobRestoreStatusInner> beginRestoreBlobRanges(String resourceGroupName, String accountName, BlobRestoreParameters parameters, Context context)

Restore blobs in the specified blob ranges.

abstract PollerFlux<PollResult<BlobRestoreStatusInner>,BlobRestoreStatusInner> beginRestoreBlobRangesAsync(String resourceGroupName, String accountName, BlobRestoreParameters parameters)

Restore blobs in the specified blob ranges.

abstract CheckNameAvailabilityResultInner checkNameAvailability(StorageAccountCheckNameAvailabilityParameters accountName)

Checks that the storage account name is valid and is not already in use.

abstract Mono<CheckNameAvailabilityResultInner> checkNameAvailabilityAsync(StorageAccountCheckNameAvailabilityParameters accountName)

Checks that the storage account name is valid and is not already in use.

abstract Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(StorageAccountCheckNameAvailabilityParameters accountName, Context context)

Checks that the storage account name is valid and is not already in use.

abstract Mono<Response<CheckNameAvailabilityResultInner>> checkNameAvailabilityWithResponseAsync(StorageAccountCheckNameAvailabilityParameters accountName)

Checks that the storage account name is valid and is not already in use.

abstract StorageAccountInner create(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters)

Asynchronously creates a new storage account with the specified parameters.

abstract StorageAccountInner create(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters, Context context)

Asynchronously creates a new storage account with the specified parameters.

abstract Mono<StorageAccountInner> createAsync(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters)

Asynchronously creates a new storage account with the specified parameters.

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters)

Asynchronously creates a new storage account with the specified parameters.

abstract void customerInitiatedMigration(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters)

Account Migration request can be triggered for a storage account to change its redundancy level.

abstract void customerInitiatedMigration(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters, Context context)

Account Migration request can be triggered for a storage account to change its redundancy level.

abstract Mono<Void> customerInitiatedMigrationAsync(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters)

Account Migration request can be triggered for a storage account to change its redundancy level.

abstract Mono<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.

abstract void delete(String resourceGroupName, String accountName)

Deletes a storage account in Microsoft Azure.

abstract Mono<Void> deleteAsync(String resourceGroupName, String accountName)

Deletes a storage account in Microsoft Azure.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String accountName, Context context)

Deletes a storage account in Microsoft Azure.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String accountName)

Deletes a storage account in Microsoft Azure.

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

abstract void failover(String resourceGroupName, String accountName, FailoverType failoverType, Context context)

A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason.

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

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

abstract Mono<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.

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

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

abstract Response<StorageAccountInner> getByResourceGroupWithResponse(String resourceGroupName, String accountName, StorageAccountExpand expand, Context context)

Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status.

abstract Mono<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.

abstract StorageAccountMigrationInner getCustomerInitiatedMigration(String resourceGroupName, String accountName, MigrationName migrationName)

Gets the status of the ongoing migration for the specified storage account.

abstract Mono<StorageAccountMigrationInner> getCustomerInitiatedMigrationAsync(String resourceGroupName, String accountName, MigrationName migrationName)

Gets the status of the ongoing migration for the specified storage account.

abstract Response<StorageAccountMigrationInner> getCustomerInitiatedMigrationWithResponse(String resourceGroupName, String accountName, MigrationName migrationName, Context context)

Gets the status of the ongoing migration for the specified storage account.

abstract Mono<Response<StorageAccountMigrationInner>> getCustomerInitiatedMigrationWithResponseAsync(String resourceGroupName, String accountName, MigrationName migrationName)

Gets the status of the ongoing migration for the specified storage account.

abstract void hierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType)

Live Migration of storage account to enable Hns.

abstract void hierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType, Context context)

Live Migration of storage account to enable Hns.

abstract Mono<Void> hierarchicalNamespaceMigrationAsync(String resourceGroupName, String accountName, String requestType)

Live Migration of storage account to enable Hns.

abstract Mono<Response<Flux<ByteBuffer>>> hierarchicalNamespaceMigrationWithResponseAsync(String resourceGroupName, String accountName, String requestType)

Live Migration of storage account to enable Hns.

abstract PagedIterable<StorageAccountInner> list()

Lists all the storage accounts available under the subscription.

abstract PagedIterable<StorageAccountInner> list(Context context)

Lists all the storage accounts available under the subscription.

abstract ListAccountSasResponseInner listAccountSas(String resourceGroupName, String accountName, AccountSasParameters parameters)

List SAS credentials of a storage account.

abstract Mono<ListAccountSasResponseInner> listAccountSasAsync(String resourceGroupName, String accountName, AccountSasParameters parameters)

List SAS credentials of a storage account.

abstract Response<ListAccountSasResponseInner> listAccountSasWithResponse(String resourceGroupName, String accountName, AccountSasParameters parameters, Context context)

List SAS credentials of a storage account.

abstract Mono<Response<ListAccountSasResponseInner>> listAccountSasWithResponseAsync(String resourceGroupName, String accountName, AccountSasParameters parameters)

List SAS credentials of a storage account.

abstract PagedFlux<StorageAccountInner> listAsync()

Lists all the storage accounts available under the subscription.

abstract PagedIterable<StorageAccountInner> listByResourceGroup(String resourceGroupName)

Lists all the storage accounts available under the given resource group.

abstract PagedIterable<StorageAccountInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all the storage accounts available under the given resource group.

abstract PagedFlux<StorageAccountInner> listByResourceGroupAsync(String resourceGroupName)

Lists all the storage accounts available under the given resource group.

abstract StorageAccountListKeysResultInner listKeys(String resourceGroupName, String accountName)

Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.

abstract Mono<StorageAccountListKeysResultInner> listKeysAsync(String resourceGroupName, String accountName)

Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.

abstract Response<StorageAccountListKeysResultInner> listKeysWithResponse(String resourceGroupName, String accountName, ListKeyExpand expand, Context context)

Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.

abstract Mono<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.

abstract ListServiceSasResponseInner listServiceSas(String resourceGroupName, String accountName, ServiceSasParameters parameters)

List service SAS credentials of a specific resource.

abstract Mono<ListServiceSasResponseInner> listServiceSasAsync(String resourceGroupName, String accountName, ServiceSasParameters parameters)

List service SAS credentials of a specific resource.

abstract Response<ListServiceSasResponseInner> listServiceSasWithResponse(String resourceGroupName, String accountName, ServiceSasParameters parameters, Context context)

List service SAS credentials of a specific resource.

abstract Mono<Response<ListServiceSasResponseInner>> listServiceSasWithResponseAsync(String resourceGroupName, String accountName, ServiceSasParameters parameters)

List service SAS credentials of a specific resource.

abstract StorageAccountListKeysResultInner regenerateKey(String resourceGroupName, String accountName, StorageAccountRegenerateKeyParameters regenerateKey)

Regenerates one of the access keys or Kerberos keys for the specified storage account.

abstract Mono<StorageAccountListKeysResultInner> regenerateKeyAsync(String resourceGroupName, String accountName, StorageAccountRegenerateKeyParameters regenerateKey)

Regenerates one of the access keys or Kerberos keys for the specified storage account.

abstract Response<StorageAccountListKeysResultInner> regenerateKeyWithResponse(String resourceGroupName, String accountName, StorageAccountRegenerateKeyParameters regenerateKey, Context context)

Regenerates one of the access keys or Kerberos keys for the specified storage account.

abstract Mono<Response<StorageAccountListKeysResultInner>> regenerateKeyWithResponseAsync(String resourceGroupName, String accountName, StorageAccountRegenerateKeyParameters regenerateKey)

Regenerates one of the access keys or Kerberos keys for the specified storage account.

abstract BlobRestoreStatusInner restoreBlobRanges(String resourceGroupName, String accountName, BlobRestoreParameters parameters)

Restore blobs in the specified blob ranges.

abstract BlobRestoreStatusInner restoreBlobRanges(String resourceGroupName, String accountName, BlobRestoreParameters parameters, Context context)

Restore blobs in the specified blob ranges.

abstract Mono<BlobRestoreStatusInner> restoreBlobRangesAsync(String resourceGroupName, String accountName, BlobRestoreParameters parameters)

Restore blobs in the specified blob ranges.

abstract Mono<Response<Flux<ByteBuffer>>> restoreBlobRangesWithResponseAsync(String resourceGroupName, String accountName, BlobRestoreParameters parameters)

Restore blobs in the specified blob ranges.

abstract void revokeUserDelegationKeys(String resourceGroupName, String accountName)

Revoke user delegation keys.

abstract Mono<Void> revokeUserDelegationKeysAsync(String resourceGroupName, String accountName)

Revoke user delegation keys.

abstract Response<Void> revokeUserDelegationKeysWithResponse(String resourceGroupName, String accountName, Context context)

Revoke user delegation keys.

abstract Mono<Response<Void>> revokeUserDelegationKeysWithResponseAsync(String resourceGroupName, String accountName)

Revoke user delegation keys.

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

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

abstract Response<StorageAccountInner> updateWithResponse(String resourceGroupName, String accountName, StorageAccountUpdateParameters parameters, Context context)

The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account.

abstract Mono<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.

Method Details

abortHierarchicalNamespaceMigration

public abstract 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.

abortHierarchicalNamespaceMigration

public abstract void abortHierarchicalNamespaceMigration(String resourceGroupName, String accountName, 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.

abortHierarchicalNamespaceMigrationAsync

public abstract Mono 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.

abortHierarchicalNamespaceMigrationWithResponseAsync

public abstract Mono<><>>> 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<T> on successful completion of Mono.

beginAbortHierarchicalNamespaceMigration

public abstract SyncPoller<>,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<T,U> for polling of long-running operation.

beginAbortHierarchicalNamespaceMigration

public abstract SyncPoller<>,Void> beginAbortHierarchicalNamespaceMigration(String resourceGroupName, String accountName, 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<T,U> for polling of long-running operation.

beginAbortHierarchicalNamespaceMigrationAsync

public abstract PollerFlux<>,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<T,U> for polling of long-running operation.

beginCreate

public abstract SyncPoller<>,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<T,U> for polling of the storage account.

beginCreate

public abstract SyncPoller<>,StorageAccountInner> beginCreate(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters, 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<T,U> for polling of the storage account.

beginCreateAsync

public abstract PollerFlux<>,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<T,U> for polling of the storage account.

beginCustomerInitiatedMigration

public abstract SyncPoller<>,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<T,U> for polling of long-running operation.

beginCustomerInitiatedMigration

public abstract SyncPoller<>,Void> beginCustomerInitiatedMigration(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters, 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<T,U> for polling of long-running operation.

beginCustomerInitiatedMigrationAsync

public abstract PollerFlux<>,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<T,U> for polling of long-running operation.

beginFailover

public abstract SyncPoller<>,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<T,U> for polling of long-running operation.

beginFailover

public abstract SyncPoller<>,Void> beginFailover(String resourceGroupName, String accountName, FailoverType failoverType, 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<T,U> for polling of long-running operation.

beginFailoverAsync

public abstract PollerFlux<>,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<T,U> for polling of long-running operation.

beginFailoverAsync

public abstract PollerFlux<>,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<T,U> for polling of long-running operation.

beginHierarchicalNamespaceMigration

public abstract SyncPoller<>,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<T,U> for polling of long-running operation.

beginHierarchicalNamespaceMigration

public abstract SyncPoller<>,Void> beginHierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType, 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<T,U> for polling of long-running operation.

beginHierarchicalNamespaceMigrationAsync

public abstract PollerFlux<>,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<T,U> for polling of long-running operation.

beginRestoreBlobRanges

public abstract SyncPoller<>,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<T,U> for polling of blob restore status.

beginRestoreBlobRanges

public abstract SyncPoller<>,BlobRestoreStatusInner> beginRestoreBlobRanges(String resourceGroupName, String accountName, BlobRestoreParameters parameters, 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<T,U> for polling of blob restore status.

beginRestoreBlobRangesAsync

public abstract PollerFlux<>,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<T,U> for polling of blob restore status.

checkNameAvailability

public abstract 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.

checkNameAvailabilityAsync

public abstract Mono 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 on successful completion of Mono.

checkNameAvailabilityWithResponse

public abstract Response checkNameAvailabilityWithResponse(StorageAccountCheckNameAvailabilityParameters accountName, 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<T>.

checkNameAvailabilityWithResponseAsync

public abstract Mono<>> 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<T> on successful completion of Mono.

create

public abstract 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.

create

public abstract StorageAccountInner create(String resourceGroupName, String accountName, StorageAccountCreateParameters parameters, 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.

createAsync

public abstract Mono 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.

createWithResponseAsync

public abstract Mono<><>>> 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<T> on successful completion of Mono.

customerInitiatedMigration

public abstract 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.

customerInitiatedMigration

public abstract void customerInitiatedMigration(String resourceGroupName, String accountName, StorageAccountMigrationInner parameters, 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.

customerInitiatedMigrationAsync

public abstract Mono 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.

customerInitiatedMigrationWithResponseAsync

public abstract Mono<><>>> 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<T> on successful completion of Mono.

delete

public abstract 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.

deleteAsync

public abstract Mono deleteAsync(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:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String accountName, 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:

deleteWithResponseAsync

public abstract Mono<>> 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<T> on successful completion of Mono.

failover

public abstract 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.

failover

public abstract void failover(String resourceGroupName, String accountName, FailoverType failoverType, 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.

failoverAsync

public abstract Mono 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.

failoverAsync

public abstract Mono 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.

failoverWithResponseAsync

public abstract Mono<><>>> 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<T> on successful completion of Mono.

getByResourceGroup

public abstract 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.

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.

getByResourceGroupAsync

public abstract Mono 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.

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.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String accountName, StorageAccountExpand expand, 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<T>.

getByResourceGroupWithResponseAsync

public abstract Mono<>> 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<T> on successful completion of Mono.

getCustomerInitiatedMigration

public abstract 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.

getCustomerInitiatedMigrationAsync

public abstract Mono 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.

getCustomerInitiatedMigrationWithResponse

public abstract Response getCustomerInitiatedMigrationWithResponse(String resourceGroupName, String accountName, MigrationName migrationName, 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<T>.

getCustomerInitiatedMigrationWithResponseAsync

public abstract Mono<>> 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<T> on successful completion of Mono.

hierarchicalNamespaceMigration

public abstract 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.

hierarchicalNamespaceMigration

public abstract void hierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType, 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.

hierarchicalNamespaceMigrationAsync

public abstract Mono 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.

hierarchicalNamespaceMigrationWithResponseAsync

public abstract Mono<><>>> 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<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.

Returns:

the response from the List Storage Accounts operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(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<T>.

listAccountSas

public abstract 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.

listAccountSasAsync

public abstract Mono 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.

listAccountSasWithResponse

public abstract Response listAccountSasWithResponse(String resourceGroupName, String accountName, AccountSasParameters parameters, 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<T>.

listAccountSasWithResponseAsync

public abstract Mono<>> 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<T> on successful completion of Mono.

listAsync

public abstract PagedFlux listAsync()

Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.

Returns:

the response from the List Storage Accounts operation as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable 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.

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

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, 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<T>.

listByResourceGroupAsync

public abstract PagedFlux 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.

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

listKeys

public abstract 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.

listKeysAsync

public abstract Mono 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.

listKeysWithResponse

public abstract Response listKeysWithResponse(String resourceGroupName, String accountName, ListKeyExpand expand, 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<T>.

listKeysWithResponseAsync

public abstract Mono<>> 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<T> on successful completion of Mono.

listServiceSas

public abstract 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.

listServiceSasAsync

public abstract Mono 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.

listServiceSasWithResponse

public abstract Response listServiceSasWithResponse(String resourceGroupName, String accountName, ServiceSasParameters parameters, 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<T>.

listServiceSasWithResponseAsync

public abstract Mono<>> 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<T> on successful completion of Mono.

regenerateKey

public abstract 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.

regenerateKeyAsync

public abstract Mono 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.

regenerateKeyWithResponse

public abstract Response regenerateKeyWithResponse(String resourceGroupName, String accountName, StorageAccountRegenerateKeyParameters regenerateKey, 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<T>.

regenerateKeyWithResponseAsync

public abstract Mono<>> 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<T> on successful completion of Mono.

restoreBlobRanges

public abstract 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.

restoreBlobRanges

public abstract BlobRestoreStatusInner restoreBlobRanges(String resourceGroupName, String accountName, BlobRestoreParameters parameters, 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.

restoreBlobRangesAsync

public abstract Mono 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.

restoreBlobRangesWithResponseAsync

public abstract Mono<><>>> 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<T> on successful completion of Mono.

revokeUserDelegationKeys

public abstract 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.

revokeUserDelegationKeysAsync

public abstract Mono 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.

revokeUserDelegationKeysWithResponse

public abstract Response revokeUserDelegationKeysWithResponse(String resourceGroupName, String accountName, 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:

revokeUserDelegationKeysWithResponseAsync

public abstract Mono<>> 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<T> on successful completion of Mono.

update

public abstract 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.

updateAsync

public abstract Mono 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.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String accountName, StorageAccountUpdateParameters parameters, 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<T>.

updateWithResponseAsync

public abstract Mono<>> 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<T> on successful completion of Mono.

Applies to