library
turbot/azure_thrifty

Delete Compute Disk

Delete a managed disk.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure_thrifty.pipeline.snapshot_and_delete_compute_disk \
--arg 'subscription_id=<string>' \
--arg 'resource_group=<string>' \
--arg 'snapshot_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_thrifty.pipeline.snapshot_and_delete_compute_disk
args = {
subscription_id = <string>
resource_group = <string>
snapshot_name = <string>
disk_name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesName of the credential to be used for any authenticated actions.azure
subscription_idstringYesAzure Subscription ID of the resource(s).-
resource_groupstringYesAzure Resource Group of the resource(s).-
snapshot_namestringYesThe name of the snapshot.-
disk_namestringYesThe name of the managed disk that is being deleted.-

Outputs

NameDescription
diskThe deleted compute disk details.