BareMetalMachineRunCommandContent Class

Definition

BareMetalMachineRunCommandParameters represents the body of the request to execute a script on the bare metal machine.

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

Constructors

BareMetalMachineRunCommandContent(Int64, String)

Initializes a new instance of BareMetalMachineRunCommandContent.

Properties

Arguments

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

LimitTimeSeconds

The maximum time the script is allowed to run. If the execution time exceeds the maximum, the script will be stopped, any output produced until then will be captured, and the exit code matching a timeout will be returned (252).

Script

The base64 encoded script to execute on the bare metal machine.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BareMetalMachineRunCommandContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BareMetalMachineRunCommandContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BareMetalMachineRunCommandContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BareMetalMachineRunCommandContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BareMetalMachineRunCommandContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to