Compartilhar via


VirtualMachineRunCommandInner Construtores

Definição

Sobrecargas

VirtualMachineRunCommandInner()

Inicializa uma nova instância da classe VirtualMachineRunCommandInner.

VirtualMachineRunCommandInner(String, String, String, String, IDictionary<String,String>, VirtualMachineRunCommandScriptSource, IList<RunCommandInputParameter>, IList<RunCommandInputParameter>, Nullable<Boolean>, String, String, Nullable<Int32>, String, String, String, VirtualMachineRunCommandInstanceView)

Inicializa uma nova instância da classe VirtualMachineRunCommandInner.

VirtualMachineRunCommandInner()

Inicializa uma nova instância da classe VirtualMachineRunCommandInner.

public VirtualMachineRunCommandInner ();
Public Sub New ()

Aplica-se a

VirtualMachineRunCommandInner(String, String, String, String, IDictionary<String,String>, VirtualMachineRunCommandScriptSource, IList<RunCommandInputParameter>, IList<RunCommandInputParameter>, Nullable<Boolean>, String, String, Nullable<Int32>, String, String, String, VirtualMachineRunCommandInstanceView)

Inicializa uma nova instância da classe VirtualMachineRunCommandInner.

public VirtualMachineRunCommandInner (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandScriptSource source = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInputParameter> parameters = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInputParameter> protectedParameters = default, bool? asyncExecution = default, string runAsUser = default, string runAsPassword = default, int? timeoutInSeconds = default, string outputBlobUri = default, string errorBlobUri = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandInstanceView instanceView = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandScriptSource * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInputParameter> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInputParameter> * Nullable<bool> * string * string * Nullable<int> * string * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandInstanceView -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandInner
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional source As VirtualMachineRunCommandScriptSource = Nothing, Optional parameters As IList(Of RunCommandInputParameter) = Nothing, Optional protectedParameters As IList(Of RunCommandInputParameter) = Nothing, Optional asyncExecution As Nullable(Of Boolean) = Nothing, Optional runAsUser As String = Nothing, Optional runAsPassword As String = Nothing, Optional timeoutInSeconds As Nullable(Of Integer) = Nothing, Optional outputBlobUri As String = Nothing, Optional errorBlobUri As String = Nothing, Optional provisioningState As String = Nothing, Optional instanceView As VirtualMachineRunCommandInstanceView = Nothing)

Parâmetros

location
String
id
String
name
String
type
String
source
VirtualMachineRunCommandScriptSource

A origem do script de comando de execução.

parameters
IList<RunCommandInputParameter>

Os parâmetros usados pelo script.

protectedParameters
IList<RunCommandInputParameter>

Os parâmetros usados pelo script.

asyncExecution
Nullable<Boolean>

Opcional. Se definido como true, o provisionamento será concluído assim que o script for iniciado e não aguardará a conclusão do script.

runAsUser
String

Especifica a conta de usuário na VM ao executar o comando run.

runAsPassword
String

Especifica a senha da conta de usuário na VM ao executar o comando run.

timeoutInSeconds
Nullable<Int32>

O tempo limite em segundos para executar o comando de execução.

outputBlobUri
String

Especifica o blob de armazenamento do Azure em que o fluxo de saída do script será carregado.

errorBlobUri
String

Especifica o blob de armazenamento do Azure em que o fluxo de erros de script será carregado.

provisioningState
String

O estado de provisionamento, que aparece apenas na resposta.

instanceView
VirtualMachineRunCommandInstanceView

A exibição da instância de comando de execução da máquina virtual.

Aplica-se a