共用方式為


IStorageAccountsOperations Interface

Definition

StorageAccountsOperations operations.

public interface IStorageAccountsOperations
type IStorageAccountsOperations = interface
Public Interface IStorageAccountsOperations

Methods

BeginCreateWithHttpMessagesAsync(String, String, StorageAccountCreateParameters, Dictionary<String,List<String>>, 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.

BeginFailoverWithHttpMessagesAsync(String, String, Dictionary<String,List<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.

CheckNameAvailabilityWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

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

CreateWithHttpMessagesAsync(String, String, StorageAccountCreateParameters, Dictionary<String,List<String>>, 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.

DeleteWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Deletes a storage account in Microsoft Azure.

FailoverWithHttpMessagesAsync(String, String, Dictionary<String,List<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.

GetPropertiesWithHttpMessagesAsync(String, String, Nullable<StorageAccountExpand>, Dictionary<String,List<String>>, 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.

ListAccountSASWithHttpMessagesAsync(String, String, AccountSasParameters, Dictionary<String,List<String>>, CancellationToken)

List SAS credentials of a storage account.

ListByResourceGroupWithHttpMessagesAsync(String, Dictionary<String,List<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.

ListKeysWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Lists the access keys for the specified storage account.

ListNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

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

ListServiceSASWithHttpMessagesAsync(String, String, ServiceSasParameters, Dictionary<String,List<String>>, CancellationToken)

List service SAS credentials of a specific resource.

ListWithHttpMessagesAsync(Dictionary<String,List<String>>, CancellationToken)

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

RegenerateKeyWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

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

RevokeUserDelegationKeysWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Revoke user delegation keys.

UpdateWithHttpMessagesAsync(String, String, StorageAccountUpdateParameters, Dictionary<String,List<String>>, 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.

Extension Methods

BeginCreateAsync(IStorageAccountsOperations, 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.

BeginFailoverAsync(IStorageAccountsOperations, 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.

CheckNameAvailabilityAsync(IStorageAccountsOperations, String, CancellationToken)

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

CreateAsync(IStorageAccountsOperations, 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.

DeleteAsync(IStorageAccountsOperations, String, String, CancellationToken)

Deletes a storage account in Microsoft Azure.

FailoverAsync(IStorageAccountsOperations, 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.

GetPropertiesAsync(IStorageAccountsOperations, 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.

ListAccountSASAsync(IStorageAccountsOperations, String, String, AccountSasParameters, CancellationToken)

List SAS credentials of a storage account.

ListAsync(IStorageAccountsOperations, CancellationToken)

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

ListByResourceGroupAsync(IStorageAccountsOperations, 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.

ListKeysAsync(IStorageAccountsOperations, String, String, CancellationToken)

Lists the access keys for the specified storage account.

ListNextAsync(IStorageAccountsOperations, String, CancellationToken)

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

ListServiceSASAsync(IStorageAccountsOperations, String, String, ServiceSasParameters, CancellationToken)

List service SAS credentials of a specific resource.

RegenerateKeyAsync(IStorageAccountsOperations, String, String, String, CancellationToken)

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

RevokeUserDelegationKeysAsync(IStorageAccountsOperations, String, String, CancellationToken)

Revoke user delegation keys.

UpdateAsync(IStorageAccountsOperations, 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