Task: Create an Azure VM
Prerequisites
Please ensure that the following Powershell Modules are installed: AzureRM.
Description
This task will create an Azure VM from a snapshot of an existing Azure VM.
Variables
Name | Description | Type | Example | Screenshot |
---|---|---|---|---|
Subscription ID | The ID of the Azure subscription. | String | 045c57ad-64f3-4044-ba06-62c6375g0686 | 1 |
API Key | The apiKey is the key of the api in HelloID. This key we use to make a connection to the HelloID environment. You could compare this to a username to login. | String | TYZAJTCEWBVBJXEPSFNXUVUBYEAJPPLA | 2 |
API Secret | The apiSecret is the secret of the api in HelloID. This secret we use to make a connection to the HelloID environment. You could compare this to a password to login. | String | dZqAfxYzLpethsgrzzwLgAVyDXcDSurG | 3 |
UserName | The variable UserName is used to connect to Azure. | String | {username}@{domainName} | 4 |
Password | The variable Password is used to connect to the Azure. | String | C0nNeCT@DP@ssW0rd! | 5 |
Prefix | The prefix will be used as part of the VM name. The HelloID groupname will be the same as the VM name. | String | {{requester.username}} | 6 |
Requester username | The username of the requester of the Azure VM. | String | {{requester.username}} | 7 |
Location | The location of the VM. | String | Westeurope | 8 |
Snapshot name | The name of the snapshot from which the VM will be created | String | SnapShotName | 9 |
Snapshot resource group | The resource group of the snapshot | String | SnapShotResourceGroup | 10 |