RestorePointSourceVmosDisk Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. RestorePointSourceVmosDisk
- com.
Implements
public final class RestorePointSourceVmosDisk
implements JsonSerializable<RestorePointSourceVmosDisk>
Describes an Operating System disk.
Constructor Summary
Constructor | Description |
---|---|
RestorePointSourceVmosDisk() |
Creates an instance of Restore |
Method Summary
Modifier and Type | Method and Description |
---|---|
Caching |
caching()
Get the caching property: Gets the caching type. |
Disk |
diskRestorePoint()
Get the disk |
Integer |
diskSizeGB()
Get the disk |
Disk |
encryptionSettings()
Get the encryption |
static
Restore |
fromJson(JsonReader jsonReader)
Reads an instance of Restore |
Managed |
managedDisk()
Get the managed |
String |
name()
Get the name property: Gets the disk name. |
Operating |
osType()
Get the os |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Restore |
withDiskRestorePoint(DiskRestorePointAttributes diskRestorePoint)
Set the disk |
Restore |
withManagedDisk(ManagedDiskParameters managedDisk)
Set the managed |
Boolean |
writeAcceleratorEnabled()
Get the write |
Methods inherited from java.lang.Object
Constructor Details
RestorePointSourceVmosDisk
public RestorePointSourceVmosDisk()
Creates an instance of RestorePointSourceVmosDisk class.
Method Details
caching
public CachingTypes caching()
Get the caching property: Gets the caching type.
Returns:
diskRestorePoint
public DiskRestorePointAttributes diskRestorePoint()
Get the diskRestorePoint property: Contains Disk Restore Point properties.
Returns:
diskSizeGB
public Integer diskSizeGB()
Get the diskSizeGB property: Gets the disk size in GB.
Returns:
encryptionSettings
public DiskEncryptionSettings encryptionSettings()
Get the encryptionSettings property: Gets the disk encryption settings.
Returns:
fromJson
public static RestorePointSourceVmosDisk fromJson(JsonReader jsonReader)
Reads an instance of RestorePointSourceVmosDisk from the JsonReader.
Parameters:
Returns:
Throws:
managedDisk
public ManagedDiskParameters managedDisk()
Get the managedDisk property: Gets the managed disk details.
Returns:
name
public String name()
Get the name property: Gets the disk name.
Returns:
osType
public OperatingSystemType osType()
Get the osType property: Gets the Operating System type.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDiskRestorePoint
public RestorePointSourceVmosDisk withDiskRestorePoint(DiskRestorePointAttributes diskRestorePoint)
Set the diskRestorePoint property: Contains Disk Restore Point properties.
Parameters:
Returns:
withManagedDisk
public RestorePointSourceVmosDisk withManagedDisk(ManagedDiskParameters managedDisk)
Set the managedDisk property: Gets the managed disk details.
Parameters:
Returns:
writeAcceleratorEnabled
public Boolean writeAcceleratorEnabled()
Get the writeAcceleratorEnabled property: Shows true if the disk is write-accelerator enabled.
Returns:
Applies to
Azure SDK for Java