237 строки
21 KiB
YAML
237 строки
21 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.compute.models.ImageOSDisk"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk"
|
|
name: "ImageOSDisk"
|
|
nameWithType: "ImageOSDisk"
|
|
summary: "Describes an Operating System 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 **ImageOSDisk**</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.ImageOSDisk.ImageOSDisk()"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.ImageOSDisk()"
|
|
name: "ImageOSDisk()"
|
|
nameWithType: "ImageOSDisk.ImageOSDisk()"
|
|
summary: "Creates an instance of Image<wbr>OSDisk class."
|
|
syntax: "public ImageOSDisk()"
|
|
desc: "Creates an instance of ImageOSDisk class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageOSDisk.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "ImageOSDisk.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Image<wbr>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 ImageOSDisk 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 ImageOSDisk from the JsonReader."
|
|
returns:
|
|
description: "An instance of ImageOSDisk 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.ImageOSDisk?alt=com.azure.resourcemanager.compute.models.ImageOSDisk&text=ImageOSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageOSDisk.osState()"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.osState()"
|
|
name: "osState()"
|
|
nameWithType: "ImageOSDisk.osState()"
|
|
summary: "Get the os<wbr>State property: The OS State."
|
|
syntax: "public OperatingSystemStateTypes osState()"
|
|
desc: "Get the osState property: The OS State. For managed images, use Generalized."
|
|
returns:
|
|
description: "the osState value."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.OperatingSystemStateTypes?alt=com.azure.resourcemanager.compute.models.OperatingSystemStateTypes&text=OperatingSystemStateTypes\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageOSDisk.osType()"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.osType()"
|
|
name: "osType()"
|
|
nameWithType: "ImageOSDisk.osType()"
|
|
summary: "Get the os<wbr>Type property: This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image."
|
|
syntax: "public OperatingSystemTypes osType()"
|
|
desc: "Get the osType property: This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. Possible values are: \\*\\*Windows,\\*\\* \\*\\*Linux.\\*\\*."
|
|
returns:
|
|
description: "the osType value."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.OperatingSystemTypes?alt=com.azure.resourcemanager.compute.models.OperatingSystemTypes&text=OperatingSystemTypes\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageOSDisk.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "ImageOSDisk.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.ImageOSDisk.validate()"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.validate()"
|
|
name: "validate()"
|
|
nameWithType: "ImageOSDisk.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.ImageOSDisk.withBlobUri(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.withBlobUri(String blobUri)"
|
|
name: "withBlobUri(String blobUri)"
|
|
nameWithType: "ImageOSDisk.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 ImageOSDisk withBlobUri(String blobUri)"
|
|
desc: "Set the blobUri property: The Virtual Hard Disk."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageOSDisk?alt=com.azure.resourcemanager.compute.models.ImageOSDisk&text=ImageOSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageOSDisk.withCaching(com.azure.resourcemanager.compute.models.CachingTypes)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.withCaching(CachingTypes caching)"
|
|
name: "withCaching(CachingTypes caching)"
|
|
nameWithType: "ImageOSDisk.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 ImageOSDisk 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.ImageOSDisk?alt=com.azure.resourcemanager.compute.models.ImageOSDisk&text=ImageOSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageOSDisk.withDiskEncryptionSet(com.azure.resourcemanager.compute.models.DiskEncryptionSetParameters)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)"
|
|
name: "withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)"
|
|
nameWithType: "ImageOSDisk.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 ImageOSDisk 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.ImageOSDisk?alt=com.azure.resourcemanager.compute.models.ImageOSDisk&text=ImageOSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageOSDisk.withDiskSizeGB(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.withDiskSizeGB(Integer diskSizeGB)"
|
|
name: "withDiskSizeGB(Integer diskSizeGB)"
|
|
nameWithType: "ImageOSDisk.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 ImageOSDisk 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.ImageOSDisk?alt=com.azure.resourcemanager.compute.models.ImageOSDisk&text=ImageOSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageOSDisk.withManagedDisk(com.azure.core.management.SubResource)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.withManagedDisk(SubResource managedDisk)"
|
|
name: "withManagedDisk(SubResource managedDisk)"
|
|
nameWithType: "ImageOSDisk.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 ImageOSDisk withManagedDisk(SubResource managedDisk)"
|
|
desc: "Set the managedDisk property: The managedDisk."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageOSDisk?alt=com.azure.resourcemanager.compute.models.ImageOSDisk&text=ImageOSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageOSDisk.withOsState(com.azure.resourcemanager.compute.models.OperatingSystemStateTypes)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.withOsState(OperatingSystemStateTypes osState)"
|
|
name: "withOsState(OperatingSystemStateTypes osState)"
|
|
nameWithType: "ImageOSDisk.withOsState(OperatingSystemStateTypes osState)"
|
|
summary: "Set the os<wbr>State property: The OS State."
|
|
parameters:
|
|
- description: "the osState value to set."
|
|
name: "osState"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.OperatingSystemStateTypes?alt=com.azure.resourcemanager.compute.models.OperatingSystemStateTypes&text=OperatingSystemStateTypes\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ImageOSDisk withOsState(OperatingSystemStateTypes osState)"
|
|
desc: "Set the osState property: The OS State. For managed images, use Generalized."
|
|
returns:
|
|
description: "the ImageOSDisk object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageOSDisk?alt=com.azure.resourcemanager.compute.models.ImageOSDisk&text=ImageOSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageOSDisk.withOsType(com.azure.resourcemanager.compute.models.OperatingSystemTypes)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.withOsType(OperatingSystemTypes osType)"
|
|
name: "withOsType(OperatingSystemTypes osType)"
|
|
nameWithType: "ImageOSDisk.withOsType(OperatingSystemTypes osType)"
|
|
summary: "Set the os<wbr>Type property: This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image."
|
|
parameters:
|
|
- description: "the osType value to set."
|
|
name: "osType"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.OperatingSystemTypes?alt=com.azure.resourcemanager.compute.models.OperatingSystemTypes&text=OperatingSystemTypes\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ImageOSDisk withOsType(OperatingSystemTypes osType)"
|
|
desc: "Set the osType property: This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. Possible values are: \\*\\*Windows,\\*\\* \\*\\*Linux.\\*\\*."
|
|
returns:
|
|
description: "the ImageOSDisk object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageOSDisk?alt=com.azure.resourcemanager.compute.models.ImageOSDisk&text=ImageOSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageOSDisk.withSnapshot(com.azure.core.management.SubResource)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.withSnapshot(SubResource snapshot)"
|
|
name: "withSnapshot(SubResource snapshot)"
|
|
nameWithType: "ImageOSDisk.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 ImageOSDisk withSnapshot(SubResource snapshot)"
|
|
desc: "Set the snapshot property: The snapshot."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageOSDisk?alt=com.azure.resourcemanager.compute.models.ImageOSDisk&text=ImageOSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.ImageOSDisk.withStorageAccountType(com.azure.resourcemanager.compute.models.StorageAccountTypes)"
|
|
fullName: "com.azure.resourcemanager.compute.models.ImageOSDisk.withStorageAccountType(StorageAccountTypes storageAccountType)"
|
|
name: "withStorageAccountType(StorageAccountTypes storageAccountType)"
|
|
nameWithType: "ImageOSDisk.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 ImageOSDisk 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.ImageOSDisk?alt=com.azure.resourcemanager.compute.models.ImageOSDisk&text=ImageOSDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Describes an Operating System disk."
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.compute.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0
|