props.put(VMTYPE, AzureVmType.valueOf(azureTemplate.getVmType()).vmType().replaceAll(" ", ""));
AzureClient azureClient = po.getNewAzureClient(azureCredential);
HttpResponseDecorator virtualMachineResponse = (HttpResponseDecorator) azureClient.createVirtualMachine(props);
String requestId = (String) azureClient.getRequestId(virtualMachineResponse);
waitUntilComplete(azureClient, requestId);
return Arrays.asList(new Resource(resourceType(), vmName, stack));
}