Share via


VirtualMachineRunCommandProperties interface

Describes the properties of a Virtual Machine run command.

Properties

asyncExecution

Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.

errorBlobUri

Specifies the Azure storage blob where script error stream will be uploaded.

outputBlobUri

Specifies the Azure storage blob where script output stream will be uploaded.

parameters

The parameters used by the script.

protectedParameters

The parameters used by the script.

runAsPassword

Specifies the user account password on the VM when executing the run command.

runAsUser

Specifies the user account on the VM when executing the run command.

source

The source of the run command script.

timeoutInSeconds

The timeout in seconds to execute the run command.

Property Details

asyncExecution

Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.

asyncExecution?: boolean

Property Value

boolean

errorBlobUri

Specifies the Azure storage blob where script error stream will be uploaded.

errorBlobUri?: string

Property Value

string

outputBlobUri

Specifies the Azure storage blob where script output stream will be uploaded.

outputBlobUri?: string

Property Value

string

parameters

The parameters used by the script.

parameters?: RunCommandInputParameter[]

Property Value

protectedParameters

The parameters used by the script.

protectedParameters?: RunCommandInputParameter[]

Property Value

runAsPassword

Specifies the user account password on the VM when executing the run command.

runAsPassword?: string

Property Value

string

runAsUser

Specifies the user account on the VM when executing the run command.

runAsUser?: string

Property Value

string

source

The source of the run command script.

source?: VirtualMachineRunCommandScriptSource

Property Value

timeoutInSeconds

The timeout in seconds to execute the run command.

timeoutInSeconds?: number

Property Value

number