Skip to main content
Kinetic Community

Azure Virtual Machine Create - Government

This handler creates a virtual machine in Azure Government.

Downloads

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

azure_vm_create_v1.zip

 

Detailed Description

This handler uses the Azure Service Management API to create a virtual machine in Azure Government. 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 Name of the virtual machine to be created.
VM User User of the virtual machine.
Password Password for the user.
OS Type Linux or Windows operating system.
Image Image being used to create the virtual machine.
Location Region of the machine.
Cloud Service Name Name for the cloud service.
VM Size Size of machine.
Affinity Group Name  
Virtual Network Name  
Subnet Name  
Availability Set Name  
Endpoints Must be in XML format.
  • Sample Configuration

Name Description
Subscription ID 55c212bdee118e0662030003
VM Name kineticmachine
VM User kinetic
Password Password123
OS Type Linux
Image CentOS-7-GenericCloud-20160608
Location USGov Iowa
Cloud Service Name kineticcloud
VM Size Small
Affinity Group Name affinity1
Virtual Network Name vmnetwork
Subnet Name subnet1
Availability Set Name availability1
Endpoints <InputEndpoint>
  <LocalPort>998</LocalPort>
  <Name>test-1</Name>
 <Port>996</Port>
  <Protocol>TCP</Protocol>
</InputEndpoint>

Results

Name Description
Request ID The ID of the request is returned.

Change Log

Version Date Description
V1 2016-06-20 Initial Version