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

EncryptionProtectors interface

表示 EncryptionProtectors 的接口。

方法详细信息

beginCreateOrUpdate(string, string, string, EncryptionProtector, EncryptionProtectorsCreateOrUpdateOptionalParams)

更新现有的加密保护程序。

function beginCreateOrUpdate(resourceGroupName: string, serverName: string, encryptionProtectorName: string, parameters: EncryptionProtector, options?: EncryptionProtectorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<EncryptionProtector>, EncryptionProtector>>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serverName

string

服务器的名称。

encryptionProtectorName

string

要更新的加密保护程序的名称。

parameters
EncryptionProtector

请求的加密保护程序资源状态。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<EncryptionProtector>, EncryptionProtector>>

beginCreateOrUpdateAndWait(string, string, string, EncryptionProtector, EncryptionProtectorsCreateOrUpdateOptionalParams)

更新现有的加密保护程序。

function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, encryptionProtectorName: string, parameters: EncryptionProtector, options?: EncryptionProtectorsCreateOrUpdateOptionalParams): Promise<EncryptionProtector>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serverName

string

服务器的名称。

encryptionProtectorName

string

要更新的加密保护程序的名称。

parameters
EncryptionProtector

请求的加密保护程序资源状态。

返回

beginRevalidate(string, string, string, EncryptionProtectorsRevalidateOptionalParams)

重新评估现有的加密保护程序。

function beginRevalidate(resourceGroupName: string, serverName: string, encryptionProtectorName: string, options?: EncryptionProtectorsRevalidateOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serverName

string

服务器的名称。

encryptionProtectorName

string

要更新的加密保护程序的名称。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginRevalidateAndWait(string, string, string, EncryptionProtectorsRevalidateOptionalParams)

重新评估现有的加密保护程序。

function beginRevalidateAndWait(resourceGroupName: string, serverName: string, encryptionProtectorName: string, options?: EncryptionProtectorsRevalidateOptionalParams): Promise<void>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serverName

string

服务器的名称。

encryptionProtectorName

string

要更新的加密保护程序的名称。

返回

Promise<void>

get(string, string, string, EncryptionProtectorsGetOptionalParams)

获取服务器加密保护程序。

function get(resourceGroupName: string, serverName: string, encryptionProtectorName: string, options?: EncryptionProtectorsGetOptionalParams): Promise<EncryptionProtector>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serverName

string

服务器的名称。

encryptionProtectorName

string

要检索的加密保护程序的名称。

options
EncryptionProtectorsGetOptionalParams

选项参数。

返回

listByServer(string, string, EncryptionProtectorsListByServerOptionalParams)

获取服务器加密保护程序的列表

function listByServer(resourceGroupName: string, serverName: string, options?: EncryptionProtectorsListByServerOptionalParams): PagedAsyncIterableIterator<EncryptionProtector, EncryptionProtector[], PageSettings>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serverName

string

服务器的名称。

返回