ArmNetworkCloudModelFactory.BareMetalMachineRunReadCommandsContent Method

Definition

public static Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineRunReadCommandsContent BareMetalMachineRunReadCommandsContent(System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineCommandSpecification> commands = default, long limitTimeSeconds = 0);
static member BareMetalMachineRunReadCommandsContent : seq<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineCommandSpecification> * int64 -> Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineRunReadCommandsContent
Public Shared Function BareMetalMachineRunReadCommandsContent (Optional commands As IEnumerable(Of BareMetalMachineCommandSpecification) = Nothing, Optional limitTimeSeconds As Long = 0) As BareMetalMachineRunReadCommandsContent

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

Returns

A new BareMetalMachineRunReadCommandsContent instance for mocking.

Applies to