library
turbot/azure
Get Involved
Version
Pipeline: Resize Compute Virtual Machine
Resize the properties of a VM.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run azure.pipeline.resize_compute_virtual_machine \ --arg 'subscription_id=<string>' \ --arg 'resource_group=<string>' \ --arg 'vm_name=<string>' \ --arg 'new_size=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = azure.pipeline.resize_compute_virtual_machine args = { subscription_id = <string> resource_group = <string> vm_name = <string> new_size = <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. | - |
new_size | string | Yes | The new size for the Virtual Machine. | - |
Outputs
Name | Description |
---|---|
virtual_machine | The resized compute virtual machine. |