Share via


StopVirtualMachineOptions Class

Definition

Defines the stop action properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.StopVirtualMachineOptionsTypeConverter))]
public class StopVirtualMachineOptions : Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IStopVirtualMachineOptions
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.StopVirtualMachineOptionsTypeConverter))>]
type StopVirtualMachineOptions = class
    interface IStopVirtualMachineOptions
    interface IJsonSerializable
Public Class StopVirtualMachineOptions
Implements IStopVirtualMachineOptions
Inheritance
StopVirtualMachineOptions
Attributes
Implements

Constructors

StopVirtualMachineOptions()

Creates an new StopVirtualMachineOptions instance.

Properties

SkipShutdown

Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StopVirtualMachineOptions.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StopVirtualMachineOptions.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IStopVirtualMachineOptions.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of StopVirtualMachineOptions into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to