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
Method Details
abortHierarchicalNamespaceMigration
public abstract void abortHierarchicalNamespaceMigration(String resourceGroupName, String accountName)
Abort live Migration of storage account to enable Hns.
Parameters:
abortHierarchicalNamespaceMigration
public abstract void abortHierarchicalNamespaceMigration(String resourceGroupName, String accountName, Context context)
Abort live Migration of storage account to enable Hns.
Parameters:
abortHierarchicalNamespaceMigrationAsync
public abstract Mono
Abort live Migration of storage account to enable Hns.
Parameters:
Returns:
abortHierarchicalNamespaceMigrationWithResponseAsync
public abstract Mono
Abort live Migration of storage account to enable Hns.
Parameters:
Returns:
beginAbortHierarchicalNamespaceMigration
public abstract SyncPoller
Abort live Migration of storage account to enable Hns.
Parameters:
Returns:
beginAbortHierarchicalNamespaceMigration
public abstract SyncPoller
Abort live Migration of storage account to enable Hns.
Parameters:
Returns:
beginAbortHierarchicalNamespaceMigrationAsync
public abstract PollerFlux
Abort live Migration of storage account to enable Hns.
Parameters:
Returns:
beginCreate
public abstract SyncPoller
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:
Returns:
beginCreate
public abstract SyncPoller
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:
Returns:
beginCreateAsync
public abstract PollerFlux
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:
Returns:
beginCustomerInitiatedMigration
public abstract SyncPoller
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:
Returns:
beginCustomerInitiatedMigration
public abstract SyncPoller
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:
Returns:
beginCustomerInitiatedMigrationAsync
public abstract PollerFlux
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:
Returns:
beginFailover
public abstract SyncPoller
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://video2.skills-academy.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
Parameters:
Returns:
beginFailover
public abstract SyncPoller
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://video2.skills-academy.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
Parameters:
Returns:
beginFailoverAsync
public abstract PollerFlux
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://video2.skills-academy.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
Parameters:
Returns:
beginFailoverAsync
public abstract PollerFlux
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://video2.skills-academy.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
Parameters:
Returns:
beginHierarchicalNamespaceMigration
public abstract SyncPoller
Live Migration of storage account to enable Hns.
Parameters:
Returns:
beginHierarchicalNamespaceMigration
public abstract SyncPoller
Live Migration of storage account to enable Hns.
Parameters:
Returns:
beginHierarchicalNamespaceMigrationAsync
public abstract PollerFlux
Live Migration of storage account to enable Hns.
Parameters:
Returns:
beginRestoreBlobRanges
public abstract SyncPoller
Restore blobs in the specified blob ranges.
Parameters:
Returns:
beginRestoreBlobRanges
public abstract SyncPoller
Restore blobs in the specified blob ranges.
Parameters:
Returns:
beginRestoreBlobRangesAsync
public abstract PollerFlux
Restore blobs in the specified blob ranges.
Parameters:
Returns:
checkNameAvailability
public abstract CheckNameAvailabilityResultInner checkNameAvailability(StorageAccountCheckNameAvailabilityParameters accountName)
Checks that the storage account name is valid and is not already in use.
Parameters:
Returns:
checkNameAvailabilityAsync
public abstract Mono
Checks that the storage account name is valid and is not already in use.
Parameters:
Returns:
checkNameAvailabilityWithResponse
public abstract Response
Checks that the storage account name is valid and is not already in use.
Parameters:
Returns:
checkNameAvailabilityWithResponseAsync
public abstract Mono
Checks that the storage account name is valid and is not already in use.
Parameters:
Returns:
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:
Returns:
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:
Returns:
createAsync
public abstract Mono
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:
Returns:
createWithResponseAsync
public abstract Mono
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:
Returns:
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:
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:
customerInitiatedMigrationAsync
public abstract Mono
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:
Returns:
customerInitiatedMigrationWithResponseAsync
public abstract Mono
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:
Returns:
delete
public abstract void delete(String resourceGroupName, String accountName)
Deletes a storage account in Microsoft Azure.
Parameters:
deleteAsync
public abstract Mono
Deletes a storage account in Microsoft Azure.
Parameters:
Returns:
deleteWithResponse
public abstract Response
Deletes a storage account in Microsoft Azure.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono
Deletes a storage account in Microsoft Azure.
Parameters:
Returns:
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://video2.skills-academy.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
Parameters:
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://video2.skills-academy.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
Parameters:
failoverAsync
public abstract Mono
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://video2.skills-academy.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
Parameters:
Returns:
failoverAsync
public abstract Mono
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://video2.skills-academy.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
Parameters:
Returns:
failoverWithResponseAsync
public abstract Mono
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://video2.skills-academy.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
Parameters:
Returns:
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:
Returns:
getByResourceGroupAsync
public abstract Mono
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:
Returns:
getByResourceGroupWithResponse
public abstract Response
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:
Returns:
getByResourceGroupWithResponseAsync
public abstract Mono
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:
Returns:
getCustomerInitiatedMigration
public abstract StorageAccountMigrationInner getCustomerInitiatedMigration(String resourceGroupName, String accountName, MigrationName migrationName)
Gets the status of the ongoing migration for the specified storage account.
Parameters:
Returns:
getCustomerInitiatedMigrationAsync
public abstract Mono
Gets the status of the ongoing migration for the specified storage account.
Parameters:
Returns:
getCustomerInitiatedMigrationWithResponse
public abstract Response
Gets the status of the ongoing migration for the specified storage account.
Parameters:
Returns:
getCustomerInitiatedMigrationWithResponseAsync
public abstract Mono
Gets the status of the ongoing migration for the specified storage account.
Parameters:
Returns:
hierarchicalNamespaceMigration
public abstract void hierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType)
Live Migration of storage account to enable Hns.
Parameters:
hierarchicalNamespaceMigration
public abstract void hierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType, Context context)
Live Migration of storage account to enable Hns.
Parameters:
hierarchicalNamespaceMigrationAsync
public abstract Mono
Live Migration of storage account to enable Hns.
Parameters:
Returns:
hierarchicalNamespaceMigrationWithResponseAsync
public abstract Mono
Live Migration of storage account to enable Hns.
Parameters:
Returns:
list
public abstract PagedIterable
Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
Returns:
list
public abstract PagedIterable
Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
Parameters:
Returns:
listAccountSas
public abstract ListAccountSasResponseInner listAccountSas(String resourceGroupName, String accountName, AccountSasParameters parameters)
List SAS credentials of a storage account.
Parameters:
Returns:
listAccountSasAsync
public abstract Mono
List SAS credentials of a storage account.
Parameters:
Returns:
listAccountSasWithResponse
public abstract Response
List SAS credentials of a storage account.
Parameters:
Returns:
listAccountSasWithResponseAsync
public abstract Mono
List SAS credentials of a storage account.
Parameters:
Returns:
listAsync
public abstract PagedFlux
Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
Returns:
listByResourceGroup
public abstract PagedIterable
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:
Returns:
listByResourceGroup
public abstract PagedIterable
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:
Returns:
listByResourceGroupAsync
public abstract PagedFlux
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:
Returns:
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:
Returns:
listKeysAsync
public abstract Mono
Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.
Parameters:
Returns:
listKeysWithResponse
public abstract Response
Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.
Parameters:
Returns:
listKeysWithResponseAsync
public abstract Mono
Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.
Parameters:
Returns:
listServiceSas
public abstract ListServiceSasResponseInner listServiceSas(String resourceGroupName, String accountName, ServiceSasParameters parameters)
List service SAS credentials of a specific resource.
Parameters:
Returns:
listServiceSasAsync
public abstract Mono
List service SAS credentials of a specific resource.
Parameters:
Returns:
listServiceSasWithResponse
public abstract Response
List service SAS credentials of a specific resource.
Parameters:
Returns:
listServiceSasWithResponseAsync
public abstract Mono
List service SAS credentials of a specific resource.
Parameters:
Returns:
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:
Returns:
regenerateKeyAsync
public abstract Mono
Regenerates one of the access keys or Kerberos keys for the specified storage account.
Parameters:
Returns:
regenerateKeyWithResponse
public abstract Response
Regenerates one of the access keys or Kerberos keys for the specified storage account.
Parameters:
Returns:
regenerateKeyWithResponseAsync
public abstract Mono
Regenerates one of the access keys or Kerberos keys for the specified storage account.
Parameters:
Returns:
restoreBlobRanges
public abstract BlobRestoreStatusInner restoreBlobRanges(String resourceGroupName, String accountName, BlobRestoreParameters parameters)
Restore blobs in the specified blob ranges.
Parameters:
Returns:
restoreBlobRanges
public abstract BlobRestoreStatusInner restoreBlobRanges(String resourceGroupName, String accountName, BlobRestoreParameters parameters, Context context)
Restore blobs in the specified blob ranges.
Parameters:
Returns:
restoreBlobRangesAsync
public abstract Mono
Restore blobs in the specified blob ranges.
Parameters:
Returns:
restoreBlobRangesWithResponseAsync
public abstract Mono
Restore blobs in the specified blob ranges.
Parameters:
Returns:
revokeUserDelegationKeys
public abstract void revokeUserDelegationKeys(String resourceGroupName, String accountName)
Revoke user delegation keys.
Parameters:
revokeUserDelegationKeysAsync
public abstract Mono
Revoke user delegation keys.
Parameters:
Returns:
revokeUserDelegationKeysWithResponse
public abstract Response
Revoke user delegation keys.
Parameters:
Returns:
revokeUserDelegationKeysWithResponseAsync
public abstract Mono
Revoke user delegation keys.
Parameters:
Returns:
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:
Returns:
updateAsync
public abstract Mono
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:
Returns:
updateWithResponse
public abstract Response
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:
Returns:
updateWithResponseAsync
public abstract Mono
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:
Returns:
Applies to
Azure SDK for Java