213 строки
19 KiB
YAML
213 строки
19 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.compute.models.ImageDataDisk"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk"
|
|
name: "ImageDataDisk"
|
|
nameWithType: "ImageDataDisk"
|
|
summary: "Describes a data disk."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk?alt=com.azure.resourcemanager.compute.models.ImageDisk&text=ImageDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.blobUri()?alt=com.azure.resourcemanager.compute.models.ImageDisk.blobUri&text=blobUri\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.caching()?alt=com.azure.resourcemanager.compute.models.ImageDisk.caching&text=caching\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.diskEncryptionSet()?alt=com.azure.resourcemanager.compute.models.ImageDisk.diskEncryptionSet&text=diskEncryptionSet\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.diskSizeGB()?alt=com.azure.resourcemanager.compute.models.ImageDisk.diskSizeGB&text=diskSizeGB\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.fromJson(com.azure.json.JsonReader)?alt=com.azure.resourcemanager.compute.models.ImageDisk.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.managedDisk()?alt=com.azure.resourcemanager.compute.models.ImageDisk.managedDisk&text=managedDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.snapshot()?alt=com.azure.resourcemanager.compute.models.ImageDisk.snapshot&text=snapshot\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.storageAccountType()?alt=com.azure.resourcemanager.compute.models.ImageDisk.storageAccountType&text=storageAccountType\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.toJson(com.azure.json.JsonWriter)?alt=com.azure.resourcemanager.compute.models.ImageDisk.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.validate()?alt=com.azure.resourcemanager.compute.models.ImageDisk.validate&text=validate\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.withBlobUri(java.lang.String)?alt=com.azure.resourcemanager.compute.models.ImageDisk.withBlobUri&text=withBlobUri\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.withCaching(com.azure.resourcemanager.compute.models.CachingTypes)?alt=com.azure.resourcemanager.compute.models.ImageDisk.withCaching&text=withCaching\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.withDiskEncryptionSet(com.azure.resourcemanager.compute.models.DiskEncryptionSetParameters)?alt=com.azure.resourcemanager.compute.models.ImageDisk.withDiskEncryptionSet&text=withDiskEncryptionSet\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.withDiskSizeGB(java.lang.Integer)?alt=com.azure.resourcemanager.compute.models.ImageDisk.withDiskSizeGB&text=withDiskSizeGB\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.withManagedDisk(com.azure.core.management.SubResource)?alt=com.azure.resourcemanager.compute.models.ImageDisk.withManagedDisk&text=withManagedDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.withSnapshot(com.azure.core.management.SubResource)?alt=com.azure.resourcemanager.compute.models.ImageDisk.withSnapshot&text=withSnapshot\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.compute.models.ImageDisk.withStorageAccountType(com.azure.resourcemanager.compute.models.StorageAccountTypes)?alt=com.azure.resourcemanager.compute.models.ImageDisk.withStorageAccountType&text=withStorageAccountType\" data-throw-if-not-resolved=\"False\" />"
|
|
- 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 **ImageDataDisk**</br> extends <xref href=\"com.azure.resourcemanager.compute.models.ImageDisk?alt=com.azure.resourcemanager.compute.models.ImageDisk&text=ImageDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageDataDisk.ImageDataDisk()"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.ImageDataDisk()"
|
|
name: "ImageDataDisk()"
|
|
nameWithType: "ImageDataDisk.ImageDataDisk()"
|
|
summary: "Creates an instance of Image<wbr>Data<wbr>Disk class."
|
|
syntax: "public ImageDataDisk()"
|
|
desc: "Creates an instance of ImageDataDisk class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageDataDisk.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "ImageDataDisk.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Image<wbr>Data<wbr>Disk 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 ImageDataDisk fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of ImageDataDisk from the JsonReader."
|
|
returns:
|
|
description: "An instance of ImageDataDisk 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.ImageDataDisk?alt=com.azure.resourcemanager.compute.models.ImageDataDisk&text=ImageDataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageDataDisk.lun()"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.lun()"
|
|
name: "lun()"
|
|
nameWithType: "ImageDataDisk.lun()"
|
|
summary: "Get the lun property: Specifies the logical unit number of the data disk."
|
|
syntax: "public int lun()"
|
|
desc: "Get the lun property: Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."
|
|
returns:
|
|
description: "the lun value."
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageDataDisk.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "ImageDataDisk.toJson(JsonWriter jsonWriter)"
|
|
overridden: "com.azure.resourcemanager.compute.models.ImageDisk.toJson(com.azure.json.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.ImageDataDisk.validate()"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.validate()"
|
|
name: "validate()"
|
|
nameWithType: "ImageDataDisk.validate()"
|
|
summary: "Validates the instance."
|
|
overridden: "com.azure.resourcemanager.compute.models.ImageDisk.validate()"
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageDataDisk.withBlobUri(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.withBlobUri(String blobUri)"
|
|
name: "withBlobUri(String blobUri)"
|
|
nameWithType: "ImageDataDisk.withBlobUri(String blobUri)"
|
|
summary: "Set the blob<wbr>Uri property: The Virtual Hard Disk."
|
|
overridden: "com.azure.resourcemanager.compute.models.ImageDisk.withBlobUri(java.lang.String)"
|
|
parameters:
|
|
- name: "blobUri"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public ImageDataDisk withBlobUri(String blobUri)"
|
|
desc: "Set the blobUri property: The Virtual Hard Disk."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageDataDisk?alt=com.azure.resourcemanager.compute.models.ImageDataDisk&text=ImageDataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageDataDisk.withCaching(com.azure.resourcemanager.compute.models.CachingTypes)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.withCaching(CachingTypes caching)"
|
|
name: "withCaching(CachingTypes caching)"
|
|
nameWithType: "ImageDataDisk.withCaching(CachingTypes caching)"
|
|
summary: "Set the caching property: Specifies the caching requirements."
|
|
overridden: "com.azure.resourcemanager.compute.models.ImageDisk.withCaching(com.azure.resourcemanager.compute.models.CachingTypes)"
|
|
parameters:
|
|
- name: "caching"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.CachingTypes?alt=com.azure.resourcemanager.compute.models.CachingTypes&text=CachingTypes\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ImageDataDisk withCaching(CachingTypes caching)"
|
|
desc: "Set the caching property: Specifies the caching requirements. Possible values are: \\*\\*None,\\*\\* \\*\\*ReadOnly,\\*\\* \\*\\*ReadWrite.\\*\\* The default values are: \\*\\*None for Standard storage. ReadOnly for Premium storage.\\*\\*."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageDataDisk?alt=com.azure.resourcemanager.compute.models.ImageDataDisk&text=ImageDataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageDataDisk.withDiskEncryptionSet(com.azure.resourcemanager.compute.models.DiskEncryptionSetParameters)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)"
|
|
name: "withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)"
|
|
nameWithType: "ImageDataDisk.withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)"
|
|
summary: "Set the disk<wbr>Encryption<wbr>Set property: Specifies the customer managed disk encryption set resource id for the managed image disk."
|
|
overridden: "com.azure.resourcemanager.compute.models.ImageDisk.withDiskEncryptionSet(com.azure.resourcemanager.compute.models.DiskEncryptionSetParameters)"
|
|
parameters:
|
|
- name: "diskEncryptionSet"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiskEncryptionSetParameters?alt=com.azure.resourcemanager.compute.models.DiskEncryptionSetParameters&text=DiskEncryptionSetParameters\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ImageDataDisk withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)"
|
|
desc: "Set the diskEncryptionSet property: Specifies the customer managed disk encryption set resource id for the managed image disk."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageDataDisk?alt=com.azure.resourcemanager.compute.models.ImageDataDisk&text=ImageDataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageDataDisk.withDiskSizeGB(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.withDiskSizeGB(Integer diskSizeGB)"
|
|
name: "withDiskSizeGB(Integer diskSizeGB)"
|
|
nameWithType: "ImageDataDisk.withDiskSizeGB(Integer diskSizeGB)"
|
|
summary: "Set the disk<wbr>SizeGB property: Specifies the size of empty data disks in gigabytes."
|
|
overridden: "com.azure.resourcemanager.compute.models.ImageDisk.withDiskSizeGB(java.lang.Integer)"
|
|
parameters:
|
|
- name: "diskSizeGB"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public ImageDataDisk withDiskSizeGB(Integer diskSizeGB)"
|
|
desc: "Set the diskSizeGB property: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageDataDisk?alt=com.azure.resourcemanager.compute.models.ImageDataDisk&text=ImageDataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageDataDisk.withLun(int)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.withLun(int lun)"
|
|
name: "withLun(int lun)"
|
|
nameWithType: "ImageDataDisk.withLun(int lun)"
|
|
summary: "Set the lun property: Specifies the logical unit number of the data disk."
|
|
parameters:
|
|
- description: "the lun value to set."
|
|
name: "lun"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ImageDataDisk withLun(int lun)"
|
|
desc: "Set the lun property: Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."
|
|
returns:
|
|
description: "the ImageDataDisk object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageDataDisk?alt=com.azure.resourcemanager.compute.models.ImageDataDisk&text=ImageDataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageDataDisk.withManagedDisk(com.azure.core.management.SubResource)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.withManagedDisk(SubResource managedDisk)"
|
|
name: "withManagedDisk(SubResource managedDisk)"
|
|
nameWithType: "ImageDataDisk.withManagedDisk(SubResource managedDisk)"
|
|
summary: "Set the managed<wbr>Disk property: The managed<wbr>Disk."
|
|
overridden: "com.azure.resourcemanager.compute.models.ImageDisk.withManagedDisk(com.azure.core.management.SubResource)"
|
|
parameters:
|
|
- name: "managedDisk"
|
|
type: "<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ImageDataDisk withManagedDisk(SubResource managedDisk)"
|
|
desc: "Set the managedDisk property: The managedDisk."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageDataDisk?alt=com.azure.resourcemanager.compute.models.ImageDataDisk&text=ImageDataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageDataDisk.withSnapshot(com.azure.core.management.SubResource)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.withSnapshot(SubResource snapshot)"
|
|
name: "withSnapshot(SubResource snapshot)"
|
|
nameWithType: "ImageDataDisk.withSnapshot(SubResource snapshot)"
|
|
summary: "Set the snapshot property: The snapshot."
|
|
overridden: "com.azure.resourcemanager.compute.models.ImageDisk.withSnapshot(com.azure.core.management.SubResource)"
|
|
parameters:
|
|
- name: "snapshot"
|
|
type: "<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ImageDataDisk withSnapshot(SubResource snapshot)"
|
|
desc: "Set the snapshot property: The snapshot."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageDataDisk?alt=com.azure.resourcemanager.compute.models.ImageDataDisk&text=ImageDataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageDataDisk.withStorageAccountType(com.azure.resourcemanager.compute.models.StorageAccountTypes)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageDataDisk.withStorageAccountType(StorageAccountTypes storageAccountType)"
|
|
name: "withStorageAccountType(StorageAccountTypes storageAccountType)"
|
|
nameWithType: "ImageDataDisk.withStorageAccountType(StorageAccountTypes storageAccountType)"
|
|
summary: "Set the storage<wbr>Account<wbr>Type property: Specifies the storage account type for the managed disk."
|
|
overridden: "com.azure.resourcemanager.compute.models.ImageDisk.withStorageAccountType(com.azure.resourcemanager.compute.models.StorageAccountTypes)"
|
|
parameters:
|
|
- name: "storageAccountType"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.StorageAccountTypes?alt=com.azure.resourcemanager.compute.models.StorageAccountTypes&text=StorageAccountTypes\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ImageDataDisk withStorageAccountType(StorageAccountTypes storageAccountType)"
|
|
desc: "Set the storageAccountType property: Specifies the storage account type for the managed disk. NOTE: UltraSSD\\_LRS can only be used with data disks, it cannot be used with OS Disk."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageDataDisk?alt=com.azure.resourcemanager.compute.models.ImageDataDisk&text=ImageDataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Describes a data disk."
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.compute.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0
|