RunCommandDocument Class

Describes the properties of a Run Command.

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

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

Constructor

RunCommandDocument(*, schema: str, id: str, os_type: Union[str, azure.mgmt.compute.v2021_04_01.models._compute_management_client_enums.OperatingSystemTypes], label: str, description: str, script: List[str], parameters: Optional[List[azure.mgmt.compute.v2021_04_01.models._models_py3.RunCommandParameterDefinition]] = None, **kwargs)

Parameters

schema
str
Required

Required. The VM run command schema.

id
str
Required

Required. The VM run command id.

os_type
str or OperatingSystemTypes
Required

Required. The Operating System type. Possible values include: "Windows", "Linux".

label
str
Required

Required. The VM run command label.

description
str
Required

Required. The VM run command description.

script
list[str]
Required

Required. The script to be executed.

parameters
list[RunCommandParameterDefinition]
Required

The parameters used by the script.