library
turbot/azure
Get Involved
Version
Pipeline: Test Start Compute Virtual Machine
Test the start_compute_virtual_machine pipeline.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run azure.pipeline.test_start_compute_virtual_machine \ --arg 'subscription_id=<string>' \ --arg 'resource_group=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = azure.pipeline.test_start_compute_virtual_machine args = { subscription_id = <string> resource_group = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.azure | Yes | Name of Azure connection to use. If not provided, the default Azure connection will be used. | connection.azure.default |
subscription_id | string | Yes | Azure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766. | - |
resource_group | string | Yes | Azure Resource Group. Examples: my-rg, my-rg-123. | - |
vm_name | string | Yes | The name of the Virtual Machine. | flowpipe-test-vm-8b5c3be3-e833-9a4d-b097-dc59e6549b97 |
vm_image | string | Yes | The OS image for the Virtual Machine. | Ubuntu2204 |
generate_ssh_keys | bool | Yes | Generate SSH keys for the Virtual Machine. | true |
no_wait | bool | Yes | Do not wait for the long-running operation to finish. | true |
Outputs
Name | Description |
---|---|
vm_name | The name of the Virtual Machine. |
create_compute_virtual_machine | Check for pipeline.create_compute_virtual_machine. |
stop_compute_virtual_machine | Check for pipeline.stop_compute_virtual_machine. |
start_compute_virtual_machine | Check for pipeline.start_compute_virtual_machine. |
delete_compute_virtual_machine | Check for pipeline.delete_compute_virtual_machine. |
Tags
folder = Tests