Compartir vía


DiskEncryptionSettings Class

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

public class DiskEncryptionSettings

Describes a Encryption Settings for a Disk.

Method Summary

Modifier and Type Method and Description
KeyVaultSecretReference diskEncryptionKey()

Get the diskEncryptionKey value.

Boolean enabled()

Get the enabled value.

KeyVaultKeyReference keyEncryptionKey()

Get the keyEncryptionKey value.

DiskEncryptionSettings withDiskEncryptionKey(KeyVaultSecretReference diskEncryptionKey)

Set the diskEncryptionKey value.

DiskEncryptionSettings withEnabled(Boolean enabled)

Set the enabled value.

DiskEncryptionSettings withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)

Set the keyEncryptionKey value.

Method Details

diskEncryptionKey

public KeyVaultSecretReference diskEncryptionKey()

Get the diskEncryptionKey value.

Returns:

the diskEncryptionKey value

enabled

public Boolean enabled()

Get the enabled value.

Returns:

the enabled value

keyEncryptionKey

public KeyVaultKeyReference keyEncryptionKey()

Get the keyEncryptionKey value.

Returns:

the keyEncryptionKey value

withDiskEncryptionKey

public DiskEncryptionSettings withDiskEncryptionKey(KeyVaultSecretReference diskEncryptionKey)

Set the diskEncryptionKey value.

Parameters:

diskEncryptionKey - the diskEncryptionKey value to set

Returns:

the DiskEncryptionSettings object itself.

withEnabled

public DiskEncryptionSettings withEnabled(Boolean enabled)

Set the enabled value.

Parameters:

enabled - the enabled value to set

Returns:

the DiskEncryptionSettings object itself.

withKeyEncryptionKey

public DiskEncryptionSettings withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)

Set the keyEncryptionKey value.

Parameters:

keyEncryptionKey - the keyEncryptionKey value to set

Returns:

the DiskEncryptionSettings object itself.

Applies to