library
turbot/azure
Get Involved
Version
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
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. | - |
Outputs
Name | Description |
---|---|
virtual_machine | The stopped compute virtual machine. |
Tags
recommended = true