Partilhar via


PowerState Class

Definition

Describes the Power State of the cluster

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.PowerStateTypeConverter))]
public class PowerState : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IPowerState
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.PowerStateTypeConverter))>]
type PowerState = class
    interface IPowerState
    interface IJsonSerializable
Public Class PowerState
Implements IPowerState
Inheritance
PowerState
Attributes
Implements

Constructors

PowerState()

Creates an new PowerState instance.

Properties

Code

Tells whether the cluster is Running or Stopped

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PowerState.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PowerState.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IPowerState.

FromJsonString(String)

Creates a new instance of PowerState, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PowerState into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to