library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Create Virtual Machine

Create an Azure Virtual Machine.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure.pipeline.create_compute_virtual_machine \
--arg 'subscription_id=<string>' \
--arg 'resource_group=<string>' \
--arg 'vm_name=<string>' \
--arg 'vm_image=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = azure.pipeline.create_compute_virtual_machine
args = {
subscription_id = <string>
resource_group = <string>
vm_name = <string>
vm_image = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.azure
YesName of Azure connection to use. If not provided, the default Azure connection will be used.connection.azure.default
subscription_id
string
YesAzure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766.-
resource_group
string
YesAzure Resource Group. Examples: my-rg, my-rg-123.-
vm_name
string
YesName of the virtual machine.-
vm_image
string
YesThe name of the operating system image as a URN alias, URN, custom image name or ID, custom image version ID, or VHD blob URI.-
admin_username
string
NoUsername for the VM. Default value is current username of OS.-
admin_password
string
NoPassword for the VM if authentication type is 'Password'.-
location
string
NoLocation in which to create VM and related resources. Default to the resource group's location.-
vm_size
string
NoThe VM size to be created.-
authentication_type
string
NoType of authentication to use with the VM.-
network_security_group_name
string
NoThe name to use when creating a new Network Security Group (default) or referencing an existing one.-
generate_ssh_keys
bool
NoGenerate SSH public and private key files if missing.-
no_wait
bool
NoDo not wait for the long-running operation to finish.-

Outputs

NameDescription
virtual_machineThe created compute virtual machine details.

Tags

recommended = true