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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET