RestorePointEncryption Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. RestorePointEncryption
- com.
Implements
public final class RestorePointEncryption
implements JsonSerializable<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
Constructor | Description |
---|---|
RestorePointEncryption() |
Creates an instance of Restore |
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk |
diskEncryptionSet()
Get the disk |
static
Restore |
fromJson(JsonReader jsonReader)
Reads an instance of Restore |
Json |
toJson(JsonWriter jsonWriter) |
Restore |
type()
Get the type property: The type of key used to encrypt the data of the disk restore point. |
void |
validate()
Validates the instance. |
Restore |
withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)
Set the disk |
Restore |
withType(RestorePointEncryptionType type)
Set the type property: The type of key used to encrypt the data of the disk restore point. |
Methods inherited from java.lang.Object
Constructor Details
RestorePointEncryption
public RestorePointEncryption()
Creates an instance of RestorePointEncryption class.
Method Details
diskEncryptionSet
public DiskEncryptionSetParameters 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:
fromJson
public static RestorePointEncryption fromJson(JsonReader jsonReader)
Reads an instance of RestorePointEncryption from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public RestorePointEncryptionType type()
Get the type property: The type of key used to encrypt the data of the disk restore point.
Returns:
validate
public void validate()
Validates the instance.
withDiskEncryptionSet
public RestorePointEncryption withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)
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:
Returns:
withType
public RestorePointEncryption withType(RestorePointEncryptionType type)
Set the type property: The type of key used to encrypt the data of the disk restore point.
Parameters:
Returns:
Applies to
Azure SDK for Java