Compartilhar via


ArmComputeModelFactory.VirtualMachineRunCommandInstanceView Método

Definição

Inicializa uma nova instância de 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

Parâmetros

executionState
Nullable<ExecutionState>

Execução de script status.

executionMessage
String

Comunicar erros de configuração de script ou mensagens de execução.

exitCode
Nullable<Int32>

Código de saída retornado da execução do script.

output
String

Fluxo de saída do script.

error
String

Fluxo de erros de script.

startOn
Nullable<DateTimeOffset>

Hora de início do script.

endOn
Nullable<DateTimeOffset>

Hora de término do script.

statuses
IEnumerable<InstanceViewStatus>

O recurso status informações.

Retornos

Uma nova VirtualMachineRunCommandInstanceView instância para simulação.

Aplica-se a