RestorePointSourceVMDataDisk Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. RestorePointSourceVMDataDisk
- com.
Implements
public final class RestorePointSourceVMDataDisk
implements JsonSerializable<RestorePointSourceVMDataDisk>
Describes a data disk.
Constructor Summary
Constructor | Description |
---|---|
RestorePointSourceVMDataDisk() |
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 |
static
Restore |
fromJson(JsonReader jsonReader)
Reads an instance of Restore |
Integer |
lun()
Get the lun property: Gets the logical unit number. |
Managed |
managedDisk()
Get the managed |
String |
name()
Get the name property: Gets the disk name. |
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
RestorePointSourceVMDataDisk
public RestorePointSourceVMDataDisk()
Creates an instance of RestorePointSourceVMDataDisk 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 initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks.
Returns:
fromJson
public static RestorePointSourceVMDataDisk fromJson(JsonReader jsonReader)
Reads an instance of RestorePointSourceVMDataDisk from the JsonReader.
Parameters:
Returns:
Throws:
lun
public Integer lun()
Get the lun property: Gets the logical unit number.
Returns:
managedDisk
public ManagedDiskParameters managedDisk()
Get the managedDisk property: Contains the managed disk details.
Returns:
name
public String name()
Get the name property: Gets the disk name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDiskRestorePoint
public RestorePointSourceVMDataDisk withDiskRestorePoint(DiskRestorePointAttributes diskRestorePoint)
Set the diskRestorePoint property: Contains Disk Restore Point properties.
Parameters:
Returns:
withManagedDisk
public RestorePointSourceVMDataDisk withManagedDisk(ManagedDiskParameters managedDisk)
Set the managedDisk property: Contains 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