Share via


BareMetalMachineCommandSpecification Class

Definition

BareMetalMachineCommandSpecification represents the command and optional arguments to exercise against the bare metal machine.

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

Constructors

Name Description
BareMetalMachineCommandSpecification(String)

Initializes a new instance of BareMetalMachineCommandSpecification.

Properties

Name Description
Arguments

The list of string arguments that will be passed to the script in order as separate arguments.

Command

The command to execute against the bare metal machine.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<BareMetalMachineCommandSpecification>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BareMetalMachineCommandSpecification>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BareMetalMachineCommandSpecification>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BareMetalMachineCommandSpecification>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BareMetalMachineCommandSpecification>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to