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

CosmosEncryptionType Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.cosmos.encryption.models.CosmosEncryptionType

public enum CosmosEncryptionType
extends Enum<CosmosEncryptionType>

Algorithms for use with client-side encryption support in Azure Cosmos DB.

Fields

DETERMINISTIC

Deterministic encryption always generates the same encrypted value for any given plain text value.

RANDOMIZED

Randomized encryption uses a method that encrypts data in a less predictable manner.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

get(String name)

public static CosmosEncryptionType get(String name)

Gets the CosmosEncryptionType enum back from the string value

Parameters

name
String
the string value

Returns

CosmosEncryptionType enum

getName()

public String getName()

Returns the encryptionType name

Returns

encryptionType

toString()

public String toString()

Returns the encryptionType name

Returns

encryptionType
Overrides
java.lang.Enum.toString()

valueOf(String name)

public static CosmosEncryptionType valueOf(String name)

Parameters

name
String

Returns

values()

public static CosmosEncryptionType[] values()

Returns

Applies to