你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BareMetalMachineRunReadCommandsContent 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 BareMetalMachineRunReadCommandsContent.
public BareMetalMachineRunReadCommandsContent(System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineCommandSpecification> commands, long limitTimeSeconds);
new Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineRunReadCommandsContent : seq<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineCommandSpecification> * int64 -> Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineRunReadCommandsContent
Public Sub New (commands As IEnumerable(Of BareMetalMachineCommandSpecification), limitTimeSeconds As Long)
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).
Exceptions
commands
is null.