Share via


RunCommandDocument Constructors

Definition

Overloads

RunCommandDocument()

Initializes a new instance of the RunCommandDocument class.

RunCommandDocument(String, String, OperatingSystemTypes, String, String, IList<String>, IList<RunCommandParameterDefinition>)

Initializes a new instance of the RunCommandDocument class.

RunCommandDocument()

Initializes a new instance of the RunCommandDocument class.

public RunCommandDocument ();
Public Sub New ()

Applies to

RunCommandDocument(String, String, OperatingSystemTypes, String, String, IList<String>, IList<RunCommandParameterDefinition>)

Initializes a new instance of the RunCommandDocument class.

public RunCommandDocument (string schema, string id, Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes osType, string label, string description, System.Collections.Generic.IList<string> script, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.RunCommandParameterDefinition> parameters = default);
new Microsoft.Azure.Management.Compute.Models.RunCommandDocument : string * string * Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.RunCommandParameterDefinition> -> Microsoft.Azure.Management.Compute.Models.RunCommandDocument
Public Sub New (schema As String, id As String, osType As OperatingSystemTypes, label As String, description As String, script As IList(Of String), Optional parameters As IList(Of RunCommandParameterDefinition) = Nothing)

Parameters

schema
String

The VM run command schema.

id
String

The VM run command id.

osType
OperatingSystemTypes

The Operating System type. Possible values include: 'Windows', 'Linux'

label
String

The VM run command label.

description
String

The VM run command description.

script
IList<String>

The script to be executed.

parameters
IList<RunCommandParameterDefinition>

The parameters used by the script.

Applies to