你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorageAccountCredentials interface
表示 StorageAccountCredentials 的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, string, StorageAccountCredential, StorageAccountCredentialsCreateOrUpdateOptionalParams)
创建或更新存储帐户凭据
function beginCreateOrUpdate(credentialName: string, resourceGroupName: string, managerName: string, storageAccount: StorageAccountCredential, options?: StorageAccountCredentialsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<StorageAccountCredential>, StorageAccountCredential>>
参数
- credentialName
-
string
凭据名称。
- resourceGroupName
-
string
资源组名称
- managerName
-
string
经理姓名
- storageAccount
- StorageAccountCredential
要添加或更新的存储帐户凭据。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<StorageAccountCredential>, StorageAccountCredential>>
beginCreateOrUpdateAndWait(string, string, string, StorageAccountCredential, StorageAccountCredentialsCreateOrUpdateOptionalParams)
创建或更新存储帐户凭据
function beginCreateOrUpdateAndWait(credentialName: string, resourceGroupName: string, managerName: string, storageAccount: StorageAccountCredential, options?: StorageAccountCredentialsCreateOrUpdateOptionalParams): Promise<StorageAccountCredential>
参数
- credentialName
-
string
凭据名称。
- resourceGroupName
-
string
资源组名称
- managerName
-
string
经理姓名
- storageAccount
- StorageAccountCredential
要添加或更新的存储帐户凭据。
选项参数。
返回
Promise<StorageAccountCredential>
beginDelete(string, string, string, StorageAccountCredentialsDeleteOptionalParams)
删除存储帐户凭据
function beginDelete(credentialName: string, resourceGroupName: string, managerName: string, options?: StorageAccountCredentialsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
参数
- credentialName
-
string
存储帐户凭据的名称。
- resourceGroupName
-
string
资源组名称
- managerName
-
string
经理姓名
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, string, StorageAccountCredentialsDeleteOptionalParams)
删除存储帐户凭据
function beginDeleteAndWait(credentialName: string, resourceGroupName: string, managerName: string, options?: StorageAccountCredentialsDeleteOptionalParams): Promise<void>
参数
- credentialName
-
string
存储帐户凭据的名称。
- resourceGroupName
-
string
资源组名称
- managerName
-
string
经理姓名
选项参数。
返回
Promise<void>
get(string, string, string, StorageAccountCredentialsGetOptionalParams)
返回指定存储帐户凭据名称的属性。
function get(credentialName: string, resourceGroupName: string, managerName: string, options?: StorageAccountCredentialsGetOptionalParams): Promise<StorageAccountCredential>
参数
- credentialName
-
string
要提取的存储帐户凭据的名称。
- resourceGroupName
-
string
资源组名称
- managerName
-
string
经理姓名
选项参数。
返回
Promise<StorageAccountCredential>
listByManager(string, string, StorageAccountCredentialsListByManagerOptionalParams)
检索管理器中的所有存储帐户凭据。
function listByManager(resourceGroupName: string, managerName: string, options?: StorageAccountCredentialsListByManagerOptionalParams): PagedAsyncIterableIterator<StorageAccountCredential, StorageAccountCredential[], PageSettings>
参数
- resourceGroupName
-
string
资源组名称
- managerName
-
string
经理姓名
选项参数。