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

VirtualMachineRunCommandScriptSource Class

Describes the script sources for run command.

Constructor

VirtualMachineRunCommandScriptSource(*, script: str | None = None, script_uri: str | None = None, command_id: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
script
str

Specifies the script content to be executed on the VM.

Default value: None
script_uri
str

Specifies the script download ___location.

Default value: None
command_id
str

Specifies a commandId of predefined built-in script.

Default value: None

Variables

Name Description
script
str

Specifies the script content to be executed on the VM.

script_uri
str

Specifies the script download ___location.

command_id
str

Specifies a commandId of predefined built-in script.