你当前正在访问 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 托管密钥对帐户进行加密。 对于其他控制,可以改用客户管理的密钥。

方法摘要

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

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

KeyVaultProperties keyVaultProperties()

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

EncryptionProperties withKeySource(KeySource keySource)

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

EncryptionProperties withKeyVaultProperties(KeyVaultProperties keyVaultProperties)

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

方法详细信息

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 对象本身。

适用于