Skip to main content
Kinetic Community

Azure Virtual Machine Delete

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

Downloads

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

azure_vm_delete_v1

Detailed Description

This handler will utilize the Azure REST Management API to delete 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.
Delete Storage Value to indicate if related storage should be deleted (true/false).

Sample Configuration

Parameter Example Configuration
Subscription ID:  55c212bdee118e0662030003
VM Name:   kdtestmachine2
Delete Storage false

Results

Name Description
Output:   XML of the machine delete information

Change Log

Version Date Description
V1 2015-08-17 Initial Version