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

EncryptionSettings Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.EncryptionSettings

public class EncryptionSettings

Encryption settings for disk or snapshot.

Method Summary

Modifier and Type Method and Description
KeyVaultAndSecretReference diskEncryptionKey()

Get the diskEncryptionKey value.

Boolean enabled()

Get the enabled value.

KeyVaultAndKeyReference keyEncryptionKey()

Get the keyEncryptionKey value.

EncryptionSettings withDiskEncryptionKey(KeyVaultAndSecretReference diskEncryptionKey)

Set the diskEncryptionKey value.

EncryptionSettings withEnabled(Boolean enabled)

Set the enabled value.

EncryptionSettings withKeyEncryptionKey(KeyVaultAndKeyReference keyEncryptionKey)

Set the keyEncryptionKey value.

Method Details

diskEncryptionKey

public KeyVaultAndSecretReference diskEncryptionKey()

Get the diskEncryptionKey value.

Returns:

the diskEncryptionKey value

enabled

public Boolean enabled()

Get the enabled value.

Returns:

the enabled value

keyEncryptionKey

public KeyVaultAndKeyReference keyEncryptionKey()

Get the keyEncryptionKey value.

Returns:

the keyEncryptionKey value

withDiskEncryptionKey

public EncryptionSettings withDiskEncryptionKey(KeyVaultAndSecretReference diskEncryptionKey)

Set the diskEncryptionKey value.

Parameters:

diskEncryptionKey - the diskEncryptionKey value to set

Returns:

the EncryptionSettings object itself.

withEnabled

public EncryptionSettings withEnabled(Boolean enabled)

Set the enabled value.

Parameters:

enabled - the enabled value to set

Returns:

the EncryptionSettings object itself.

withKeyEncryptionKey

public EncryptionSettings withKeyEncryptionKey(KeyVaultAndKeyReference keyEncryptionKey)

Set the keyEncryptionKey value.

Parameters:

keyEncryptionKey - the keyEncryptionKey value to set

Returns:

the EncryptionSettings object itself.

Applies to