EncryptionProtectors interface
Interface representing a EncryptionProtectors.
Methods
begin |
Updates an existing encryption protector. |
begin |
Updates an existing encryption protector. |
begin |
Revalidates an existing encryption protector. |
begin |
Revalidates an existing encryption protector. |
get(string, string, string, Encryption |
Gets a server encryption protector. |
list |
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.
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.
The options parameters.
Returns
Promise<EncryptionProtector>
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.
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.
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.
The options parameters.
Returns
Promise<EncryptionProtector>
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.
The options parameters.