Class RestorePointEncryption
java.lang.Object
com.azure.resourcemanager.compute.models.RestorePointEncryption
Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input
while creating a restore point.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RestorePointEncryption class. -
Method Summary
Modifier and TypeMethodDescriptionGet the diskEncryptionSet property: Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.type()Get the type property: The type of key used to encrypt the data of the disk restore point.voidvalidate()Validates the instance.withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet) Set the diskEncryptionSet property: Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.Set the type property: The type of key used to encrypt the data of the disk restore point.
-
Constructor Details
-
RestorePointEncryption
public RestorePointEncryption()Creates an instance of RestorePointEncryption class.
-
-
Method Details
-
diskEncryptionSet
Get the diskEncryptionSet property: Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.- Returns:
- the diskEncryptionSet value.
-
withDiskEncryptionSet
Set the diskEncryptionSet property: Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.- Parameters:
diskEncryptionSet- the diskEncryptionSet value to set.- Returns:
- the RestorePointEncryption object itself.
-
type
Get the type property: The type of key used to encrypt the data of the disk restore point.- Returns:
- the type value.
-
withType
Set the type property: The type of key used to encrypt the data of the disk restore point.- Parameters:
type- the type value to set.- Returns:
- the RestorePointEncryption object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-