Condividi tramite


ArmComputeModelFactory.RunCommandInput Method

Definition

Initializes a new instance of RunCommandInput.

public static Azure.ResourceManager.Compute.Models.RunCommandInput RunCommandInput (string commandId = default, System.Collections.Generic.IEnumerable<string> script = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.RunCommandInputParameter> parameters = default);
static member RunCommandInput : string * seq<string> * seq<Azure.ResourceManager.Compute.Models.RunCommandInputParameter> -> Azure.ResourceManager.Compute.Models.RunCommandInput
Public Shared Function RunCommandInput (Optional commandId As String = Nothing, Optional script As IEnumerable(Of String) = Nothing, Optional parameters As IEnumerable(Of RunCommandInputParameter) = Nothing) As RunCommandInput

Parameters

commandId
String

The run command id.

script
IEnumerable<String>

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

parameters
IEnumerable<RunCommandInputParameter>

The run command parameters.

Returns

A new RunCommandInput instance for mocking.

Applies to