AzureCompute: Restart VM
Description
This step restarts a running virtual machine on Azure. You specify the subscription ID, resource group, and virtual machine name. Use this step in workflows that need to apply configuration changes, recover from performance issues, or perform scheduled restarts as part of routine maintenance.
Permissions
- Microsoft.Resources/subscriptions/resourceGroups/read
- Microsoft.Compute/virtualMachines/read
- Microsoft.Compute/virtualMachines/restart/action
API Reference: Restart Virtual Machine
Configurations
| Field name | Description |
|---|---|
| Step name | Specify a unique name for the step. |
| CONNECTION tab: | Connection fields |
| Tenant ID | Specify the Tenant ID of Microsoft Account. Data type is String. The field is mandatory. |
| Client ID | Specify the Client ID of the application created in Microsoft Account. Data type is String. The field is mandatory. |
| Client Secret | Specify the Client Secret generated in Microsoft Account. Data type is Secure String. The field is mandatory. |
| Button: Test Connection | Click Test Connection button to verify whether the connection is available or not. |
| INPUT tab: | Input Fields |
| Subscription ID | Specify the subscription ID that uniquely identifies the Microsoft Azure Subscription. Data type is String. The field is mandatory. |
| Resource Group | Specify the name of the resource group. Data type is String. The field is mandatory. Note: Button: Get Click to populate the list of available resource groups. To populate the list, user must specify a valid subscription ID. |
| Virtual Machine Name | Specify the name of the virtual machine you want to restart. Data type is String. The field is mandatory. Note: Click to populate the list of available virtual machines. To populate the list, user must specify a valid resource group and subscription ID. |