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

RunCommandInput Class

Capture Virtual Machine parameters.

Constructor

RunCommandInput(*args: Any, **kwargs: Any)

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.

Attributes

command_id

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.

command_id: str

parameters

The run command parameters.

parameters: list['_models.RunCommandInputParameter'] | None

script

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

script: list[str] | None