DiffDiskSettings Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. DiffDiskSettings
- com.
Implements
public final class DiffDiskSettings
implements JsonSerializable<DiffDiskSettings>
Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
Constructor Summary
| Constructor | Description |
|---|---|
| DiffDiskSettings() |
Creates an instance of Diff |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Diff |
fromJson(JsonReader jsonReader)
Reads an instance of Diff |
|
Diff |
placement()
Get the placement property: This property can be used by user in the request to choose which location the operating system should be in. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Diff |
withPlacement(DiffDiskPlacement placement)
Set the placement property: This property can be used by user in the request to choose which location the operating system should be in. |
Methods inherited from java.lang.Object
Constructor Details
DiffDiskSettings
public DiffDiskSettings()
Creates an instance of DiffDiskSettings class.
Method Details
fromJson
public static DiffDiskSettings fromJson(JsonReader jsonReader)
Reads an instance of DiffDiskSettings from the JsonReader.
Parameters:
Returns:
Throws:
placement
public DiffDiskPlacement placement()
Get the placement property: This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks\#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks\#size-requirements.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPlacement
public DiffDiskSettings withPlacement(DiffDiskPlacement placement)
Set the placement property: This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks\#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks\#size-requirements.
Parameters:
Returns: