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

117 строки
7.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.networkcloud.models.OsDisk"
fullName: "com.azure.resourcemanager.networkcloud.models.OsDisk"
name: "OsDisk"
nameWithType: "OsDisk"
summary: "Os<wbr>Disk represents configuration of the boot 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 **OsDisk**"
constructors:
- uid: "com.azure.resourcemanager.networkcloud.models.OsDisk.OsDisk()"
fullName: "com.azure.resourcemanager.networkcloud.models.OsDisk.OsDisk()"
name: "OsDisk()"
nameWithType: "OsDisk.OsDisk()"
summary: "Creates an instance of Os<wbr>Disk class."
syntax: "public OsDisk()"
desc: "Creates an instance of OsDisk class."
methods:
- uid: "com.azure.resourcemanager.networkcloud.models.OsDisk.createOption()"
fullName: "com.azure.resourcemanager.networkcloud.models.OsDisk.createOption()"
name: "createOption()"
nameWithType: "OsDisk.createOption()"
summary: "Get the create<wbr>Option property: The strategy for creating the OS disk."
syntax: "public OsDiskCreateOption createOption()"
desc: "Get the createOption property: The strategy for creating the OS disk."
returns:
description: "the createOption value."
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.OsDiskCreateOption?alt=com.azure.resourcemanager.networkcloud.models.OsDiskCreateOption&text=OsDiskCreateOption\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.networkcloud.models.OsDisk.deleteOption()"
fullName: "com.azure.resourcemanager.networkcloud.models.OsDisk.deleteOption()"
name: "deleteOption()"
nameWithType: "OsDisk.deleteOption()"
summary: "Get the delete<wbr>Option property: The strategy for deleting the OS disk."
syntax: "public OsDiskDeleteOption deleteOption()"
desc: "Get the deleteOption property: The strategy for deleting the OS disk."
returns:
description: "the deleteOption value."
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.OsDiskDeleteOption?alt=com.azure.resourcemanager.networkcloud.models.OsDiskDeleteOption&text=OsDiskDeleteOption\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.networkcloud.models.OsDisk.diskSizeGB()"
fullName: "com.azure.resourcemanager.networkcloud.models.OsDisk.diskSizeGB()"
name: "diskSizeGB()"
nameWithType: "OsDisk.diskSizeGB()"
summary: "Get the disk<wbr>SizeGB property: The size of the disk in gigabytes."
syntax: "public long diskSizeGB()"
desc: "Get the diskSizeGB property: The size of the disk in gigabytes. Required if the createOption is Ephemeral."
returns:
description: "the diskSizeGB value."
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.networkcloud.models.OsDisk.validate()"
fullName: "com.azure.resourcemanager.networkcloud.models.OsDisk.validate()"
name: "validate()"
nameWithType: "OsDisk.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.networkcloud.models.OsDisk.withCreateOption(com.azure.resourcemanager.networkcloud.models.OsDiskCreateOption)"
fullName: "com.azure.resourcemanager.networkcloud.models.OsDisk.withCreateOption(OsDiskCreateOption createOption)"
name: "withCreateOption(OsDiskCreateOption createOption)"
nameWithType: "OsDisk.withCreateOption(OsDiskCreateOption createOption)"
summary: "Set the create<wbr>Option property: The strategy for creating the OS disk."
parameters:
- description: "the createOption value to set."
name: "createOption"
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.OsDiskCreateOption?alt=com.azure.resourcemanager.networkcloud.models.OsDiskCreateOption&text=OsDiskCreateOption\" data-throw-if-not-resolved=\"False\" />"
syntax: "public OsDisk withCreateOption(OsDiskCreateOption createOption)"
desc: "Set the createOption property: The strategy for creating the OS disk."
returns:
description: "the OsDisk object itself."
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.OsDisk?alt=com.azure.resourcemanager.networkcloud.models.OsDisk&text=OsDisk\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.networkcloud.models.OsDisk.withDeleteOption(com.azure.resourcemanager.networkcloud.models.OsDiskDeleteOption)"
fullName: "com.azure.resourcemanager.networkcloud.models.OsDisk.withDeleteOption(OsDiskDeleteOption deleteOption)"
name: "withDeleteOption(OsDiskDeleteOption deleteOption)"
nameWithType: "OsDisk.withDeleteOption(OsDiskDeleteOption deleteOption)"
summary: "Set the delete<wbr>Option property: The strategy for deleting the OS disk."
parameters:
- description: "the deleteOption value to set."
name: "deleteOption"
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.OsDiskDeleteOption?alt=com.azure.resourcemanager.networkcloud.models.OsDiskDeleteOption&text=OsDiskDeleteOption\" data-throw-if-not-resolved=\"False\" />"
syntax: "public OsDisk withDeleteOption(OsDiskDeleteOption deleteOption)"
desc: "Set the deleteOption property: The strategy for deleting the OS disk."
returns:
description: "the OsDisk object itself."
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.OsDisk?alt=com.azure.resourcemanager.networkcloud.models.OsDisk&text=OsDisk\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.networkcloud.models.OsDisk.withDiskSizeGB(long)"
fullName: "com.azure.resourcemanager.networkcloud.models.OsDisk.withDiskSizeGB(long diskSizeGB)"
name: "withDiskSizeGB(long diskSizeGB)"
nameWithType: "OsDisk.withDiskSizeGB(long diskSizeGB)"
summary: "Set the disk<wbr>SizeGB property: The size of the disk in gigabytes."
parameters:
- description: "the diskSizeGB value to set."
name: "diskSizeGB"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
syntax: "public OsDisk withDiskSizeGB(long diskSizeGB)"
desc: "Set the diskSizeGB property: The size of the disk in gigabytes. Required if the createOption is Ephemeral."
returns:
description: "the OsDisk object itself."
type: "<xref href=\"com.azure.resourcemanager.networkcloud.models.OsDisk?alt=com.azure.resourcemanager.networkcloud.models.OsDisk&text=OsDisk\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "OsDisk represents configuration of the boot disk."
metadata: {}
package: "com.azure.resourcemanager.networkcloud.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-networkcloud:1.0.0