Compartilhar via


BareMetalMachinePowerOffContent Class

Definition

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

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

Constructors

BareMetalMachinePowerOffContent()

Initializes a new instance of BareMetalMachinePowerOffContent.

Properties

SkipShutdown

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BareMetalMachinePowerOffContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BareMetalMachinePowerOffContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BareMetalMachinePowerOffContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BareMetalMachinePowerOffContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BareMetalMachinePowerOffContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to