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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET