你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.