library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

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 'resource_group=<string>' \
--arg 'vm_name=<string>' \
--arg 'subscription_id=<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 = {
resource_group = <string>
vm_name = <string>
subscription_id = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
resource_groupstringYesAzure Resource Group. Examples: my-rg, my-rg-123.-
vm_namestringYesThe name of the Virtual Machine.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
subscription_idstringYesAzure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766.-

Outputs

NameDescription
virtual_machineThe stopped compute virtual machine.