Compartilhar via


BareMetalMachineCordonContent Class

Definition

BareMetalMachineCordonParameters represents the body of the request to evacuate workloads from node on a bare metal machine.

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

Constructors

BareMetalMachineCordonContent()

Initializes a new instance of BareMetalMachineCordonContent.

Properties

Evacuate

The indicator of whether to evacuate the node workload when the bare metal machine is cordoned.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BareMetalMachineCordonContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BareMetalMachineCordonContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BareMetalMachineCordonContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BareMetalMachineCordonContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BareMetalMachineCordonContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to