Azure VM

Run command

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Run a command on the VM.

Inputs

Expand All

Champ

Type

Description

resourceGroupName [required]

string

subscriptionId [required]

string

virtualMachineName [required]

string

commandId [required]

string

parameters

[object]

name [required]

string

The run command parameter name.

value [required]

string

The run command parameter value.

script

[string]

The script to be executed. When this value is given, the given script will override the default script of the command.

Outputs

Champ

Type

Description

status [required]

enum

The status of the requested asynchronous operation. Allowed enum values: notStarted,running,succeeded,canceled,failed

location [required]

string

The location URL. This can be used in GET requests to track the status of the requested asynchronous operation.