RestorePointSourceVMStorageProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. RestorePointSourceVMStorageProfile
- com.
Implements
public final class RestorePointSourceVMStorageProfile
implements JsonSerializable<RestorePointSourceVMStorageProfile>
Describes the storage profile.
Constructor Summary
Constructor | Description |
---|---|
RestorePointSourceVMStorageProfile() |
Creates an instance of Restore |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Restore |
dataDisks()
Get the data |
Disk |
diskControllerType()
Get the disk |
static
Restore |
fromJson(JsonReader jsonReader)
Reads an instance of Restore |
Restore |
osDisk()
Get the os |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Restore |
withDataDisks(List<RestorePointSourceVMDataDisk> dataDisks)
Set the data |
Restore |
withOsDisk(RestorePointSourceVmosDisk osDisk)
Set the os |
Methods inherited from java.lang.Object
Constructor Details
RestorePointSourceVMStorageProfile
public RestorePointSourceVMStorageProfile()
Creates an instance of RestorePointSourceVMStorageProfile class.
Method Details
dataDisks
public List
Get the dataDisks property: Gets the data disks of the VM captured at the time of the restore point creation.
Returns:
diskControllerType
public DiskControllerTypes diskControllerType()
Get the diskControllerType property: Gets the disk controller type of the VM captured at the time of the restore point creation.
Returns:
fromJson
public static RestorePointSourceVMStorageProfile fromJson(JsonReader jsonReader)
Reads an instance of RestorePointSourceVMStorageProfile from the JsonReader.
Parameters:
Returns:
Throws:
osDisk
public RestorePointSourceVmosDisk osDisk()
Get the osDisk property: Gets the OS disk of the VM captured at the time of the restore point creation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDataDisks
public RestorePointSourceVMStorageProfile withDataDisks(List
Set the dataDisks property: Gets the data disks of the VM captured at the time of the restore point creation.
Parameters:
Returns:
withOsDisk
public RestorePointSourceVMStorageProfile withOsDisk(RestorePointSourceVmosDisk osDisk)
Set the osDisk property: Gets the OS disk of the VM captured at the time of the restore point creation.
Parameters:
Returns: