通过


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

ServerKeyType Class

public final class ServerKeyType
extends ExpandableStringEnum<ServerKeyType>

The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.

Field Summary

Modifier and Type Field and Description
static final ServerKeyType AZURE_KEY_VAULT

Static value AzureKeyVault for ServerKeyType.

static final ServerKeyType SERVICE_MANAGED

Static value ServiceManaged for ServerKeyType.

Constructor Summary

Constructor Description
ServerKeyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServerKeyType value.

Method Summary

Modifier and Type Method and Description
static ServerKeyType fromString(String name)

Creates or finds a ServerKeyType from its string representation.

static Collection<ServerKeyType> values()

Gets known ServerKeyType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE_KEY_VAULT

public static final ServerKeyType AZURE_KEY_VAULT

Static value AzureKeyVault for ServerKeyType.

SERVICE_MANAGED

public static final ServerKeyType SERVICE_MANAGED

Static value ServiceManaged for ServerKeyType.

Constructor Details

ServerKeyType

@Deprecated
public ServerKeyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServerKeyType value.

Method Details

fromString

public static ServerKeyType fromString(String name)

Creates or finds a ServerKeyType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ServerKeyType.

values

public static Collection<ServerKeyType> values()

Gets known ServerKeyType values.

Returns:

known ServerKeyType values.

Applies to