Condividi tramite


StopVirtualMachineContent Class

Definition

Defines the stop action properties.

public class StopVirtualMachineContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ScVmm.Models.StopVirtualMachineContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ScVmm.Models.StopVirtualMachineContent>
type StopVirtualMachineContent = class
    interface IJsonModel<StopVirtualMachineContent>
    interface IPersistableModel<StopVirtualMachineContent>
Public Class StopVirtualMachineContent
Implements IJsonModel(Of StopVirtualMachineContent), IPersistableModel(Of StopVirtualMachineContent)
Inheritance
StopVirtualMachineContent
Implements

Constructors

StopVirtualMachineContent()

Initializes a new instance of StopVirtualMachineContent.

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.

Explicit Interface Implementations

IJsonModel<StopVirtualMachineContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StopVirtualMachineContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StopVirtualMachineContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StopVirtualMachineContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StopVirtualMachineContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to