Aracılığıyla paylaş


VirtualMachineRunCommandUpdate Constructors

Definition

Overloads

VirtualMachineRunCommandUpdate()

Initializes a new instance of the VirtualMachineRunCommandUpdate class.

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

Initializes a new instance of the VirtualMachineRunCommandUpdate class.

VirtualMachineRunCommandUpdate()

Initializes a new instance of the VirtualMachineRunCommandUpdate class.

public VirtualMachineRunCommandUpdate ();
Public Sub New ()

Applies to

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

Initializes a new instance of the VirtualMachineRunCommandUpdate class.

public VirtualMachineRunCommandUpdate (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.VirtualMachineRunCommandUpdate : 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.VirtualMachineRunCommandUpdate
Public Sub New (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)

Parameters

tags
IDictionary<String,String>

Resource tags

source
VirtualMachineRunCommandScriptSource

The source of the run command script.

parameters
IList<RunCommandInputParameter>

The parameters used by the script.

protectedParameters
IList<RunCommandInputParameter>

The parameters used by the script.

asyncExecution
Nullable<Boolean>

Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.

runAsUser
String

Specifies the user account on the VM when executing the run command.

runAsPassword
String

Specifies the user account password on the VM when executing the run command.

timeoutInSeconds
Nullable<Int32>

The timeout in seconds to execute the run command.

outputBlobUri
String

Specifies the Azure storage blob where script output stream will be uploaded.

errorBlobUri
String

Specifies the Azure storage blob where script error stream will be uploaded.

provisioningState
String

The provisioning state, which only appears in the response.

instanceView
VirtualMachineRunCommandInstanceView

The virtual machine run command instance view.

Applies to