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.v2017_03_30.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.