VirtualMachineRunCommandScriptSource Class

Describes the script sources for run command.

Inheritance
VirtualMachineRunCommandScriptSource

Constructor

VirtualMachineRunCommandScriptSource(*, script: Optional[str] = None, script_uri: Optional[str] = None, command_id: Optional[str] = None, **kwargs)

Parameters

script
str
Required

Specifies the script content to be executed on the VM.

script_uri
str
Required

Specifies the script download location.

command_id
str
Required

Specifies a commandId of predefined built-in script.