library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Stop Compute Virtual Machine

Power off (stop) a running VM.

Run the pipeline

To run this pipeline from your terminal:

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

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = azure.pipeline.stop_compute_virtual_machine
args = {
subscription_id = <string>
resource_group = <string>
vm_name = <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
YesThe name of the Virtual Machine.-

Outputs

NameDescription
virtual_machineThe stopped compute virtual machine.

Tags

recommended = true