Class RestorePointSourceVmosDisk
java.lang.Object
com.azure.resourcemanager.compute.models.RestorePointSourceVmosDisk
Describes an Operating System disk.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RestorePointSourceVmosDisk class. -
Method Summary
Modifier and TypeMethodDescriptioncaching()Get the caching property: Gets the caching type.Get the diskRestorePoint property: Contains Disk Restore Point properties.Get the diskSizeGB property: Gets the disk size in GB.Get the encryptionSettings property: Gets the disk encryption settings.Get the managedDisk property: Gets the managed disk details.name()Get the name property: Gets the disk name.osType()Get the osType property: Gets the Operating System type.voidvalidate()Validates the instance.withDiskRestorePoint(DiskRestorePointAttributes diskRestorePoint) Set the diskRestorePoint property: Contains Disk Restore Point properties.withManagedDisk(ManagedDiskParameters managedDisk) Set the managedDisk property: Gets the managed disk details.Get the writeAcceleratorEnabled property: Shows true if the disk is write-accelerator enabled.
-
Constructor Details
-
RestorePointSourceVmosDisk
public RestorePointSourceVmosDisk()Creates an instance of RestorePointSourceVmosDisk class.
-
-
Method Details
-
osType
Get the osType property: Gets the Operating System type.- Returns:
- the osType value.
-
encryptionSettings
Get the encryptionSettings property: Gets the disk encryption settings.- Returns:
- the encryptionSettings value.
-
name
Get the name property: Gets the disk name.- Returns:
- the name value.
-
caching
Get the caching property: Gets the caching type.- Returns:
- the caching value.
-
diskSizeGB
Get the diskSizeGB property: Gets the disk size in GB.- Returns:
- the diskSizeGB value.
-
managedDisk
Get the managedDisk property: Gets the managed disk details.- Returns:
- the managedDisk value.
-
withManagedDisk
Set the managedDisk property: Gets the managed disk details.- Parameters:
managedDisk- the managedDisk value to set.- Returns:
- the RestorePointSourceVmosDisk object itself.
-
diskRestorePoint
Get the diskRestorePoint property: Contains Disk Restore Point properties.- Returns:
- the diskRestorePoint value.
-
withDiskRestorePoint
Set the diskRestorePoint property: Contains Disk Restore Point properties.- Parameters:
diskRestorePoint- the diskRestorePoint value to set.- Returns:
- the RestorePointSourceVmosDisk object itself.
-
writeAcceleratorEnabled
Get the writeAcceleratorEnabled property: Shows true if the disk is write-accelerator enabled.- Returns:
- the writeAcceleratorEnabled value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-