次の方法で共有


BareMetalMachineRunReadCommandsContent Constructor

Definition

Initializes a new instance of BareMetalMachineRunReadCommandsContent.

public BareMetalMachineRunReadCommandsContent (System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineCommandSpecification> commands, long limitTimeSeconds);
new Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineRunReadCommandsContent : seq<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineCommandSpecification> * int64 -> Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineRunReadCommandsContent
Public Sub New (commands As IEnumerable(Of BareMetalMachineCommandSpecification), limitTimeSeconds As Long)

Parameters

commands
IEnumerable<BareMetalMachineCommandSpecification>

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

limitTimeSeconds
Int64

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).

Exceptions

commands is null.

Applies to