azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

112 строки
8.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage"
fullName: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage"
name: "SharedGalleryDiskImage"
nameWithType: "SharedGalleryDiskImage"
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 **SharedGalleryDiskImage**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.compute.models.SharedGalleryDiskImage?alt=com.azure.resourcemanager.compute.models.SharedGalleryDiskImage&text=SharedGalleryDiskImage\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage.SharedGalleryDiskImage()"
fullName: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage.SharedGalleryDiskImage()"
name: "SharedGalleryDiskImage()"
nameWithType: "SharedGalleryDiskImage.SharedGalleryDiskImage()"
summary: "Creates an instance of Shared<wbr>Gallery<wbr>Disk<wbr>Image class."
syntax: "public SharedGalleryDiskImage()"
desc: "Creates an instance of SharedGalleryDiskImage class."
methods:
- uid: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage.diskSizeGB()"
fullName: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage.diskSizeGB()"
name: "diskSizeGB()"
nameWithType: "SharedGalleryDiskImage.diskSizeGB()"
summary: "Get the disk<wbr>SizeGB property: This property indicates the size of the VHD to be created."
syntax: "public Integer diskSizeGB()"
desc: "Get the diskSizeGB property: This property indicates the size of the VHD to be created."
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.compute.models.SharedGalleryDiskImage.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "SharedGalleryDiskImage.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Shared<wbr>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 SharedGalleryDiskImage fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the SharedGalleryDiskImage."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of SharedGalleryDiskImage from the JsonReader."
returns:
description: "An instance of SharedGalleryDiskImage if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.compute.models.SharedGalleryDiskImage?alt=com.azure.resourcemanager.compute.models.SharedGalleryDiskImage&text=SharedGalleryDiskImage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage.hostCaching()"
fullName: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage.hostCaching()"
name: "hostCaching()"
nameWithType: "SharedGalleryDiskImage.hostCaching()"
summary: "Get the host<wbr>Caching property: The host caching of the disk."
syntax: "public SharedGalleryHostCaching 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.SharedGalleryHostCaching?alt=com.azure.resourcemanager.compute.models.SharedGalleryHostCaching&text=SharedGalleryHostCaching\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "SharedGalleryDiskImage.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.SharedGalleryDiskImage.validate()"
fullName: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage.validate()"
name: "validate()"
nameWithType: "SharedGalleryDiskImage.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage.withHostCaching(com.azure.resourcemanager.compute.models.SharedGalleryHostCaching)"
fullName: "com.azure.resourcemanager.compute.models.SharedGalleryDiskImage.withHostCaching(SharedGalleryHostCaching hostCaching)"
name: "withHostCaching(SharedGalleryHostCaching hostCaching)"
nameWithType: "SharedGalleryDiskImage.withHostCaching(SharedGalleryHostCaching 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.SharedGalleryHostCaching?alt=com.azure.resourcemanager.compute.models.SharedGalleryHostCaching&text=SharedGalleryHostCaching\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SharedGalleryDiskImage withHostCaching(SharedGalleryHostCaching hostCaching)"
desc: "Set the hostCaching property: The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'."
returns:
description: "the SharedGalleryDiskImage object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.SharedGalleryDiskImage?alt=com.azure.resourcemanager.compute.models.SharedGalleryDiskImage&text=SharedGalleryDiskImage\" 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\" />&lt;<xref href=\"com.azure.resourcemanager.compute.models.SharedGalleryDiskImage?alt=com.azure.resourcemanager.compute.models.SharedGalleryDiskImage&text=SharedGalleryDiskImage\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0