ArmNetworkCloudModelFactory.BareMetalMachineRunReadCommandsContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.