Compartilhar via


BareMetalMachineRunReadCommandsContent Class

Definition

BareMetalMachineRunReadCommandsParameters represents the body of request containing list of read-only commands to run on the bare metal machine.

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

Constructors

BareMetalMachineRunReadCommandsContent(IEnumerable<BareMetalMachineCommandSpecification>, Int64)

Initializes a new instance of BareMetalMachineRunReadCommandsContent.

Properties

Commands

The list of read-only commands to be executed directly against the target machine.

LimitTimeSeconds

The maximum time the commands are 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).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BareMetalMachineRunReadCommandsContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BareMetalMachineRunReadCommandsContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BareMetalMachineRunReadCommandsContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BareMetalMachineRunReadCommandsContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BareMetalMachineRunReadCommandsContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to