Class RestorePointSourceVMStorageProfile
java.lang.Object
com.azure.resourcemanager.compute.models.RestorePointSourceVMStorageProfile
Describes the storage profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the dataDisks property: Gets the data disks of the VM captured at the time of the restore point creation.osDisk()Get the osDisk property: Gets the OS disk of the VM captured at the time of the restore point creation.voidvalidate()Validates the instance.withDataDisks(List<RestorePointSourceVMDataDisk> dataDisks) Set the dataDisks property: Gets the data disks of the VM captured at the time of the restore point creation.withOsDisk(RestorePointSourceVmosDisk osDisk) Set the osDisk property: Gets the OS disk of the VM captured at the time of the restore point creation.
-
Constructor Details
-
RestorePointSourceVMStorageProfile
public RestorePointSourceVMStorageProfile()
-
-
Method Details
-
osDisk
Get the osDisk property: Gets the OS disk of the VM captured at the time of the restore point creation.- Returns:
- the osDisk value.
-
withOsDisk
Set the osDisk property: Gets the OS disk of the VM captured at the time of the restore point creation.- Parameters:
osDisk- the osDisk value to set.- Returns:
- the RestorePointSourceVMStorageProfile object itself.
-
dataDisks
Get the dataDisks property: Gets the data disks of the VM captured at the time of the restore point creation.- Returns:
- the dataDisks value.
-
withDataDisks
public RestorePointSourceVMStorageProfile withDataDisks(List<RestorePointSourceVMDataDisk> dataDisks) Set the dataDisks property: Gets the data disks of the VM captured at the time of the restore point creation.- Parameters:
dataDisks- the dataDisks value to set.- Returns:
- the RestorePointSourceVMStorageProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-