library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

Update Compute Virtual Machine

Update the properties of a VM.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure.pipeline.update_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.update_compute_virtual_machine
args = {
subscription_id = <string>
resource_group = <string>
vm_name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
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.-
resource_groupstringYesAzure Resource Group. Examples: my-rg, my-rg-123.-
vm_namestringYesThe name of the Virtual Machine.-
set_tagsmap(any)NoThe Virtual Machine Tags which are need to be set or update. Example tagKey:tagValue.-
license_typestringNoSpecifies that the Windows image or disk was licensed on-premises.-

Outputs

NameDescription
virtual_machineThe updated compute virtual machine.