Share via


VirtualMachineRunCommandPropertiesOutput 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.

instanceView

The virtual machine run command instance view.

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.

provisioningState

The provisioning state, which only appears in the response.

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

instanceView

The virtual machine run command instance view.

instanceView?: VirtualMachineRunCommandInstanceViewOutput

Property Value

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?: RunCommandInputParameterOutput[]

Property Value

protectedParameters

The parameters used by the script.

protectedParameters?: RunCommandInputParameterOutput[]

Property Value

provisioningState

The provisioning state, which only appears in the response.

provisioningState?: string

Property Value

string

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?: VirtualMachineRunCommandScriptSourceOutput

Property Value

timeoutInSeconds

The timeout in seconds to execute the run command.

timeoutInSeconds?: number

Property Value

number