ArmHybridComputeModelFactory.MachineRunCommandInstanceView 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 MachineRunCommandInstanceView.
public static Azure.ResourceManager.HybridCompute.Models.MachineRunCommandInstanceView MachineRunCommandInstanceView (Azure.ResourceManager.HybridCompute.Models.HybridComputeExecutionState? executionState = default, string executionMessage = default, int? exitCode = default, string output = default, string error = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridCompute.Models.ExtensionsResourceStatus> statuses = default);
static member MachineRunCommandInstanceView : Nullable<Azure.ResourceManager.HybridCompute.Models.HybridComputeExecutionState> * string * Nullable<int> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.HybridCompute.Models.ExtensionsResourceStatus> -> Azure.ResourceManager.HybridCompute.Models.MachineRunCommandInstanceView
Public Shared Function MachineRunCommandInstanceView (Optional executionState As Nullable(Of HybridComputeExecutionState) = Nothing, Optional executionMessage As String = Nothing, Optional exitCode As Nullable(Of Integer) = Nothing, Optional output As String = Nothing, Optional error As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional statuses As IEnumerable(Of ExtensionsResourceStatus) = Nothing) As MachineRunCommandInstanceView
Parameters
- executionState
- Nullable<HybridComputeExecutionState>
Script execution status.
- executionMessage
- String
Communicate script configuration errors or execution messages.
- output
- String
Script output stream.
- error
- String
Script error stream.
- startOn
- Nullable<DateTimeOffset>
Script start time.
- endOn
- Nullable<DateTimeOffset>
Script end time.
- statuses
- IEnumerable<ExtensionsResourceStatus>
The status information.
Returns
A new MachineRunCommandInstanceView instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET