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

RunCommandDocument Class

Describes the properties of a Run Command.

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

Inheritance
azure.mgmt.compute.v2024_07_01.models._models_py3.RunCommandDocumentBase
RunCommandDocument

Constructor

RunCommandDocument(*, schema: str, id: str, os_type: str | _models.OperatingSystemTypes, label: str, description: str, script: List[str], parameters: List[_models.RunCommandParameterDefinition] | None = None, **kwargs: Any)

Keyword-Only Parameters

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.

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.