DiskEncryptionSet Interface

Implements

public interface DiskEncryptionSet
extends GroupableResource<ComputeManager,DiskEncryptionSetInner>, Updatable<Update>, Refreshable<DiskEncryptionSet>

An immutable client-side representation of an Azure disk encryption set.

Method Summary

Modifier and Type Method and Description
abstract String encryptionKeyId()
abstract DiskEncryptionSetType encryptionType()
abstract Boolean isAutomaticKeyRotationEnabled()

If automatic key rotation is enabled, the system will automatically update all managed disks, snapshots, and images referencing the disk encryption set to use the new version of the key within one hour.

abstract String keyVaultId()
abstract String systemAssignedManagedServiceIdentityPrincipalId()

Method Details

encryptionKeyId

public abstract String encryptionKeyId()

Returns:

id representing the encryption key in KeyVault

encryptionType

public abstract DiskEncryptionSetType encryptionType()

Returns:

the type of key used to encrypt the data of the disk

isAutomaticKeyRotationEnabled

public abstract Boolean isAutomaticKeyRotationEnabled()

If automatic key rotation is enabled, the system will automatically update all managed disks, snapshots, and images referencing the disk encryption set to use the new version of the key within one hour.

Returns:

whether automatic key rotation is enabled

keyVaultId

public abstract String keyVaultId()

Returns:

resource id of the Azure key vault containing the key or secret

systemAssignedManagedServiceIdentityPrincipalId

public abstract String systemAssignedManagedServiceIdentityPrincipalId()

Returns:

the System Assigned (Local) Managed Service Identity specific Active Directory service principal ID assigned to the disk encryption set.

Applies to