Share via


BareMetalMachineRunDataExtractsContent Constructor

Definition

Initializes a new instance of BareMetalMachineRunDataExtractsContent.

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

Parameters

commands
IEnumerable<BareMetalMachineCommandSpecification>

The list of curated data extraction 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