Partager via


BareMetalMachinePowerOffParameters Class

Definition

BareMetalMachinePowerOffParameters represents the body of the request to power off bare metal machine.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.BareMetalMachinePowerOffParametersTypeConverter))]
public class BareMetalMachinePowerOffParameters : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IBareMetalMachinePowerOffParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.BareMetalMachinePowerOffParametersTypeConverter))>]
type BareMetalMachinePowerOffParameters = class
    interface IBareMetalMachinePowerOffParameters
    interface IJsonSerializable
Public Class BareMetalMachinePowerOffParameters
Implements IBareMetalMachinePowerOffParameters
Inheritance
BareMetalMachinePowerOffParameters
Attributes
Implements

Constructors

BareMetalMachinePowerOffParameters()

Creates an new BareMetalMachinePowerOffParameters instance.

Properties

SkipShutdown

The indicator of whether to skip the graceful OS shutdown and power off the bare metal machine immediately.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BareMetalMachinePowerOffParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BareMetalMachinePowerOffParameters.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IBareMetalMachinePowerOffParameters.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of BareMetalMachinePowerOffParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to