198 строки
14 KiB
YAML
198 строки
14 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.batch.models.OSDisk"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk"
|
|
name: "OSDisk"
|
|
nameWithType: "OSDisk"
|
|
summary: "Settings for the operating system disk of the virtual machine."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **OSDisk**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.batch.models.OSDisk?alt=com.azure.resourcemanager.batch.models.OSDisk&text=OSDisk\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.OSDisk()"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.OSDisk()"
|
|
name: "OSDisk()"
|
|
nameWithType: "OSDisk.OSDisk()"
|
|
summary: "Creates an instance of OSDisk class."
|
|
syntax: "public OSDisk()"
|
|
desc: "Creates an instance of OSDisk class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.caching()"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.caching()"
|
|
name: "caching()"
|
|
nameWithType: "OSDisk.caching()"
|
|
summary: "Get the caching property: The type of caching to enable for the disk."
|
|
syntax: "public CachingType caching()"
|
|
desc: "Get the caching property: The type of caching to enable for the disk."
|
|
returns:
|
|
description: "the caching value."
|
|
type: "<xref href=\"com.azure.resourcemanager.batch.models.CachingType?alt=com.azure.resourcemanager.batch.models.CachingType&text=CachingType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.diskSizeGB()"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.diskSizeGB()"
|
|
name: "diskSizeGB()"
|
|
nameWithType: "OSDisk.diskSizeGB()"
|
|
summary: "Get the disk<wbr>SizeGB property: The initial disk size in GB when creating new OS disk."
|
|
syntax: "public Integer diskSizeGB()"
|
|
desc: "Get the diskSizeGB property: The initial disk size in GB when creating new OS disk."
|
|
returns:
|
|
description: "the diskSizeGB value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.ephemeralOSDiskSettings()"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.ephemeralOSDiskSettings()"
|
|
name: "ephemeralOSDiskSettings()"
|
|
nameWithType: "OSDisk.ephemeralOSDiskSettings()"
|
|
summary: "Get the ephemeral<wbr>OSDisk<wbr>Settings property: Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine."
|
|
syntax: "public DiffDiskSettings ephemeralOSDiskSettings()"
|
|
desc: "Get the ephemeralOSDiskSettings property: Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine."
|
|
returns:
|
|
description: "the ephemeralOSDiskSettings value."
|
|
type: "<xref href=\"com.azure.resourcemanager.batch.models.DiffDiskSettings?alt=com.azure.resourcemanager.batch.models.DiffDiskSettings&text=DiffDiskSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "OSDisk.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of OSDisk from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static OSDisk fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the OSDisk."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of OSDisk from the JsonReader."
|
|
returns:
|
|
description: "An instance of OSDisk if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.batch.models.OSDisk?alt=com.azure.resourcemanager.batch.models.OSDisk&text=OSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.managedDisk()"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.managedDisk()"
|
|
name: "managedDisk()"
|
|
nameWithType: "OSDisk.managedDisk()"
|
|
summary: "Get the managed<wbr>Disk property: The managed<wbr>Disk property."
|
|
syntax: "public ManagedDisk managedDisk()"
|
|
desc: "Get the managedDisk property: The managedDisk property."
|
|
returns:
|
|
description: "the managedDisk value."
|
|
type: "<xref href=\"com.azure.resourcemanager.batch.models.ManagedDisk?alt=com.azure.resourcemanager.batch.models.ManagedDisk&text=ManagedDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "OSDisk.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.validate()"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.validate()"
|
|
name: "validate()"
|
|
nameWithType: "OSDisk.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.withCaching(com.azure.resourcemanager.batch.models.CachingType)"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.withCaching(CachingType caching)"
|
|
name: "withCaching(CachingType caching)"
|
|
nameWithType: "OSDisk.withCaching(CachingType caching)"
|
|
summary: "Set the caching property: The type of caching to enable for the disk."
|
|
parameters:
|
|
- description: "the caching value to set."
|
|
name: "caching"
|
|
type: "<xref href=\"com.azure.resourcemanager.batch.models.CachingType?alt=com.azure.resourcemanager.batch.models.CachingType&text=CachingType\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public OSDisk withCaching(CachingType caching)"
|
|
desc: "Set the caching property: The type of caching to enable for the disk."
|
|
returns:
|
|
description: "the OSDisk object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.batch.models.OSDisk?alt=com.azure.resourcemanager.batch.models.OSDisk&text=OSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.withDiskSizeGB(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.withDiskSizeGB(Integer diskSizeGB)"
|
|
name: "withDiskSizeGB(Integer diskSizeGB)"
|
|
nameWithType: "OSDisk.withDiskSizeGB(Integer diskSizeGB)"
|
|
summary: "Set the disk<wbr>SizeGB property: The initial disk size in GB when creating new OS disk."
|
|
parameters:
|
|
- description: "the diskSizeGB value to set."
|
|
name: "diskSizeGB"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public OSDisk withDiskSizeGB(Integer diskSizeGB)"
|
|
desc: "Set the diskSizeGB property: The initial disk size in GB when creating new OS disk."
|
|
returns:
|
|
description: "the OSDisk object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.batch.models.OSDisk?alt=com.azure.resourcemanager.batch.models.OSDisk&text=OSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.withEphemeralOSDiskSettings(com.azure.resourcemanager.batch.models.DiffDiskSettings)"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.withEphemeralOSDiskSettings(DiffDiskSettings ephemeralOSDiskSettings)"
|
|
name: "withEphemeralOSDiskSettings(DiffDiskSettings ephemeralOSDiskSettings)"
|
|
nameWithType: "OSDisk.withEphemeralOSDiskSettings(DiffDiskSettings ephemeralOSDiskSettings)"
|
|
summary: "Set the ephemeral<wbr>OSDisk<wbr>Settings property: Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine."
|
|
parameters:
|
|
- description: "the ephemeralOSDiskSettings value to set."
|
|
name: "ephemeralOSDiskSettings"
|
|
type: "<xref href=\"com.azure.resourcemanager.batch.models.DiffDiskSettings?alt=com.azure.resourcemanager.batch.models.DiffDiskSettings&text=DiffDiskSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public OSDisk withEphemeralOSDiskSettings(DiffDiskSettings ephemeralOSDiskSettings)"
|
|
desc: "Set the ephemeralOSDiskSettings property: Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine."
|
|
returns:
|
|
description: "the OSDisk object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.batch.models.OSDisk?alt=com.azure.resourcemanager.batch.models.OSDisk&text=OSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.withManagedDisk(com.azure.resourcemanager.batch.models.ManagedDisk)"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.withManagedDisk(ManagedDisk managedDisk)"
|
|
name: "withManagedDisk(ManagedDisk managedDisk)"
|
|
nameWithType: "OSDisk.withManagedDisk(ManagedDisk managedDisk)"
|
|
summary: "Set the managed<wbr>Disk property: The managed<wbr>Disk property."
|
|
parameters:
|
|
- description: "the managedDisk value to set."
|
|
name: "managedDisk"
|
|
type: "<xref href=\"com.azure.resourcemanager.batch.models.ManagedDisk?alt=com.azure.resourcemanager.batch.models.ManagedDisk&text=ManagedDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public OSDisk withManagedDisk(ManagedDisk managedDisk)"
|
|
desc: "Set the managedDisk property: The managedDisk property."
|
|
returns:
|
|
description: "the OSDisk object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.batch.models.OSDisk?alt=com.azure.resourcemanager.batch.models.OSDisk&text=OSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.withWriteAcceleratorEnabled(java.lang.Boolean)"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.withWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled)"
|
|
name: "withWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled)"
|
|
nameWithType: "OSDisk.withWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled)"
|
|
summary: "Set the write<wbr>Accelerator<wbr>Enabled property: Specifies whether write<wbr>Accelerator should be enabled or disabled on the disk."
|
|
parameters:
|
|
- description: "the writeAcceleratorEnabled value to set."
|
|
name: "writeAcceleratorEnabled"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
syntax: "public OSDisk withWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled)"
|
|
desc: "Set the writeAcceleratorEnabled property: Specifies whether writeAccelerator should be enabled or disabled on the disk."
|
|
returns:
|
|
description: "the OSDisk object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.batch.models.OSDisk?alt=com.azure.resourcemanager.batch.models.OSDisk&text=OSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.batch.models.OSDisk.writeAcceleratorEnabled()"
|
|
fullName: "com.azure.resourcemanager.batch.models.OSDisk.writeAcceleratorEnabled()"
|
|
name: "writeAcceleratorEnabled()"
|
|
nameWithType: "OSDisk.writeAcceleratorEnabled()"
|
|
summary: "Get the write<wbr>Accelerator<wbr>Enabled property: Specifies whether write<wbr>Accelerator should be enabled or disabled on the disk."
|
|
syntax: "public Boolean writeAcceleratorEnabled()"
|
|
desc: "Get the writeAcceleratorEnabled property: Specifies whether writeAccelerator should be enabled or disabled on the disk."
|
|
returns:
|
|
description: "the writeAcceleratorEnabled value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
type: "class"
|
|
desc: "Settings for the operating system disk of the virtual machine."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.batch.models.OSDisk?alt=com.azure.resourcemanager.batch.models.OSDisk&text=OSDisk\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.batch.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-batch:2.0.0
|