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

168 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.PowerState"
fullName: "com.azure.resourcemanager.compute.models.PowerState"
name: "PowerState"
nameWithType: "PowerState"
summary: "Possible power states of a 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.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 **PowerState**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.compute.models.PowerState?alt=com.azure.resourcemanager.compute.models.PowerState&text=PowerState\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.compute.models.PowerState.PowerState()"
fullName: "com.azure.resourcemanager.compute.models.PowerState.PowerState()"
name: "PowerState()"
nameWithType: "PowerState.PowerState()"
syntax: "public PowerState()"
fields:
- uid: "com.azure.resourcemanager.compute.models.PowerState.DEALLOCATED"
fullName: "com.azure.resourcemanager.compute.models.PowerState.DEALLOCATED"
name: "DEALLOCATED"
nameWithType: "PowerState.DEALLOCATED"
summary: "Static value Power<wbr>State/deallocated for Power<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.compute.models.PowerState?alt=com.azure.resourcemanager.compute.models.PowerState&text=PowerState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final PowerState DEALLOCATED"
desc: "Static value PowerState/deallocated for PowerState."
- uid: "com.azure.resourcemanager.compute.models.PowerState.DEALLOCATING"
fullName: "com.azure.resourcemanager.compute.models.PowerState.DEALLOCATING"
name: "DEALLOCATING"
nameWithType: "PowerState.DEALLOCATING"
summary: "Static value Power<wbr>State/deallocating for Power<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.compute.models.PowerState?alt=com.azure.resourcemanager.compute.models.PowerState&text=PowerState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final PowerState DEALLOCATING"
desc: "Static value PowerState/deallocating for PowerState."
- uid: "com.azure.resourcemanager.compute.models.PowerState.RUNNING"
fullName: "com.azure.resourcemanager.compute.models.PowerState.RUNNING"
name: "RUNNING"
nameWithType: "PowerState.RUNNING"
summary: "Static value Power<wbr>State/running for Power<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.compute.models.PowerState?alt=com.azure.resourcemanager.compute.models.PowerState&text=PowerState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final PowerState RUNNING"
desc: "Static value PowerState/running for PowerState."
- uid: "com.azure.resourcemanager.compute.models.PowerState.STARTING"
fullName: "com.azure.resourcemanager.compute.models.PowerState.STARTING"
name: "STARTING"
nameWithType: "PowerState.STARTING"
summary: "Static value Power<wbr>State/starting for Power<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.compute.models.PowerState?alt=com.azure.resourcemanager.compute.models.PowerState&text=PowerState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final PowerState STARTING"
desc: "Static value PowerState/starting for PowerState."
- uid: "com.azure.resourcemanager.compute.models.PowerState.STOPPED"
fullName: "com.azure.resourcemanager.compute.models.PowerState.STOPPED"
name: "STOPPED"
nameWithType: "PowerState.STOPPED"
summary: "Static value Power<wbr>State/stopped for Power<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.compute.models.PowerState?alt=com.azure.resourcemanager.compute.models.PowerState&text=PowerState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final PowerState STOPPED"
desc: "Static value PowerState/stopped for PowerState."
- uid: "com.azure.resourcemanager.compute.models.PowerState.STOPPING"
fullName: "com.azure.resourcemanager.compute.models.PowerState.STOPPING"
name: "STOPPING"
nameWithType: "PowerState.STOPPING"
summary: "Static value Power<wbr>State/stopping for Power<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.compute.models.PowerState?alt=com.azure.resourcemanager.compute.models.PowerState&text=PowerState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final PowerState STOPPING"
desc: "Static value PowerState/stopping for PowerState."
- uid: "com.azure.resourcemanager.compute.models.PowerState.UNKNOWN"
fullName: "com.azure.resourcemanager.compute.models.PowerState.UNKNOWN"
name: "UNKNOWN"
nameWithType: "PowerState.UNKNOWN"
summary: "Static value Power<wbr>State/unknown for Power<wbr>State."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.compute.models.PowerState?alt=com.azure.resourcemanager.compute.models.PowerState&text=PowerState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final PowerState UNKNOWN"
desc: "Static value PowerState/unknown for PowerState."
methods:
- uid: "com.azure.resourcemanager.compute.models.PowerState.fromInstanceView(com.azure.resourcemanager.compute.models.VirtualMachineInstanceView)"
fullName: "com.azure.resourcemanager.compute.models.PowerState.fromInstanceView(VirtualMachineInstanceView virtualMachineInstanceView)"
name: "fromInstanceView(VirtualMachineInstanceView virtualMachineInstanceView)"
nameWithType: "PowerState.fromInstanceView(VirtualMachineInstanceView virtualMachineInstanceView)"
summary: "Creates an instance of Power<wbr>State from the virtual machine instance view status entry corresponding to the power state."
modifiers:
- "static"
parameters:
- description: "the virtual machine instance view"
name: "virtualMachineInstanceView"
type: "<xref href=\"com.azure.resourcemanager.compute.models.VirtualMachineInstanceView?alt=com.azure.resourcemanager.compute.models.VirtualMachineInstanceView&text=VirtualMachineInstanceView\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static PowerState fromInstanceView(VirtualMachineInstanceView virtualMachineInstanceView)"
desc: "Creates an instance of PowerState from the virtual machine instance view status entry corresponding to the power state."
returns:
description: "the PowerState"
type: "<xref href=\"com.azure.resourcemanager.compute.models.PowerState?alt=com.azure.resourcemanager.compute.models.PowerState&text=PowerState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.PowerState.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.PowerState.fromString(String name)"
name: "fromString(String name)"
nameWithType: "PowerState.fromString(String name)"
summary: "Finds or creates a Power<wbr>State value."
modifiers:
- "static"
parameters:
- description: "the value of the power state"
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static PowerState fromString(String name)"
desc: "Finds or creates a PowerState value."
returns:
description: "a PowerState instance"
type: "<xref href=\"com.azure.resourcemanager.compute.models.PowerState?alt=com.azure.resourcemanager.compute.models.PowerState&text=PowerState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.PowerState.values()"
fullName: "com.azure.resourcemanager.compute.models.PowerState.values()"
name: "values()"
nameWithType: "PowerState.values()"
modifiers:
- "static"
syntax: "public static Collection<PowerState> values()"
returns:
description: "all known power states"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.resourcemanager.compute.models.PowerState?alt=com.azure.resourcemanager.compute.models.PowerState&text=PowerState\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "Possible power states of a virtual machine."
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0