Share via


RunCommandInput Class

Capture Virtual Machine parameters.

All required parameters must be populated in order to send to server.

Constructor

RunCommandInput(*, command_id: str, script: list[str] | None = None, parameters: list['_models.RunCommandInputParameter'] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
command_id
str

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. Required.

script

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

Default value: None
parameters

The run command parameters.

Default value: None

Variables

Name Description
command_id
str

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. Required.

script

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

parameters

The run command parameters.