library
turbot/azure_thrifty
- Correct App Service Plans if unused
- Correct Compute disks attached to stopped VMs
- Correct Compute disks exceeding max size
- Correct Compute unattached disks
- Correct Compute disks with high IOPS
- Correct Compute disks with low usage
- Correct Compute snapshots exceeding max age
- Correct Compute snapshots with premium storage
- Correct Compute virtual machines exceeding max age
- Correct Compute virtual machines with low utilization
- Correct HDInsight clusters exceeding max age
- Correct Kubernetes clusters exceeding max age
- Correct Kusto clusters exceeding max age
- Correct Kusto clusters without autoscaling
- Correct Monitor log profiles without retention policy
- Correct Network application gateways without autoscaling
- Correct Network load balancers if unused
- Correct Network NAT gateways if unused
- Correct Network unattached public IPs
- Correct Network virtual network gateways if unused
- Correct one App Service Plan if unused
- Correct one Compute disks attached to stopped VMs
- Correct one Compute disk unattached
- Correct one Compute disk with high IOPS
- Correct one Compute disk with low usage
- Correct one Compute disk exceeding max size
- Correct one Compute snapshot exceeding max age
- Correct one Compute snapshot with premium storage
- Correct one Compute virtual machine exceeding max age
- Correct one Compute virtual machine with low utilization
- Correct one HDInsight cluster exceeding max age
- Correct one Kubernetes cluster exceeding max age
- Correct one Kusto cluster exceeding max age
- Correct one Kusto cluster without autoscaling
- Correct one Monitor log profile without retention policy
- Correct one Network application gateway without autoscaling
- Correct one Network load balancer if unused
- Correct one Network NAT gateway if unused
- Correct one Network unattached public IP
- Correct one Network virtual network gateway if unused
- Correct one Service Fabric cluster exceeding max age
- Correct one SQL database exceeding max age
- Correct one Storage account without lifecycle policy
- Correct one Compute virtual machine scale set if unused
- Correct Service Fabric clusters exceeding max age
- Correct SQL databases exceeding max age
- Correct Storage accounts without lifecycle policy
- Correct Compute virtual machine scale sets if unused
- Detect & correct App Service Plans if unused
- Detect & correct Compute disks attached to stopped VMs
- Detect & correct Compute disks unattached
- Detect & correct Compute disks with high IOPS
- Detect & correct Compute disk with low usage
- Detect & correct Compute snapshots exceeding max age
- Detect & correct Compute snapshots with premium storage
- Detect & correct Compute virtual machines exceeding max age
- Detect & correct Compute virtual machines with low utilization
- Detect & correct Compute disks exceeding max size
- Detect & correct HDInsight clusters exceeding max age
- Detect & correct Kubernetes clusters exceeding max age
- Detect & correct Kusto clusters exceeding max age
- Detect & correct Kusto clusters without autoscaling
- Detect & correct Monitor log profiles without retention policy
- Detect & correct Network application gateways without autoscaling
- Detect & correct Network load balancers if unused
- Detect & correct Network NAT gateways if unused
- Detect & correct Network unattached public IPs
- Detect & correct Network virtual network gateways if unused
- Detect & correct Service Fabric clusters exceeding max age
- Detect & correct SQL databases exceeding max age
- Detect & correct Storage accounts without lifecycle policy
- Detect & correct Compute virtual machine scale sets if unused
- Delete Compute Disk
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
cred | string | Yes | Name of the credential to be used for any authenticated actions. | azure |
subscription_id | string | Yes | Azure Subscription ID of the resource(s). | - |
resource_group | string | Yes | Azure Resource Group of the resource(s). | - |
snapshot_name | string | Yes | The name of the snapshot. | - |
disk_name | string | Yes | The name of the managed disk that is being deleted. | - |
Outputs
Name | Description |
---|---|
disk | The deleted compute disk details. |