你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IStorageAccountsOperations 接口

定义

StorageAccountsOperations 操作。

public interface IStorageAccountsOperations
type IStorageAccountsOperations = interface
Public Interface IStorageAccountsOperations

方法

BeginCreateWithHttpMessagesAsync(String, String, StorageAccountCreateParameters, Dictionary<String,List<String>>, CancellationToken)

使用指定的参数异步创建一个新的存储帐户。 如果已创建帐户,并且发出具有不同属性的后续创建请求,则会更新帐户属性。 如果已创建帐户,并且发出具有完全相同的属性集的后续创建或更新请求,则请求将成功。

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

如果出现可用性问题,可以为存储帐户触发故障转移请求。 从存储帐户的主群集故障转移到 RA-GRS 帐户的辅助群集。 故障转移后,辅助群集将成为主群集。

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

检查存储帐户名称是否有效且尚未使用。

CreateWithHttpMessagesAsync(String, String, StorageAccountCreateParameters, Dictionary<String,List<String>>, CancellationToken)

使用指定的参数异步创建一个新的存储帐户。 如果已创建帐户,并且发出具有不同属性的后续创建请求,则会更新帐户属性。 如果已创建帐户,并且发出具有完全相同的属性集的后续创建或更新请求,则请求将成功。

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

删除 Microsoft Azure 中的存储帐户。

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

如果出现可用性问题,可以为存储帐户触发故障转移请求。 从存储帐户的主群集故障转移到 RA-GRS 帐户的辅助群集。 故障转移后,辅助群集将成为主群集。

GetPropertiesWithHttpMessagesAsync(String, String, Nullable<StorageAccountExpand>, Dictionary<String,List<String>>, CancellationToken)

返回指定存储帐户的属性,包括但不限于名称、SKU 名称、位置和帐户状态。 应使用 ListKeys 操作检索存储密钥。

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

列出存储帐户的 SAS 凭据。

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

列出给定资源组下可用的所有存储帐户。 请注意,不会返回存储密钥;为此,请使用 ListKeys 操作。

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

列出指定存储帐户的访问密钥。

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

列出订阅下可用的所有存储帐户。 请注意,不会返回存储密钥;为此,请使用 ListKeys 操作。

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

列出特定资源的服务 SAS 凭据。

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

列出订阅下可用的所有存储帐户。 请注意,不会返回存储密钥;为此,请使用 ListKeys 操作。

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

为指定的存储帐户重新生成其中一个访问密钥。

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

撤销用户委派密钥。

UpdateWithHttpMessagesAsync(String, String, StorageAccountUpdateParameters, Dictionary<String,List<String>>, CancellationToken)

更新操作可用于更新存储帐户的 SKU、加密、访问层或标记。 它还可用于将帐户映射到自定义域。 每个存储帐户仅支持一个自定义域;不支持替换/更改自定义域。 若要替换旧的自定义域,必须先清除/取消注册旧值,然后才能设置新值。 支持更新多个属性。 此调用不会更改帐户的存储密钥。 如果要更改存储帐户密钥,请使用重新生成密钥操作。 创建后无法更改存储帐户的位置和名称。

扩展方法

BeginCreateAsync(IStorageAccountsOperations, String, String, StorageAccountCreateParameters, CancellationToken)

使用指定的参数异步创建一个新的存储帐户。 如果已创建帐户,并且发出具有不同属性的后续创建请求,则会更新帐户属性。 如果已创建帐户,并且发出具有完全相同的属性集的后续创建或更新请求,则请求将成功。

BeginFailoverAsync(IStorageAccountsOperations, String, String, CancellationToken)

如果出现可用性问题,可以为存储帐户触发故障转移请求。 从存储帐户的主群集故障转移到 RA-GRS 帐户的辅助群集。 故障转移后,辅助群集将成为主群集。

CheckNameAvailabilityAsync(IStorageAccountsOperations, String, CancellationToken)

检查存储帐户名称是否有效且尚未使用。

CreateAsync(IStorageAccountsOperations, String, String, StorageAccountCreateParameters, CancellationToken)

使用指定的参数异步创建一个新的存储帐户。 如果已创建帐户,并且发出具有不同属性的后续创建请求,则会更新帐户属性。 如果已创建帐户,并且发出具有完全相同的属性集的后续创建或更新请求,则请求将成功。

DeleteAsync(IStorageAccountsOperations, String, String, CancellationToken)

删除 Microsoft Azure 中的存储帐户。

FailoverAsync(IStorageAccountsOperations, String, String, CancellationToken)

如果出现可用性问题,可以为存储帐户触发故障转移请求。 从存储帐户的主群集故障转移到 RA-GRS 帐户的辅助群集。 故障转移后,辅助群集将成为主群集。

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

返回指定存储帐户的属性,包括但不限于名称、SKU 名称、位置和帐户状态。 应使用 ListKeys 操作检索存储密钥。

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

列出存储帐户的 SAS 凭据。

ListAsync(IStorageAccountsOperations, CancellationToken)

列出订阅下可用的所有存储帐户。 请注意,不会返回存储密钥;为此,请使用 ListKeys 操作。

ListByResourceGroupAsync(IStorageAccountsOperations, String, CancellationToken)

列出给定资源组下可用的所有存储帐户。 请注意,不会返回存储密钥;为此,请使用 ListKeys 操作。

ListKeysAsync(IStorageAccountsOperations, String, String, CancellationToken)

列出指定存储帐户的访问密钥。

ListNextAsync(IStorageAccountsOperations, String, CancellationToken)

列出订阅下可用的所有存储帐户。 请注意,不会返回存储密钥;为此,请使用 ListKeys 操作。

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

列出特定资源的服务 SAS 凭据。

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

为指定的存储帐户重新生成其中一个访问密钥。

RevokeUserDelegationKeysAsync(IStorageAccountsOperations, String, String, CancellationToken)

撤销用户委派密钥。

UpdateAsync(IStorageAccountsOperations, String, String, StorageAccountUpdateParameters, CancellationToken)

更新操作可用于更新存储帐户的 SKU、加密、访问层或标记。 它还可用于将帐户映射到自定义域。 每个存储帐户仅支持一个自定义域;不支持替换/更改自定义域。 若要替换旧的自定义域,必须先清除/取消注册旧值,然后才能设置新值。 支持更新多个属性。 此调用不会更改帐户的存储密钥。 如果要更改存储帐户密钥,请使用重新生成密钥操作。 创建后无法更改存储帐户的位置和名称。

适用于