ArmComputeModelFactory.VirtualMachineRunCommandInstanceView 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 VirtualMachineRunCommandInstanceView.
public static Azure.ResourceManager.Compute.Models.VirtualMachineRunCommandInstanceView VirtualMachineRunCommandInstanceView (Azure.ResourceManager.Compute.Models.ExecutionState? 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.Compute.Models.InstanceViewStatus> statuses = default);
static member VirtualMachineRunCommandInstanceView : Nullable<Azure.ResourceManager.Compute.Models.ExecutionState> * string * Nullable<int> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Compute.Models.InstanceViewStatus> -> Azure.ResourceManager.Compute.Models.VirtualMachineRunCommandInstanceView
Public Shared Function VirtualMachineRunCommandInstanceView (Optional executionState As Nullable(Of ExecutionState) = 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 InstanceViewStatus) = Nothing) As VirtualMachineRunCommandInstanceView
Parameters
- executionState
- Nullable<ExecutionState>
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<InstanceViewStatus>
The resource status information.
Returns
A new VirtualMachineRunCommandInstanceView instance for mocking.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET