library
turbot/azure
Get Involved
Version
Pipeline: Detach Compute Disk
Detach a managed disk from a VM.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run azure.pipeline.detach_compute_disk \ --arg 'subscription_id=<string>' \ --arg 'resource_group=<string>' \ --arg 'vm_name=<string>' \ --arg 'disk_name=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = azure.pipeline.detach_compute_disk args = { subscription_id = <string> resource_group = <string> vm_name = <string> disk_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. | - |
disk_name | string | Yes | The data disk name. | - |
Outputs
Name | Description |
---|---|
disk | The detached compute disk details. |