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

RunCommandInput 类

捕获虚拟机参数。

必须填充所有必需的参数才能发送到 Azure。

继承
azure.mgmt.compute._serialization.Model
RunCommandInput

构造函数

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

Keyword-Only Parameters

command_id
str

运行命令 ID。必需。

script
list[str]

可选。 要执行的脚本。 给定此值后,给定的脚本将替代命令的默认脚本。

parameters
list[RunCommandInputParameter]

运行命令参数。

变量

command_id
str

运行命令 ID。必需。

script
list[str]

可选。 要执行的脚本。 给定此值后,给定的脚本将替代命令的默认脚本。

parameters
list[RunCommandInputParameter]

运行命令参数。