87 строки
7.6 KiB
YAML
87 строки
7.6 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.compute.models.DiskDetachOptionTypes"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskDetachOptionTypes"
|
|
name: "DiskDetachOptionTypes"
|
|
nameWithType: "DiskDetachOptionTypes"
|
|
summary: "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.getValue()?alt=com.azure.core.util.ExpandableStringEnum.getValue&text=getValue\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" 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#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#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#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 **DiskDetachOptionTypes**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.DiskDetachOptionTypes?alt=com.azure.resourcemanager.compute.models.DiskDetachOptionTypes&text=DiskDetachOptionTypes\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskDetachOptionTypes.DiskDetachOptionTypes()"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskDetachOptionTypes.DiskDetachOptionTypes()"
|
|
name: "DiskDetachOptionTypes()"
|
|
nameWithType: "DiskDetachOptionTypes.DiskDetachOptionTypes()"
|
|
summary: "Creates a new instance of Disk<wbr>Detach<wbr>Option<wbr>Types value."
|
|
deprecatedTag: "Use the <xref uid=\"com.azure.resourcemanager.compute.models.DiskDetachOptionTypes.fromString(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String)\"></xref> factory method."
|
|
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public DiskDetachOptionTypes()"
|
|
desc: "Creates a new instance of DiskDetachOptionTypes value."
|
|
hasDeprecatedTag: true
|
|
fields:
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskDetachOptionTypes.FORCE_DETACH"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskDetachOptionTypes.FORCE_DETACH"
|
|
name: "FORCE_DETACH"
|
|
nameWithType: "DiskDetachOptionTypes.FORCE_DETACH"
|
|
summary: "Static value Force<wbr>Detach for Disk<wbr>Detach<wbr>Option<wbr>Types."
|
|
modifiers:
|
|
- "static"
|
|
- "final"
|
|
field:
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiskDetachOptionTypes?alt=com.azure.resourcemanager.compute.models.DiskDetachOptionTypes&text=DiskDetachOptionTypes\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static final DiskDetachOptionTypes FORCE_DETACH"
|
|
desc: "Static value ForceDetach for DiskDetachOptionTypes."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskDetachOptionTypes.fromString(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskDetachOptionTypes.fromString(String name)"
|
|
name: "fromString(String name)"
|
|
nameWithType: "DiskDetachOptionTypes.fromString(String name)"
|
|
summary: "Creates or finds a Disk<wbr>Detach<wbr>Option<wbr>Types from its string representation."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "a name to look for."
|
|
name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public static DiskDetachOptionTypes fromString(String name)"
|
|
desc: "Creates or finds a DiskDetachOptionTypes from its string representation."
|
|
returns:
|
|
description: "the corresponding DiskDetachOptionTypes."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.DiskDetachOptionTypes?alt=com.azure.resourcemanager.compute.models.DiskDetachOptionTypes&text=DiskDetachOptionTypes\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.DiskDetachOptionTypes.values()"
|
|
fullName: "com.azure.resourcemanager.compute.models.DiskDetachOptionTypes.values()"
|
|
name: "values()"
|
|
nameWithType: "DiskDetachOptionTypes.values()"
|
|
summary: "Gets known Disk<wbr>Detach<wbr>Option<wbr>Types values."
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static Collection<DiskDetachOptionTypes> values()"
|
|
desc: "Gets known DiskDetachOptionTypes values."
|
|
returns:
|
|
description: "known DiskDetachOptionTypes values."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a><<xref href=\"com.azure.resourcemanager.compute.models.DiskDetachOptionTypes?alt=com.azure.resourcemanager.compute.models.DiskDetachOptionTypes&text=DiskDetachOptionTypes\" data-throw-if-not-resolved=\"False\" />>"
|
|
type: "class"
|
|
desc: "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values are: \\*\\*ForceDetach.\\*\\* detachOption: \\*\\*ForceDetach\\*\\* is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. \\*\\*This feature is still in preview\\*\\*. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'."
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.compute.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0
|