BareMetalMachineRunCommandContent(Int64, String) Constructor
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 BareMetalMachineRunCommandContent (long limitTimeSeconds, string script);
new Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineRunCommandContent : int64 * string -> Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineRunCommandContent
Public Sub New (limitTimeSeconds As Long, script As String)
Parameters
- 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.
Exceptions
script
is null.
Applies to
Azure SDK for .NET