VirtualMachineRunCommand Class

Definition

Describes a Virtual Machine run command.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineRunCommand : Microsoft.Azure.Management.Compute.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualMachineRunCommand = class
    inherit Resource
Public Class VirtualMachineRunCommand
Inherits Resource
Inheritance
System.Object
VirtualMachineRunCommand
Attributes

Constructors

VirtualMachineRunCommand()

Initializes a new instance of the VirtualMachineRunCommand class.

VirtualMachineRunCommand(String, String, String, String, IDictionary<String,String>, VirtualMachineRunCommandScriptSource, IList<RunCommandInputParameter>, IList<RunCommandInputParameter>, Nullable<Boolean>, String, String, Nullable<Int32>, String, String, String, VirtualMachineRunCommandInstanceView)

Initializes a new instance of the VirtualMachineRunCommand class.

Properties

AsyncExecution

Gets or sets optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.

ErrorBlobUri

Gets or sets specifies the Azure storage blob where script error stream will be uploaded.

Id

Gets resource Id

(Inherited from Resource)
InstanceView

Gets the virtual machine run command instance view.

Location

Gets or sets resource location

(Inherited from Resource)
Name

Gets resource name

(Inherited from Resource)
OutputBlobUri

Gets or sets specifies the Azure storage blob where script output stream will be uploaded.

Parameters

Gets or sets the parameters used by the script.

ProtectedParameters

Gets or sets the parameters used by the script.

ProvisioningState

Gets the provisioning state, which only appears in the response.

RunAsPassword

Gets or sets specifies the user account password on the VM when executing the run command.

RunAsUser

Gets or sets specifies the user account on the VM when executing the run command.

Source

Gets or sets the source of the run command script.

Tags

Gets or sets resource tags

(Inherited from Resource)
TimeoutInSeconds

Gets or sets the timeout in seconds to execute the run command.

Type

Gets resource type

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to