BatchDiffDiskSettings Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchDiffDiskSettings
- com.
Implements
public final class BatchDiffDiskSettings
implements JsonSerializable<BatchDiffDiskSettings>
Specifies the ephemeral Disk Settings for the operating system disk used by the compute node (VM).
Constructor Summary
| Constructor | Description |
|---|---|
| BatchDiffDiskSettings() |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
|
Diff |
getPlacement()
Get the placement property: Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. |
|
Batch |
setPlacement(DiffDiskPlacement placement)
Set the placement property: Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
BatchDiffDiskSettings
public BatchDiffDiskSettings()
Creates an instance of BatchDiffDiskSettings class.
Method Details
fromJson
public static BatchDiffDiskSettings fromJson(JsonReader jsonReader)
Reads an instance of BatchDiffDiskSettings from the JsonReader.
Parameters:
Returns:
Throws:
getPlacement
public DiffDiskPlacement getPlacement()
Get the placement property: Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. This property can be used by user in the request to choose the location 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://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks\#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks\#size-requirements.
Returns:
setPlacement
public BatchDiffDiskSettings setPlacement(DiffDiskPlacement placement)
Set the placement property: Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. This property can be used by user in the request to choose the location 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://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks\#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks\#size-requirements.
Parameters:
Returns: