Skip to content
Proud to collaborate with Microsoft for Startups

cluster.delete-azure-vm ​

Delete a GCE VM-backed Kubernetes cluster by deleting its VM/MIG resource.

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-clusters-azure
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization UUID for audit and future connection cleanup.
azure_connection_uuiduuidYes—Azure CloudConnection UUID used for provider API calls.
kubernetes_connection_uuiduuidNo—Kubernetes CloudConnection UUID associated with the VM cluster.
resource_groupstringYes—Azure resource group.
zonestringYes—GCE zone; mapped to azure.compute.vm.delete region.
cluster_namestringNo—Logical Kubernetes cluster name.
vm_namestringYes—GCE VM/MIG name to delete.

Output Schema ​

FieldTypeRequiredDefaultDescription
validate_credentialsjsonNo—Output from azure.auth.validate_credentials.
vm_describejsonNo—Output from azure.compute.vm.describe.
organization_uuiduuidNo—Echoed organization UUID.
azure_connection_uuiduuidNo—Azure CloudConnection UUID used.
kubernetes_connection_uuiduuidNo—Associated Kubernetes CloudConnection UUID.
resource_groupstringNo—Azure resource group.
zonestringNo—GCE zone.
cluster_namestringNo—Logical Kubernetes cluster name.
vm_namestringNo—VM/MIG name.
deletedbooleanNo—Whether the VM/MIG was deleted.
existedbooleanNo—Whether the VM/MIG existed.
vm_deletejsonNo—Output from azure.compute.vm.delete.
failure_reasonstringNo—Engine failure reason.
failed_stepjsonNo—Failed DAG step.
failed_layerjsonNo—Failed DAG layer.
failed_at_statejsonNo—Failed state metadata.
errorstringNo—Error message.
error_typestringNo—Error class.
failure_typestringNo——
failed_actionstringNo——

DAG Layers ​

#LayerStepsCompensation
1preflightazure.auth.validate_credentials, azure.compute.vm.describe—
2deleteazure.compute.vm.delete—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
azure.auth.validate_credentialsvalidate_credentials
azure.compute.vm.describevm_describe
azure.compute.vm.deletevm_delete

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "cluster.delete-azure-vm",
  "initial_data": {
    "azure_connection_uuid": "value",
    "resource_group": "value",
    "zone": "value",
    "vm_name": "value"
  }
}