StorageAccountsOperations Class

Definition

The StorageAccounts service client.

public class StorageAccountsOperations
type StorageAccountsOperations = class
Public Class StorageAccountsOperations
Inheritance
System.Object
StorageAccountsOperations

Constructors

StorageAccountsOperations()

Initializes a new instance of StorageAccountsOperations for mocking.

Methods

CheckNameAvailability(StorageAccountCheckNameAvailabilityParameters, CancellationToken)

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

CheckNameAvailabilityAsync(StorageAccountCheckNameAvailabilityParameters, CancellationToken)

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

Delete(String, String, CancellationToken)

Deletes a storage account in Microsoft Azure.

DeleteAsync(String, String, CancellationToken)

Deletes a storage account in Microsoft Azure.

GetProperties(String, String, Nullable<StorageAccountExpand>, CancellationToken)

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.

GetPropertiesAsync(String, String, Nullable<StorageAccountExpand>, CancellationToken)

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.

List(CancellationToken)

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

ListAccountSAS(String, String, AccountSasParameters, CancellationToken)

List SAS credentials of a storage account.

ListAccountSASAsync(String, String, AccountSasParameters, CancellationToken)

List SAS credentials of a storage account.

ListAsync(CancellationToken)

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

ListByResourceGroup(String, CancellationToken)

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

ListByResourceGroupAsync(String, CancellationToken)

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

ListKeys(String, String, CancellationToken)

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

ListKeysAsync(String, String, CancellationToken)

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

ListServiceSAS(String, String, ServiceSasParameters, CancellationToken)

List service SAS credentials of a specific resource.

ListServiceSASAsync(String, String, ServiceSasParameters, CancellationToken)

List service SAS credentials of a specific resource.

RegenerateKey(String, String, StorageAccountRegenerateKeyParameters, CancellationToken)

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

RegenerateKeyAsync(String, String, StorageAccountRegenerateKeyParameters, CancellationToken)

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

RevokeUserDelegationKeys(String, String, CancellationToken)

Revoke user delegation keys.

RevokeUserDelegationKeysAsync(String, String, CancellationToken)

Revoke user delegation keys.

StartCreate(String, String, StorageAccountCreateParameters, CancellationToken)

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.

StartCreateAsync(String, String, StorageAccountCreateParameters, CancellationToken)

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.

StartFailover(String, String, CancellationToken)

Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover.

StartFailoverAsync(String, String, CancellationToken)

Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover.

StartRestoreBlobRanges(String, String, BlobRestoreParameters, CancellationToken)

Restore blobs in the specified blob ranges.

StartRestoreBlobRangesAsync(String, String, BlobRestoreParameters, CancellationToken)

Restore blobs in the specified blob ranges.

Update(String, String, StorageAccountUpdateParameters, CancellationToken)

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.

UpdateAsync(String, String, StorageAccountUpdateParameters, CancellationToken)

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.

Applies to