Partager via


VirtualMachinePowerOffContent Class

Definition

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

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

Constructors

VirtualMachinePowerOffContent()

Initializes a new instance of VirtualMachinePowerOffContent.

Properties

SkipShutdown

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachinePowerOffContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachinePowerOffContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachinePowerOffContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachinePowerOffContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachinePowerOffContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to