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

EncryptionProperties 类

  • java.lang.Object
    • com.microsoft.azure.management.batch.EncryptionProperties

public class EncryptionProperties

配置如何在 Batch 帐户中加密客户数据。 默认情况下,使用 Microsoft 托管密钥对帐户进行加密。 对于其他控制,可以改用客户管理的密钥。

构造函数摘要

构造函数 说明
EncryptionProperties()

方法摘要

修饰符和类型 方法和描述
KeySource keySource()

获取密钥源的类型。

KeyVaultProperties keyVaultProperties()

使用 Microsoft 时获取其他详细信息。KeyVault。

EncryptionProperties withKeySource(KeySource keySource)

设置密钥源的类型。

EncryptionProperties withKeyVaultProperties(KeyVaultProperties keyVaultProperties)

使用 Microsoft 时设置其他详细信息。KeyVault。

方法继承自 java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

构造函数详细信息

EncryptionProperties

public EncryptionProperties()

方法详细信息

keySource

public KeySource keySource()

获取密钥源的类型。 可能的值包括:“Microsoft.Batch”、“Microsoft.KeyVault”。

Returns:

keySource 值

keyVaultProperties

public KeyVaultProperties keyVaultProperties()

使用 Microsoft.KeyVault 时获取其他详细信息。

Returns:

keyVaultProperties 值

withKeySource

public EncryptionProperties withKeySource(KeySource keySource)

设置密钥源的类型。 可能的值包括:“Microsoft.Batch”、“Microsoft.KeyVault”。

Parameters:

keySource - 要设置的 keySource 值

Returns:

EncryptionProperties 对象本身。

withKeyVaultProperties

public EncryptionProperties withKeyVaultProperties(KeyVaultProperties keyVaultProperties)

使用 Microsoft.KeyVault 时设置其他详细信息。

Parameters:

keyVaultProperties - 要设置的 keyVaultProperties 值

Returns:

EncryptionProperties 对象本身。

适用于