VirtualMachineRunCommandInner Constructors
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.
Overloads
VirtualMachineRunCommandInner() |
Initializes a new instance of the VirtualMachineRunCommandInner class. |
VirtualMachineRunCommandInner(String, String, String, String, IDictionary<String,String>, VirtualMachineRunCommandScriptSource, IList<RunCommandInputParameter>, IList<RunCommandInputParameter>, Nullable<Boolean>, String, String, Nullable<Int32>, String, String, String, VirtualMachineRunCommandInstanceView) |
Initializes a new instance of the VirtualMachineRunCommandInner class. |
VirtualMachineRunCommandInner()
Initializes a new instance of the VirtualMachineRunCommandInner class.
public VirtualMachineRunCommandInner ();
Public Sub New ()
Applies to
VirtualMachineRunCommandInner(String, String, String, String, IDictionary<String,String>, VirtualMachineRunCommandScriptSource, IList<RunCommandInputParameter>, IList<RunCommandInputParameter>, Nullable<Boolean>, String, String, Nullable<Int32>, String, String, String, VirtualMachineRunCommandInstanceView)
Initializes a new instance of the VirtualMachineRunCommandInner class.
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)
Parameters
- location
- String
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
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.
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.
- 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
Azure SDK for .NET