136 строки
9.8 KiB
YAML
136 строки
9.8 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.compute.models.GalleryDiskImage"
|
|
fullName: "com.azure.resourcemanager.compute.models.GalleryDiskImage"
|
|
name: "GalleryDiskImage"
|
|
nameWithType: "GalleryDiskImage"
|
|
summary: "This is the disk image base class."
|
|
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 class **GalleryDiskImage**</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.GalleryDiskImage?alt=com.azure.resourcemanager.compute.models.GalleryDiskImage&text=GalleryDiskImage\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.compute.models.GalleryDiskImage.GalleryDiskImage()"
|
|
fullName: "com.azure.resourcemanager.compute.models.GalleryDiskImage.GalleryDiskImage()"
|
|
name: "GalleryDiskImage()"
|
|
nameWithType: "GalleryDiskImage.GalleryDiskImage()"
|
|
summary: "Creates an instance of Gallery<wbr>Disk<wbr>Image class."
|
|
syntax: "public GalleryDiskImage()"
|
|
desc: "Creates an instance of GalleryDiskImage class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.compute.models.GalleryDiskImage.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.compute.models.GalleryDiskImage.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "GalleryDiskImage.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Gallery<wbr>Disk<wbr>Image 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 GalleryDiskImage fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the GalleryDiskImage."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of GalleryDiskImage from the JsonReader."
|
|
returns:
|
|
description: "An instance of GalleryDiskImage 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.GalleryDiskImage?alt=com.azure.resourcemanager.compute.models.GalleryDiskImage&text=GalleryDiskImage\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.GalleryDiskImage.hostCaching()"
|
|
fullName: "com.azure.resourcemanager.compute.models.GalleryDiskImage.hostCaching()"
|
|
name: "hostCaching()"
|
|
nameWithType: "GalleryDiskImage.hostCaching()"
|
|
summary: "Get the host<wbr>Caching property: The host caching of the disk."
|
|
syntax: "public HostCaching hostCaching()"
|
|
desc: "Get the hostCaching property: The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'."
|
|
returns:
|
|
description: "the hostCaching value."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.HostCaching?alt=com.azure.resourcemanager.compute.models.HostCaching&text=HostCaching\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.GalleryDiskImage.sizeInGB()"
|
|
fullName: "com.azure.resourcemanager.compute.models.GalleryDiskImage.sizeInGB()"
|
|
name: "sizeInGB()"
|
|
nameWithType: "GalleryDiskImage.sizeInGB()"
|
|
summary: "Get the size<wbr>InGB property: This property indicates the size of the VHD to be created."
|
|
syntax: "public Integer sizeInGB()"
|
|
desc: "Get the sizeInGB property: This property indicates the size of the VHD to be created."
|
|
returns:
|
|
description: "the sizeInGB value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.compute.models.GalleryDiskImage.source()"
|
|
fullName: "com.azure.resourcemanager.compute.models.GalleryDiskImage.source()"
|
|
name: "source()"
|
|
nameWithType: "GalleryDiskImage.source()"
|
|
summary: "Get the source property: The source for the disk image."
|
|
syntax: "public GalleryDiskImageSource source()"
|
|
desc: "Get the source property: The source for the disk image."
|
|
returns:
|
|
description: "the source value."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryDiskImageSource?alt=com.azure.resourcemanager.compute.models.GalleryDiskImageSource&text=GalleryDiskImageSource\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.GalleryDiskImage.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.compute.models.GalleryDiskImage.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "GalleryDiskImage.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.GalleryDiskImage.validate()"
|
|
fullName: "com.azure.resourcemanager.compute.models.GalleryDiskImage.validate()"
|
|
name: "validate()"
|
|
nameWithType: "GalleryDiskImage.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.compute.models.GalleryDiskImage.withHostCaching(com.azure.resourcemanager.compute.models.HostCaching)"
|
|
fullName: "com.azure.resourcemanager.compute.models.GalleryDiskImage.withHostCaching(HostCaching hostCaching)"
|
|
name: "withHostCaching(HostCaching hostCaching)"
|
|
nameWithType: "GalleryDiskImage.withHostCaching(HostCaching hostCaching)"
|
|
summary: "Set the host<wbr>Caching property: The host caching of the disk."
|
|
parameters:
|
|
- description: "the hostCaching value to set."
|
|
name: "hostCaching"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.HostCaching?alt=com.azure.resourcemanager.compute.models.HostCaching&text=HostCaching\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public GalleryDiskImage withHostCaching(HostCaching hostCaching)"
|
|
desc: "Set the hostCaching property: The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'."
|
|
returns:
|
|
description: "the GalleryDiskImage object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryDiskImage?alt=com.azure.resourcemanager.compute.models.GalleryDiskImage&text=GalleryDiskImage\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.GalleryDiskImage.withSource(com.azure.resourcemanager.compute.models.GalleryDiskImageSource)"
|
|
fullName: "com.azure.resourcemanager.compute.models.GalleryDiskImage.withSource(GalleryDiskImageSource source)"
|
|
name: "withSource(GalleryDiskImageSource source)"
|
|
nameWithType: "GalleryDiskImage.withSource(GalleryDiskImageSource source)"
|
|
summary: "Set the source property: The source for the disk image."
|
|
parameters:
|
|
- description: "the source value to set."
|
|
name: "source"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryDiskImageSource?alt=com.azure.resourcemanager.compute.models.GalleryDiskImageSource&text=GalleryDiskImageSource\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public GalleryDiskImage withSource(GalleryDiskImageSource source)"
|
|
desc: "Set the source property: The source for the disk image."
|
|
returns:
|
|
description: "the GalleryDiskImage object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryDiskImage?alt=com.azure.resourcemanager.compute.models.GalleryDiskImage&text=GalleryDiskImage\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "This is the disk image base class."
|
|
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.GalleryDiskImage?alt=com.azure.resourcemanager.compute.models.GalleryDiskImage&text=GalleryDiskImage\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.compute.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0
|