Share via


RunCommandInput interface

Capture Virtual Machine parameters.

Properties

commandId

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.

parameters

The run command parameters.

script

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

Property Details

commandId

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.

commandId: string

Property Value

string

parameters

The run command parameters.

parameters?: RunCommandInputParameter[]

Property Value

script

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

script?: string[]

Property Value

string[]