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.v2022_03_01.models._models_py3.RunCommandDocumentBaseRunCommandDocument
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
|
The VM run command schema. Required. |
id
|
The VM run command id. Required. |
os_type
|
The Operating System type. Required. Known values are: "Windows" and "Linux". |
label
|
The VM run command label. Required. |
description
|
The VM run command description. Required. |
script
|
The script to be executed. Required. |
parameters
|
The parameters used by the script. |
Variables
Name | Description |
---|---|
schema
|
The VM run command schema. Required. |
id
|
The VM run command id. Required. |
os_type
|
The Operating System type. Required. Known values are: "Windows" and "Linux". |
label
|
The VM run command label. Required. |
description
|
The VM run command description. Required. |
script
|
The script to be executed. Required. |
parameters
|
The parameters used by the script. |
Azure SDK for Python