Compartir a través de


EncryptionProtectors interface

Interface representing a EncryptionProtectors.

Methods

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

Updates an existing encryption protector.

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

Updates an existing encryption protector.

beginRevalidate(string, string, string, EncryptionProtectorsRevalidateOptionalParams)

Revalidates an existing encryption protector.

beginRevalidateAndWait(string, string, string, EncryptionProtectorsRevalidateOptionalParams)

Revalidates an existing encryption protector.

get(string, string, string, EncryptionProtectorsGetOptionalParams)

Gets a server encryption protector.

listByServer(string, string, EncryptionProtectorsListByServerOptionalParams)

Gets a list of server encryption protectors

Method Details

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

Updates an existing encryption protector.

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

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

encryptionProtectorName

string

The name of the encryption protector to be updated.

parameters
EncryptionProtector

The requested encryption protector resource state.

options
EncryptionProtectorsCreateOrUpdateOptionalParams

The options parameters.

Returns

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

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

Updates an existing encryption protector.

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

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

encryptionProtectorName

string

The name of the encryption protector to be updated.

parameters
EncryptionProtector

The requested encryption protector resource state.

options
EncryptionProtectorsCreateOrUpdateOptionalParams

The options parameters.

Returns

beginRevalidate(string, string, string, EncryptionProtectorsRevalidateOptionalParams)

Revalidates an existing encryption protector.

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

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

encryptionProtectorName

string

The name of the encryption protector to be updated.

options
EncryptionProtectorsRevalidateOptionalParams

The options parameters.

Returns

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

beginRevalidateAndWait(string, string, string, EncryptionProtectorsRevalidateOptionalParams)

Revalidates an existing encryption protector.

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

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

encryptionProtectorName

string

The name of the encryption protector to be updated.

options
EncryptionProtectorsRevalidateOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, EncryptionProtectorsGetOptionalParams)

Gets a server encryption protector.

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

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

encryptionProtectorName

string

The name of the encryption protector to be retrieved.

options
EncryptionProtectorsGetOptionalParams

The options parameters.

Returns

listByServer(string, string, EncryptionProtectorsListByServerOptionalParams)

Gets a list of server encryption protectors

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

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

options
EncryptionProtectorsListByServerOptionalParams

The options parameters.

Returns