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

RunCommandDocument Class

Describes the properties of a Run Command.

Constructor

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

Variables

Name Description
schema
str

The VM run command schema. Required.

id
str

The VM run command id. Required.

os_type

The Operating System type. Required. Known values are: "Windows" and "Linux".

label
str

The VM run command label. Required.

description
str

The VM run command description. Required.

script

The script to be executed. Required.

parameters

The parameters used by the script.

Attributes

parameters

The parameters used by the script.

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

script

The script to be executed. Required.

script: list[str]