Freigeben über


BareMetalMachineRunCommandParameters Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.BareMetalMachineRunCommandParametersTypeConverter))]
public class BareMetalMachineRunCommandParameters : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IBareMetalMachineRunCommandParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.BareMetalMachineRunCommandParametersTypeConverter))>]
type BareMetalMachineRunCommandParameters = class
    interface IBareMetalMachineRunCommandParameters
    interface IJsonSerializable
Public Class BareMetalMachineRunCommandParameters
Implements IBareMetalMachineRunCommandParameters
Inheritance
BareMetalMachineRunCommandParameters
Attributes
Implements

Constructors

BareMetalMachineRunCommandParameters()

Creates an new BareMetalMachineRunCommandParameters instance.

Properties

Argument

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

LimitTimeSecond

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BareMetalMachineRunCommandParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BareMetalMachineRunCommandParameters.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IBareMetalMachineRunCommandParameters.

FromJsonString(String)

Creates a new instance of BareMetalMachineRunCommandParameters, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of BareMetalMachineRunCommandParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to