ArmNetworkCloudModelFactory.BareMetalMachineRunCommandContent 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.
Initializes a new instance of BareMetalMachineRunCommandContent.
public static Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineRunCommandContent BareMetalMachineRunCommandContent (System.Collections.Generic.IEnumerable<string> arguments = default, long limitTimeSeconds = 0, string script = default);
static member BareMetalMachineRunCommandContent : seq<string> * int64 * string -> Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineRunCommandContent
Public Shared Function BareMetalMachineRunCommandContent (Optional arguments As IEnumerable(Of String) = Nothing, Optional limitTimeSeconds As Long = 0, Optional script As String = Nothing) As BareMetalMachineRunCommandContent
Parameters
- arguments
- IEnumerable<String>
The list of string arguments that will be passed to the script in order as separate arguments.
- 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.
Returns
A new BareMetalMachineRunCommandContent instance for mocking.
Applies to
Azure SDK for .NET