126 строки
11 KiB
YAML
126 строки
11 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.compute.models.DiffDiskSettings"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiffDiskSettings"
|
|
name: "DiffDiskSettings"
|
|
nameWithType: "DiffDiskSettings"
|
|
summary: "Describes the parameters of ephemeral disk settings that can be specified for operating system disk."
|
|
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 **DiffDiskSettings**</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.compute.models.DiffDiskSettings?alt=com.azure.resourcemanager.compute.models.DiffDiskSettings&text=DiffDiskSettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.compute.models.DiffDiskSettings.DiffDiskSettings()"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiffDiskSettings.DiffDiskSettings()"
|
|
name: "DiffDiskSettings()"
|
|
nameWithType: "DiffDiskSettings.DiffDiskSettings()"
|
|
summary: "Creates an instance of Diff<wbr>Disk<wbr>Settings class."
|
|
syntax: "public DiffDiskSettings()"
|
|
desc: "Creates an instance of DiffDiskSettings class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.compute.models.DiffDiskSettings.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiffDiskSettings.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "DiffDiskSettings.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Diff<wbr>Disk<wbr>Settings 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 DiffDiskSettings fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the DiffDiskSettings."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of DiffDiskSettings from the JsonReader."
|
|
returns:
|
|
description: "An instance of DiffDiskSettings if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiffDiskSettings?alt=com.azure.resourcemanager.compute.models.DiffDiskSettings&text=DiffDiskSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.DiffDiskSettings.option()"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiffDiskSettings.option()"
|
|
name: "option()"
|
|
nameWithType: "DiffDiskSettings.option()"
|
|
summary: "Get the option property: Specifies the ephemeral disk settings for operating system disk."
|
|
syntax: "public DiffDiskOptions option()"
|
|
desc: "Get the option property: Specifies the ephemeral disk settings for operating system disk."
|
|
returns:
|
|
description: "the option value."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiffDiskOptions?alt=com.azure.resourcemanager.compute.models.DiffDiskOptions&text=DiffDiskOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.DiffDiskSettings.placement()"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiffDiskSettings.placement()"
|
|
name: "placement()"
|
|
nameWithType: "DiffDiskSettings.placement()"
|
|
summary: "Get the placement property: Specifies the ephemeral disk placement for operating system disk."
|
|
syntax: "public DiffDiskPlacement placement()"
|
|
desc: "Get the placement property: Specifies the ephemeral disk placement for operating system disk. Possible values are: \\*\\*CacheDisk,\\*\\* \\*\\*ResourceDisk,\\*\\* \\*\\*NvmeDisk.\\*\\* The defaulting behavior is: \\*\\*CacheDisk\\*\\* if one is configured for the VM size otherwise \\*\\*ResourceDisk\\*\\* or \\*\\*NvmeDisk\\*\\* is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk. Minimum api-version for NvmeDisk: 2024-03-01."
|
|
returns:
|
|
description: "the placement value."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiffDiskPlacement?alt=com.azure.resourcemanager.compute.models.DiffDiskPlacement&text=DiffDiskPlacement\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.DiffDiskSettings.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiffDiskSettings.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "DiffDiskSettings.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.compute.models.DiffDiskSettings.validate()"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiffDiskSettings.validate()"
|
|
name: "validate()"
|
|
nameWithType: "DiffDiskSettings.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.compute.models.DiffDiskSettings.withOption(com.azure.resourcemanager.compute.models.DiffDiskOptions)"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiffDiskSettings.withOption(DiffDiskOptions option)"
|
|
name: "withOption(DiffDiskOptions option)"
|
|
nameWithType: "DiffDiskSettings.withOption(DiffDiskOptions option)"
|
|
summary: "Set the option property: Specifies the ephemeral disk settings for operating system disk."
|
|
parameters:
|
|
- description: "the option value to set."
|
|
name: "option"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiffDiskOptions?alt=com.azure.resourcemanager.compute.models.DiffDiskOptions&text=DiffDiskOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DiffDiskSettings withOption(DiffDiskOptions option)"
|
|
desc: "Set the option property: Specifies the ephemeral disk settings for operating system disk."
|
|
returns:
|
|
description: "the DiffDiskSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiffDiskSettings?alt=com.azure.resourcemanager.compute.models.DiffDiskSettings&text=DiffDiskSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.DiffDiskSettings.withPlacement(com.azure.resourcemanager.compute.models.DiffDiskPlacement)"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiffDiskSettings.withPlacement(DiffDiskPlacement placement)"
|
|
name: "withPlacement(DiffDiskPlacement placement)"
|
|
nameWithType: "DiffDiskSettings.withPlacement(DiffDiskPlacement placement)"
|
|
summary: "Set the placement property: Specifies the ephemeral disk placement for operating system disk."
|
|
parameters:
|
|
- description: "the placement value to set."
|
|
name: "placement"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiffDiskPlacement?alt=com.azure.resourcemanager.compute.models.DiffDiskPlacement&text=DiffDiskPlacement\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DiffDiskSettings withPlacement(DiffDiskPlacement placement)"
|
|
desc: "Set the placement property: Specifies the ephemeral disk placement for operating system disk. Possible values are: \\*\\*CacheDisk,\\*\\* \\*\\*ResourceDisk,\\*\\* \\*\\*NvmeDisk.\\*\\* The defaulting behavior is: \\*\\*CacheDisk\\*\\* if one is configured for the VM size otherwise \\*\\*ResourceDisk\\*\\* or \\*\\*NvmeDisk\\*\\* is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk. Minimum api-version for NvmeDisk: 2024-03-01."
|
|
returns:
|
|
description: "the DiffDiskSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiffDiskSettings?alt=com.azure.resourcemanager.compute.models.DiffDiskSettings&text=DiffDiskSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. \\*\\*Note:\\*\\* The ephemeral disk settings can only be specified for managed disk."
|
|
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.compute.models.DiffDiskSettings?alt=com.azure.resourcemanager.compute.models.DiffDiskSettings&text=DiffDiskSettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.compute.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0
|