Accounts interface
表示帐户的接口。
方法
方法详细信息
beginChangeKeyVault(string, string, AccountsChangeKeyVaultOptionalParams)
影响使用 Key Vault/托管 HSM 加密的现有卷和新卷。 支持 HSM 到 Key Vault、将 Key Vault 连接到 HSM、HSM 到 HSM 和 Key Vault 到 Key Vault。
function beginChangeKeyVault(resourceGroupName: string, accountName: string, options?: AccountsChangeKeyVaultOptionalParams): Promise<SimplePollerLike<OperationState<AccountsChangeKeyVaultHeaders>, AccountsChangeKeyVaultHeaders>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<AccountsChangeKeyVaultHeaders>, AccountsChangeKeyVaultHeaders>>
beginChangeKeyVaultAndWait(string, string, AccountsChangeKeyVaultOptionalParams)
影响使用 Key Vault/托管 HSM 加密的现有卷和新卷。 支持 HSM 到 Key Vault、将 Key Vault 连接到 HSM、HSM 到 HSM 和 Key Vault 到 Key Vault。
function beginChangeKeyVaultAndWait(resourceGroupName: string, accountName: string, options?: AccountsChangeKeyVaultOptionalParams): Promise<AccountsChangeKeyVaultHeaders>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
选项参数。
返回
Promise<AccountsChangeKeyVaultHeaders>
beginCreateOrUpdate(string, string, NetAppAccount, AccountsCreateOrUpdateOptionalParams)
在资源组中创建或更新指定的 NetApp 帐户
function beginCreateOrUpdate(resourceGroupName: string, accountName: string, body: NetAppAccount, options?: AccountsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NetAppAccount>, NetAppAccount>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
- body
- NetAppAccount
作正文中提供的 NetApp Account 对象。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<NetAppAccount>, NetAppAccount>>
beginCreateOrUpdateAndWait(string, string, NetAppAccount, AccountsCreateOrUpdateOptionalParams)
在资源组中创建或更新指定的 NetApp 帐户
function beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, body: NetAppAccount, options?: AccountsCreateOrUpdateOptionalParams): Promise<NetAppAccount>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
- body
- NetAppAccount
作正文中提供的 NetApp Account 对象。
选项参数。
返回
Promise<NetAppAccount>
beginDelete(string, string, AccountsDeleteOptionalParams)
删除指定的 NetApp 帐户
function beginDelete(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
- options
- AccountsDeleteOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, AccountsDeleteOptionalParams)
删除指定的 NetApp 帐户
function beginDeleteAndWait(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
- options
- AccountsDeleteOptionalParams
选项参数。
返回
Promise<void>
beginGetChangeKeyVaultInformation(string, string, AccountsGetChangeKeyVaultInformationOptionalParams)
包含 encryption.keyVaultProperties 中的数据,以及每个加密同级集使用哪些专用终结点的信息。 可以修改此终结点的响应,并将其用作 POST 请求的请求正文。
function beginGetChangeKeyVaultInformation(resourceGroupName: string, accountName: string, options?: AccountsGetChangeKeyVaultInformationOptionalParams): Promise<SimplePollerLike<OperationState<GetKeyVaultStatusResponse>, GetKeyVaultStatusResponse>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<GetKeyVaultStatusResponse>, GetKeyVaultStatusResponse>>
beginGetChangeKeyVaultInformationAndWait(string, string, AccountsGetChangeKeyVaultInformationOptionalParams)
包含 encryption.keyVaultProperties 中的数据,以及每个加密同级集使用哪些专用终结点的信息。 可以修改此终结点的响应,并将其用作 POST 请求的请求正文。
function beginGetChangeKeyVaultInformationAndWait(resourceGroupName: string, accountName: string, options?: AccountsGetChangeKeyVaultInformationOptionalParams): Promise<GetKeyVaultStatusResponse>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
选项参数。
返回
Promise<GetKeyVaultStatusResponse>
beginRenewCredentials(string, string, AccountsRenewCredentialsOptionalParams)
续订用于对密钥保管库进行身份验证的标识凭据,以便进行客户管理的密钥加密。 如果 encryption.identity.principalId 与 identity.principalId 不匹配,则运行此作将修复此作。
function beginRenewCredentials(resourceGroupName: string, accountName: string, options?: AccountsRenewCredentialsOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginRenewCredentialsAndWait(string, string, AccountsRenewCredentialsOptionalParams)
续订用于对密钥保管库进行身份验证的标识凭据,以便进行客户管理的密钥加密。 如果 encryption.identity.principalId 与 identity.principalId 不匹配,则运行此作将修复此作。
function beginRenewCredentialsAndWait(resourceGroupName: string, accountName: string, options?: AccountsRenewCredentialsOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
选项参数。
返回
Promise<void>
beginTransitionToCmk(string, string, AccountsTransitionToCmkOptionalParams)
将 VNet 中的所有卷转换为其他加密密钥源(Microsoft管理的密钥或 Azure Key Vault)。 如果目标卷与另一帐户中的卷共享加密同级集,则作将失败。
function beginTransitionToCmk(resourceGroupName: string, accountName: string, options?: AccountsTransitionToCmkOptionalParams): Promise<SimplePollerLike<OperationState<AccountsTransitionToCmkHeaders>, AccountsTransitionToCmkHeaders>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<AccountsTransitionToCmkHeaders>, AccountsTransitionToCmkHeaders>>
beginTransitionToCmkAndWait(string, string, AccountsTransitionToCmkOptionalParams)
将 VNet 中的所有卷转换为其他加密密钥源(Microsoft管理的密钥或 Azure Key Vault)。 如果目标卷与另一帐户中的卷共享加密同级集,则作将失败。
function beginTransitionToCmkAndWait(resourceGroupName: string, accountName: string, options?: AccountsTransitionToCmkOptionalParams): Promise<AccountsTransitionToCmkHeaders>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
选项参数。
返回
Promise<AccountsTransitionToCmkHeaders>
beginUpdate(string, string, NetAppAccountPatch, AccountsUpdateOptionalParams)
修补指定的 NetApp 帐户
function beginUpdate(resourceGroupName: string, accountName: string, body: NetAppAccountPatch, options?: AccountsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NetAppAccount>, NetAppAccount>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
- body
- NetAppAccountPatch
作正文中提供的 NetApp Account 对象。
- options
- AccountsUpdateOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<NetAppAccount>, NetAppAccount>>
beginUpdateAndWait(string, string, NetAppAccountPatch, AccountsUpdateOptionalParams)
修补指定的 NetApp 帐户
function beginUpdateAndWait(resourceGroupName: string, accountName: string, body: NetAppAccountPatch, options?: AccountsUpdateOptionalParams): Promise<NetAppAccount>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
- body
- NetAppAccountPatch
作正文中提供的 NetApp Account 对象。
- options
- AccountsUpdateOptionalParams
选项参数。
返回
Promise<NetAppAccount>
get(string, string, AccountsGetOptionalParams)
获取 NetApp 帐户
function get(resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams): Promise<NetAppAccount>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- accountName
-
string
NetApp 帐户的名称
- options
- AccountsGetOptionalParams
选项参数。
返回
Promise<NetAppAccount>
list(string, AccountsListOptionalParams)
列出并描述资源组中的所有 NetApp 帐户。
function list(resourceGroupName: string, options?: AccountsListOptionalParams): PagedAsyncIterableIterator<NetAppAccount, NetAppAccount[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- options
- AccountsListOptionalParams
选项参数。
返回
listBySubscription(AccountsListBySubscriptionOptionalParams)
列出并描述订阅中的所有 NetApp 帐户。
function listBySubscription(options?: AccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<NetAppAccount, NetAppAccount[], PageSettings>
参数
选项参数。