ArmComputeModelFactory.RunCommandInput Method
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.
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
Specifies a commandId of predefined built-in script. Command IDs available for Linux are listed at https://aka.ms/RunCommandManagedLinux#available-commands, Windows at https://aka.ms/RunCommandManagedWindows#available-commands.
- 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.