Skip to main content
Kinetic Community

Azure Virtual Machine Restart

This handler is used to restart a virtual machine within the Azure cloud

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

azure_vm_restart_v1

Detailed Description

This handler will utilize the Azure REST Management API to restart a VM. The authentication is handled via X509 key files uploaded to the Azure API Management portal.

For instructions on how to generate the key files/certificates for your implementation, please reference: https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-use-ssh-key/

The key files are stored in the handler/resources directory of the handler. you'll need to replace the files in this directory with the ones you generate.

 

Parameters

Name Description
Subscription ID The Azure Subscription ID.
VM Name
The Name of the Virtual Machine to be restarted.

Sample Configuration

Parameter Example Configuration
Subscription ID:  55c212bdee118e0662030003
VM Name:   kdtestmachine2

Results

Name Description
Output:   XML of the machine restart information

Change Log

Version Date Description
V1 2015-08-17 Initial Version