Share via


VirtualMachineRunCommandInner Class

Definition

Describes a Virtual Machine run command.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineRunCommandInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualMachineRunCommandInner = class
    inherit Resource
Public Class VirtualMachineRunCommandInner
Inherits Resource
Inheritance
VirtualMachineRunCommandInner
Attributes

Constructors

VirtualMachineRunCommandInner()

Initializes a new instance of the VirtualMachineRunCommandInner class.

VirtualMachineRunCommandInner(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 VirtualMachineRunCommandInner 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

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
InstanceView

Gets the virtual machine run command instance view.

Location

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
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

Resource tags

(Inherited from Resource)
TimeoutInSeconds

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

Type

Resource type

(Inherited from ProxyResource)

Methods

Validate()

Validate the object.

Applies to