次の方法で共有


BareMetalMachineRunCommandContent(Int64, String) Constructor

Definition

Initializes a new instance of BareMetalMachineRunCommandContent.

public BareMetalMachineRunCommandContent (long limitTimeSeconds, string script);
new Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineRunCommandContent : int64 * string -> Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineRunCommandContent
Public Sub New (limitTimeSeconds As Long, script As String)

Parameters

limitTimeSeconds
Int64

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
String

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

Exceptions

script is null.

Applies to