Udostępnij za pośrednictwem


RunCommandInput Constructors

Definition

Overloads

RunCommandInput()

Initializes a new instance of the RunCommandInput class.

RunCommandInput(String, IList<String>, IList<RunCommandInputParameter>)

Initializes a new instance of the RunCommandInput class.

RunCommandInput()

Initializes a new instance of the RunCommandInput class.

public RunCommandInput ();
Public Sub New ()

Applies to

RunCommandInput(String, IList<String>, IList<RunCommandInputParameter>)

Initializes a new instance of the RunCommandInput class.

public RunCommandInput (string commandId, System.Collections.Generic.IList<string> script = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.RunCommandInputParameter> parameters = default);
new Microsoft.Azure.Management.Compute.Models.RunCommandInput : string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.RunCommandInputParameter> -> Microsoft.Azure.Management.Compute.Models.RunCommandInput
Public Sub New (commandId As String, Optional script As IList(Of String) = Nothing, Optional parameters As IList(Of RunCommandInputParameter) = Nothing)

Parameters

commandId
String

The run command id.

script
IList<String>

Optional. The script to be executed. When this value is given, the given script will override the default script of the command.

parameters
IList<RunCommandInputParameter>

The run command parameters.

Applies to