Delen via


VirtualMachinePowerOffParameters Class

Definition

VirtualMachinePowerOffParameters represents the body of the request to power off virtual machine.

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

Constructors

VirtualMachinePowerOffParameters()

Creates an new VirtualMachinePowerOffParameters instance.

Properties

SkipShutdown

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachinePowerOffParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachinePowerOffParameters.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachinePowerOffParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to