{
    "task_id": "4aa78495-f592-4919-b098-32c6b53d4746",
    "success": true,
    "error": null,
    "start_time": "2025-03-27T12:56:08.177436",
    "end_time": "2025-03-27T13:02:33.286827",
    "steps_taken": 7,
    "episodes": 4,
    "final_state": {
      "clusters": {},
      "tidbnodegroups": {},
      "private_endpoint_connections": {},
      "public_endpoint_setting": {},
      "private_link_services": {},
      "vpcs": {
        "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
          "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
          "state": "Succeeded",
          "references": [],
          "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
        }
      },
      "vpc_endpoints": {}
    },
    "transitions": [
      {
        "generation_id": "4aa78495-f592-4919-b098-32c6b53d4746",
        "operation_id": "ClusterService_CreateCluster",
        "state_before": {
          "clusters": {},
          "tidbnodegroups": {},
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": {
                "addressPrefix": "10.0.1.0/24",
                "delegations": [],
                "etag": "W/\"cfe220db-8483-4dc3-a7c5-f29f864d8479\"",
                "id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet",
                "name": "openapi-test-subnet",
                "privateEndpointNetworkPolicies": "Disabled",
                "privateLinkServiceNetworkPolicies": "Enabled",
                "provisioningState": "Succeeded",
                "resourceGroup": "openapi-test",
                "type": "Microsoft.Network/virtualNetworks/subnets"
              },
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "state_after": {
          "clusters": {
            "10899341031126750090": {
              "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"CREATING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:56:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "CREATING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "0": {
              "attributes": "{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": "10899341031126750090"
            }
          },
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "request": {
          "request_type": "http",
          "request": "{\"method\": \"POST\", \"path\": \"/clusters\", \"headers\": {}, \"query_params\": {}, \"body\": {\"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"nodeCount\": 1}]}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\"}, \"port\": 4000, \"rootPassword\": \"my-shining-password\"}, \"auth\": {\"auth_type\": \"digest\", \"content\": \"01GPB7L0:1a5bc2d1-70db-4621-aa82-91f2314123bc\"}}",
          "expect": null,
          "max_retries": 0,
          "delay_after": 0
        },
        "response": {
          "status_code": 200,
          "json": {
            "name": "clusters/10899341031126750090",
            "clusterId": "10899341031126750090",
            "displayName": "llm-e2e-cluster-1234",
            "regionId": "azure-eastus2",
            "labels": {
              "tidb.cloud/organization": "1369847559692509562",
              "tidb.cloud/project": "1369847559694040595"
            },
            "tidbNodeSetting": {
              "nodeSpecKey": "2C8G",
              "tidbNodeGroups": [
                {
                  "name": "tidbNodeGroups/0",
                  "tidbNodeGroupId": "0",
                  "clusterId": "10899341031126750090",
                  "displayName": "",
                  "nodeCount": 1,
                  "endpoints": [],
                  "nodeSpecKey": "2C8G",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                  "isDefaultGroup": false,
                  "state": "MODIFYING"
                }
              ],
              "nodeSpecDisplayName": "2 vCPU, 8 GiB"
            },
            "tikvNodeSetting": {
              "nodeCount": 3,
              "nodeSpecKey": "2C8G",
              "storageSizeGi": 200,
              "storageType": "Basic",
              "nodeSpecDisplayName": "2 vCPU, 8 GiB"
            },
            "port": 4000,
            "rootPassword": "",
            "state": "CREATING",
            "version": "v8.1.2",
            "createdBy": "apikey-01GPB7L0",
            "createTime": "2025-03-27T04:56:24.568Z",
            "updateTime": "2025-03-27T04:56:24.568Z",
            "regionDisplayName": "Virginia (eastus2)",
            "cloudProvider": "azure",
            "annotations": {
              "tidb.cloud/available-features": "",
              "tidb.cloud/has-set-password": "true"
            }
          },
          "headers": {},
          "error": null
        },
        "status_code": 200,
        "operation_selection": {
          "input": {
            "current_state": {
              "clusters": {},
              "tidbnodegroups": {},
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": {
                    "addressPrefix": "10.0.1.0/24",
                    "delegations": [],
                    "etag": "W/\"cfe220db-8483-4dc3-a7c5-f29f864d8479\"",
                    "id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet",
                    "name": "openapi-test-subnet",
                    "privateEndpointNetworkPolicies": "Disabled",
                    "privateLinkServiceNetworkPolicies": "Enabled",
                    "provisioningState": "Succeeded",
                    "resourceGroup": "openapi-test",
                    "type": "Microsoft.Network/virtualNetworks/subnets"
                  },
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "create a cluster where displayName matches 'llm-e2e-cluster-[a-zA-Z0-9]{4}' with 1 TiDB(2C8G) node, 3 TiKV(2C8G,200G) nodes and no TiFlash"
            },
            "feedback": {
              "execution_analyzer": null,
              "attempts": 0,
              "target_matcher": null,
              "response": null
            }
          },
          "output": {
            "reason": "The target operation is to create a cluster with specific node configurations. The current state shows that there are no existing clusters, which means we need to create a new cluster. There are no transitional states or dependencies that need to be resolved before creating a cluster. Therefore, the most appropriate operation to move towards the target operation is to create a cluster directly.",
            "operation_id": "ClusterService_CreateCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_CreateCluster",
            "current_state": {
              "clusters": {},
              "tidbnodegroups": {},
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": {
                    "addressPrefix": "10.0.1.0/24",
                    "delegations": [],
                    "etag": "W/\"cfe220db-8483-4dc3-a7c5-f29f864d8479\"",
                    "id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet",
                    "name": "openapi-test-subnet",
                    "privateEndpointNetworkPolicies": "Disabled",
                    "privateLinkServiceNetworkPolicies": "Enabled",
                    "provisioningState": "Succeeded",
                    "resourceGroup": "openapi-test",
                    "type": "Microsoft.Network/virtualNetworks/subnets"
                  },
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "create a cluster where displayName matches 'llm-e2e-cluster-[a-zA-Z0-9]{4}' with 1 TiDB(2C8G) node, 3 TiKV(2C8G,200G) nodes and no TiFlash"
            },
            "feedback": "{\"execution_analyzer\": null, \"attempts\": 0, \"target_matcher\": null, \"response\": null}"
          },
          "output": {
            "request": {
              "method": "POST",
              "path": "/clusters",
              "path_params": null,
              "query_params": null,
              "headers": null,
              "body": "{\"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"nodeCount\": 1}]}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\"}, \"port\": 4000, \"rootPassword\": \"my-shining-password\"}"
            },
            "description": "Create a new TiDB cluster with the specified configuration: 1 TiDB node with 2C8G, 3 TiKV nodes with 2C8G and 200G storage, and no TiFlash.",
            "expect": null,
            "request_type": "http"
          }
        },
        "execution_analysis": {
          "input": {
            "request": {
              "method": "POST",
              "path": "/clusters",
              "path_params": "{}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"displayName\": \"llm-e2e-cluster-1234\",\n  \"regionId\": \"azure-eastus2\",\n  \"labels\": {\n    \"tidb.cloud/project\": \"1369847559694040595\"\n  },\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"2C8G\",\n    \"tidbNodeGroups\": [\n      {\n        \"nodeCount\": 1\n      }\n    ]\n  },\n  \"tikvNodeSetting\": {\n    \"nodeCount\": 3,\n    \"nodeSpecKey\": \"2C8G\",\n    \"storageSizeGi\": 200,\n    \"storageType\": \"Basic\"\n  },\n  \"port\": 4000,\n  \"rootPassword\": \"my-shining-password\"\n}"
            },
            "response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10899341031126750090",
                "clusterId": "10899341031126750090",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "2C8G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/0",
                      "tidbNodeGroupId": "0",
                      "clusterId": "10899341031126750090",
                      "displayName": "",
                      "nodeCount": 1,
                      "endpoints": [],
                      "nodeSpecKey": "2C8G",
                      "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                      "isDefaultGroup": false,
                      "state": "MODIFYING"
                    }
                  ],
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "2C8G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "CREATING",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T04:56:24.568Z",
                "updateTime": "2025-03-27T04:56:24.568Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "prev_state": {
              "clusters": {},
              "tidbnodegroups": {},
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": {
                    "addressPrefix": "10.0.1.0/24",
                    "delegations": [],
                    "etag": "W/\"cfe220db-8483-4dc3-a7c5-f29f864d8479\"",
                    "id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet",
                    "name": "openapi-test-subnet",
                    "privateEndpointNetworkPolicies": "Disabled",
                    "privateLinkServiceNetworkPolicies": "Enabled",
                    "provisioningState": "Succeeded",
                    "resourceGroup": "openapi-test",
                    "type": "Microsoft.Network/virtualNetworks/subnets"
                  },
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"CREATING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:56:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "CREATING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "0": {
                  "attributes": "{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "create a cluster where displayName matches 'llm-e2e-cluster-[a-zA-Z0-9]{4}' with 1 TiDB(2C8G) node, 3 TiKV(2C8G,200G) nodes and no TiFlash"
            },
            "available_operations": {
              "ClusterService_ListClusters": {
                "description": "List clusters",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_CreateCluster": {
                "description": "Create a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetCluster": {
                "description": "Get a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_DeleteCluster": {
                "description": "Delete a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_UpdateCluster": {
                "description": "Update a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_PauseCluster": {
                "description": "Pause a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResumeCluster": {
                "description": "Resume a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResetRootPassword": {
                "description": "Reset the root password of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ListNodeInstances": {
                "description": "List node instances",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetNodeInstance": {
                "description": "Get a node instance",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ShowNodeQuota": {
                "description": "Show node quota across the caller's organization",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListRegions": {
                "description": "List regions for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetRegion": {
                "description": "Get a region",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ShowCloudProviders": {
                "description": "Show cloud providers for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListNodeSpecs": {
                "description": "List node specs for creating or scaling a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetNodeSpec": {
                "description": "Get a node spec",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_CreateTidbNodeGroup": {
                "description": "Create a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_ListTidbNodeGroups": {
                "description": "List TiDB Node Groups",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetTidbNodeGroup": {
                "description": "Get a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_DeleteTidbNodeGroup": {
                "description": "Delete a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdateTidbNodeGroup": {
                "description": "Update a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetPublicEndpointSetting": {
                "description": "Get the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdatePublicEndpointSetting": {
                "description": "Update the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateLinkService": {
                "description": "Get the private link service of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_CreatePrivateEndpointConnection": {
                "description": "Create a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_ListPrivateEndpointConnections": {
                "description": "List private endpoint connections",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateEndpointConnection": {
                "description": "Get a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_DeletePrivateEndpointConnection": {
                "description": "Delete a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListNetworkContainers": {
                "description": "List network containers",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateNetworkContainer": {
                "description": "Create a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetNetworkContainer": {
                "description": "Get a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteNetworkContainer": {
                "description": "Delete a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListVpcPeerings": {
                "description": "List VPC peerings",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateVpcPeering": {
                "description": "Create a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetVpcPeering": {
                "description": "Get a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteVpcPeering": {
                "description": "Delete a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceWindow": {
                "description": "Get a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceWindows": {
                "description": "List maintenance windows",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceWindow": {
                "description": "Update a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceTasks": {
                "description": "List maintenance tasks",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceTask": {
                "description": "Get a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceTask": {
                "description": "Update a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogConfig": {
                "description": "Create the audit log config for a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_UpdateAuditLogConfig": {
                "description": "Update the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogConfig": {
                "description": "Get the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogFilterRule": {
                "description": "Create an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogFilterRule": {
                "description": "Get an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_DeleteAuditLogFilterRule": {
                "description": "Delete an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ListAuditLogFilterRules": {
                "description": "List audit log filter rules",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ShowObjectStorageAccessIamPrincipal": {
                "description": "Show IAM principal of TiDB Cloud for accessing customer's object storage",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_QueryAuditLogFiles": {
                "description": "Query audit log files",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GenerateAuditLogFileDownloadAddress": {
                "description": "Generate the download address for an audit log file, the address have an 15 minutes expiration time",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "network create": {
                "description": "Create and start a packet capture session.",
                "type": "azure_cli"
              },
              "network delete": {
                "description": "Delete a packet capture session.",
                "type": "azure_cli"
              },
              "network list": {
                "description": "List Network Watchers.",
                "type": "azure_cli"
              },
              "network show": {
                "description": "Get the results of the last troubleshooting operation.",
                "type": "azure_cli"
              },
              "network update": {
                "description": "Update the flow log configuration of a network security",
                "type": "azure_cli"
              },
              "network wait": {
                "description": "Place the CLI in a waiting state until a condition is",
                "type": "azure_cli"
              },
              "network add": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network remove": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network assign": {
                "description": "Assign/Update AAD(Azure Active Directory) authentication to",
                "type": "azure_cli"
              },
              "network list-server-variables": {
                "description": "List all available",
                "type": "azure_cli"
              },
              "network list-request-headers": {
                "description": "List all available request",
                "type": "azure_cli"
              },
              "network list-response-headers": {
                "description": "List all available response",
                "type": "azure_cli"
              },
              "network list-options": {
                "description": "List available SSL options for",
                "type": "azure_cli"
              },
              "network set": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-dynamic-rule-sets": {
                "description": "List the regional application",
                "type": "azure_cli"
              },
              "network list-rule-sets": {
                "description": "Get information on available WAF rule",
                "type": "azure_cli"
              },
              "network show-backend-health": {
                "description": "Get information on the backend health of an",
                "type": "azure_cli"
              },
              "network start": {
                "description": "Troubleshoot issues with VPN connections or gateway",
                "type": "azure_cli"
              },
              "network stop": {
                "description": "Stop a running packet capture session.",
                "type": "azure_cli"
              },
              "network add-record": {
                "description": "Add a TXT record.",
                "type": "azure_cli"
              },
              "network remove-record": {
                "description": "Remove a TXT record from its record set.",
                "type": "azure_cli"
              },
              "network set-record": {
                "description": "Set the value of a CNAME record.",
                "type": "azure_cli"
              },
              "network export": {
                "description": "Export a Private DNS zone as a DNS zone file.",
                "type": "azure_cli"
              },
              "network import": {
                "description": "Create a Private DNS zone using a DNS zone file.",
                "type": "azure_cli"
              },
              "network list-references": {
                "description": "Returns the DNS records specified by the referencing",
                "type": "azure_cli"
              },
              "network get-stats": {
                "description": "Get the statistics of an ExpressRoute circuit.",
                "type": "azure_cli"
              },
              "network generate-loa": {
                "description": "Generate and download a letter of authorization for",
                "type": "azure_cli"
              },
              "network list-arp-tables": {
                "description": "Show the current Address Resolution Protocol (ARP)",
                "type": "azure_cli"
              },
              "network list-route-tables": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-route-tables-summary": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-service-providers": {
                "description": "List available ExpressRoute service providers.",
                "type": "azure_cli"
              },
              "network list-mapping": {
                "description": "List inbound NAT rule port mappings.",
                "type": "azure_cli"
              },
              "network list-nic": {
                "description": "List associated load balancer network interfaces.",
                "type": "azure_cli"
              },
              "network list-effective-nsg": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-traffic-filter-",
                "type": "azure_cli"
              },
              "network show-effective-route-table": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-routing-",
                "type": "azure_cli"
              },
              "network list-types": {
                "description": "Returns all of the resource types that can be linked to",
                "type": "azure_cli"
              },
              "network approve": {
                "description": "Approve a private endpoint connection.",
                "type": "azure_cli"
              },
              "network reject": {
                "description": "Reject a private endpoint connection.",
                "type": "azure_cli"
              },
              "network list-auto-approved": {
                "description": "List all of the private link service ids",
                "type": "azure_cli"
              },
              "network list-service-communities": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-advertised-routes": {
                "description": "List the routes of a virtual network gateway",
                "type": "azure_cli"
              },
              "network list-learned-routes": {
                "description": "This operation retrieves a list of routes the",
                "type": "azure_cli"
              },
              "network show-geographic-hierarchy": {
                "description": "Get the default geographic",
                "type": "azure_cli"
              },
              "network check-dns": {
                "description": "Check the availability of a relative DNS name.",
                "type": "azure_cli"
              },
              "network restart": {
                "description": "Restarts one or more VMs belonging to the specified",
                "type": "azure_cli"
              },
              "network sync": {
                "description": "Sync a virtual network peering connection.",
                "type": "azure_cli"
              },
              "network list-available-delegations": {
                "description": "List the services available for subnet",
                "type": "azure_cli"
              },
              "network list-available-ips": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network check-ip-address": {
                "description": "Check if a private IP address is available for use within a",
                "type": "azure_cli"
              },
              "network list-endpoint-services": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "network clear": {
                "description": "Delete all IPsec policies on a VPN connection.",
                "type": "azure_cli"
              },
              "network generate": {
                "description": "Generate VPN client configuration.",
                "type": "azure_cli"
              },
              "network show-health": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-url": {
                "description": "Retrieve a pre-generated VPN client configuration.",
                "type": "azure_cli"
              },
              "network disconnect-vpn-connections": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-bgp-peer-status": {
                "description": "Retrieve the status of BGP peers.",
                "type": "azure_cli"
              },
              "network reset": {
                "description": "Reset a VPN connection shared key.",
                "type": "azure_cli"
              },
              "network show-supported-devices": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-ike-sas": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-device-config-script": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network query": {
                "description": "Query a snapshot of the most recent connection",
                "type": "azure_cli"
              },
              "network show-status": {
                "description": "Show the status of a packet capture session.",
                "type": "azure_cli"
              },
              "network configure": {
                "description": "Configure the Network Watcher service for different regions.",
                "type": "azure_cli"
              },
              "network run-configuration-diagnostic": {
                "description": "Run a configuration diagnostic on a target",
                "type": "azure_cli"
              },
              "network show-next-hop": {
                "description": "//learn.microsoft.com/en-us/azure/network-",
                "type": "azure_cli"
              },
              "network show-security-group-view": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network show-topology": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network test-connectivity": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network test-ip-flow": {
                "description": "//learn.microsoft.com/en-us/azure/network-watcher/diagnose-vm-",
                "type": "azure_cli"
              },
              "network list-service-aliases": {
                "description": "List available service aliases in the region which can be used",
                "type": "azure_cli"
              },
              "network list-service-tags": {
                "description": "//learn.microsoft.com/azure/virtual-network/security-overview#service-tags. Note that",
                "type": "azure_cli"
              },
              "network list-usages": {
                "description": "List the number of network resources in a region that are used against",
                "type": "azure_cli"
              },
              "vm list": {
                "description": "//learn.microsoft.com/cli/azure/query-az-cli2.",
                "type": "azure_cli"
              },
              "vm set": {
                "description": "Configure settings of a NIC attached to a VM.",
                "type": "azure_cli"
              },
              "vm convert": {
                "description": "Convert a VM with unmanaged disks to use managed disks.",
                "type": "azure_cli"
              },
              "vm create": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm delete": {
                "description": "Delete a VM.",
                "type": "azure_cli"
              },
              "vm list-sizes": {
                "description": "List available sizes for VMs.",
                "type": "azure_cli"
              },
              "vm show": {
                "description": "Get the details of a VM.",
                "type": "azure_cli"
              },
              "vm update": {
                "description": "Update the properties of a VM.",
                "type": "azure_cli"
              },
              "vm disable": {
                "description": "Disable disk encryption on the OS disk and/or data disks. Decrypt",
                "type": "azure_cli"
              },
              "vm enable": {
                "description": "//learn.microsoft.com/azure/security/fundamentals/azure-disk-encryption-vms-vmss.",
                "type": "azure_cli"
              },
              "vm get-boot-log": {
                "description": "Get the boot diagnostics log from a VM.",
                "type": "azure_cli"
              },
              "vm get-boot-log-uris": {
                "description": "Get SAS URIs for a virtual machine's boot diagnostic",
                "type": "azure_cli"
              },
              "vm get-default-config": {
                "description": "Get the default configuration settings for a VM.",
                "type": "azure_cli"
              },
              "vm attach": {
                "description": "Attach an unmanaged persistent disk to a VM.",
                "type": "azure_cli"
              },
              "vm detach": {
                "description": "Detach an unmanaged disk from a VM.",
                "type": "azure_cli"
              },
              "vm list-names": {
                "description": "List the names of available extensions.",
                "type": "azure_cli"
              },
              "vm list-versions": {
                "description": "List the versions for available extensions.",
                "type": "azure_cli"
              },
              "vm wait": {
                "description": "Place the CLI in a waiting state until a condition of the VM is met.",
                "type": "azure_cli"
              },
              "vm get-instance-view": {
                "description": "Get instance information about a VM.",
                "type": "azure_cli"
              },
              "vm list-resize-options": {
                "description": "The dedicated host sizes provided can be used to only scale",
                "type": "azure_cli"
              },
              "vm redeploy": {
                "description": "Redeploy an existing VM.",
                "type": "azure_cli"
              },
              "vm resize": {
                "description": "Update a VM's size.",
                "type": "azure_cli"
              },
              "vm restart": {
                "description": "Restart VMs.",
                "type": "azure_cli"
              },
              "vm assign": {
                "description": "Enable managed service identity on a VM.",
                "type": "azure_cli"
              },
              "vm remove": {
                "description": "Remove a secret from a VM.",
                "type": "azure_cli"
              },
              "vm accept": {
                "description": "Accept Azure Marketplace image terms so that the image can be used to",
                "type": "azure_cli"
              },
              "vm cancel": {
                "description": "Cancel Azure Marketplace image terms.",
                "type": "azure_cli"
              },
              "vm accept-terms": {
                "description": "This command has been deprecated and will be removed in version '3.0.0'. Use 'az vm",
                "type": "azure_cli"
              },
              "vm list-offers": {
                "description": "List the VM image offers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-publishers": {
                "description": "List the VM image publishers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-skus": {
                "description": "Get details for compute-related resource SKUs.",
                "type": "azure_cli"
              },
              "vm list-definitions": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm tail": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm add": {
                "description": "//learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)",
                "type": "azure_cli"
              },
              "vm invoke": {
                "description": "Execute a specific run command on a vm.",
                "type": "azure_cli"
              },
              "vm format": {
                "description": "Transform secrets into a form that can be used by VMs and VMSSes.",
                "type": "azure_cli"
              },
              "vm reset-ssh": {
                "description": "Reset the SSH configuration on a VM.",
                "type": "azure_cli"
              },
              "vm assess-patches": {
                "description": "Assess patches on a VM.",
                "type": "azure_cli"
              },
              "vm auto-shutdown": {
                "description": "Manage auto-shutdown for VM.",
                "type": "azure_cli"
              },
              "vm capture": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm deallocate": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm generalize": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm install-patches": {
                "description": "Install patches on a VM.",
                "type": "azure_cli"
              },
              "vm list-ip-addresses": {
                "description": "List IP addresses associated with a VM.",
                "type": "azure_cli"
              },
              "vm list-usage": {
                "description": "List available usage resources for VMs.",
                "type": "azure_cli"
              },
              "vm list-vm-resize-options": {
                "description": "List available resizing options for VMs.",
                "type": "azure_cli"
              },
              "vm open-port": {
                "description": "Opens a VM to inbound traffic on specified ports.",
                "type": "azure_cli"
              },
              "vm perform-maintenance": {
                "description": "The operation to perform maintenance on a virtual machine.",
                "type": "azure_cli"
              },
              "vm reapply": {
                "description": "Reapply VMs.",
                "type": "azure_cli"
              },
              "vm reimage": {
                "description": "The retaining of old OS disk depends on the value of deleteOption of OS",
                "type": "azure_cli"
              },
              "vm simulate-eviction": {
                "description": "Simulate the eviction of a Spot VM.",
                "type": "azure_cli"
              },
              "vm start": {
                "description": "Start a stopped VM.",
                "type": "azure_cli"
              },
              "vm stop": {
                "description": "Power off (stop) a running VM.",
                "type": "azure_cli"
              }
            },
            "operation_spec": {
              "paths": {
                "/clusters": {
                  "post": {
                    "summary": "Create a cluster",
                    "operationId": "ClusterService_CreateCluster",
                    "responses": {
                      "200": {
                        "description": "A successful response.",
                        "schema": {
                          "$ref": "#/definitions/tidb_cloud_open_apidedicatedv1beta1Cluster"
                        }
                      },
                      "400": {
                        "description": "Bad Request",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "401": {
                        "description": "Unauthorized",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "403": {
                        "description": "Forbidden",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "429": {
                        "description": "Too Many Requests",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "500": {
                        "description": "Internal Server Error",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "default": {
                        "description": "An unexpected error response.",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      }
                    },
                    "parameters": [
                      {
                        "name": "cluster",
                        "description": "Required.",
                        "in": "body",
                        "required": true,
                        "schema": {
                          "$ref": "#/definitions/tidb_cloud_open_apidedicatedv1beta1Cluster"
                        }
                      },
                      {
                        "name": "validateOnly",
                        "description": "if validate_only is true, the request will be validated but not executed.",
                        "in": "query",
                        "required": false,
                        "type": "boolean"
                      }
                    ],
                    "tags": [
                      "ClusterService"
                    ]
                  }
                }
              },
              "components": {
                "schemas": {
                  "tidb_cloud_open_apidedicatedv1beta1Cluster": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "The name of TiDB cluster resource.\nFormat: clusters/{cluster_id}",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The unique ID of the cluster.",
                        "readOnly": true
                      },
                      "displayName": {
                        "type": "string",
                        "example": "foo-bar",
                        "description": "The display name of the cluster.",
                        "maxLength": 64,
                        "minLength": 4,
                        "pattern": "^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$"
                      },
                      "regionId": {
                        "type": "string",
                        "title": "Required. Region where the cluster will be created.\nFormat: {cloud_provider}-{region_code}"
                      },
                      "labels": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "The labels of the cluster.\nIf there is no \"project_id\" in labels, resource should be in the default project of the creator's organization."
                      },
                      "tidbNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterTidbNodeSetting"
                      },
                      "tikvNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "tiflashNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The port of the cluster. This port applies to all network endpoints of the cluster."
                      },
                      "rootPassword": {
                        "type": "string",
                        "example": "my-shining-password",
                        "maxLength": 64,
                        "minLength": 8,
                        "pattern": "^.{8,64}$"
                      },
                      "state": {
                        "description": "The current state of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/commonv1beta1ClusterState"
                          }
                        ]
                      },
                      "version": {
                        "type": "string",
                        "description": "The TiDB version of the cluster.",
                        "readOnly": true
                      },
                      "createdBy": {
                        "type": "string",
                        "description": "The email address or public api key of the creator of the cluster.",
                        "readOnly": true
                      },
                      "createTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was created.",
                        "readOnly": true
                      },
                      "updateTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was last updated.",
                        "readOnly": true
                      },
                      "pausePlan": {
                        "description": "Pause plan of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlan"
                          }
                        ]
                      },
                      "regionDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "cloudProvider": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/v1beta1RegionCloudProvider"
                          }
                        ]
                      },
                      "annotations": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "OUTPUT_ONLY. The annotations for the cluster.\ntidb.cloud/has-set-password. The annotation for whether the cluster has set password.\ntidb.cloud/available-features. The annotation for the available features of the cluster.",
                        "readOnly": true
                      }
                    },
                    "description": "Cluster represents a dedicated TiDB cluster.",
                    "required": [
                      "displayName",
                      "regionId",
                      "tidbNodeSetting",
                      "tikvNodeSetting",
                      "port"
                    ]
                  },
                  "commonv1beta1ClusterState": {
                    "type": "string",
                    "enum": [
                      "CREATING",
                      "DELETING",
                      "ACTIVE",
                      "RESTORING",
                      "MAINTENANCE",
                      "DELETED",
                      "INACTIVE",
                      "UPGRADING",
                      "IMPORTING",
                      "MODIFYING",
                      "PAUSING",
                      "PAUSED",
                      "RESUMING"
                    ],
                    "description": "Enum of possible states of a cluster.\n\n - CREATING: Cluster is being created.\n - DELETING: Cluster is being deleted.\n - ACTIVE: Cluster is active for use.\n - RESTORING: Cluster data is being restored.\n - MAINTENANCE: Cluster is under maintenance.\n - DELETED: Cluster has been deleted.\n - INACTIVE: Cluster is not active, but not being deleted.\n - UPGRADING: Cluster is being updated.\nOnly for Dedicated Cluster.\n - IMPORTING: Cluster is being imported.\nOnly for Dedicated Cluster.\n - MODIFYING: Cluster is being modified.\nOnly for Dedicated Cluster.\n - PAUSING: Cluster is being paused.\nOnly for Dedicated Cluster.\n - PAUSED: Cluster is paused.\nOnly for Dedicated Cluster.\n - RESUMING: Cluster is resuming.\nOnly for Dedicated Cluster."
                  },
                  "v1beta1RegionCloudProvider": {
                    "type": "string",
                    "enum": [
                      "aws",
                      "gcp",
                      "azure",
                      "alicloud"
                    ],
                    "description": "Enum of cloud provider names.\n\n - aws: Amazon Web Services.\n - gcp: Google Cloud Platform.\n - azure: Microsoft Azure.\n - alicloud: Alibaba Cloud"
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "v1beta1ClusterStorageNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "storageSizeGi": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "storageType": {
                        "description": "Default to Basic.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/StorageNodeSettingStorageType"
                          }
                        ]
                      },
                      "raftStoreIops": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "If raft_store_iops is not set, the default IOPS of raft store will be used."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "title": "output only",
                        "readOnly": true
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount",
                      "nodeSpecKey",
                      "storageSizeGi"
                    ]
                  },
                  "v1beta1ClusterTidbNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "tidbNodeGroups": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroup"
                        },
                        "description": "When creating a cluster, the length of the `tidb_node_groups` should be 1\nand the `node_count` field of `TidbNodeGroup` should be set."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "nodeSpecKey",
                      "tidbNodeGroups"
                    ]
                  },
                  "dedicatedv1beta1TidbNodeGroup": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "Format: tidbNodeGroups/{tidb_node_group_id}",
                        "readOnly": true
                      },
                      "tidbNodeGroupId": {
                        "type": "string",
                        "description": "The unique ID of the TiDB group.",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The cluster ID of the TiDB group.\nOptional when creating cluster with the default TiDB group.\nRequired when creating non-default TiDB group."
                      },
                      "displayName": {
                        "type": "string",
                        "description": "The display name of the TiDB group."
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The number of TiDB nodes in the TiDB group."
                      },
                      "endpoints": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupEndpoint"
                        },
                        "readOnly": true
                      },
                      "nodeSpecKey": {
                        "type": "string",
                        "readOnly": true
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "isDefaultGroup": {
                        "type": "boolean",
                        "readOnly": true
                      },
                      "state": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupState"
                          }
                        ]
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      },
                      "tiproxySetting": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxySetting"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount"
                    ]
                  },
                  "StorageNodeSettingStorageType": {
                    "type": "string",
                    "enum": [
                      "Basic",
                      "Standard",
                      "Performance",
                      "Plus"
                    ],
                    "description": "Spec https://pingcap.feishu.cn/wiki/R6dcwK0Q3i9XSgkgG1Scoc82nbf.\n\n - Basic: Data disk: gp3; Raft log disk: none.\n - Standard: Data disk: gp3; Raft log disk: gp3.\n - Performance: Data disk: gp3; Raft log disk: io2.\n - Plus: Data disk: io2; Raft log disk: none."
                  },
                  "TidbNodeGroupTiProxySetting": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "description": "The type of TiProxy.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxyType"
                          }
                        ]
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "The number of TiProxy nodes in the TiDB group.\nIf not set or set to 0, represents the TiProxy is disabled."
                      }
                    }
                  },
                  "dedicatedv1beta1TidbNodeGroupEndpoint": {
                    "type": "object",
                    "properties": {
                      "host": {
                        "type": "string",
                        "description": "When endpoint's type is `PRIVATE_ENDPOINT`, the `host` field behave differently across cloud providers:\nFor AWS clusters, the `host` field is available right after the private link service is ready.\nFor GCP and Azure clusters, the `host` field is available after the user creates a `PrivateEndpointConnection`.",
                        "readOnly": true
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "connectionType": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/EndpointConnectionType"
                          }
                        ]
                      }
                    }
                  },
                  "ClusterNodeChangingProgress": {
                    "type": "object",
                    "properties": {
                      "matchingNodeSpecNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "remainingDeletionNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "available if some nodes are deleting.",
                        "readOnly": true
                      }
                    }
                  },
                  "dedicatedv1beta1TidbNodeGroupState": {
                    "type": "string",
                    "enum": [
                      "ACTIVE",
                      "MODIFYING",
                      "PAUSED"
                    ],
                    "description": " - ACTIVE: All nodes are ready.\n - MODIFYING: When TiDB group is modifying.\n - PAUSED: When cluster is paused."
                  },
                  "TidbNodeGroupTiProxyType": {
                    "type": "string",
                    "enum": [
                      "Medium",
                      "Large"
                    ],
                    "title": "- Medium: Medium is the default value.\nInstance 4vCPU, Max QPS: 30k, Max Data Traffic: 90 MiB/s\n - Large: Large is the high performance value.\nInstance 8vCPU, Max QPS: 60k, Max Data Traffic: 150 MiB/s"
                  },
                  "EndpointConnectionType": {
                    "type": "string",
                    "enum": [
                      "PUBLIC",
                      "VPC_PEERING",
                      "PRIVATE_ENDPOINT"
                    ],
                    "description": " - PUBLIC: The endpoint is a public endpoint.\n - VPC_PEERING: The endpoint is a VPC peering endpoint.\n - PRIVATE_ENDPOINT: The endpoint is a private link endpoint."
                  }
                }
              }
            }
          },
          "output": {
            "reasoning": "The request was to create a cluster with specific configurations, and the response indicates that the cluster creation process has started successfully. The cluster is now in the 'CREATING' state, which is a valid transitional state towards the 'ACTIVE' state, where the cluster will be fully operational. The response status code is 200, indicating a successful request. The current state now includes a new cluster with the specified display name, region, and node settings, which aligns with the target operation of creating a cluster with 1 TiDB node and 3 TiKV nodes. There are no error messages or indications of request malformation, and the operation chosen was appropriate given the available operations and the target state.",
            "result_type": "success",
            "confidence": 0.95
          }
        },
        "target_matching": {
          "input": {
            "last_step": {
              "operation_id": "ClusterService_CreateCluster",
              "step_type": "generated",
              "request_type": "http",
              "request": {
                "auth": {
                  "auth_type": "digest",
                  "content": "{}"
                },
                "method": "POST",
                "path": "/clusters",
                "path_params": "{}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{\n  \"displayName\": \"llm-e2e-cluster-1234\",\n  \"regionId\": \"azure-eastus2\",\n  \"labels\": {\n    \"tidb.cloud/project\": \"1369847559694040595\"\n  },\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"2C8G\",\n    \"tidbNodeGroups\": [\n      {\n        \"nodeCount\": 1\n      }\n    ]\n  },\n  \"tikvNodeSetting\": {\n    \"nodeCount\": 3,\n    \"nodeSpecKey\": \"2C8G\",\n    \"storageSizeGi\": 200,\n    \"storageType\": \"Basic\"\n  },\n  \"port\": 4000,\n  \"rootPassword\": \"my-shining-password\"\n}"
              },
              "description": "Create a new TiDB cluster with the specified configuration: 1 TiDB node with 2C8G, 3 TiKV nodes with 2C8G and 200G storage, and no TiFlash.",
              "max_retries": 0,
              "delay_after": 0,
              "expect": null
            },
            "target_operation": {
              "original_description": "create a cluster where displayName matches 'llm-e2e-cluster-[a-zA-Z0-9]{4}' with 1 TiDB(2C8G) node, 3 TiKV(2C8G,200G) nodes and no TiFlash"
            }
          },
          "output": {
            "reason": "The concrete operation fulfills the abstract operation's requirements as follows: \n1. The 'displayName' in the concrete operation is 'llm-e2e-cluster-1234', which matches the regex pattern 'llm-e2e-cluster-[a-zA-Z0-9]{4}'.\n2. The TiDB node setting specifies 1 node with 'nodeSpecKey' as '2C8G', which matches the requirement of 1 TiDB(2C8G) node.\n3. The TiKV node setting specifies 3 nodes with 'nodeSpecKey' as '2C8G' and 'storageSizeGi' as 200, which matches the requirement of 3 TiKV(2C8G,200G) nodes.\n4. There is no mention of TiFlash nodes in the concrete operation, which aligns with the requirement of having no TiFlash nodes.\n\nAll specified requirements in the abstract operation are met by the concrete operation.",
            "judgement": true
          }
        },
        "resource_manager": {
          "input": {
            "last_request": {
              "auth": {
                "auth_type": "digest",
                "content": "{}"
              },
              "method": "POST",
              "path": "/clusters",
              "path_params": "{}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"displayName\": \"llm-e2e-cluster-1234\",\n  \"regionId\": \"azure-eastus2\",\n  \"labels\": {\n    \"tidb.cloud/project\": \"1369847559694040595\"\n  },\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"2C8G\",\n    \"tidbNodeGroups\": [\n      {\n        \"nodeCount\": 1\n      }\n    ]\n  },\n  \"tikvNodeSetting\": {\n    \"nodeCount\": 3,\n    \"nodeSpecKey\": \"2C8G\",\n    \"storageSizeGi\": 200,\n    \"storageType\": \"Basic\"\n  },\n  \"port\": 4000,\n  \"rootPassword\": \"my-shining-password\"\n}"
            },
            "last_response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10899341031126750090",
                "clusterId": "10899341031126750090",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "2C8G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/0",
                      "tidbNodeGroupId": "0",
                      "clusterId": "10899341031126750090",
                      "displayName": "",
                      "nodeCount": 1,
                      "endpoints": [],
                      "nodeSpecKey": "2C8G",
                      "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                      "isDefaultGroup": false,
                      "state": "MODIFYING"
                    }
                  ],
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "2C8G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "CREATING",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T04:56:24.568Z",
                "updateTime": "2025-03-27T04:56:24.568Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "previous_resources": {
              "clusters": {},
              "tidbnodegroups": {},
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": {
                    "addressPrefix": "10.0.1.0/24",
                    "delegations": [],
                    "etag": "W/\"cfe220db-8483-4dc3-a7c5-f29f864d8479\"",
                    "id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet",
                    "name": "openapi-test-subnet",
                    "privateEndpointNetworkPolicies": "Disabled",
                    "privateLinkServiceNetworkPolicies": "Enabled",
                    "provisioningState": "Succeeded",
                    "resourceGroup": "openapi-test",
                    "type": "Microsoft.Network/virtualNetworks/subnets"
                  },
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            }
          },
          "output": {
            "resources": [
              {
                "id": "10899341031126750090",
                "resource_type": "clusters",
                "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"CREATING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:56:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                "state": "CREATING",
                "parent_id": "",
                "reference_ids": []
              },
              {
                "id": "0",
                "resource_type": "tidbnodegroups",
                "attributes": "{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}",
                "state": "MODIFYING",
                "parent_id": "10899341031126750090",
                "reference_ids": []
              },
              {
                "id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet",
                "resource_type": "vpcs",
                "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                "state": "Succeeded",
                "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet",
                "reference_ids": []
              }
            ]
          }
        },
        "timestamp": "2025-03-27T12:56:45.400455",
        "error": null,
        "error_traceback": null
      },
      {
        "generation_id": "4aa78495-f592-4919-b098-32c6b53d4746",
        "operation_id": "ClusterService_GetCluster",
        "state_before": {
          "clusters": {
            "10899341031126750090": {
              "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"CREATING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:56:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "CREATING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "0": {
              "attributes": "{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": "10899341031126750090"
            }
          },
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "state_after": {
          "clusters": {
            "10899341031126750090": {
              "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:59:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905121706914086912": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10899341031126750090"
            }
          },
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "request": {
          "request_type": "http",
          "request": "{\"method\": \"GET\", \"path\": \"/clusters/10899341031126750090\", \"headers\": {}, \"query_params\": {}, \"body\": {}, \"auth\": {\"auth_type\": \"digest\", \"content\": \"01GPB7L0:1a5bc2d1-70db-4621-aa82-91f2314123bc\"}}",
          "expect": "{\"status_code\": 200, \"cel\": \"body.state == 'ACTIVE'\"}",
          "max_retries": 120,
          "delay_after": 30
        },
        "response": {
          "status_code": 200,
          "json": {
            "name": "clusters/10899341031126750090",
            "clusterId": "10899341031126750090",
            "displayName": "llm-e2e-cluster-1234",
            "regionId": "azure-eastus2",
            "labels": {
              "tidb.cloud/organization": "1369847559692509562",
              "tidb.cloud/project": "1369847559694040595"
            },
            "tidbNodeSetting": {
              "nodeSpecKey": "2C8G",
              "tidbNodeGroups": [
                {
                  "name": "tidbNodeGroups/1905121706914086912",
                  "tidbNodeGroupId": "1905121706914086912",
                  "clusterId": "10899341031126750090",
                  "displayName": "DefaultGroup",
                  "nodeCount": 1,
                  "endpoints": [
                    {
                      "host": "",
                      "port": 4000,
                      "connectionType": "PUBLIC"
                    },
                    {
                      "host": "",
                      "port": 4000,
                      "connectionType": "VPC_PEERING"
                    }
                  ],
                  "nodeSpecKey": "2C8G",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                  "isDefaultGroup": true,
                  "state": "ACTIVE"
                }
              ],
              "nodeSpecDisplayName": "2 vCPU, 8 GiB"
            },
            "tikvNodeSetting": {
              "nodeCount": 3,
              "nodeSpecKey": "2C8G",
              "storageSizeGi": 200,
              "storageType": "Basic",
              "nodeSpecDisplayName": "2 vCPU, 8 GiB"
            },
            "port": 4000,
            "rootPassword": "",
            "state": "ACTIVE",
            "version": "v8.1.2",
            "createdBy": "apikey-01GPB7L0",
            "createTime": "2025-03-27T04:56:24.568Z",
            "updateTime": "2025-03-27T04:59:24.568Z",
            "regionDisplayName": "Virginia (eastus2)",
            "cloudProvider": "azure",
            "annotations": {
              "tidb.cloud/available-features": "DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER",
              "tidb.cloud/has-set-password": "true"
            }
          },
          "headers": {},
          "error": null
        },
        "status_code": 200,
        "operation_selection": {
          "input": {
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"CREATING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:56:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "CREATING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "0": {
                  "attributes": "{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale out the cluster to 2C8G 2 TiDB nodes"
            },
            "feedback": {
              "execution_analyzer": null,
              "attempts": 0,
              "target_matcher": null,
              "response": null
            }
          },
          "output": {
            "reason": "The target operation is to scale out the cluster to 2 TiDB nodes. However, the current cluster is in a 'CREATING' state, and the TiDB node group is in a 'MODIFYING' state. Both of these are transitional states, which means we cannot perform any scaling operations until the cluster and node group are in a stable state. Therefore, the most appropriate operation is to check the current status of the cluster to see if it has transitioned to a stable state.",
            "operation_id": "ClusterService_GetCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_GetCluster",
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"CREATING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:56:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "CREATING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "0": {
                  "attributes": "{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale out the cluster to 2C8G 2 TiDB nodes"
            },
            "feedback": "{\"execution_analyzer\": null, \"attempts\": 0, \"target_matcher\": null, \"response\": null}"
          },
          "output": {
            "request": {
              "method": "GET",
              "path": "/clusters/{clusterId}",
              "path_params": "{\"clusterId\": \"10899341031126750090\"}",
              "query_params": null,
              "headers": null,
              "body": null
            },
            "description": "Retrieve the current state of the cluster with ID 10899341031126750090 to check if it is still in a transitional state before proceeding with scaling operations.",
            "expect": "{\"status_code\": 200, \"cel\": \"body.state == 'ACTIVE'\"}",
            "request_type": "http"
          }
        },
        "execution_analysis": {
          "input": {
            "request": {
              "method": "GET",
              "path": "/clusters/{clusterId}",
              "path_params": "{\n  \"clusterId\": \"10899341031126750090\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{}"
            },
            "response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10899341031126750090",
                "clusterId": "10899341031126750090",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "2C8G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905121706914086912",
                      "tidbNodeGroupId": "1905121706914086912",
                      "clusterId": "10899341031126750090",
                      "displayName": "DefaultGroup",
                      "nodeCount": 1,
                      "endpoints": [
                        {
                          "host": "",
                          "port": 4000,
                          "connectionType": "PUBLIC"
                        },
                        {
                          "host": "",
                          "port": 4000,
                          "connectionType": "VPC_PEERING"
                        }
                      ],
                      "nodeSpecKey": "2C8G",
                      "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "2C8G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "ACTIVE",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T04:56:24.568Z",
                "updateTime": "2025-03-27T04:59:24.568Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "prev_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"CREATING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:56:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "CREATING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "0": {
                  "attributes": "{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:59:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale out the cluster to 2C8G 2 TiDB nodes"
            },
            "available_operations": {
              "ClusterService_ListClusters": {
                "description": "List clusters",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_CreateCluster": {
                "description": "Create a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetCluster": {
                "description": "Get a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_DeleteCluster": {
                "description": "Delete a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_UpdateCluster": {
                "description": "Update a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_PauseCluster": {
                "description": "Pause a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResumeCluster": {
                "description": "Resume a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResetRootPassword": {
                "description": "Reset the root password of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ListNodeInstances": {
                "description": "List node instances",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetNodeInstance": {
                "description": "Get a node instance",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ShowNodeQuota": {
                "description": "Show node quota across the caller's organization",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListRegions": {
                "description": "List regions for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetRegion": {
                "description": "Get a region",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ShowCloudProviders": {
                "description": "Show cloud providers for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListNodeSpecs": {
                "description": "List node specs for creating or scaling a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetNodeSpec": {
                "description": "Get a node spec",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_CreateTidbNodeGroup": {
                "description": "Create a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_ListTidbNodeGroups": {
                "description": "List TiDB Node Groups",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetTidbNodeGroup": {
                "description": "Get a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_DeleteTidbNodeGroup": {
                "description": "Delete a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdateTidbNodeGroup": {
                "description": "Update a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetPublicEndpointSetting": {
                "description": "Get the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdatePublicEndpointSetting": {
                "description": "Update the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateLinkService": {
                "description": "Get the private link service of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_CreatePrivateEndpointConnection": {
                "description": "Create a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_ListPrivateEndpointConnections": {
                "description": "List private endpoint connections",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateEndpointConnection": {
                "description": "Get a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_DeletePrivateEndpointConnection": {
                "description": "Delete a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListNetworkContainers": {
                "description": "List network containers",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateNetworkContainer": {
                "description": "Create a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetNetworkContainer": {
                "description": "Get a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteNetworkContainer": {
                "description": "Delete a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListVpcPeerings": {
                "description": "List VPC peerings",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateVpcPeering": {
                "description": "Create a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetVpcPeering": {
                "description": "Get a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteVpcPeering": {
                "description": "Delete a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceWindow": {
                "description": "Get a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceWindows": {
                "description": "List maintenance windows",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceWindow": {
                "description": "Update a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceTasks": {
                "description": "List maintenance tasks",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceTask": {
                "description": "Get a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceTask": {
                "description": "Update a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogConfig": {
                "description": "Create the audit log config for a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_UpdateAuditLogConfig": {
                "description": "Update the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogConfig": {
                "description": "Get the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogFilterRule": {
                "description": "Create an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogFilterRule": {
                "description": "Get an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_DeleteAuditLogFilterRule": {
                "description": "Delete an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ListAuditLogFilterRules": {
                "description": "List audit log filter rules",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ShowObjectStorageAccessIamPrincipal": {
                "description": "Show IAM principal of TiDB Cloud for accessing customer's object storage",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_QueryAuditLogFiles": {
                "description": "Query audit log files",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GenerateAuditLogFileDownloadAddress": {
                "description": "Generate the download address for an audit log file, the address have an 15 minutes expiration time",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "network create": {
                "description": "Create and start a packet capture session.",
                "type": "azure_cli"
              },
              "network delete": {
                "description": "Delete a packet capture session.",
                "type": "azure_cli"
              },
              "network list": {
                "description": "List Network Watchers.",
                "type": "azure_cli"
              },
              "network show": {
                "description": "Get the results of the last troubleshooting operation.",
                "type": "azure_cli"
              },
              "network update": {
                "description": "Update the flow log configuration of a network security",
                "type": "azure_cli"
              },
              "network wait": {
                "description": "Place the CLI in a waiting state until a condition is",
                "type": "azure_cli"
              },
              "network add": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network remove": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network assign": {
                "description": "Assign/Update AAD(Azure Active Directory) authentication to",
                "type": "azure_cli"
              },
              "network list-server-variables": {
                "description": "List all available",
                "type": "azure_cli"
              },
              "network list-request-headers": {
                "description": "List all available request",
                "type": "azure_cli"
              },
              "network list-response-headers": {
                "description": "List all available response",
                "type": "azure_cli"
              },
              "network list-options": {
                "description": "List available SSL options for",
                "type": "azure_cli"
              },
              "network set": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-dynamic-rule-sets": {
                "description": "List the regional application",
                "type": "azure_cli"
              },
              "network list-rule-sets": {
                "description": "Get information on available WAF rule",
                "type": "azure_cli"
              },
              "network show-backend-health": {
                "description": "Get information on the backend health of an",
                "type": "azure_cli"
              },
              "network start": {
                "description": "Troubleshoot issues with VPN connections or gateway",
                "type": "azure_cli"
              },
              "network stop": {
                "description": "Stop a running packet capture session.",
                "type": "azure_cli"
              },
              "network add-record": {
                "description": "Add a TXT record.",
                "type": "azure_cli"
              },
              "network remove-record": {
                "description": "Remove a TXT record from its record set.",
                "type": "azure_cli"
              },
              "network set-record": {
                "description": "Set the value of a CNAME record.",
                "type": "azure_cli"
              },
              "network export": {
                "description": "Export a Private DNS zone as a DNS zone file.",
                "type": "azure_cli"
              },
              "network import": {
                "description": "Create a Private DNS zone using a DNS zone file.",
                "type": "azure_cli"
              },
              "network list-references": {
                "description": "Returns the DNS records specified by the referencing",
                "type": "azure_cli"
              },
              "network get-stats": {
                "description": "Get the statistics of an ExpressRoute circuit.",
                "type": "azure_cli"
              },
              "network generate-loa": {
                "description": "Generate and download a letter of authorization for",
                "type": "azure_cli"
              },
              "network list-arp-tables": {
                "description": "Show the current Address Resolution Protocol (ARP)",
                "type": "azure_cli"
              },
              "network list-route-tables": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-route-tables-summary": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-service-providers": {
                "description": "List available ExpressRoute service providers.",
                "type": "azure_cli"
              },
              "network list-mapping": {
                "description": "List inbound NAT rule port mappings.",
                "type": "azure_cli"
              },
              "network list-nic": {
                "description": "List associated load balancer network interfaces.",
                "type": "azure_cli"
              },
              "network list-effective-nsg": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-traffic-filter-",
                "type": "azure_cli"
              },
              "network show-effective-route-table": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-routing-",
                "type": "azure_cli"
              },
              "network list-types": {
                "description": "Returns all of the resource types that can be linked to",
                "type": "azure_cli"
              },
              "network approve": {
                "description": "Approve a private endpoint connection.",
                "type": "azure_cli"
              },
              "network reject": {
                "description": "Reject a private endpoint connection.",
                "type": "azure_cli"
              },
              "network list-auto-approved": {
                "description": "List all of the private link service ids",
                "type": "azure_cli"
              },
              "network list-service-communities": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-advertised-routes": {
                "description": "List the routes of a virtual network gateway",
                "type": "azure_cli"
              },
              "network list-learned-routes": {
                "description": "This operation retrieves a list of routes the",
                "type": "azure_cli"
              },
              "network show-geographic-hierarchy": {
                "description": "Get the default geographic",
                "type": "azure_cli"
              },
              "network check-dns": {
                "description": "Check the availability of a relative DNS name.",
                "type": "azure_cli"
              },
              "network restart": {
                "description": "Restarts one or more VMs belonging to the specified",
                "type": "azure_cli"
              },
              "network sync": {
                "description": "Sync a virtual network peering connection.",
                "type": "azure_cli"
              },
              "network list-available-delegations": {
                "description": "List the services available for subnet",
                "type": "azure_cli"
              },
              "network list-available-ips": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network check-ip-address": {
                "description": "Check if a private IP address is available for use within a",
                "type": "azure_cli"
              },
              "network list-endpoint-services": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "network clear": {
                "description": "Delete all IPsec policies on a VPN connection.",
                "type": "azure_cli"
              },
              "network generate": {
                "description": "Generate VPN client configuration.",
                "type": "azure_cli"
              },
              "network show-health": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-url": {
                "description": "Retrieve a pre-generated VPN client configuration.",
                "type": "azure_cli"
              },
              "network disconnect-vpn-connections": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-bgp-peer-status": {
                "description": "Retrieve the status of BGP peers.",
                "type": "azure_cli"
              },
              "network reset": {
                "description": "Reset a VPN connection shared key.",
                "type": "azure_cli"
              },
              "network show-supported-devices": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-ike-sas": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-device-config-script": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network query": {
                "description": "Query a snapshot of the most recent connection",
                "type": "azure_cli"
              },
              "network show-status": {
                "description": "Show the status of a packet capture session.",
                "type": "azure_cli"
              },
              "network configure": {
                "description": "Configure the Network Watcher service for different regions.",
                "type": "azure_cli"
              },
              "network run-configuration-diagnostic": {
                "description": "Run a configuration diagnostic on a target",
                "type": "azure_cli"
              },
              "network show-next-hop": {
                "description": "//learn.microsoft.com/en-us/azure/network-",
                "type": "azure_cli"
              },
              "network show-security-group-view": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network show-topology": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network test-connectivity": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network test-ip-flow": {
                "description": "//learn.microsoft.com/en-us/azure/network-watcher/diagnose-vm-",
                "type": "azure_cli"
              },
              "network list-service-aliases": {
                "description": "List available service aliases in the region which can be used",
                "type": "azure_cli"
              },
              "network list-service-tags": {
                "description": "//learn.microsoft.com/azure/virtual-network/security-overview#service-tags. Note that",
                "type": "azure_cli"
              },
              "network list-usages": {
                "description": "List the number of network resources in a region that are used against",
                "type": "azure_cli"
              },
              "vm list": {
                "description": "//learn.microsoft.com/cli/azure/query-az-cli2.",
                "type": "azure_cli"
              },
              "vm set": {
                "description": "Configure settings of a NIC attached to a VM.",
                "type": "azure_cli"
              },
              "vm convert": {
                "description": "Convert a VM with unmanaged disks to use managed disks.",
                "type": "azure_cli"
              },
              "vm create": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm delete": {
                "description": "Delete a VM.",
                "type": "azure_cli"
              },
              "vm list-sizes": {
                "description": "List available sizes for VMs.",
                "type": "azure_cli"
              },
              "vm show": {
                "description": "Get the details of a VM.",
                "type": "azure_cli"
              },
              "vm update": {
                "description": "Update the properties of a VM.",
                "type": "azure_cli"
              },
              "vm disable": {
                "description": "Disable disk encryption on the OS disk and/or data disks. Decrypt",
                "type": "azure_cli"
              },
              "vm enable": {
                "description": "//learn.microsoft.com/azure/security/fundamentals/azure-disk-encryption-vms-vmss.",
                "type": "azure_cli"
              },
              "vm get-boot-log": {
                "description": "Get the boot diagnostics log from a VM.",
                "type": "azure_cli"
              },
              "vm get-boot-log-uris": {
                "description": "Get SAS URIs for a virtual machine's boot diagnostic",
                "type": "azure_cli"
              },
              "vm get-default-config": {
                "description": "Get the default configuration settings for a VM.",
                "type": "azure_cli"
              },
              "vm attach": {
                "description": "Attach an unmanaged persistent disk to a VM.",
                "type": "azure_cli"
              },
              "vm detach": {
                "description": "Detach an unmanaged disk from a VM.",
                "type": "azure_cli"
              },
              "vm list-names": {
                "description": "List the names of available extensions.",
                "type": "azure_cli"
              },
              "vm list-versions": {
                "description": "List the versions for available extensions.",
                "type": "azure_cli"
              },
              "vm wait": {
                "description": "Place the CLI in a waiting state until a condition of the VM is met.",
                "type": "azure_cli"
              },
              "vm get-instance-view": {
                "description": "Get instance information about a VM.",
                "type": "azure_cli"
              },
              "vm list-resize-options": {
                "description": "The dedicated host sizes provided can be used to only scale",
                "type": "azure_cli"
              },
              "vm redeploy": {
                "description": "Redeploy an existing VM.",
                "type": "azure_cli"
              },
              "vm resize": {
                "description": "Update a VM's size.",
                "type": "azure_cli"
              },
              "vm restart": {
                "description": "Restart VMs.",
                "type": "azure_cli"
              },
              "vm assign": {
                "description": "Enable managed service identity on a VM.",
                "type": "azure_cli"
              },
              "vm remove": {
                "description": "Remove a secret from a VM.",
                "type": "azure_cli"
              },
              "vm accept": {
                "description": "Accept Azure Marketplace image terms so that the image can be used to",
                "type": "azure_cli"
              },
              "vm cancel": {
                "description": "Cancel Azure Marketplace image terms.",
                "type": "azure_cli"
              },
              "vm accept-terms": {
                "description": "This command has been deprecated and will be removed in version '3.0.0'. Use 'az vm",
                "type": "azure_cli"
              },
              "vm list-offers": {
                "description": "List the VM image offers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-publishers": {
                "description": "List the VM image publishers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-skus": {
                "description": "Get details for compute-related resource SKUs.",
                "type": "azure_cli"
              },
              "vm list-definitions": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm tail": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm add": {
                "description": "//learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)",
                "type": "azure_cli"
              },
              "vm invoke": {
                "description": "Execute a specific run command on a vm.",
                "type": "azure_cli"
              },
              "vm format": {
                "description": "Transform secrets into a form that can be used by VMs and VMSSes.",
                "type": "azure_cli"
              },
              "vm reset-ssh": {
                "description": "Reset the SSH configuration on a VM.",
                "type": "azure_cli"
              },
              "vm assess-patches": {
                "description": "Assess patches on a VM.",
                "type": "azure_cli"
              },
              "vm auto-shutdown": {
                "description": "Manage auto-shutdown for VM.",
                "type": "azure_cli"
              },
              "vm capture": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm deallocate": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm generalize": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm install-patches": {
                "description": "Install patches on a VM.",
                "type": "azure_cli"
              },
              "vm list-ip-addresses": {
                "description": "List IP addresses associated with a VM.",
                "type": "azure_cli"
              },
              "vm list-usage": {
                "description": "List available usage resources for VMs.",
                "type": "azure_cli"
              },
              "vm list-vm-resize-options": {
                "description": "List available resizing options for VMs.",
                "type": "azure_cli"
              },
              "vm open-port": {
                "description": "Opens a VM to inbound traffic on specified ports.",
                "type": "azure_cli"
              },
              "vm perform-maintenance": {
                "description": "The operation to perform maintenance on a virtual machine.",
                "type": "azure_cli"
              },
              "vm reapply": {
                "description": "Reapply VMs.",
                "type": "azure_cli"
              },
              "vm reimage": {
                "description": "The retaining of old OS disk depends on the value of deleteOption of OS",
                "type": "azure_cli"
              },
              "vm simulate-eviction": {
                "description": "Simulate the eviction of a Spot VM.",
                "type": "azure_cli"
              },
              "vm start": {
                "description": "Start a stopped VM.",
                "type": "azure_cli"
              },
              "vm stop": {
                "description": "Power off (stop) a running VM.",
                "type": "azure_cli"
              }
            },
            "operation_spec": {
              "paths": {
                "/clusters/{clusterId}": {
                  "get": {
                    "summary": "Get a cluster",
                    "operationId": "ClusterService_GetCluster",
                    "responses": {
                      "200": {
                        "description": "A successful response.",
                        "schema": {
                          "$ref": "#/definitions/tidb_cloud_open_apidedicatedv1beta1Cluster"
                        }
                      },
                      "400": {
                        "description": "Bad Request",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "401": {
                        "description": "Unauthorized",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "403": {
                        "description": "Forbidden",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "429": {
                        "description": "Too Many Requests",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "500": {
                        "description": "Internal Server Error",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "default": {
                        "description": "An unexpected error response.",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      }
                    },
                    "parameters": [
                      {
                        "name": "clusterId",
                        "in": "path",
                        "required": true,
                        "type": "string"
                      }
                    ],
                    "tags": [
                      "ClusterService"
                    ]
                  }
                }
              },
              "components": {
                "schemas": {
                  "tidb_cloud_open_apidedicatedv1beta1Cluster": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "The name of TiDB cluster resource.\nFormat: clusters/{cluster_id}",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The unique ID of the cluster.",
                        "readOnly": true
                      },
                      "displayName": {
                        "type": "string",
                        "example": "foo-bar",
                        "description": "The display name of the cluster.",
                        "maxLength": 64,
                        "minLength": 4,
                        "pattern": "^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$"
                      },
                      "regionId": {
                        "type": "string",
                        "title": "Required. Region where the cluster will be created.\nFormat: {cloud_provider}-{region_code}"
                      },
                      "labels": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "The labels of the cluster.\nIf there is no \"project_id\" in labels, resource should be in the default project of the creator's organization."
                      },
                      "tidbNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterTidbNodeSetting"
                      },
                      "tikvNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "tiflashNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The port of the cluster. This port applies to all network endpoints of the cluster."
                      },
                      "rootPassword": {
                        "type": "string",
                        "example": "my-shining-password",
                        "maxLength": 64,
                        "minLength": 8,
                        "pattern": "^.{8,64}$"
                      },
                      "state": {
                        "description": "The current state of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/commonv1beta1ClusterState"
                          }
                        ]
                      },
                      "version": {
                        "type": "string",
                        "description": "The TiDB version of the cluster.",
                        "readOnly": true
                      },
                      "createdBy": {
                        "type": "string",
                        "description": "The email address or public api key of the creator of the cluster.",
                        "readOnly": true
                      },
                      "createTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was created.",
                        "readOnly": true
                      },
                      "updateTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was last updated.",
                        "readOnly": true
                      },
                      "pausePlan": {
                        "description": "Pause plan of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlan"
                          }
                        ]
                      },
                      "regionDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "cloudProvider": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/v1beta1RegionCloudProvider"
                          }
                        ]
                      },
                      "annotations": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "OUTPUT_ONLY. The annotations for the cluster.\ntidb.cloud/has-set-password. The annotation for whether the cluster has set password.\ntidb.cloud/available-features. The annotation for the available features of the cluster.",
                        "readOnly": true
                      }
                    },
                    "description": "Cluster represents a dedicated TiDB cluster.",
                    "required": [
                      "displayName",
                      "regionId",
                      "tidbNodeSetting",
                      "tikvNodeSetting",
                      "port"
                    ]
                  },
                  "commonv1beta1ClusterState": {
                    "type": "string",
                    "enum": [
                      "CREATING",
                      "DELETING",
                      "ACTIVE",
                      "RESTORING",
                      "MAINTENANCE",
                      "DELETED",
                      "INACTIVE",
                      "UPGRADING",
                      "IMPORTING",
                      "MODIFYING",
                      "PAUSING",
                      "PAUSED",
                      "RESUMING"
                    ],
                    "description": "Enum of possible states of a cluster.\n\n - CREATING: Cluster is being created.\n - DELETING: Cluster is being deleted.\n - ACTIVE: Cluster is active for use.\n - RESTORING: Cluster data is being restored.\n - MAINTENANCE: Cluster is under maintenance.\n - DELETED: Cluster has been deleted.\n - INACTIVE: Cluster is not active, but not being deleted.\n - UPGRADING: Cluster is being updated.\nOnly for Dedicated Cluster.\n - IMPORTING: Cluster is being imported.\nOnly for Dedicated Cluster.\n - MODIFYING: Cluster is being modified.\nOnly for Dedicated Cluster.\n - PAUSING: Cluster is being paused.\nOnly for Dedicated Cluster.\n - PAUSED: Cluster is paused.\nOnly for Dedicated Cluster.\n - RESUMING: Cluster is resuming.\nOnly for Dedicated Cluster."
                  },
                  "v1beta1RegionCloudProvider": {
                    "type": "string",
                    "enum": [
                      "aws",
                      "gcp",
                      "azure",
                      "alicloud"
                    ],
                    "description": "Enum of cloud provider names.\n\n - aws: Amazon Web Services.\n - gcp: Google Cloud Platform.\n - azure: Microsoft Azure.\n - alicloud: Alibaba Cloud"
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "v1beta1ClusterStorageNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "storageSizeGi": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "storageType": {
                        "description": "Default to Basic.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/StorageNodeSettingStorageType"
                          }
                        ]
                      },
                      "raftStoreIops": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "If raft_store_iops is not set, the default IOPS of raft store will be used."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "title": "output only",
                        "readOnly": true
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount",
                      "nodeSpecKey",
                      "storageSizeGi"
                    ]
                  },
                  "v1beta1ClusterTidbNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "tidbNodeGroups": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroup"
                        },
                        "description": "When creating a cluster, the length of the `tidb_node_groups` should be 1\nand the `node_count` field of `TidbNodeGroup` should be set."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "nodeSpecKey",
                      "tidbNodeGroups"
                    ]
                  },
                  "dedicatedv1beta1TidbNodeGroup": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "Format: tidbNodeGroups/{tidb_node_group_id}",
                        "readOnly": true
                      },
                      "tidbNodeGroupId": {
                        "type": "string",
                        "description": "The unique ID of the TiDB group.",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The cluster ID of the TiDB group.\nOptional when creating cluster with the default TiDB group.\nRequired when creating non-default TiDB group."
                      },
                      "displayName": {
                        "type": "string",
                        "description": "The display name of the TiDB group."
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The number of TiDB nodes in the TiDB group."
                      },
                      "endpoints": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupEndpoint"
                        },
                        "readOnly": true
                      },
                      "nodeSpecKey": {
                        "type": "string",
                        "readOnly": true
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "isDefaultGroup": {
                        "type": "boolean",
                        "readOnly": true
                      },
                      "state": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupState"
                          }
                        ]
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      },
                      "tiproxySetting": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxySetting"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount"
                    ]
                  },
                  "StorageNodeSettingStorageType": {
                    "type": "string",
                    "enum": [
                      "Basic",
                      "Standard",
                      "Performance",
                      "Plus"
                    ],
                    "description": "Spec https://pingcap.feishu.cn/wiki/R6dcwK0Q3i9XSgkgG1Scoc82nbf.\n\n - Basic: Data disk: gp3; Raft log disk: none.\n - Standard: Data disk: gp3; Raft log disk: gp3.\n - Performance: Data disk: gp3; Raft log disk: io2.\n - Plus: Data disk: io2; Raft log disk: none."
                  },
                  "TidbNodeGroupTiProxySetting": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "description": "The type of TiProxy.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxyType"
                          }
                        ]
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "The number of TiProxy nodes in the TiDB group.\nIf not set or set to 0, represents the TiProxy is disabled."
                      }
                    }
                  },
                  "dedicatedv1beta1TidbNodeGroupEndpoint": {
                    "type": "object",
                    "properties": {
                      "host": {
                        "type": "string",
                        "description": "When endpoint's type is `PRIVATE_ENDPOINT`, the `host` field behave differently across cloud providers:\nFor AWS clusters, the `host` field is available right after the private link service is ready.\nFor GCP and Azure clusters, the `host` field is available after the user creates a `PrivateEndpointConnection`.",
                        "readOnly": true
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "connectionType": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/EndpointConnectionType"
                          }
                        ]
                      }
                    }
                  },
                  "ClusterNodeChangingProgress": {
                    "type": "object",
                    "properties": {
                      "matchingNodeSpecNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "remainingDeletionNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "available if some nodes are deleting.",
                        "readOnly": true
                      }
                    }
                  },
                  "dedicatedv1beta1TidbNodeGroupState": {
                    "type": "string",
                    "enum": [
                      "ACTIVE",
                      "MODIFYING",
                      "PAUSED"
                    ],
                    "description": " - ACTIVE: All nodes are ready.\n - MODIFYING: When TiDB group is modifying.\n - PAUSED: When cluster is paused."
                  },
                  "TidbNodeGroupTiProxyType": {
                    "type": "string",
                    "enum": [
                      "Medium",
                      "Large"
                    ],
                    "title": "- Medium: Medium is the default value.\nInstance 4vCPU, Max QPS: 30k, Max Data Traffic: 90 MiB/s\n - Large: Large is the high performance value.\nInstance 8vCPU, Max QPS: 60k, Max Data Traffic: 150 MiB/s"
                  },
                  "EndpointConnectionType": {
                    "type": "string",
                    "enum": [
                      "PUBLIC",
                      "VPC_PEERING",
                      "PRIVATE_ENDPOINT"
                    ],
                    "description": " - PUBLIC: The endpoint is a public endpoint.\n - VPC_PEERING: The endpoint is a VPC peering endpoint.\n - PRIVATE_ENDPOINT: The endpoint is a private link endpoint."
                  }
                }
              }
            }
          },
          "output": {
            "reasoning": "The GET request to retrieve the cluster details was successful, as indicated by the 200 status code. The response shows that the cluster state transitioned from 'CREATING' to 'ACTIVE', and the TiDB node group state changed from 'MODIFYING' to 'ACTIVE'. These state changes are significant as they indicate the cluster is now fully operational, which is a necessary step before scaling out the cluster to add more nodes. Although the operation was a GET request, it provided crucial information about the current state of the cluster, confirming that it is ready for further operations like scaling. This aligns with the target operation of scaling out the cluster, as the cluster must be in an 'ACTIVE' state to proceed with scaling operations. Therefore, the request was successful in providing the necessary state information to move towards the target operation.",
            "result_type": "success",
            "confidence": 0.95
          }
        },
        "target_matching": {
          "input": {
            "last_step": {
              "operation_id": "ClusterService_GetCluster",
              "step_type": "generated",
              "request_type": "http",
              "request": {
                "auth": {
                  "auth_type": "digest",
                  "content": "{}"
                },
                "method": "GET",
                "path": "/clusters/{clusterId}",
                "path_params": "{\n  \"clusterId\": \"10899341031126750090\"\n}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{}"
              },
              "description": "Retrieve the current state of the cluster with ID 10899341031126750090 to check if it is still in a transitional state before proceeding with scaling operations.",
              "max_retries": 120,
              "delay_after": 30,
              "expect": "{\"status_code\": 200, \"cel\": \"body.state == 'ACTIVE'\"}"
            },
            "target_operation": {
              "original_description": "scale out the cluster to 2C8G 2 TiDB nodes"
            }
          },
          "output": {
            "reason": "The concrete operation executed is a 'GET' request to retrieve information about a specific cluster identified by 'clusterId'. This operation is focused on fetching data and does not perform any modifications or scaling actions on the cluster. The target operation, however, requires scaling out the cluster to a specific configuration of 2C8G with 2 TiDB nodes, which is an action that involves changing the cluster's resources and configuration. Since the concrete operation does not perform any scaling or modification, it does not fulfill the requirements of the target operation.",
            "judgement": false
          }
        },
        "resource_manager": {
          "input": {
            "last_request": {
              "auth": {
                "auth_type": "digest",
                "content": "{}"
              },
              "method": "GET",
              "path": "/clusters/{clusterId}",
              "path_params": "{\n  \"clusterId\": \"10899341031126750090\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{}"
            },
            "last_response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10899341031126750090",
                "clusterId": "10899341031126750090",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "2C8G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905121706914086912",
                      "tidbNodeGroupId": "1905121706914086912",
                      "clusterId": "10899341031126750090",
                      "displayName": "DefaultGroup",
                      "nodeCount": 1,
                      "endpoints": [
                        {
                          "host": "",
                          "port": 4000,
                          "connectionType": "PUBLIC"
                        },
                        {
                          "host": "",
                          "port": 4000,
                          "connectionType": "VPC_PEERING"
                        }
                      ],
                      "nodeSpecKey": "2C8G",
                      "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "2C8G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "ACTIVE",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T04:56:24.568Z",
                "updateTime": "2025-03-27T04:59:24.568Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "previous_resources": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"CREATING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:56:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "CREATING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "0": {
                  "attributes": "{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            }
          },
          "output": {
            "resources": [
              {
                "id": "10899341031126750090",
                "resource_type": "clusters",
                "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:59:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
                "state": "ACTIVE",
                "parent_id": "",
                "reference_ids": []
              },
              {
                "id": "1905121706914086912",
                "resource_type": "tidbnodegroups",
                "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                "state": "ACTIVE",
                "parent_id": "10899341031126750090",
                "reference_ids": []
              },
              {
                "id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet",
                "resource_type": "vpcs",
                "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                "state": "Succeeded",
                "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet",
                "reference_ids": []
              }
            ]
          }
        },
        "timestamp": "2025-03-27T12:59:56.507483",
        "error": null,
        "error_traceback": null
      },
      {
        "generation_id": "4aa78495-f592-4919-b098-32c6b53d4746",
        "operation_id": "ClusterService_UpdateCluster",
        "state_before": {
          "clusters": {
            "10899341031126750090": {
              "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:59:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905121706914086912": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10899341031126750090"
            }
          },
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "state_after": {
          "clusters": {
            "10899341031126750090": {
              "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905121706914086912": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10899341031126750090"
            }
          },
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "request": {
          "request_type": "http",
          "request": "{\"method\": \"PATCH\", \"path\": \"/clusters/10899341031126750090\", \"headers\": {}, \"query_params\": {}, \"body\": {\"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"tidbNodeGroupId\": \"1905121706914086912\", \"nodeCount\": 2}]}}, \"auth\": {\"auth_type\": \"digest\", \"content\": \"01GPB7L0:1a5bc2d1-70db-4621-aa82-91f2314123bc\"}}",
          "expect": null,
          "max_retries": 0,
          "delay_after": 0
        },
        "response": {
          "status_code": 200,
          "json": {
            "name": "clusters/10899341031126750090",
            "clusterId": "10899341031126750090",
            "displayName": "llm-e2e-cluster-1234",
            "regionId": "azure-eastus2",
            "labels": {
              "tidb.cloud/organization": "1369847559692509562",
              "tidb.cloud/project": "1369847559694040595"
            },
            "tidbNodeSetting": {
              "nodeSpecKey": "2C8G",
              "tidbNodeGroups": [
                {
                  "name": "tidbNodeGroups/1905121706914086912",
                  "tidbNodeGroupId": "1905121706914086912",
                  "clusterId": "10899341031126750090",
                  "displayName": "DefaultGroup",
                  "nodeCount": 2,
                  "endpoints": [],
                  "nodeSpecKey": "2C8G",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                  "isDefaultGroup": true,
                  "state": "ACTIVE"
                }
              ],
              "nodeSpecDisplayName": "2 vCPU, 8 GiB"
            },
            "tikvNodeSetting": {
              "nodeCount": 3,
              "nodeSpecKey": "2C8G",
              "storageSizeGi": 200,
              "storageType": "Basic",
              "nodeSpecDisplayName": "2 vCPU, 8 GiB"
            },
            "port": 4000,
            "rootPassword": "",
            "state": "MODIFYING",
            "version": "v8.1.2",
            "createdBy": "apikey-01GPB7L0",
            "createTime": "2025-03-27T04:56:24.568Z",
            "updateTime": "2025-03-27T05:00:11.600Z",
            "regionDisplayName": "Virginia (eastus2)",
            "cloudProvider": "azure",
            "annotations": {
              "tidb.cloud/available-features": "",
              "tidb.cloud/has-set-password": "true"
            }
          },
          "headers": {},
          "error": null
        },
        "status_code": 200,
        "operation_selection": {
          "input": {
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:59:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale out the cluster to 2C8G 2 TiDB nodes"
            },
            "feedback": {
              "execution_analyzer": {
                "reasoning": "The GET request to retrieve the cluster details was successful, as indicated by the 200 status code. The response shows that the cluster state transitioned from 'CREATING' to 'ACTIVE', and the TiDB node group state changed from 'MODIFYING' to 'ACTIVE'. These state changes are significant as they indicate the cluster is now fully operational, which is a necessary step before scaling out the cluster to add more nodes. Although the operation was a GET request, it provided crucial information about the current state of the cluster, confirming that it is ready for further operations like scaling. This aligns with the target operation of scaling out the cluster, as the cluster must be in an 'ACTIVE' state to proceed with scaling operations. Therefore, the request was successful in providing the necessary state information to move towards the target operation.",
                "result_type": "success",
                "confidence": 0.95
              },
              "target_match": {
                "reason": "The concrete operation executed is a 'GET' request to retrieve information about a specific cluster identified by 'clusterId'. This operation is focused on fetching data and does not perform any modifications or scaling actions on the cluster. The target operation, however, requires scaling out the cluster to a specific configuration of 2C8G with 2 TiDB nodes, which is an action that involves changing the cluster's resources and configuration. Since the concrete operation does not perform any scaling or modification, it does not fulfill the requirements of the target operation.",
                "judgement": false
              },
              "response": {
                "status_code": 200,
                "json": {
                  "name": "clusters/10899341031126750090",
                  "clusterId": "10899341031126750090",
                  "displayName": "llm-e2e-cluster-1234",
                  "regionId": "azure-eastus2",
                  "labels": {
                    "tidb.cloud/organization": "1369847559692509562",
                    "tidb.cloud/project": "1369847559694040595"
                  },
                  "tidbNodeSetting": {
                    "nodeSpecKey": "2C8G",
                    "tidbNodeGroups": [
                      {
                        "name": "tidbNodeGroups/1905121706914086912",
                        "tidbNodeGroupId": "1905121706914086912",
                        "clusterId": "10899341031126750090",
                        "displayName": "DefaultGroup",
                        "nodeCount": 1,
                        "endpoints": [
                          {
                            "host": "",
                            "port": 4000,
                            "connectionType": "PUBLIC"
                          },
                          {
                            "host": "",
                            "port": 4000,
                            "connectionType": "VPC_PEERING"
                          }
                        ],
                        "nodeSpecKey": "2C8G",
                        "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                        "isDefaultGroup": true,
                        "state": "ACTIVE"
                      }
                    ],
                    "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                  },
                  "tikvNodeSetting": {
                    "nodeCount": 3,
                    "nodeSpecKey": "2C8G",
                    "storageSizeGi": 200,
                    "storageType": "Basic",
                    "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                  },
                  "port": 4000,
                  "rootPassword": "",
                  "state": "ACTIVE",
                  "version": "v8.1.2",
                  "createdBy": "apikey-01GPB7L0",
                  "createTime": "2025-03-27T04:56:24.568Z",
                  "updateTime": "2025-03-27T04:59:24.568Z",
                  "regionDisplayName": "Virginia (eastus2)",
                  "cloudProvider": "azure",
                  "annotations": {
                    "tidb.cloud/available-features": "DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER",
                    "tidb.cloud/has-set-password": "true"
                  }
                },
                "headers": {},
                "error": null
              }
            }
          },
          "output": {
            "reason": "The target operation is to scale out the cluster to 2 TiDB nodes. The current state shows that the cluster is in an 'ACTIVE' state, which is a stable state, allowing for scaling operations. The feedback confirms that the cluster and its TiDB node group are now fully operational and ready for further operations like scaling. Therefore, the most appropriate operation to achieve the target operation is to update the cluster to scale out the TiDB nodes.",
            "operation_id": "ClusterService_UpdateCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_UpdateCluster",
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:59:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale out the cluster to 2C8G 2 TiDB nodes"
            },
            "feedback": "{\"execution_analyzer\": {\"reasoning\": \"The GET request to retrieve the cluster details was successful, as indicated by the 200 status code. The response shows that the cluster state transitioned from 'CREATING' to 'ACTIVE', and the TiDB node group state changed from 'MODIFYING' to 'ACTIVE'. These state changes are significant as they indicate the cluster is now fully operational, which is a necessary step before scaling out the cluster to add more nodes. Although the operation was a GET request, it provided crucial information about the current state of the cluster, confirming that it is ready for further operations like scaling. This aligns with the target operation of scaling out the cluster, as the cluster must be in an 'ACTIVE' state to proceed with scaling operations. Therefore, the request was successful in providing the necessary state information to move towards the target operation.\", \"result_type\": \"success\", \"confidence\": 0.95}, \"target_match\": {\"reason\": \"The concrete operation executed is a 'GET' request to retrieve information about a specific cluster identified by 'clusterId'. This operation is focused on fetching data and does not perform any modifications or scaling actions on the cluster. The target operation, however, requires scaling out the cluster to a specific configuration of 2C8G with 2 TiDB nodes, which is an action that involves changing the cluster's resources and configuration. Since the concrete operation does not perform any scaling or modification, it does not fulfill the requirements of the target operation.\", \"judgement\": false}, \"response\": {\"status_code\": 200, \"json\": {\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:59:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}, \"headers\": {}, \"error\": null}}"
          },
          "output": {
            "request": {
              "method": "PATCH",
              "path": "/clusters/{cluster.clusterId}",
              "path_params": "{\"cluster.clusterId\": \"10899341031126750090\"}",
              "query_params": null,
              "headers": null,
              "body": "{\"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"tidbNodeGroupId\": \"1905121706914086912\", \"nodeCount\": 2}]}}"
            },
            "description": "Scale out the TiDB cluster with ID 10899341031126750090 to have 2 TiDB nodes with the existing node specification of 2C8G.",
            "expect": null,
            "request_type": "http"
          }
        },
        "execution_analysis": {
          "input": {
            "request": {
              "method": "PATCH",
              "path": "/clusters/{cluster.clusterId}",
              "path_params": "{\n  \"cluster.clusterId\": \"10899341031126750090\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"2C8G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905121706914086912\",\n        \"nodeCount\": 2\n      }\n    ]\n  }\n}"
            },
            "response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10899341031126750090",
                "clusterId": "10899341031126750090",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "2C8G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905121706914086912",
                      "tidbNodeGroupId": "1905121706914086912",
                      "clusterId": "10899341031126750090",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [],
                      "nodeSpecKey": "2C8G",
                      "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "2C8G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "MODIFYING",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T04:56:24.568Z",
                "updateTime": "2025-03-27T05:00:11.600Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "prev_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:59:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale out the cluster to 2C8G 2 TiDB nodes"
            },
            "available_operations": {
              "ClusterService_ListClusters": {
                "description": "List clusters",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_CreateCluster": {
                "description": "Create a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetCluster": {
                "description": "Get a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_DeleteCluster": {
                "description": "Delete a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_UpdateCluster": {
                "description": "Update a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_PauseCluster": {
                "description": "Pause a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResumeCluster": {
                "description": "Resume a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResetRootPassword": {
                "description": "Reset the root password of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ListNodeInstances": {
                "description": "List node instances",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetNodeInstance": {
                "description": "Get a node instance",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ShowNodeQuota": {
                "description": "Show node quota across the caller's organization",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListRegions": {
                "description": "List regions for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetRegion": {
                "description": "Get a region",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ShowCloudProviders": {
                "description": "Show cloud providers for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListNodeSpecs": {
                "description": "List node specs for creating or scaling a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetNodeSpec": {
                "description": "Get a node spec",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_CreateTidbNodeGroup": {
                "description": "Create a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_ListTidbNodeGroups": {
                "description": "List TiDB Node Groups",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetTidbNodeGroup": {
                "description": "Get a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_DeleteTidbNodeGroup": {
                "description": "Delete a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdateTidbNodeGroup": {
                "description": "Update a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetPublicEndpointSetting": {
                "description": "Get the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdatePublicEndpointSetting": {
                "description": "Update the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateLinkService": {
                "description": "Get the private link service of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_CreatePrivateEndpointConnection": {
                "description": "Create a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_ListPrivateEndpointConnections": {
                "description": "List private endpoint connections",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateEndpointConnection": {
                "description": "Get a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_DeletePrivateEndpointConnection": {
                "description": "Delete a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListNetworkContainers": {
                "description": "List network containers",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateNetworkContainer": {
                "description": "Create a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetNetworkContainer": {
                "description": "Get a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteNetworkContainer": {
                "description": "Delete a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListVpcPeerings": {
                "description": "List VPC peerings",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateVpcPeering": {
                "description": "Create a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetVpcPeering": {
                "description": "Get a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteVpcPeering": {
                "description": "Delete a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceWindow": {
                "description": "Get a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceWindows": {
                "description": "List maintenance windows",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceWindow": {
                "description": "Update a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceTasks": {
                "description": "List maintenance tasks",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceTask": {
                "description": "Get a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceTask": {
                "description": "Update a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogConfig": {
                "description": "Create the audit log config for a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_UpdateAuditLogConfig": {
                "description": "Update the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogConfig": {
                "description": "Get the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogFilterRule": {
                "description": "Create an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogFilterRule": {
                "description": "Get an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_DeleteAuditLogFilterRule": {
                "description": "Delete an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ListAuditLogFilterRules": {
                "description": "List audit log filter rules",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ShowObjectStorageAccessIamPrincipal": {
                "description": "Show IAM principal of TiDB Cloud for accessing customer's object storage",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_QueryAuditLogFiles": {
                "description": "Query audit log files",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GenerateAuditLogFileDownloadAddress": {
                "description": "Generate the download address for an audit log file, the address have an 15 minutes expiration time",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "network create": {
                "description": "Create and start a packet capture session.",
                "type": "azure_cli"
              },
              "network delete": {
                "description": "Delete a packet capture session.",
                "type": "azure_cli"
              },
              "network list": {
                "description": "List Network Watchers.",
                "type": "azure_cli"
              },
              "network show": {
                "description": "Get the results of the last troubleshooting operation.",
                "type": "azure_cli"
              },
              "network update": {
                "description": "Update the flow log configuration of a network security",
                "type": "azure_cli"
              },
              "network wait": {
                "description": "Place the CLI in a waiting state until a condition is",
                "type": "azure_cli"
              },
              "network add": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network remove": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network assign": {
                "description": "Assign/Update AAD(Azure Active Directory) authentication to",
                "type": "azure_cli"
              },
              "network list-server-variables": {
                "description": "List all available",
                "type": "azure_cli"
              },
              "network list-request-headers": {
                "description": "List all available request",
                "type": "azure_cli"
              },
              "network list-response-headers": {
                "description": "List all available response",
                "type": "azure_cli"
              },
              "network list-options": {
                "description": "List available SSL options for",
                "type": "azure_cli"
              },
              "network set": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-dynamic-rule-sets": {
                "description": "List the regional application",
                "type": "azure_cli"
              },
              "network list-rule-sets": {
                "description": "Get information on available WAF rule",
                "type": "azure_cli"
              },
              "network show-backend-health": {
                "description": "Get information on the backend health of an",
                "type": "azure_cli"
              },
              "network start": {
                "description": "Troubleshoot issues with VPN connections or gateway",
                "type": "azure_cli"
              },
              "network stop": {
                "description": "Stop a running packet capture session.",
                "type": "azure_cli"
              },
              "network add-record": {
                "description": "Add a TXT record.",
                "type": "azure_cli"
              },
              "network remove-record": {
                "description": "Remove a TXT record from its record set.",
                "type": "azure_cli"
              },
              "network set-record": {
                "description": "Set the value of a CNAME record.",
                "type": "azure_cli"
              },
              "network export": {
                "description": "Export a Private DNS zone as a DNS zone file.",
                "type": "azure_cli"
              },
              "network import": {
                "description": "Create a Private DNS zone using a DNS zone file.",
                "type": "azure_cli"
              },
              "network list-references": {
                "description": "Returns the DNS records specified by the referencing",
                "type": "azure_cli"
              },
              "network get-stats": {
                "description": "Get the statistics of an ExpressRoute circuit.",
                "type": "azure_cli"
              },
              "network generate-loa": {
                "description": "Generate and download a letter of authorization for",
                "type": "azure_cli"
              },
              "network list-arp-tables": {
                "description": "Show the current Address Resolution Protocol (ARP)",
                "type": "azure_cli"
              },
              "network list-route-tables": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-route-tables-summary": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-service-providers": {
                "description": "List available ExpressRoute service providers.",
                "type": "azure_cli"
              },
              "network list-mapping": {
                "description": "List inbound NAT rule port mappings.",
                "type": "azure_cli"
              },
              "network list-nic": {
                "description": "List associated load balancer network interfaces.",
                "type": "azure_cli"
              },
              "network list-effective-nsg": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-traffic-filter-",
                "type": "azure_cli"
              },
              "network show-effective-route-table": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-routing-",
                "type": "azure_cli"
              },
              "network list-types": {
                "description": "Returns all of the resource types that can be linked to",
                "type": "azure_cli"
              },
              "network approve": {
                "description": "Approve a private endpoint connection.",
                "type": "azure_cli"
              },
              "network reject": {
                "description": "Reject a private endpoint connection.",
                "type": "azure_cli"
              },
              "network list-auto-approved": {
                "description": "List all of the private link service ids",
                "type": "azure_cli"
              },
              "network list-service-communities": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-advertised-routes": {
                "description": "List the routes of a virtual network gateway",
                "type": "azure_cli"
              },
              "network list-learned-routes": {
                "description": "This operation retrieves a list of routes the",
                "type": "azure_cli"
              },
              "network show-geographic-hierarchy": {
                "description": "Get the default geographic",
                "type": "azure_cli"
              },
              "network check-dns": {
                "description": "Check the availability of a relative DNS name.",
                "type": "azure_cli"
              },
              "network restart": {
                "description": "Restarts one or more VMs belonging to the specified",
                "type": "azure_cli"
              },
              "network sync": {
                "description": "Sync a virtual network peering connection.",
                "type": "azure_cli"
              },
              "network list-available-delegations": {
                "description": "List the services available for subnet",
                "type": "azure_cli"
              },
              "network list-available-ips": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network check-ip-address": {
                "description": "Check if a private IP address is available for use within a",
                "type": "azure_cli"
              },
              "network list-endpoint-services": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "network clear": {
                "description": "Delete all IPsec policies on a VPN connection.",
                "type": "azure_cli"
              },
              "network generate": {
                "description": "Generate VPN client configuration.",
                "type": "azure_cli"
              },
              "network show-health": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-url": {
                "description": "Retrieve a pre-generated VPN client configuration.",
                "type": "azure_cli"
              },
              "network disconnect-vpn-connections": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-bgp-peer-status": {
                "description": "Retrieve the status of BGP peers.",
                "type": "azure_cli"
              },
              "network reset": {
                "description": "Reset a VPN connection shared key.",
                "type": "azure_cli"
              },
              "network show-supported-devices": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-ike-sas": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-device-config-script": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network query": {
                "description": "Query a snapshot of the most recent connection",
                "type": "azure_cli"
              },
              "network show-status": {
                "description": "Show the status of a packet capture session.",
                "type": "azure_cli"
              },
              "network configure": {
                "description": "Configure the Network Watcher service for different regions.",
                "type": "azure_cli"
              },
              "network run-configuration-diagnostic": {
                "description": "Run a configuration diagnostic on a target",
                "type": "azure_cli"
              },
              "network show-next-hop": {
                "description": "//learn.microsoft.com/en-us/azure/network-",
                "type": "azure_cli"
              },
              "network show-security-group-view": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network show-topology": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network test-connectivity": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network test-ip-flow": {
                "description": "//learn.microsoft.com/en-us/azure/network-watcher/diagnose-vm-",
                "type": "azure_cli"
              },
              "network list-service-aliases": {
                "description": "List available service aliases in the region which can be used",
                "type": "azure_cli"
              },
              "network list-service-tags": {
                "description": "//learn.microsoft.com/azure/virtual-network/security-overview#service-tags. Note that",
                "type": "azure_cli"
              },
              "network list-usages": {
                "description": "List the number of network resources in a region that are used against",
                "type": "azure_cli"
              },
              "vm list": {
                "description": "//learn.microsoft.com/cli/azure/query-az-cli2.",
                "type": "azure_cli"
              },
              "vm set": {
                "description": "Configure settings of a NIC attached to a VM.",
                "type": "azure_cli"
              },
              "vm convert": {
                "description": "Convert a VM with unmanaged disks to use managed disks.",
                "type": "azure_cli"
              },
              "vm create": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm delete": {
                "description": "Delete a VM.",
                "type": "azure_cli"
              },
              "vm list-sizes": {
                "description": "List available sizes for VMs.",
                "type": "azure_cli"
              },
              "vm show": {
                "description": "Get the details of a VM.",
                "type": "azure_cli"
              },
              "vm update": {
                "description": "Update the properties of a VM.",
                "type": "azure_cli"
              },
              "vm disable": {
                "description": "Disable disk encryption on the OS disk and/or data disks. Decrypt",
                "type": "azure_cli"
              },
              "vm enable": {
                "description": "//learn.microsoft.com/azure/security/fundamentals/azure-disk-encryption-vms-vmss.",
                "type": "azure_cli"
              },
              "vm get-boot-log": {
                "description": "Get the boot diagnostics log from a VM.",
                "type": "azure_cli"
              },
              "vm get-boot-log-uris": {
                "description": "Get SAS URIs for a virtual machine's boot diagnostic",
                "type": "azure_cli"
              },
              "vm get-default-config": {
                "description": "Get the default configuration settings for a VM.",
                "type": "azure_cli"
              },
              "vm attach": {
                "description": "Attach an unmanaged persistent disk to a VM.",
                "type": "azure_cli"
              },
              "vm detach": {
                "description": "Detach an unmanaged disk from a VM.",
                "type": "azure_cli"
              },
              "vm list-names": {
                "description": "List the names of available extensions.",
                "type": "azure_cli"
              },
              "vm list-versions": {
                "description": "List the versions for available extensions.",
                "type": "azure_cli"
              },
              "vm wait": {
                "description": "Place the CLI in a waiting state until a condition of the VM is met.",
                "type": "azure_cli"
              },
              "vm get-instance-view": {
                "description": "Get instance information about a VM.",
                "type": "azure_cli"
              },
              "vm list-resize-options": {
                "description": "The dedicated host sizes provided can be used to only scale",
                "type": "azure_cli"
              },
              "vm redeploy": {
                "description": "Redeploy an existing VM.",
                "type": "azure_cli"
              },
              "vm resize": {
                "description": "Update a VM's size.",
                "type": "azure_cli"
              },
              "vm restart": {
                "description": "Restart VMs.",
                "type": "azure_cli"
              },
              "vm assign": {
                "description": "Enable managed service identity on a VM.",
                "type": "azure_cli"
              },
              "vm remove": {
                "description": "Remove a secret from a VM.",
                "type": "azure_cli"
              },
              "vm accept": {
                "description": "Accept Azure Marketplace image terms so that the image can be used to",
                "type": "azure_cli"
              },
              "vm cancel": {
                "description": "Cancel Azure Marketplace image terms.",
                "type": "azure_cli"
              },
              "vm accept-terms": {
                "description": "This command has been deprecated and will be removed in version '3.0.0'. Use 'az vm",
                "type": "azure_cli"
              },
              "vm list-offers": {
                "description": "List the VM image offers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-publishers": {
                "description": "List the VM image publishers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-skus": {
                "description": "Get details for compute-related resource SKUs.",
                "type": "azure_cli"
              },
              "vm list-definitions": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm tail": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm add": {
                "description": "//learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)",
                "type": "azure_cli"
              },
              "vm invoke": {
                "description": "Execute a specific run command on a vm.",
                "type": "azure_cli"
              },
              "vm format": {
                "description": "Transform secrets into a form that can be used by VMs and VMSSes.",
                "type": "azure_cli"
              },
              "vm reset-ssh": {
                "description": "Reset the SSH configuration on a VM.",
                "type": "azure_cli"
              },
              "vm assess-patches": {
                "description": "Assess patches on a VM.",
                "type": "azure_cli"
              },
              "vm auto-shutdown": {
                "description": "Manage auto-shutdown for VM.",
                "type": "azure_cli"
              },
              "vm capture": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm deallocate": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm generalize": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm install-patches": {
                "description": "Install patches on a VM.",
                "type": "azure_cli"
              },
              "vm list-ip-addresses": {
                "description": "List IP addresses associated with a VM.",
                "type": "azure_cli"
              },
              "vm list-usage": {
                "description": "List available usage resources for VMs.",
                "type": "azure_cli"
              },
              "vm list-vm-resize-options": {
                "description": "List available resizing options for VMs.",
                "type": "azure_cli"
              },
              "vm open-port": {
                "description": "Opens a VM to inbound traffic on specified ports.",
                "type": "azure_cli"
              },
              "vm perform-maintenance": {
                "description": "The operation to perform maintenance on a virtual machine.",
                "type": "azure_cli"
              },
              "vm reapply": {
                "description": "Reapply VMs.",
                "type": "azure_cli"
              },
              "vm reimage": {
                "description": "The retaining of old OS disk depends on the value of deleteOption of OS",
                "type": "azure_cli"
              },
              "vm simulate-eviction": {
                "description": "Simulate the eviction of a Spot VM.",
                "type": "azure_cli"
              },
              "vm start": {
                "description": "Start a stopped VM.",
                "type": "azure_cli"
              },
              "vm stop": {
                "description": "Power off (stop) a running VM.",
                "type": "azure_cli"
              }
            },
            "operation_spec": {
              "paths": {
                "/clusters/{cluster.clusterId}": {
                  "patch": {
                    "summary": "Update a cluster",
                    "operationId": "ClusterService_UpdateCluster",
                    "responses": {
                      "200": {
                        "description": "A successful response.",
                        "schema": {
                          "$ref": "#/definitions/tidb_cloud_open_apidedicatedv1beta1Cluster"
                        }
                      },
                      "400": {
                        "description": "Bad Request",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "401": {
                        "description": "Unauthorized",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "403": {
                        "description": "Forbidden",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "429": {
                        "description": "Too Many Requests",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "500": {
                        "description": "Internal Server Error",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "default": {
                        "description": "An unexpected error response.",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      }
                    },
                    "parameters": [
                      {
                        "name": "cluster.clusterId",
                        "in": "path",
                        "required": true,
                        "type": "string"
                      },
                      {
                        "name": "cluster",
                        "in": "body",
                        "required": true,
                        "schema": {
                          "type": "object",
                          "properties": {
                            "tidbNodeSetting": {
                              "$ref": "#/definitions/v1beta1UpdateClusterRequestTidbNodeSetting"
                            },
                            "tikvNodeSetting": {
                              "$ref": "#/definitions/v1beta1UpdateClusterRequestStorageNodeSetting"
                            },
                            "tiflashNodeSetting": {
                              "$ref": "#/definitions/v1beta1UpdateClusterRequestStorageNodeSetting"
                            },
                            "displayName": {
                              "type": "string"
                            },
                            "labels": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "string"
                              },
                              "description": "The project_id key cannot be updated. If the project_id key is specified, it will be ignored."
                            }
                          }
                        }
                      },
                      {
                        "name": "validateOnly",
                        "description": "if validate_only is true, the request will be validated but not executed.",
                        "in": "query",
                        "required": false,
                        "type": "boolean"
                      }
                    ],
                    "tags": [
                      "ClusterService"
                    ]
                  }
                }
              },
              "components": {
                "schemas": {
                  "v1beta1UpdateClusterRequestTidbNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "tidbNodeGroups": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/UpdateClusterRequestTidbNodeSettingTidbNodeGroup"
                        }
                      }
                    }
                  },
                  "v1beta1UpdateClusterRequestStorageNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "When update TiFlash node setting:\n  - If the node count is set to 0, the TiFlash node will be removed.\n  - If the node count is null, the TiFlash node count won't change.\nFor other components, if the node count is set to 0, server will ignore the node count."
                      },
                      "storageSizeGi": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "storageType": {
                        "description": "Allow change storage type.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/StorageNodeSettingStorageType"
                          }
                        ]
                      },
                      "raftStoreIops": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "If raft_store_iops is not set, the default IOPS of raft store will be used."
                      }
                    }
                  },
                  "tidb_cloud_open_apidedicatedv1beta1Cluster": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "The name of TiDB cluster resource.\nFormat: clusters/{cluster_id}",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The unique ID of the cluster.",
                        "readOnly": true
                      },
                      "displayName": {
                        "type": "string",
                        "example": "foo-bar",
                        "description": "The display name of the cluster.",
                        "maxLength": 64,
                        "minLength": 4,
                        "pattern": "^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$"
                      },
                      "regionId": {
                        "type": "string",
                        "title": "Required. Region where the cluster will be created.\nFormat: {cloud_provider}-{region_code}"
                      },
                      "labels": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "The labels of the cluster.\nIf there is no \"project_id\" in labels, resource should be in the default project of the creator's organization."
                      },
                      "tidbNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterTidbNodeSetting"
                      },
                      "tikvNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "tiflashNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The port of the cluster. This port applies to all network endpoints of the cluster."
                      },
                      "rootPassword": {
                        "type": "string",
                        "example": "my-shining-password",
                        "maxLength": 64,
                        "minLength": 8,
                        "pattern": "^.{8,64}$"
                      },
                      "state": {
                        "description": "The current state of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/commonv1beta1ClusterState"
                          }
                        ]
                      },
                      "version": {
                        "type": "string",
                        "description": "The TiDB version of the cluster.",
                        "readOnly": true
                      },
                      "createdBy": {
                        "type": "string",
                        "description": "The email address or public api key of the creator of the cluster.",
                        "readOnly": true
                      },
                      "createTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was created.",
                        "readOnly": true
                      },
                      "updateTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was last updated.",
                        "readOnly": true
                      },
                      "pausePlan": {
                        "description": "Pause plan of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlan"
                          }
                        ]
                      },
                      "regionDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "cloudProvider": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/v1beta1RegionCloudProvider"
                          }
                        ]
                      },
                      "annotations": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "OUTPUT_ONLY. The annotations for the cluster.\ntidb.cloud/has-set-password. The annotation for whether the cluster has set password.\ntidb.cloud/available-features. The annotation for the available features of the cluster.",
                        "readOnly": true
                      }
                    },
                    "description": "Cluster represents a dedicated TiDB cluster.",
                    "required": [
                      "displayName",
                      "regionId",
                      "tidbNodeSetting",
                      "tikvNodeSetting",
                      "port"
                    ]
                  },
                  "UpdateClusterRequestTidbNodeSettingTidbNodeGroup": {
                    "type": "object",
                    "properties": {
                      "tidbNodeGroupId": {
                        "type": "string",
                        "title": "if tidb_node_group_id is empty, it means scale default tidb group"
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true
                      },
                      "tiproxySetting": {
                        "$ref": "#/definitions/TidbNodeGroupTiProxySetting"
                      }
                    }
                  },
                  "v1beta1ClusterStorageNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "storageSizeGi": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "storageType": {
                        "description": "Default to Basic.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/StorageNodeSettingStorageType"
                          }
                        ]
                      },
                      "raftStoreIops": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "If raft_store_iops is not set, the default IOPS of raft store will be used."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "title": "output only",
                        "readOnly": true
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount",
                      "nodeSpecKey",
                      "storageSizeGi"
                    ]
                  },
                  "StorageNodeSettingStorageType": {
                    "type": "string",
                    "enum": [
                      "Basic",
                      "Standard",
                      "Performance",
                      "Plus"
                    ],
                    "description": "Spec https://pingcap.feishu.cn/wiki/R6dcwK0Q3i9XSgkgG1Scoc82nbf.\n\n - Basic: Data disk: gp3; Raft log disk: none.\n - Standard: Data disk: gp3; Raft log disk: gp3.\n - Performance: Data disk: gp3; Raft log disk: io2.\n - Plus: Data disk: io2; Raft log disk: none."
                  },
                  "TidbNodeGroupTiProxySetting": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "description": "The type of TiProxy.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxyType"
                          }
                        ]
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "The number of TiProxy nodes in the TiDB group.\nIf not set or set to 0, represents the TiProxy is disabled."
                      }
                    }
                  },
                  "commonv1beta1ClusterState": {
                    "type": "string",
                    "enum": [
                      "CREATING",
                      "DELETING",
                      "ACTIVE",
                      "RESTORING",
                      "MAINTENANCE",
                      "DELETED",
                      "INACTIVE",
                      "UPGRADING",
                      "IMPORTING",
                      "MODIFYING",
                      "PAUSING",
                      "PAUSED",
                      "RESUMING"
                    ],
                    "description": "Enum of possible states of a cluster.\n\n - CREATING: Cluster is being created.\n - DELETING: Cluster is being deleted.\n - ACTIVE: Cluster is active for use.\n - RESTORING: Cluster data is being restored.\n - MAINTENANCE: Cluster is under maintenance.\n - DELETED: Cluster has been deleted.\n - INACTIVE: Cluster is not active, but not being deleted.\n - UPGRADING: Cluster is being updated.\nOnly for Dedicated Cluster.\n - IMPORTING: Cluster is being imported.\nOnly for Dedicated Cluster.\n - MODIFYING: Cluster is being modified.\nOnly for Dedicated Cluster.\n - PAUSING: Cluster is being paused.\nOnly for Dedicated Cluster.\n - PAUSED: Cluster is paused.\nOnly for Dedicated Cluster.\n - RESUMING: Cluster is resuming.\nOnly for Dedicated Cluster."
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "ClusterNodeChangingProgress": {
                    "type": "object",
                    "properties": {
                      "matchingNodeSpecNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "remainingDeletionNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "available if some nodes are deleting.",
                        "readOnly": true
                      }
                    }
                  },
                  "v1beta1ClusterTidbNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "tidbNodeGroups": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroup"
                        },
                        "description": "When creating a cluster, the length of the `tidb_node_groups` should be 1\nand the `node_count` field of `TidbNodeGroup` should be set."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "nodeSpecKey",
                      "tidbNodeGroups"
                    ]
                  },
                  "TidbNodeGroupTiProxyType": {
                    "type": "string",
                    "enum": [
                      "Medium",
                      "Large"
                    ],
                    "title": "- Medium: Medium is the default value.\nInstance 4vCPU, Max QPS: 30k, Max Data Traffic: 90 MiB/s\n - Large: Large is the high performance value.\nInstance 8vCPU, Max QPS: 60k, Max Data Traffic: 150 MiB/s"
                  },
                  "v1beta1RegionCloudProvider": {
                    "type": "string",
                    "enum": [
                      "aws",
                      "gcp",
                      "azure",
                      "alicloud"
                    ],
                    "description": "Enum of cloud provider names.\n\n - aws: Amazon Web Services.\n - gcp: Google Cloud Platform.\n - azure: Microsoft Azure.\n - alicloud: Alibaba Cloud"
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "dedicatedv1beta1TidbNodeGroup": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "Format: tidbNodeGroups/{tidb_node_group_id}",
                        "readOnly": true
                      },
                      "tidbNodeGroupId": {
                        "type": "string",
                        "description": "The unique ID of the TiDB group.",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The cluster ID of the TiDB group.\nOptional when creating cluster with the default TiDB group.\nRequired when creating non-default TiDB group."
                      },
                      "displayName": {
                        "type": "string",
                        "description": "The display name of the TiDB group."
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The number of TiDB nodes in the TiDB group."
                      },
                      "endpoints": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupEndpoint"
                        },
                        "readOnly": true
                      },
                      "nodeSpecKey": {
                        "type": "string",
                        "readOnly": true
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "isDefaultGroup": {
                        "type": "boolean",
                        "readOnly": true
                      },
                      "state": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupState"
                          }
                        ]
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      },
                      "tiproxySetting": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxySetting"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount"
                    ]
                  },
                  "dedicatedv1beta1TidbNodeGroupEndpoint": {
                    "type": "object",
                    "properties": {
                      "host": {
                        "type": "string",
                        "description": "When endpoint's type is `PRIVATE_ENDPOINT`, the `host` field behave differently across cloud providers:\nFor AWS clusters, the `host` field is available right after the private link service is ready.\nFor GCP and Azure clusters, the `host` field is available after the user creates a `PrivateEndpointConnection`.",
                        "readOnly": true
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "connectionType": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/EndpointConnectionType"
                          }
                        ]
                      }
                    }
                  },
                  "dedicatedv1beta1TidbNodeGroupState": {
                    "type": "string",
                    "enum": [
                      "ACTIVE",
                      "MODIFYING",
                      "PAUSED"
                    ],
                    "description": " - ACTIVE: All nodes are ready.\n - MODIFYING: When TiDB group is modifying.\n - PAUSED: When cluster is paused."
                  },
                  "EndpointConnectionType": {
                    "type": "string",
                    "enum": [
                      "PUBLIC",
                      "VPC_PEERING",
                      "PRIVATE_ENDPOINT"
                    ],
                    "description": " - PUBLIC: The endpoint is a public endpoint.\n - VPC_PEERING: The endpoint is a VPC peering endpoint.\n - PRIVATE_ENDPOINT: The endpoint is a private link endpoint."
                  }
                }
              }
            }
          },
          "output": {
            "reasoning": "The request was a PATCH operation to update the cluster by scaling out the TiDB node group from 1 to 2 nodes. The response status code was 200, indicating a successful operation. The state transition shows that the cluster's TiDB node group was successfully updated from 1 node to 2 nodes, which aligns with the target operation of scaling out to 2 TiDB nodes. The cluster state changed from 'ACTIVE' to 'MODIFYING', which is expected during an update operation. The operation was appropriate for the current state and moved the system closer to the target operation. There were no errors in the response, and the request was correctly formed according to the operation specification.",
            "result_type": "success",
            "confidence": 0.95
          }
        },
        "target_matching": {
          "input": {
            "last_step": {
              "operation_id": "ClusterService_UpdateCluster",
              "step_type": "generated",
              "request_type": "http",
              "request": {
                "auth": {
                  "auth_type": "digest",
                  "content": "{}"
                },
                "method": "PATCH",
                "path": "/clusters/{cluster.clusterId}",
                "path_params": "{\n  \"cluster.clusterId\": \"10899341031126750090\"\n}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"2C8G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905121706914086912\",\n        \"nodeCount\": 2\n      }\n    ]\n  }\n}"
              },
              "description": "Scale out the TiDB cluster with ID 10899341031126750090 to have 2 TiDB nodes with the existing node specification of 2C8G.",
              "max_retries": 0,
              "delay_after": 0,
              "expect": null
            },
            "target_operation": {
              "original_description": "scale out the cluster to 2C8G 2 TiDB nodes"
            }
          },
          "output": {
            "reason": "The concrete operation is a PATCH request to update a cluster with a specific cluster ID. The body of the request specifies a 'tidbNodeSetting' with a 'nodeSpecKey' of '2C8G' and a 'tidbNodeGroups' array containing a single object with 'tidbNodeGroupId' and 'nodeCount' set to 2. This matches the target operation's requirement to scale out the cluster to 2C8G with 2 TiDB nodes, as the 'nodeSpecKey' and 'nodeCount' directly correspond to the target operation's specifications.",
            "judgement": true
          }
        },
        "resource_manager": {
          "input": {
            "last_request": {
              "auth": {
                "auth_type": "digest",
                "content": "{}"
              },
              "method": "PATCH",
              "path": "/clusters/{cluster.clusterId}",
              "path_params": "{\n  \"cluster.clusterId\": \"10899341031126750090\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"2C8G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905121706914086912\",\n        \"nodeCount\": 2\n      }\n    ]\n  }\n}"
            },
            "last_response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10899341031126750090",
                "clusterId": "10899341031126750090",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "2C8G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905121706914086912",
                      "tidbNodeGroupId": "1905121706914086912",
                      "clusterId": "10899341031126750090",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [],
                      "nodeSpecKey": "2C8G",
                      "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "2C8G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "MODIFYING",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T04:56:24.568Z",
                "updateTime": "2025-03-27T05:00:11.600Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "previous_resources": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T04:59:24.568Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            }
          },
          "output": {
            "resources": [
              {
                "id": "10899341031126750090",
                "resource_type": "clusters",
                "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                "state": "MODIFYING",
                "parent_id": "",
                "reference_ids": []
              },
              {
                "id": "1905121706914086912",
                "resource_type": "tidbnodegroups",
                "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                "state": "ACTIVE",
                "parent_id": "10899341031126750090",
                "reference_ids": []
              },
              {
                "id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet",
                "resource_type": "vpcs",
                "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                "state": "Succeeded",
                "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet",
                "reference_ids": []
              }
            ]
          }
        },
        "timestamp": "2025-03-27T13:00:35.428966",
        "error": null,
        "error_traceback": null
      },
      {
        "generation_id": "4aa78495-f592-4919-b098-32c6b53d4746",
        "operation_id": "ClusterService_GetCluster",
        "state_before": {
          "clusters": {
            "10899341031126750090": {
              "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905121706914086912": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10899341031126750090"
            }
          },
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "state_after": {
          "clusters": {
            "10899341031126750090": {
              "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905121706914086912": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10899341031126750090"
            }
          },
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "request": {
          "request_type": "http",
          "request": "{\"method\": \"PATCH\", \"path\": \"/clusters/10899341031126750090\", \"headers\": {}, \"query_params\": {}, \"body\": {\"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"tidbNodeGroupId\": \"1905121706914086912\", \"nodeCount\": 1}]}}, \"auth\": {\"auth_type\": \"digest\", \"content\": \"01GPB7L0:1a5bc2d1-70db-4621-aa82-91f2314123bc\"}}",
          "expect": null,
          "max_retries": 0,
          "delay_after": 0
        },
        "response": {
          "status_code": 400,
          "json": {
            "code": 400,
            "message": "Cluster is not available for this action.",
            "details": [
              {
                "@type": "type.tidbapi.com/tidb.rpc.RequestInfo",
                "requestId": "20250327050051ee3283802e957b9b10",
                "servingData": "bizErrorCode: 49900001"
              }
            ]
          },
          "headers": {},
          "error": null
        },
        "status_code": 400,
        "operation_selection": {
          "input": {
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale in this cluster to 2C8G 1 TiDB node"
            },
            "feedback": {
              "execution_analyzer": null,
              "attempts": 0,
              "target_matcher": null,
              "response": null
            }
          },
          "output": {
            "reason": "The target operation is to scale in the cluster to 1 TiDB node. The current state shows that the cluster is in a 'MODIFYING' state, which is a transitional state. According to the business logic, when a resource is in a transitional state, the next operation should be a GET method operation related to the resource to check its current status. Therefore, the most appropriate operation is to check the current status of the cluster to see if it has transitioned to a stable state before proceeding with the scaling operation.",
            "operation_id": "ClusterService_GetCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_GetCluster",
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale in this cluster to 2C8G 1 TiDB node"
            },
            "feedback": "{\"execution_analyzer\": null, \"attempts\": 0, \"target_matcher\": null, \"response\": null}"
          },
          "output": {
            "request": {
              "method": "PATCH",
              "path": "/clusters/{clusterId}",
              "path_params": "{\"clusterId\": \"10899341031126750090\"}",
              "query_params": null,
              "headers": null,
              "body": "{\"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"tidbNodeGroupId\": \"1905121706914086912\", \"nodeCount\": 1}]}}"
            },
            "description": "Scale in the TiDB cluster with ID 10899341031126750090 to have 1 TiDB node with the existing node specification of 2C8G.",
            "expect": null,
            "request_type": "http"
          }
        },
        "execution_analysis": {
          "input": {
            "request": {
              "method": "PATCH",
              "path": "/clusters/{clusterId}",
              "path_params": "{\n  \"clusterId\": \"10899341031126750090\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"2C8G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905121706914086912\",\n        \"nodeCount\": 1\n      }\n    ]\n  }\n}"
            },
            "response": {
              "status_code": 400,
              "json": {
                "code": 400,
                "message": "Cluster is not available for this action.",
                "details": [
                  {
                    "@type": "type.tidbapi.com/tidb.rpc.RequestInfo",
                    "requestId": "20250327050051ee3283802e957b9b10",
                    "servingData": "bizErrorCode: 49900001"
                  }
                ]
              },
              "headers": {},
              "error": null
            },
            "prev_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale in this cluster to 2C8G 1 TiDB node"
            },
            "available_operations": {
              "ClusterService_ListClusters": {
                "description": "List clusters",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_CreateCluster": {
                "description": "Create a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetCluster": {
                "description": "Get a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_DeleteCluster": {
                "description": "Delete a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_UpdateCluster": {
                "description": "Update a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_PauseCluster": {
                "description": "Pause a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResumeCluster": {
                "description": "Resume a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResetRootPassword": {
                "description": "Reset the root password of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ListNodeInstances": {
                "description": "List node instances",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetNodeInstance": {
                "description": "Get a node instance",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ShowNodeQuota": {
                "description": "Show node quota across the caller's organization",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListRegions": {
                "description": "List regions for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetRegion": {
                "description": "Get a region",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ShowCloudProviders": {
                "description": "Show cloud providers for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListNodeSpecs": {
                "description": "List node specs for creating or scaling a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetNodeSpec": {
                "description": "Get a node spec",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_CreateTidbNodeGroup": {
                "description": "Create a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_ListTidbNodeGroups": {
                "description": "List TiDB Node Groups",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetTidbNodeGroup": {
                "description": "Get a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_DeleteTidbNodeGroup": {
                "description": "Delete a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdateTidbNodeGroup": {
                "description": "Update a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetPublicEndpointSetting": {
                "description": "Get the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdatePublicEndpointSetting": {
                "description": "Update the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateLinkService": {
                "description": "Get the private link service of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_CreatePrivateEndpointConnection": {
                "description": "Create a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_ListPrivateEndpointConnections": {
                "description": "List private endpoint connections",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateEndpointConnection": {
                "description": "Get a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_DeletePrivateEndpointConnection": {
                "description": "Delete a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListNetworkContainers": {
                "description": "List network containers",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateNetworkContainer": {
                "description": "Create a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetNetworkContainer": {
                "description": "Get a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteNetworkContainer": {
                "description": "Delete a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListVpcPeerings": {
                "description": "List VPC peerings",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateVpcPeering": {
                "description": "Create a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetVpcPeering": {
                "description": "Get a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteVpcPeering": {
                "description": "Delete a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceWindow": {
                "description": "Get a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceWindows": {
                "description": "List maintenance windows",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceWindow": {
                "description": "Update a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceTasks": {
                "description": "List maintenance tasks",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceTask": {
                "description": "Get a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceTask": {
                "description": "Update a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogConfig": {
                "description": "Create the audit log config for a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_UpdateAuditLogConfig": {
                "description": "Update the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogConfig": {
                "description": "Get the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogFilterRule": {
                "description": "Create an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogFilterRule": {
                "description": "Get an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_DeleteAuditLogFilterRule": {
                "description": "Delete an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ListAuditLogFilterRules": {
                "description": "List audit log filter rules",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ShowObjectStorageAccessIamPrincipal": {
                "description": "Show IAM principal of TiDB Cloud for accessing customer's object storage",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_QueryAuditLogFiles": {
                "description": "Query audit log files",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GenerateAuditLogFileDownloadAddress": {
                "description": "Generate the download address for an audit log file, the address have an 15 minutes expiration time",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "network create": {
                "description": "Create and start a packet capture session.",
                "type": "azure_cli"
              },
              "network delete": {
                "description": "Delete a packet capture session.",
                "type": "azure_cli"
              },
              "network list": {
                "description": "List Network Watchers.",
                "type": "azure_cli"
              },
              "network show": {
                "description": "Get the results of the last troubleshooting operation.",
                "type": "azure_cli"
              },
              "network update": {
                "description": "Update the flow log configuration of a network security",
                "type": "azure_cli"
              },
              "network wait": {
                "description": "Place the CLI in a waiting state until a condition is",
                "type": "azure_cli"
              },
              "network add": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network remove": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network assign": {
                "description": "Assign/Update AAD(Azure Active Directory) authentication to",
                "type": "azure_cli"
              },
              "network list-server-variables": {
                "description": "List all available",
                "type": "azure_cli"
              },
              "network list-request-headers": {
                "description": "List all available request",
                "type": "azure_cli"
              },
              "network list-response-headers": {
                "description": "List all available response",
                "type": "azure_cli"
              },
              "network list-options": {
                "description": "List available SSL options for",
                "type": "azure_cli"
              },
              "network set": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-dynamic-rule-sets": {
                "description": "List the regional application",
                "type": "azure_cli"
              },
              "network list-rule-sets": {
                "description": "Get information on available WAF rule",
                "type": "azure_cli"
              },
              "network show-backend-health": {
                "description": "Get information on the backend health of an",
                "type": "azure_cli"
              },
              "network start": {
                "description": "Troubleshoot issues with VPN connections or gateway",
                "type": "azure_cli"
              },
              "network stop": {
                "description": "Stop a running packet capture session.",
                "type": "azure_cli"
              },
              "network add-record": {
                "description": "Add a TXT record.",
                "type": "azure_cli"
              },
              "network remove-record": {
                "description": "Remove a TXT record from its record set.",
                "type": "azure_cli"
              },
              "network set-record": {
                "description": "Set the value of a CNAME record.",
                "type": "azure_cli"
              },
              "network export": {
                "description": "Export a Private DNS zone as a DNS zone file.",
                "type": "azure_cli"
              },
              "network import": {
                "description": "Create a Private DNS zone using a DNS zone file.",
                "type": "azure_cli"
              },
              "network list-references": {
                "description": "Returns the DNS records specified by the referencing",
                "type": "azure_cli"
              },
              "network get-stats": {
                "description": "Get the statistics of an ExpressRoute circuit.",
                "type": "azure_cli"
              },
              "network generate-loa": {
                "description": "Generate and download a letter of authorization for",
                "type": "azure_cli"
              },
              "network list-arp-tables": {
                "description": "Show the current Address Resolution Protocol (ARP)",
                "type": "azure_cli"
              },
              "network list-route-tables": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-route-tables-summary": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-service-providers": {
                "description": "List available ExpressRoute service providers.",
                "type": "azure_cli"
              },
              "network list-mapping": {
                "description": "List inbound NAT rule port mappings.",
                "type": "azure_cli"
              },
              "network list-nic": {
                "description": "List associated load balancer network interfaces.",
                "type": "azure_cli"
              },
              "network list-effective-nsg": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-traffic-filter-",
                "type": "azure_cli"
              },
              "network show-effective-route-table": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-routing-",
                "type": "azure_cli"
              },
              "network list-types": {
                "description": "Returns all of the resource types that can be linked to",
                "type": "azure_cli"
              },
              "network approve": {
                "description": "Approve a private endpoint connection.",
                "type": "azure_cli"
              },
              "network reject": {
                "description": "Reject a private endpoint connection.",
                "type": "azure_cli"
              },
              "network list-auto-approved": {
                "description": "List all of the private link service ids",
                "type": "azure_cli"
              },
              "network list-service-communities": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-advertised-routes": {
                "description": "List the routes of a virtual network gateway",
                "type": "azure_cli"
              },
              "network list-learned-routes": {
                "description": "This operation retrieves a list of routes the",
                "type": "azure_cli"
              },
              "network show-geographic-hierarchy": {
                "description": "Get the default geographic",
                "type": "azure_cli"
              },
              "network check-dns": {
                "description": "Check the availability of a relative DNS name.",
                "type": "azure_cli"
              },
              "network restart": {
                "description": "Restarts one or more VMs belonging to the specified",
                "type": "azure_cli"
              },
              "network sync": {
                "description": "Sync a virtual network peering connection.",
                "type": "azure_cli"
              },
              "network list-available-delegations": {
                "description": "List the services available for subnet",
                "type": "azure_cli"
              },
              "network list-available-ips": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network check-ip-address": {
                "description": "Check if a private IP address is available for use within a",
                "type": "azure_cli"
              },
              "network list-endpoint-services": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "network clear": {
                "description": "Delete all IPsec policies on a VPN connection.",
                "type": "azure_cli"
              },
              "network generate": {
                "description": "Generate VPN client configuration.",
                "type": "azure_cli"
              },
              "network show-health": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-url": {
                "description": "Retrieve a pre-generated VPN client configuration.",
                "type": "azure_cli"
              },
              "network disconnect-vpn-connections": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-bgp-peer-status": {
                "description": "Retrieve the status of BGP peers.",
                "type": "azure_cli"
              },
              "network reset": {
                "description": "Reset a VPN connection shared key.",
                "type": "azure_cli"
              },
              "network show-supported-devices": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-ike-sas": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-device-config-script": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network query": {
                "description": "Query a snapshot of the most recent connection",
                "type": "azure_cli"
              },
              "network show-status": {
                "description": "Show the status of a packet capture session.",
                "type": "azure_cli"
              },
              "network configure": {
                "description": "Configure the Network Watcher service for different regions.",
                "type": "azure_cli"
              },
              "network run-configuration-diagnostic": {
                "description": "Run a configuration diagnostic on a target",
                "type": "azure_cli"
              },
              "network show-next-hop": {
                "description": "//learn.microsoft.com/en-us/azure/network-",
                "type": "azure_cli"
              },
              "network show-security-group-view": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network show-topology": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network test-connectivity": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network test-ip-flow": {
                "description": "//learn.microsoft.com/en-us/azure/network-watcher/diagnose-vm-",
                "type": "azure_cli"
              },
              "network list-service-aliases": {
                "description": "List available service aliases in the region which can be used",
                "type": "azure_cli"
              },
              "network list-service-tags": {
                "description": "//learn.microsoft.com/azure/virtual-network/security-overview#service-tags. Note that",
                "type": "azure_cli"
              },
              "network list-usages": {
                "description": "List the number of network resources in a region that are used against",
                "type": "azure_cli"
              },
              "vm list": {
                "description": "//learn.microsoft.com/cli/azure/query-az-cli2.",
                "type": "azure_cli"
              },
              "vm set": {
                "description": "Configure settings of a NIC attached to a VM.",
                "type": "azure_cli"
              },
              "vm convert": {
                "description": "Convert a VM with unmanaged disks to use managed disks.",
                "type": "azure_cli"
              },
              "vm create": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm delete": {
                "description": "Delete a VM.",
                "type": "azure_cli"
              },
              "vm list-sizes": {
                "description": "List available sizes for VMs.",
                "type": "azure_cli"
              },
              "vm show": {
                "description": "Get the details of a VM.",
                "type": "azure_cli"
              },
              "vm update": {
                "description": "Update the properties of a VM.",
                "type": "azure_cli"
              },
              "vm disable": {
                "description": "Disable disk encryption on the OS disk and/or data disks. Decrypt",
                "type": "azure_cli"
              },
              "vm enable": {
                "description": "//learn.microsoft.com/azure/security/fundamentals/azure-disk-encryption-vms-vmss.",
                "type": "azure_cli"
              },
              "vm get-boot-log": {
                "description": "Get the boot diagnostics log from a VM.",
                "type": "azure_cli"
              },
              "vm get-boot-log-uris": {
                "description": "Get SAS URIs for a virtual machine's boot diagnostic",
                "type": "azure_cli"
              },
              "vm get-default-config": {
                "description": "Get the default configuration settings for a VM.",
                "type": "azure_cli"
              },
              "vm attach": {
                "description": "Attach an unmanaged persistent disk to a VM.",
                "type": "azure_cli"
              },
              "vm detach": {
                "description": "Detach an unmanaged disk from a VM.",
                "type": "azure_cli"
              },
              "vm list-names": {
                "description": "List the names of available extensions.",
                "type": "azure_cli"
              },
              "vm list-versions": {
                "description": "List the versions for available extensions.",
                "type": "azure_cli"
              },
              "vm wait": {
                "description": "Place the CLI in a waiting state until a condition of the VM is met.",
                "type": "azure_cli"
              },
              "vm get-instance-view": {
                "description": "Get instance information about a VM.",
                "type": "azure_cli"
              },
              "vm list-resize-options": {
                "description": "The dedicated host sizes provided can be used to only scale",
                "type": "azure_cli"
              },
              "vm redeploy": {
                "description": "Redeploy an existing VM.",
                "type": "azure_cli"
              },
              "vm resize": {
                "description": "Update a VM's size.",
                "type": "azure_cli"
              },
              "vm restart": {
                "description": "Restart VMs.",
                "type": "azure_cli"
              },
              "vm assign": {
                "description": "Enable managed service identity on a VM.",
                "type": "azure_cli"
              },
              "vm remove": {
                "description": "Remove a secret from a VM.",
                "type": "azure_cli"
              },
              "vm accept": {
                "description": "Accept Azure Marketplace image terms so that the image can be used to",
                "type": "azure_cli"
              },
              "vm cancel": {
                "description": "Cancel Azure Marketplace image terms.",
                "type": "azure_cli"
              },
              "vm accept-terms": {
                "description": "This command has been deprecated and will be removed in version '3.0.0'. Use 'az vm",
                "type": "azure_cli"
              },
              "vm list-offers": {
                "description": "List the VM image offers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-publishers": {
                "description": "List the VM image publishers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-skus": {
                "description": "Get details for compute-related resource SKUs.",
                "type": "azure_cli"
              },
              "vm list-definitions": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm tail": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm add": {
                "description": "//learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)",
                "type": "azure_cli"
              },
              "vm invoke": {
                "description": "Execute a specific run command on a vm.",
                "type": "azure_cli"
              },
              "vm format": {
                "description": "Transform secrets into a form that can be used by VMs and VMSSes.",
                "type": "azure_cli"
              },
              "vm reset-ssh": {
                "description": "Reset the SSH configuration on a VM.",
                "type": "azure_cli"
              },
              "vm assess-patches": {
                "description": "Assess patches on a VM.",
                "type": "azure_cli"
              },
              "vm auto-shutdown": {
                "description": "Manage auto-shutdown for VM.",
                "type": "azure_cli"
              },
              "vm capture": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm deallocate": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm generalize": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm install-patches": {
                "description": "Install patches on a VM.",
                "type": "azure_cli"
              },
              "vm list-ip-addresses": {
                "description": "List IP addresses associated with a VM.",
                "type": "azure_cli"
              },
              "vm list-usage": {
                "description": "List available usage resources for VMs.",
                "type": "azure_cli"
              },
              "vm list-vm-resize-options": {
                "description": "List available resizing options for VMs.",
                "type": "azure_cli"
              },
              "vm open-port": {
                "description": "Opens a VM to inbound traffic on specified ports.",
                "type": "azure_cli"
              },
              "vm perform-maintenance": {
                "description": "The operation to perform maintenance on a virtual machine.",
                "type": "azure_cli"
              },
              "vm reapply": {
                "description": "Reapply VMs.",
                "type": "azure_cli"
              },
              "vm reimage": {
                "description": "The retaining of old OS disk depends on the value of deleteOption of OS",
                "type": "azure_cli"
              },
              "vm simulate-eviction": {
                "description": "Simulate the eviction of a Spot VM.",
                "type": "azure_cli"
              },
              "vm start": {
                "description": "Start a stopped VM.",
                "type": "azure_cli"
              },
              "vm stop": {
                "description": "Power off (stop) a running VM.",
                "type": "azure_cli"
              }
            },
            "operation_spec": {
              "paths": {
                "/clusters/{clusterId}": {
                  "get": {
                    "summary": "Get a cluster",
                    "operationId": "ClusterService_GetCluster",
                    "responses": {
                      "200": {
                        "description": "A successful response.",
                        "schema": {
                          "$ref": "#/definitions/tidb_cloud_open_apidedicatedv1beta1Cluster"
                        }
                      },
                      "400": {
                        "description": "Bad Request",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "401": {
                        "description": "Unauthorized",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "403": {
                        "description": "Forbidden",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "429": {
                        "description": "Too Many Requests",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "500": {
                        "description": "Internal Server Error",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "default": {
                        "description": "An unexpected error response.",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      }
                    },
                    "parameters": [
                      {
                        "name": "clusterId",
                        "in": "path",
                        "required": true,
                        "type": "string"
                      }
                    ],
                    "tags": [
                      "ClusterService"
                    ]
                  }
                }
              },
              "components": {
                "schemas": {
                  "tidb_cloud_open_apidedicatedv1beta1Cluster": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "The name of TiDB cluster resource.\nFormat: clusters/{cluster_id}",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The unique ID of the cluster.",
                        "readOnly": true
                      },
                      "displayName": {
                        "type": "string",
                        "example": "foo-bar",
                        "description": "The display name of the cluster.",
                        "maxLength": 64,
                        "minLength": 4,
                        "pattern": "^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$"
                      },
                      "regionId": {
                        "type": "string",
                        "title": "Required. Region where the cluster will be created.\nFormat: {cloud_provider}-{region_code}"
                      },
                      "labels": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "The labels of the cluster.\nIf there is no \"project_id\" in labels, resource should be in the default project of the creator's organization."
                      },
                      "tidbNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterTidbNodeSetting"
                      },
                      "tikvNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "tiflashNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The port of the cluster. This port applies to all network endpoints of the cluster."
                      },
                      "rootPassword": {
                        "type": "string",
                        "example": "my-shining-password",
                        "maxLength": 64,
                        "minLength": 8,
                        "pattern": "^.{8,64}$"
                      },
                      "state": {
                        "description": "The current state of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/commonv1beta1ClusterState"
                          }
                        ]
                      },
                      "version": {
                        "type": "string",
                        "description": "The TiDB version of the cluster.",
                        "readOnly": true
                      },
                      "createdBy": {
                        "type": "string",
                        "description": "The email address or public api key of the creator of the cluster.",
                        "readOnly": true
                      },
                      "createTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was created.",
                        "readOnly": true
                      },
                      "updateTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was last updated.",
                        "readOnly": true
                      },
                      "pausePlan": {
                        "description": "Pause plan of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlan"
                          }
                        ]
                      },
                      "regionDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "cloudProvider": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/v1beta1RegionCloudProvider"
                          }
                        ]
                      },
                      "annotations": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "OUTPUT_ONLY. The annotations for the cluster.\ntidb.cloud/has-set-password. The annotation for whether the cluster has set password.\ntidb.cloud/available-features. The annotation for the available features of the cluster.",
                        "readOnly": true
                      }
                    },
                    "description": "Cluster represents a dedicated TiDB cluster.",
                    "required": [
                      "displayName",
                      "regionId",
                      "tidbNodeSetting",
                      "tikvNodeSetting",
                      "port"
                    ]
                  },
                  "commonv1beta1ClusterState": {
                    "type": "string",
                    "enum": [
                      "CREATING",
                      "DELETING",
                      "ACTIVE",
                      "RESTORING",
                      "MAINTENANCE",
                      "DELETED",
                      "INACTIVE",
                      "UPGRADING",
                      "IMPORTING",
                      "MODIFYING",
                      "PAUSING",
                      "PAUSED",
                      "RESUMING"
                    ],
                    "description": "Enum of possible states of a cluster.\n\n - CREATING: Cluster is being created.\n - DELETING: Cluster is being deleted.\n - ACTIVE: Cluster is active for use.\n - RESTORING: Cluster data is being restored.\n - MAINTENANCE: Cluster is under maintenance.\n - DELETED: Cluster has been deleted.\n - INACTIVE: Cluster is not active, but not being deleted.\n - UPGRADING: Cluster is being updated.\nOnly for Dedicated Cluster.\n - IMPORTING: Cluster is being imported.\nOnly for Dedicated Cluster.\n - MODIFYING: Cluster is being modified.\nOnly for Dedicated Cluster.\n - PAUSING: Cluster is being paused.\nOnly for Dedicated Cluster.\n - PAUSED: Cluster is paused.\nOnly for Dedicated Cluster.\n - RESUMING: Cluster is resuming.\nOnly for Dedicated Cluster."
                  },
                  "v1beta1RegionCloudProvider": {
                    "type": "string",
                    "enum": [
                      "aws",
                      "gcp",
                      "azure",
                      "alicloud"
                    ],
                    "description": "Enum of cloud provider names.\n\n - aws: Amazon Web Services.\n - gcp: Google Cloud Platform.\n - azure: Microsoft Azure.\n - alicloud: Alibaba Cloud"
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "v1beta1ClusterStorageNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "storageSizeGi": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "storageType": {
                        "description": "Default to Basic.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/StorageNodeSettingStorageType"
                          }
                        ]
                      },
                      "raftStoreIops": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "If raft_store_iops is not set, the default IOPS of raft store will be used."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "title": "output only",
                        "readOnly": true
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount",
                      "nodeSpecKey",
                      "storageSizeGi"
                    ]
                  },
                  "v1beta1ClusterTidbNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "tidbNodeGroups": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroup"
                        },
                        "description": "When creating a cluster, the length of the `tidb_node_groups` should be 1\nand the `node_count` field of `TidbNodeGroup` should be set."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "nodeSpecKey",
                      "tidbNodeGroups"
                    ]
                  },
                  "dedicatedv1beta1TidbNodeGroup": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "Format: tidbNodeGroups/{tidb_node_group_id}",
                        "readOnly": true
                      },
                      "tidbNodeGroupId": {
                        "type": "string",
                        "description": "The unique ID of the TiDB group.",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The cluster ID of the TiDB group.\nOptional when creating cluster with the default TiDB group.\nRequired when creating non-default TiDB group."
                      },
                      "displayName": {
                        "type": "string",
                        "description": "The display name of the TiDB group."
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The number of TiDB nodes in the TiDB group."
                      },
                      "endpoints": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupEndpoint"
                        },
                        "readOnly": true
                      },
                      "nodeSpecKey": {
                        "type": "string",
                        "readOnly": true
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "isDefaultGroup": {
                        "type": "boolean",
                        "readOnly": true
                      },
                      "state": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupState"
                          }
                        ]
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      },
                      "tiproxySetting": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxySetting"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount"
                    ]
                  },
                  "StorageNodeSettingStorageType": {
                    "type": "string",
                    "enum": [
                      "Basic",
                      "Standard",
                      "Performance",
                      "Plus"
                    ],
                    "description": "Spec https://pingcap.feishu.cn/wiki/R6dcwK0Q3i9XSgkgG1Scoc82nbf.\n\n - Basic: Data disk: gp3; Raft log disk: none.\n - Standard: Data disk: gp3; Raft log disk: gp3.\n - Performance: Data disk: gp3; Raft log disk: io2.\n - Plus: Data disk: io2; Raft log disk: none."
                  },
                  "TidbNodeGroupTiProxySetting": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "description": "The type of TiProxy.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxyType"
                          }
                        ]
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "The number of TiProxy nodes in the TiDB group.\nIf not set or set to 0, represents the TiProxy is disabled."
                      }
                    }
                  },
                  "dedicatedv1beta1TidbNodeGroupEndpoint": {
                    "type": "object",
                    "properties": {
                      "host": {
                        "type": "string",
                        "description": "When endpoint's type is `PRIVATE_ENDPOINT`, the `host` field behave differently across cloud providers:\nFor AWS clusters, the `host` field is available right after the private link service is ready.\nFor GCP and Azure clusters, the `host` field is available after the user creates a `PrivateEndpointConnection`.",
                        "readOnly": true
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "connectionType": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/EndpointConnectionType"
                          }
                        ]
                      }
                    }
                  },
                  "ClusterNodeChangingProgress": {
                    "type": "object",
                    "properties": {
                      "matchingNodeSpecNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "remainingDeletionNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "available if some nodes are deleting.",
                        "readOnly": true
                      }
                    }
                  },
                  "dedicatedv1beta1TidbNodeGroupState": {
                    "type": "string",
                    "enum": [
                      "ACTIVE",
                      "MODIFYING",
                      "PAUSED"
                    ],
                    "description": " - ACTIVE: All nodes are ready.\n - MODIFYING: When TiDB group is modifying.\n - PAUSED: When cluster is paused."
                  },
                  "TidbNodeGroupTiProxyType": {
                    "type": "string",
                    "enum": [
                      "Medium",
                      "Large"
                    ],
                    "title": "- Medium: Medium is the default value.\nInstance 4vCPU, Max QPS: 30k, Max Data Traffic: 90 MiB/s\n - Large: Large is the high performance value.\nInstance 8vCPU, Max QPS: 60k, Max Data Traffic: 150 MiB/s"
                  },
                  "EndpointConnectionType": {
                    "type": "string",
                    "enum": [
                      "PUBLIC",
                      "VPC_PEERING",
                      "PRIVATE_ENDPOINT"
                    ],
                    "description": " - PUBLIC: The endpoint is a public endpoint.\n - VPC_PEERING: The endpoint is a VPC peering endpoint.\n - PRIVATE_ENDPOINT: The endpoint is a private link endpoint."
                  }
                }
              }
            }
          },
          "output": {
            "reasoning": "The request attempted to scale down the TiDB node group from 2 nodes to 1 node while the cluster is in the 'MODIFYING' state. The response indicates a 400 Bad Request with the message 'Cluster is not available for this action.' This suggests that the operation cannot be performed while the cluster is in the 'MODIFYING' state. The error message 'Cluster is not available for this action.' is a clear indication that the operation is not allowed in the current state of the cluster, which is 'MODIFYING'. Therefore, this is an operation error as the cluster needs to be in a different state, likely 'ACTIVE', to perform this scaling operation.",
            "result_type": "operation_error",
            "confidence": 0.9
          }
        },
        "target_matching": {
          "input": {
            "last_step": {
              "operation_id": "ClusterService_GetCluster",
              "step_type": "generated",
              "request_type": "http",
              "request": {
                "auth": {
                  "auth_type": "digest",
                  "content": "{}"
                },
                "method": "PATCH",
                "path": "/clusters/{clusterId}",
                "path_params": "{\n  \"clusterId\": \"10899341031126750090\"\n}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"2C8G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905121706914086912\",\n        \"nodeCount\": 1\n      }\n    ]\n  }\n}"
              },
              "description": "Scale in the TiDB cluster with ID 10899341031126750090 to have 1 TiDB node with the existing node specification of 2C8G.",
              "max_retries": 0,
              "delay_after": 0,
              "expect": null
            },
            "target_operation": {
              "original_description": "scale in this cluster to 2C8G 1 TiDB node"
            }
          },
          "output": {
            "reason": "The concrete operation is a PATCH request to the path '/clusters/{clusterId}' with a body that specifies 'tidbNodeSetting' with 'nodeSpecKey' set to '2C8G' and 'tidbNodeGroups' containing one group with 'nodeCount' set to 1. This matches the target operation's requirement to scale the cluster to '2C8G 1 TiDB node', as it specifies the correct node specification and the correct number of TiDB nodes. Therefore, the concrete operation fulfills the abstract operation's requirements.",
            "judgement": true
          }
        },
        "resource_manager": {
          "input": {
            "last_request": {
              "auth": {
                "auth_type": "digest",
                "content": "{}"
              },
              "method": "PATCH",
              "path": "/clusters/{clusterId}",
              "path_params": "{\n  \"clusterId\": \"10899341031126750090\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"2C8G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905121706914086912\",\n        \"nodeCount\": 1\n      }\n    ]\n  }\n}"
            },
            "last_response": {
              "status_code": 400,
              "json": {
                "code": 400,
                "message": "Cluster is not available for this action.",
                "details": [
                  {
                    "@type": "type.tidbapi.com/tidb.rpc.RequestInfo",
                    "requestId": "20250327050051ee3283802e957b9b10",
                    "servingData": "bizErrorCode: 49900001"
                  }
                ]
              },
              "headers": {},
              "error": null
            },
            "previous_resources": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            }
          },
          "output": {
            "resources": [
              {
                "id": "10899341031126750090",
                "resource_type": "clusters",
                "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                "state": "MODIFYING",
                "parent_id": "",
                "reference_ids": []
              },
              {
                "id": "1905121706914086912",
                "resource_type": "tidbnodegroups",
                "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                "state": "ACTIVE",
                "parent_id": "10899341031126750090",
                "reference_ids": []
              },
              {
                "id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet",
                "resource_type": "vpcs",
                "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                "state": "Succeeded",
                "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet",
                "reference_ids": []
              }
            ]
          }
        },
        "timestamp": "2025-03-27T13:01:12.654718",
        "error": null,
        "error_traceback": null
      },
      {
        "generation_id": "4aa78495-f592-4919-b098-32c6b53d4746",
        "operation_id": "ClusterService_GetCluster",
        "state_before": {
          "clusters": {
            "10899341031126750090": {
              "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905121706914086912": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10899341031126750090"
            }
          },
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "state_after": {
          "clusters": {
            "10899341031126750090": {
              "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:56.012Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905121706914086912": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10899341031126750090"
            }
          },
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "request": {
          "request_type": "http",
          "request": "{\"method\": \"GET\", \"path\": \"/clusters/10899341031126750090\", \"headers\": {}, \"query_params\": {}, \"body\": {}, \"auth\": {\"auth_type\": \"digest\", \"content\": \"01GPB7L0:1a5bc2d1-70db-4621-aa82-91f2314123bc\"}}",
          "expect": "{\"status_code\": 200, \"cel\": \"body.state == 'ACTIVE'\"}",
          "max_retries": 120,
          "delay_after": 30
        },
        "response": {
          "status_code": 200,
          "json": {
            "name": "clusters/10899341031126750090",
            "clusterId": "10899341031126750090",
            "displayName": "llm-e2e-cluster-1234",
            "regionId": "azure-eastus2",
            "labels": {
              "tidb.cloud/organization": "1369847559692509562",
              "tidb.cloud/project": "1369847559694040595"
            },
            "tidbNodeSetting": {
              "nodeSpecKey": "2C8G",
              "tidbNodeGroups": [
                {
                  "name": "tidbNodeGroups/1905121706914086912",
                  "tidbNodeGroupId": "1905121706914086912",
                  "clusterId": "10899341031126750090",
                  "displayName": "DefaultGroup",
                  "nodeCount": 2,
                  "endpoints": [
                    {
                      "host": "",
                      "port": 4000,
                      "connectionType": "PUBLIC"
                    },
                    {
                      "host": "private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com",
                      "port": 4000,
                      "connectionType": "VPC_PEERING"
                    }
                  ],
                  "nodeSpecKey": "2C8G",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                  "isDefaultGroup": true,
                  "state": "ACTIVE"
                }
              ],
              "nodeSpecDisplayName": "2 vCPU, 8 GiB"
            },
            "tikvNodeSetting": {
              "nodeCount": 3,
              "nodeSpecKey": "2C8G",
              "storageSizeGi": 200,
              "storageType": "Basic",
              "nodeSpecDisplayName": "2 vCPU, 8 GiB"
            },
            "port": 4000,
            "rootPassword": "",
            "state": "ACTIVE",
            "version": "v8.1.2",
            "createdBy": "apikey-01GPB7L0",
            "createTime": "2025-03-27T04:56:24.568Z",
            "updateTime": "2025-03-27T05:00:56.012Z",
            "regionDisplayName": "Virginia (eastus2)",
            "cloudProvider": "azure",
            "annotations": {
              "tidb.cloud/available-features": "DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER",
              "tidb.cloud/has-set-password": "true"
            }
          },
          "headers": {},
          "error": null
        },
        "status_code": 200,
        "operation_selection": {
          "input": {
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale in this cluster to 2C8G 1 TiDB node"
            },
            "feedback": {
              "execution_analyzer": {
                "reasoning": "The request attempted to scale down the TiDB node group from 2 nodes to 1 node while the cluster is in the 'MODIFYING' state. The response indicates a 400 Bad Request with the message 'Cluster is not available for this action.' This suggests that the operation cannot be performed while the cluster is in the 'MODIFYING' state. The error message 'Cluster is not available for this action.' is a clear indication that the operation is not allowed in the current state of the cluster, which is 'MODIFYING'. Therefore, this is an operation error as the cluster needs to be in a different state, likely 'ACTIVE', to perform this scaling operation.",
                "result_type": "operation_error",
                "confidence": 0.9
              },
              "target_match": {
                "judgement": false,
                "reason": "The last request failed, so the target is not reached."
              },
              "response": {
                "status_code": 400,
                "json": {
                  "code": 400,
                  "message": "Cluster is not available for this action.",
                  "details": [
                    {
                      "@type": "type.tidbapi.com/tidb.rpc.RequestInfo",
                      "requestId": "20250327050051ee3283802e957b9b10",
                      "servingData": "bizErrorCode: 49900001"
                    }
                  ]
                },
                "headers": {},
                "error": null
              }
            }
          },
          "output": {
            "reason": "The target operation is to scale in the cluster to 1 TiDB node. However, the current state shows that the cluster is in a 'MODIFYING' state, which is a transitional state. According to the business logic, when a resource is in a transitional state, the next operation should be a GET method operation related to the resource to check its current status. Therefore, the most appropriate operation is to check the current status of the cluster to see if it has transitioned to a stable state before proceeding with the scaling operation.",
            "operation_id": "ClusterService_GetCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_GetCluster",
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale in this cluster to 2C8G 1 TiDB node"
            },
            "feedback": "{\"execution_analyzer\": {\"reasoning\": \"The request attempted to scale down the TiDB node group from 2 nodes to 1 node while the cluster is in the 'MODIFYING' state. The response indicates a 400 Bad Request with the message 'Cluster is not available for this action.' This suggests that the operation cannot be performed while the cluster is in the 'MODIFYING' state. The error message 'Cluster is not available for this action.' is a clear indication that the operation is not allowed in the current state of the cluster, which is 'MODIFYING'. Therefore, this is an operation error as the cluster needs to be in a different state, likely 'ACTIVE', to perform this scaling operation.\", \"result_type\": \"operation_error\", \"confidence\": 0.9}, \"target_match\": {\"judgement\": false, \"reason\": \"The last request failed, so the target is not reached.\"}, \"response\": {\"status_code\": 400, \"json\": {\"code\": 400, \"message\": \"Cluster is not available for this action.\", \"details\": [{\"@type\": \"type.tidbapi.com/tidb.rpc.RequestInfo\", \"requestId\": \"20250327050051ee3283802e957b9b10\", \"servingData\": \"bizErrorCode: 49900001\"}]}, \"headers\": {}, \"error\": null}}"
          },
          "output": {
            "request": {
              "method": "GET",
              "path": "/clusters/{clusterId}",
              "path_params": "{\"clusterId\": \"10899341031126750090\"}",
              "query_params": null,
              "headers": null,
              "body": null
            },
            "description": "Retrieve the current state of the cluster with ID 10899341031126750090 to check if it is still in a transitional state before proceeding with scaling operations.",
            "expect": "{\"status_code\": 200, \"cel\": \"body.state == 'ACTIVE'\"}",
            "request_type": "http"
          }
        },
        "execution_analysis": {
          "input": {
            "request": {
              "method": "GET",
              "path": "/clusters/{clusterId}",
              "path_params": "{\n  \"clusterId\": \"10899341031126750090\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{}"
            },
            "response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10899341031126750090",
                "clusterId": "10899341031126750090",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "2C8G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905121706914086912",
                      "tidbNodeGroupId": "1905121706914086912",
                      "clusterId": "10899341031126750090",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [
                        {
                          "host": "",
                          "port": 4000,
                          "connectionType": "PUBLIC"
                        },
                        {
                          "host": "private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com",
                          "port": 4000,
                          "connectionType": "VPC_PEERING"
                        }
                      ],
                      "nodeSpecKey": "2C8G",
                      "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "2C8G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "ACTIVE",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T04:56:24.568Z",
                "updateTime": "2025-03-27T05:00:56.012Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "prev_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:56.012Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale in this cluster to 2C8G 1 TiDB node"
            },
            "available_operations": {
              "ClusterService_ListClusters": {
                "description": "List clusters",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_CreateCluster": {
                "description": "Create a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetCluster": {
                "description": "Get a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_DeleteCluster": {
                "description": "Delete a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_UpdateCluster": {
                "description": "Update a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_PauseCluster": {
                "description": "Pause a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResumeCluster": {
                "description": "Resume a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResetRootPassword": {
                "description": "Reset the root password of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ListNodeInstances": {
                "description": "List node instances",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetNodeInstance": {
                "description": "Get a node instance",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ShowNodeQuota": {
                "description": "Show node quota across the caller's organization",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListRegions": {
                "description": "List regions for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetRegion": {
                "description": "Get a region",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ShowCloudProviders": {
                "description": "Show cloud providers for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListNodeSpecs": {
                "description": "List node specs for creating or scaling a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetNodeSpec": {
                "description": "Get a node spec",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_CreateTidbNodeGroup": {
                "description": "Create a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_ListTidbNodeGroups": {
                "description": "List TiDB Node Groups",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetTidbNodeGroup": {
                "description": "Get a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_DeleteTidbNodeGroup": {
                "description": "Delete a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdateTidbNodeGroup": {
                "description": "Update a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetPublicEndpointSetting": {
                "description": "Get the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdatePublicEndpointSetting": {
                "description": "Update the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateLinkService": {
                "description": "Get the private link service of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_CreatePrivateEndpointConnection": {
                "description": "Create a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_ListPrivateEndpointConnections": {
                "description": "List private endpoint connections",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateEndpointConnection": {
                "description": "Get a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_DeletePrivateEndpointConnection": {
                "description": "Delete a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListNetworkContainers": {
                "description": "List network containers",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateNetworkContainer": {
                "description": "Create a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetNetworkContainer": {
                "description": "Get a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteNetworkContainer": {
                "description": "Delete a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListVpcPeerings": {
                "description": "List VPC peerings",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateVpcPeering": {
                "description": "Create a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetVpcPeering": {
                "description": "Get a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteVpcPeering": {
                "description": "Delete a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceWindow": {
                "description": "Get a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceWindows": {
                "description": "List maintenance windows",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceWindow": {
                "description": "Update a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceTasks": {
                "description": "List maintenance tasks",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceTask": {
                "description": "Get a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceTask": {
                "description": "Update a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogConfig": {
                "description": "Create the audit log config for a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_UpdateAuditLogConfig": {
                "description": "Update the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogConfig": {
                "description": "Get the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogFilterRule": {
                "description": "Create an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogFilterRule": {
                "description": "Get an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_DeleteAuditLogFilterRule": {
                "description": "Delete an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ListAuditLogFilterRules": {
                "description": "List audit log filter rules",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ShowObjectStorageAccessIamPrincipal": {
                "description": "Show IAM principal of TiDB Cloud for accessing customer's object storage",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_QueryAuditLogFiles": {
                "description": "Query audit log files",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GenerateAuditLogFileDownloadAddress": {
                "description": "Generate the download address for an audit log file, the address have an 15 minutes expiration time",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "network create": {
                "description": "Create and start a packet capture session.",
                "type": "azure_cli"
              },
              "network delete": {
                "description": "Delete a packet capture session.",
                "type": "azure_cli"
              },
              "network list": {
                "description": "List Network Watchers.",
                "type": "azure_cli"
              },
              "network show": {
                "description": "Get the results of the last troubleshooting operation.",
                "type": "azure_cli"
              },
              "network update": {
                "description": "Update the flow log configuration of a network security",
                "type": "azure_cli"
              },
              "network wait": {
                "description": "Place the CLI in a waiting state until a condition is",
                "type": "azure_cli"
              },
              "network add": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network remove": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network assign": {
                "description": "Assign/Update AAD(Azure Active Directory) authentication to",
                "type": "azure_cli"
              },
              "network list-server-variables": {
                "description": "List all available",
                "type": "azure_cli"
              },
              "network list-request-headers": {
                "description": "List all available request",
                "type": "azure_cli"
              },
              "network list-response-headers": {
                "description": "List all available response",
                "type": "azure_cli"
              },
              "network list-options": {
                "description": "List available SSL options for",
                "type": "azure_cli"
              },
              "network set": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-dynamic-rule-sets": {
                "description": "List the regional application",
                "type": "azure_cli"
              },
              "network list-rule-sets": {
                "description": "Get information on available WAF rule",
                "type": "azure_cli"
              },
              "network show-backend-health": {
                "description": "Get information on the backend health of an",
                "type": "azure_cli"
              },
              "network start": {
                "description": "Troubleshoot issues with VPN connections or gateway",
                "type": "azure_cli"
              },
              "network stop": {
                "description": "Stop a running packet capture session.",
                "type": "azure_cli"
              },
              "network add-record": {
                "description": "Add a TXT record.",
                "type": "azure_cli"
              },
              "network remove-record": {
                "description": "Remove a TXT record from its record set.",
                "type": "azure_cli"
              },
              "network set-record": {
                "description": "Set the value of a CNAME record.",
                "type": "azure_cli"
              },
              "network export": {
                "description": "Export a Private DNS zone as a DNS zone file.",
                "type": "azure_cli"
              },
              "network import": {
                "description": "Create a Private DNS zone using a DNS zone file.",
                "type": "azure_cli"
              },
              "network list-references": {
                "description": "Returns the DNS records specified by the referencing",
                "type": "azure_cli"
              },
              "network get-stats": {
                "description": "Get the statistics of an ExpressRoute circuit.",
                "type": "azure_cli"
              },
              "network generate-loa": {
                "description": "Generate and download a letter of authorization for",
                "type": "azure_cli"
              },
              "network list-arp-tables": {
                "description": "Show the current Address Resolution Protocol (ARP)",
                "type": "azure_cli"
              },
              "network list-route-tables": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-route-tables-summary": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-service-providers": {
                "description": "List available ExpressRoute service providers.",
                "type": "azure_cli"
              },
              "network list-mapping": {
                "description": "List inbound NAT rule port mappings.",
                "type": "azure_cli"
              },
              "network list-nic": {
                "description": "List associated load balancer network interfaces.",
                "type": "azure_cli"
              },
              "network list-effective-nsg": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-traffic-filter-",
                "type": "azure_cli"
              },
              "network show-effective-route-table": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-routing-",
                "type": "azure_cli"
              },
              "network list-types": {
                "description": "Returns all of the resource types that can be linked to",
                "type": "azure_cli"
              },
              "network approve": {
                "description": "Approve a private endpoint connection.",
                "type": "azure_cli"
              },
              "network reject": {
                "description": "Reject a private endpoint connection.",
                "type": "azure_cli"
              },
              "network list-auto-approved": {
                "description": "List all of the private link service ids",
                "type": "azure_cli"
              },
              "network list-service-communities": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-advertised-routes": {
                "description": "List the routes of a virtual network gateway",
                "type": "azure_cli"
              },
              "network list-learned-routes": {
                "description": "This operation retrieves a list of routes the",
                "type": "azure_cli"
              },
              "network show-geographic-hierarchy": {
                "description": "Get the default geographic",
                "type": "azure_cli"
              },
              "network check-dns": {
                "description": "Check the availability of a relative DNS name.",
                "type": "azure_cli"
              },
              "network restart": {
                "description": "Restarts one or more VMs belonging to the specified",
                "type": "azure_cli"
              },
              "network sync": {
                "description": "Sync a virtual network peering connection.",
                "type": "azure_cli"
              },
              "network list-available-delegations": {
                "description": "List the services available for subnet",
                "type": "azure_cli"
              },
              "network list-available-ips": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network check-ip-address": {
                "description": "Check if a private IP address is available for use within a",
                "type": "azure_cli"
              },
              "network list-endpoint-services": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "network clear": {
                "description": "Delete all IPsec policies on a VPN connection.",
                "type": "azure_cli"
              },
              "network generate": {
                "description": "Generate VPN client configuration.",
                "type": "azure_cli"
              },
              "network show-health": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-url": {
                "description": "Retrieve a pre-generated VPN client configuration.",
                "type": "azure_cli"
              },
              "network disconnect-vpn-connections": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-bgp-peer-status": {
                "description": "Retrieve the status of BGP peers.",
                "type": "azure_cli"
              },
              "network reset": {
                "description": "Reset a VPN connection shared key.",
                "type": "azure_cli"
              },
              "network show-supported-devices": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-ike-sas": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-device-config-script": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network query": {
                "description": "Query a snapshot of the most recent connection",
                "type": "azure_cli"
              },
              "network show-status": {
                "description": "Show the status of a packet capture session.",
                "type": "azure_cli"
              },
              "network configure": {
                "description": "Configure the Network Watcher service for different regions.",
                "type": "azure_cli"
              },
              "network run-configuration-diagnostic": {
                "description": "Run a configuration diagnostic on a target",
                "type": "azure_cli"
              },
              "network show-next-hop": {
                "description": "//learn.microsoft.com/en-us/azure/network-",
                "type": "azure_cli"
              },
              "network show-security-group-view": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network show-topology": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network test-connectivity": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network test-ip-flow": {
                "description": "//learn.microsoft.com/en-us/azure/network-watcher/diagnose-vm-",
                "type": "azure_cli"
              },
              "network list-service-aliases": {
                "description": "List available service aliases in the region which can be used",
                "type": "azure_cli"
              },
              "network list-service-tags": {
                "description": "//learn.microsoft.com/azure/virtual-network/security-overview#service-tags. Note that",
                "type": "azure_cli"
              },
              "network list-usages": {
                "description": "List the number of network resources in a region that are used against",
                "type": "azure_cli"
              },
              "vm list": {
                "description": "//learn.microsoft.com/cli/azure/query-az-cli2.",
                "type": "azure_cli"
              },
              "vm set": {
                "description": "Configure settings of a NIC attached to a VM.",
                "type": "azure_cli"
              },
              "vm convert": {
                "description": "Convert a VM with unmanaged disks to use managed disks.",
                "type": "azure_cli"
              },
              "vm create": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm delete": {
                "description": "Delete a VM.",
                "type": "azure_cli"
              },
              "vm list-sizes": {
                "description": "List available sizes for VMs.",
                "type": "azure_cli"
              },
              "vm show": {
                "description": "Get the details of a VM.",
                "type": "azure_cli"
              },
              "vm update": {
                "description": "Update the properties of a VM.",
                "type": "azure_cli"
              },
              "vm disable": {
                "description": "Disable disk encryption on the OS disk and/or data disks. Decrypt",
                "type": "azure_cli"
              },
              "vm enable": {
                "description": "//learn.microsoft.com/azure/security/fundamentals/azure-disk-encryption-vms-vmss.",
                "type": "azure_cli"
              },
              "vm get-boot-log": {
                "description": "Get the boot diagnostics log from a VM.",
                "type": "azure_cli"
              },
              "vm get-boot-log-uris": {
                "description": "Get SAS URIs for a virtual machine's boot diagnostic",
                "type": "azure_cli"
              },
              "vm get-default-config": {
                "description": "Get the default configuration settings for a VM.",
                "type": "azure_cli"
              },
              "vm attach": {
                "description": "Attach an unmanaged persistent disk to a VM.",
                "type": "azure_cli"
              },
              "vm detach": {
                "description": "Detach an unmanaged disk from a VM.",
                "type": "azure_cli"
              },
              "vm list-names": {
                "description": "List the names of available extensions.",
                "type": "azure_cli"
              },
              "vm list-versions": {
                "description": "List the versions for available extensions.",
                "type": "azure_cli"
              },
              "vm wait": {
                "description": "Place the CLI in a waiting state until a condition of the VM is met.",
                "type": "azure_cli"
              },
              "vm get-instance-view": {
                "description": "Get instance information about a VM.",
                "type": "azure_cli"
              },
              "vm list-resize-options": {
                "description": "The dedicated host sizes provided can be used to only scale",
                "type": "azure_cli"
              },
              "vm redeploy": {
                "description": "Redeploy an existing VM.",
                "type": "azure_cli"
              },
              "vm resize": {
                "description": "Update a VM's size.",
                "type": "azure_cli"
              },
              "vm restart": {
                "description": "Restart VMs.",
                "type": "azure_cli"
              },
              "vm assign": {
                "description": "Enable managed service identity on a VM.",
                "type": "azure_cli"
              },
              "vm remove": {
                "description": "Remove a secret from a VM.",
                "type": "azure_cli"
              },
              "vm accept": {
                "description": "Accept Azure Marketplace image terms so that the image can be used to",
                "type": "azure_cli"
              },
              "vm cancel": {
                "description": "Cancel Azure Marketplace image terms.",
                "type": "azure_cli"
              },
              "vm accept-terms": {
                "description": "This command has been deprecated and will be removed in version '3.0.0'. Use 'az vm",
                "type": "azure_cli"
              },
              "vm list-offers": {
                "description": "List the VM image offers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-publishers": {
                "description": "List the VM image publishers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-skus": {
                "description": "Get details for compute-related resource SKUs.",
                "type": "azure_cli"
              },
              "vm list-definitions": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm tail": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm add": {
                "description": "//learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)",
                "type": "azure_cli"
              },
              "vm invoke": {
                "description": "Execute a specific run command on a vm.",
                "type": "azure_cli"
              },
              "vm format": {
                "description": "Transform secrets into a form that can be used by VMs and VMSSes.",
                "type": "azure_cli"
              },
              "vm reset-ssh": {
                "description": "Reset the SSH configuration on a VM.",
                "type": "azure_cli"
              },
              "vm assess-patches": {
                "description": "Assess patches on a VM.",
                "type": "azure_cli"
              },
              "vm auto-shutdown": {
                "description": "Manage auto-shutdown for VM.",
                "type": "azure_cli"
              },
              "vm capture": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm deallocate": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm generalize": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm install-patches": {
                "description": "Install patches on a VM.",
                "type": "azure_cli"
              },
              "vm list-ip-addresses": {
                "description": "List IP addresses associated with a VM.",
                "type": "azure_cli"
              },
              "vm list-usage": {
                "description": "List available usage resources for VMs.",
                "type": "azure_cli"
              },
              "vm list-vm-resize-options": {
                "description": "List available resizing options for VMs.",
                "type": "azure_cli"
              },
              "vm open-port": {
                "description": "Opens a VM to inbound traffic on specified ports.",
                "type": "azure_cli"
              },
              "vm perform-maintenance": {
                "description": "The operation to perform maintenance on a virtual machine.",
                "type": "azure_cli"
              },
              "vm reapply": {
                "description": "Reapply VMs.",
                "type": "azure_cli"
              },
              "vm reimage": {
                "description": "The retaining of old OS disk depends on the value of deleteOption of OS",
                "type": "azure_cli"
              },
              "vm simulate-eviction": {
                "description": "Simulate the eviction of a Spot VM.",
                "type": "azure_cli"
              },
              "vm start": {
                "description": "Start a stopped VM.",
                "type": "azure_cli"
              },
              "vm stop": {
                "description": "Power off (stop) a running VM.",
                "type": "azure_cli"
              }
            },
            "operation_spec": {
              "paths": {
                "/clusters/{clusterId}": {
                  "get": {
                    "summary": "Get a cluster",
                    "operationId": "ClusterService_GetCluster",
                    "responses": {
                      "200": {
                        "description": "A successful response.",
                        "schema": {
                          "$ref": "#/definitions/tidb_cloud_open_apidedicatedv1beta1Cluster"
                        }
                      },
                      "400": {
                        "description": "Bad Request",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "401": {
                        "description": "Unauthorized",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "403": {
                        "description": "Forbidden",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "429": {
                        "description": "Too Many Requests",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "500": {
                        "description": "Internal Server Error",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "default": {
                        "description": "An unexpected error response.",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      }
                    },
                    "parameters": [
                      {
                        "name": "clusterId",
                        "in": "path",
                        "required": true,
                        "type": "string"
                      }
                    ],
                    "tags": [
                      "ClusterService"
                    ]
                  }
                }
              },
              "components": {
                "schemas": {
                  "tidb_cloud_open_apidedicatedv1beta1Cluster": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "The name of TiDB cluster resource.\nFormat: clusters/{cluster_id}",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The unique ID of the cluster.",
                        "readOnly": true
                      },
                      "displayName": {
                        "type": "string",
                        "example": "foo-bar",
                        "description": "The display name of the cluster.",
                        "maxLength": 64,
                        "minLength": 4,
                        "pattern": "^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$"
                      },
                      "regionId": {
                        "type": "string",
                        "title": "Required. Region where the cluster will be created.\nFormat: {cloud_provider}-{region_code}"
                      },
                      "labels": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "The labels of the cluster.\nIf there is no \"project_id\" in labels, resource should be in the default project of the creator's organization."
                      },
                      "tidbNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterTidbNodeSetting"
                      },
                      "tikvNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "tiflashNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The port of the cluster. This port applies to all network endpoints of the cluster."
                      },
                      "rootPassword": {
                        "type": "string",
                        "example": "my-shining-password",
                        "maxLength": 64,
                        "minLength": 8,
                        "pattern": "^.{8,64}$"
                      },
                      "state": {
                        "description": "The current state of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/commonv1beta1ClusterState"
                          }
                        ]
                      },
                      "version": {
                        "type": "string",
                        "description": "The TiDB version of the cluster.",
                        "readOnly": true
                      },
                      "createdBy": {
                        "type": "string",
                        "description": "The email address or public api key of the creator of the cluster.",
                        "readOnly": true
                      },
                      "createTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was created.",
                        "readOnly": true
                      },
                      "updateTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was last updated.",
                        "readOnly": true
                      },
                      "pausePlan": {
                        "description": "Pause plan of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlan"
                          }
                        ]
                      },
                      "regionDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "cloudProvider": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/v1beta1RegionCloudProvider"
                          }
                        ]
                      },
                      "annotations": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "OUTPUT_ONLY. The annotations for the cluster.\ntidb.cloud/has-set-password. The annotation for whether the cluster has set password.\ntidb.cloud/available-features. The annotation for the available features of the cluster.",
                        "readOnly": true
                      }
                    },
                    "description": "Cluster represents a dedicated TiDB cluster.",
                    "required": [
                      "displayName",
                      "regionId",
                      "tidbNodeSetting",
                      "tikvNodeSetting",
                      "port"
                    ]
                  },
                  "commonv1beta1ClusterState": {
                    "type": "string",
                    "enum": [
                      "CREATING",
                      "DELETING",
                      "ACTIVE",
                      "RESTORING",
                      "MAINTENANCE",
                      "DELETED",
                      "INACTIVE",
                      "UPGRADING",
                      "IMPORTING",
                      "MODIFYING",
                      "PAUSING",
                      "PAUSED",
                      "RESUMING"
                    ],
                    "description": "Enum of possible states of a cluster.\n\n - CREATING: Cluster is being created.\n - DELETING: Cluster is being deleted.\n - ACTIVE: Cluster is active for use.\n - RESTORING: Cluster data is being restored.\n - MAINTENANCE: Cluster is under maintenance.\n - DELETED: Cluster has been deleted.\n - INACTIVE: Cluster is not active, but not being deleted.\n - UPGRADING: Cluster is being updated.\nOnly for Dedicated Cluster.\n - IMPORTING: Cluster is being imported.\nOnly for Dedicated Cluster.\n - MODIFYING: Cluster is being modified.\nOnly for Dedicated Cluster.\n - PAUSING: Cluster is being paused.\nOnly for Dedicated Cluster.\n - PAUSED: Cluster is paused.\nOnly for Dedicated Cluster.\n - RESUMING: Cluster is resuming.\nOnly for Dedicated Cluster."
                  },
                  "v1beta1RegionCloudProvider": {
                    "type": "string",
                    "enum": [
                      "aws",
                      "gcp",
                      "azure",
                      "alicloud"
                    ],
                    "description": "Enum of cloud provider names.\n\n - aws: Amazon Web Services.\n - gcp: Google Cloud Platform.\n - azure: Microsoft Azure.\n - alicloud: Alibaba Cloud"
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "v1beta1ClusterStorageNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "storageSizeGi": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "storageType": {
                        "description": "Default to Basic.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/StorageNodeSettingStorageType"
                          }
                        ]
                      },
                      "raftStoreIops": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "If raft_store_iops is not set, the default IOPS of raft store will be used."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "title": "output only",
                        "readOnly": true
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount",
                      "nodeSpecKey",
                      "storageSizeGi"
                    ]
                  },
                  "v1beta1ClusterTidbNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "tidbNodeGroups": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroup"
                        },
                        "description": "When creating a cluster, the length of the `tidb_node_groups` should be 1\nand the `node_count` field of `TidbNodeGroup` should be set."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "nodeSpecKey",
                      "tidbNodeGroups"
                    ]
                  },
                  "dedicatedv1beta1TidbNodeGroup": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "Format: tidbNodeGroups/{tidb_node_group_id}",
                        "readOnly": true
                      },
                      "tidbNodeGroupId": {
                        "type": "string",
                        "description": "The unique ID of the TiDB group.",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The cluster ID of the TiDB group.\nOptional when creating cluster with the default TiDB group.\nRequired when creating non-default TiDB group."
                      },
                      "displayName": {
                        "type": "string",
                        "description": "The display name of the TiDB group."
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The number of TiDB nodes in the TiDB group."
                      },
                      "endpoints": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupEndpoint"
                        },
                        "readOnly": true
                      },
                      "nodeSpecKey": {
                        "type": "string",
                        "readOnly": true
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "isDefaultGroup": {
                        "type": "boolean",
                        "readOnly": true
                      },
                      "state": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupState"
                          }
                        ]
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      },
                      "tiproxySetting": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxySetting"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount"
                    ]
                  },
                  "StorageNodeSettingStorageType": {
                    "type": "string",
                    "enum": [
                      "Basic",
                      "Standard",
                      "Performance",
                      "Plus"
                    ],
                    "description": "Spec https://pingcap.feishu.cn/wiki/R6dcwK0Q3i9XSgkgG1Scoc82nbf.\n\n - Basic: Data disk: gp3; Raft log disk: none.\n - Standard: Data disk: gp3; Raft log disk: gp3.\n - Performance: Data disk: gp3; Raft log disk: io2.\n - Plus: Data disk: io2; Raft log disk: none."
                  },
                  "TidbNodeGroupTiProxySetting": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "description": "The type of TiProxy.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxyType"
                          }
                        ]
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "The number of TiProxy nodes in the TiDB group.\nIf not set or set to 0, represents the TiProxy is disabled."
                      }
                    }
                  },
                  "dedicatedv1beta1TidbNodeGroupEndpoint": {
                    "type": "object",
                    "properties": {
                      "host": {
                        "type": "string",
                        "description": "When endpoint's type is `PRIVATE_ENDPOINT`, the `host` field behave differently across cloud providers:\nFor AWS clusters, the `host` field is available right after the private link service is ready.\nFor GCP and Azure clusters, the `host` field is available after the user creates a `PrivateEndpointConnection`.",
                        "readOnly": true
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "connectionType": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/EndpointConnectionType"
                          }
                        ]
                      }
                    }
                  },
                  "ClusterNodeChangingProgress": {
                    "type": "object",
                    "properties": {
                      "matchingNodeSpecNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "remainingDeletionNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "available if some nodes are deleting.",
                        "readOnly": true
                      }
                    }
                  },
                  "dedicatedv1beta1TidbNodeGroupState": {
                    "type": "string",
                    "enum": [
                      "ACTIVE",
                      "MODIFYING",
                      "PAUSED"
                    ],
                    "description": " - ACTIVE: All nodes are ready.\n - MODIFYING: When TiDB group is modifying.\n - PAUSED: When cluster is paused."
                  },
                  "TidbNodeGroupTiProxyType": {
                    "type": "string",
                    "enum": [
                      "Medium",
                      "Large"
                    ],
                    "title": "- Medium: Medium is the default value.\nInstance 4vCPU, Max QPS: 30k, Max Data Traffic: 90 MiB/s\n - Large: Large is the high performance value.\nInstance 8vCPU, Max QPS: 60k, Max Data Traffic: 150 MiB/s"
                  },
                  "EndpointConnectionType": {
                    "type": "string",
                    "enum": [
                      "PUBLIC",
                      "VPC_PEERING",
                      "PRIVATE_ENDPOINT"
                    ],
                    "description": " - PUBLIC: The endpoint is a public endpoint.\n - VPC_PEERING: The endpoint is a VPC peering endpoint.\n - PRIVATE_ENDPOINT: The endpoint is a private link endpoint."
                  }
                }
              }
            }
          },
          "output": {
            "reasoning": "The GET request to retrieve the cluster details was successful, as indicated by the 200 status code. The state of the cluster transitioned from 'MODIFYING' to 'ACTIVE', which is a meaningful change. This transition is beneficial because it indicates that the cluster is now stable and ready for further operations, such as scaling, which aligns with the target operation of scaling the cluster. The response provided detailed information about the cluster, including its current state and configuration, which is useful for planning the next steps. There were no errors in the response, and the operation was appropriate for the current state, as it provided necessary information for future actions.",
            "result_type": "success",
            "confidence": 0.95
          }
        },
        "target_matching": {
          "input": {
            "last_step": {
              "operation_id": "ClusterService_GetCluster",
              "step_type": "generated",
              "request_type": "http",
              "request": {
                "auth": {
                  "auth_type": "digest",
                  "content": "{}"
                },
                "method": "GET",
                "path": "/clusters/{clusterId}",
                "path_params": "{\n  \"clusterId\": \"10899341031126750090\"\n}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{}"
              },
              "description": "Retrieve the current state of the cluster with ID 10899341031126750090 to check if it is still in a transitional state before proceeding with scaling operations.",
              "max_retries": 120,
              "delay_after": 30,
              "expect": "{\"status_code\": 200, \"cel\": \"body.state == 'ACTIVE'\"}"
            },
            "target_operation": {
              "original_description": "scale in this cluster to 2C8G 1 TiDB node"
            }
          },
          "output": {
            "reason": "The concrete operation 'ClusterService_GetCluster' is a GET request to retrieve information about a specific cluster identified by 'clusterId'. It does not perform any modification or scaling actions on the cluster. The target operation requires scaling the cluster to a specific configuration (2C8G 1 TiDB node), which involves changing the cluster's resources. Since the concrete operation only retrieves data and does not modify the cluster, it does not fulfill the requirements of the target operation.",
            "judgement": false
          }
        },
        "resource_manager": {
          "input": {
            "last_request": {
              "auth": {
                "auth_type": "digest",
                "content": "{}"
              },
              "method": "GET",
              "path": "/clusters/{clusterId}",
              "path_params": "{\n  \"clusterId\": \"10899341031126750090\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{}"
            },
            "last_response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10899341031126750090",
                "clusterId": "10899341031126750090",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "2C8G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905121706914086912",
                      "tidbNodeGroupId": "1905121706914086912",
                      "clusterId": "10899341031126750090",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [
                        {
                          "host": "",
                          "port": 4000,
                          "connectionType": "PUBLIC"
                        },
                        {
                          "host": "private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com",
                          "port": 4000,
                          "connectionType": "VPC_PEERING"
                        }
                      ],
                      "nodeSpecKey": "2C8G",
                      "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "2C8G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "ACTIVE",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T04:56:24.568Z",
                "updateTime": "2025-03-27T05:00:56.012Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "previous_resources": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:11.600Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            }
          },
          "output": {
            "resources": [
              {
                "id": "10899341031126750090",
                "resource_type": "clusters",
                "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:56.012Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
                "state": "ACTIVE",
                "parent_id": "",
                "reference_ids": []
              },
              {
                "id": "1905121706914086912",
                "resource_type": "tidbnodegroups",
                "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                "state": "ACTIVE",
                "parent_id": "10899341031126750090",
                "reference_ids": []
              },
              {
                "id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet",
                "resource_type": "vpcs",
                "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                "state": "Succeeded",
                "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet",
                "reference_ids": []
              }
            ]
          }
        },
        "timestamp": "2025-03-27T13:01:49.852269",
        "error": null,
        "error_traceback": null
      },
      {
        "generation_id": "4aa78495-f592-4919-b098-32c6b53d4746",
        "operation_id": "ClusterService_UpdateCluster",
        "state_before": {
          "clusters": {
            "10899341031126750090": {
              "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:56.012Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905121706914086912": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10899341031126750090"
            }
          },
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "state_after": {
          "clusters": {
            "10899341031126750090": {
              "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:01:59.468Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905121706914086912": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10899341031126750090"
            }
          },
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "request": {
          "request_type": "http",
          "request": "{\"method\": \"PATCH\", \"path\": \"/clusters/10899341031126750090\", \"headers\": {}, \"query_params\": {}, \"body\": {\"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"tidbNodeGroupId\": \"1905121706914086912\", \"nodeCount\": 1}]}}, \"auth\": {\"auth_type\": \"digest\", \"content\": \"01GPB7L0:1a5bc2d1-70db-4621-aa82-91f2314123bc\"}}",
          "expect": null,
          "max_retries": 0,
          "delay_after": 0
        },
        "response": {
          "status_code": 200,
          "json": {
            "name": "clusters/10899341031126750090",
            "clusterId": "10899341031126750090",
            "displayName": "llm-e2e-cluster-1234",
            "regionId": "azure-eastus2",
            "labels": {
              "tidb.cloud/organization": "1369847559692509562",
              "tidb.cloud/project": "1369847559694040595"
            },
            "tidbNodeSetting": {
              "nodeSpecKey": "2C8G",
              "tidbNodeGroups": [
                {
                  "name": "tidbNodeGroups/1905121706914086912",
                  "tidbNodeGroupId": "1905121706914086912",
                  "clusterId": "10899341031126750090",
                  "displayName": "DefaultGroup",
                  "nodeCount": 1,
                  "endpoints": [],
                  "nodeSpecKey": "2C8G",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                  "isDefaultGroup": true,
                  "state": "ACTIVE"
                }
              ],
              "nodeSpecDisplayName": "2 vCPU, 8 GiB"
            },
            "tikvNodeSetting": {
              "nodeCount": 3,
              "nodeSpecKey": "2C8G",
              "storageSizeGi": 200,
              "storageType": "Basic",
              "nodeSpecDisplayName": "2 vCPU, 8 GiB"
            },
            "port": 4000,
            "rootPassword": "",
            "state": "MODIFYING",
            "version": "v8.1.2",
            "createdBy": "apikey-01GPB7L0",
            "createTime": "2025-03-27T04:56:24.568Z",
            "updateTime": "2025-03-27T05:01:59.468Z",
            "regionDisplayName": "Virginia (eastus2)",
            "cloudProvider": "azure",
            "annotations": {
              "tidb.cloud/available-features": "",
              "tidb.cloud/has-set-password": "true"
            }
          },
          "headers": {},
          "error": null
        },
        "status_code": 200,
        "operation_selection": {
          "input": {
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:56.012Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale in this cluster to 2C8G 1 TiDB node"
            },
            "feedback": {
              "execution_analyzer": {
                "reasoning": "The GET request to retrieve the cluster details was successful, as indicated by the 200 status code. The state of the cluster transitioned from 'MODIFYING' to 'ACTIVE', which is a meaningful change. This transition is beneficial because it indicates that the cluster is now stable and ready for further operations, such as scaling, which aligns with the target operation of scaling the cluster. The response provided detailed information about the cluster, including its current state and configuration, which is useful for planning the next steps. There were no errors in the response, and the operation was appropriate for the current state, as it provided necessary information for future actions.",
                "result_type": "success",
                "confidence": 0.95
              },
              "target_match": {
                "reason": "The concrete operation 'ClusterService_GetCluster' is a GET request to retrieve information about a specific cluster identified by 'clusterId'. It does not perform any modification or scaling actions on the cluster. The target operation requires scaling the cluster to a specific configuration (2C8G 1 TiDB node), which involves changing the cluster's resources. Since the concrete operation only retrieves data and does not modify the cluster, it does not fulfill the requirements of the target operation.",
                "judgement": false
              },
              "response": {
                "status_code": 200,
                "json": {
                  "name": "clusters/10899341031126750090",
                  "clusterId": "10899341031126750090",
                  "displayName": "llm-e2e-cluster-1234",
                  "regionId": "azure-eastus2",
                  "labels": {
                    "tidb.cloud/organization": "1369847559692509562",
                    "tidb.cloud/project": "1369847559694040595"
                  },
                  "tidbNodeSetting": {
                    "nodeSpecKey": "2C8G",
                    "tidbNodeGroups": [
                      {
                        "name": "tidbNodeGroups/1905121706914086912",
                        "tidbNodeGroupId": "1905121706914086912",
                        "clusterId": "10899341031126750090",
                        "displayName": "DefaultGroup",
                        "nodeCount": 2,
                        "endpoints": [
                          {
                            "host": "",
                            "port": 4000,
                            "connectionType": "PUBLIC"
                          },
                          {
                            "host": "private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com",
                            "port": 4000,
                            "connectionType": "VPC_PEERING"
                          }
                        ],
                        "nodeSpecKey": "2C8G",
                        "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                        "isDefaultGroup": true,
                        "state": "ACTIVE"
                      }
                    ],
                    "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                  },
                  "tikvNodeSetting": {
                    "nodeCount": 3,
                    "nodeSpecKey": "2C8G",
                    "storageSizeGi": 200,
                    "storageType": "Basic",
                    "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                  },
                  "port": 4000,
                  "rootPassword": "",
                  "state": "ACTIVE",
                  "version": "v8.1.2",
                  "createdBy": "apikey-01GPB7L0",
                  "createTime": "2025-03-27T04:56:24.568Z",
                  "updateTime": "2025-03-27T05:00:56.012Z",
                  "regionDisplayName": "Virginia (eastus2)",
                  "cloudProvider": "azure",
                  "annotations": {
                    "tidb.cloud/available-features": "DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER",
                    "tidb.cloud/has-set-password": "true"
                  }
                },
                "headers": {},
                "error": null
              }
            }
          },
          "output": {
            "reason": "The target operation is to scale in the cluster to 1 TiDB node. The current state shows that the cluster is in an 'ACTIVE' state, which is a stable state, allowing for scaling operations. The feedback confirms that the cluster and its TiDB node group are now fully operational and ready for further operations like scaling. Therefore, the most appropriate operation to achieve the target operation is to update the cluster to scale in the TiDB nodes.",
            "operation_id": "ClusterService_UpdateCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_UpdateCluster",
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:56.012Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale in this cluster to 2C8G 1 TiDB node"
            },
            "feedback": "{\"execution_analyzer\": {\"reasoning\": \"The GET request to retrieve the cluster details was successful, as indicated by the 200 status code. The state of the cluster transitioned from 'MODIFYING' to 'ACTIVE', which is a meaningful change. This transition is beneficial because it indicates that the cluster is now stable and ready for further operations, such as scaling, which aligns with the target operation of scaling the cluster. The response provided detailed information about the cluster, including its current state and configuration, which is useful for planning the next steps. There were no errors in the response, and the operation was appropriate for the current state, as it provided necessary information for future actions.\", \"result_type\": \"success\", \"confidence\": 0.95}, \"target_match\": {\"reason\": \"The concrete operation 'ClusterService_GetCluster' is a GET request to retrieve information about a specific cluster identified by 'clusterId'. It does not perform any modification or scaling actions on the cluster. The target operation requires scaling the cluster to a specific configuration (2C8G 1 TiDB node), which involves changing the cluster's resources. Since the concrete operation only retrieves data and does not modify the cluster, it does not fulfill the requirements of the target operation.\", \"judgement\": false}, \"response\": {\"status_code\": 200, \"json\": {\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:56.012Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}, \"headers\": {}, \"error\": null}}"
          },
          "output": {
            "request": {
              "method": "PATCH",
              "path": "/clusters/{cluster.clusterId}",
              "path_params": "{\"cluster.clusterId\": \"10899341031126750090\"}",
              "query_params": null,
              "headers": null,
              "body": "{\"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"tidbNodeGroupId\": \"1905121706914086912\", \"nodeCount\": 1}]}}"
            },
            "description": "Scale in the TiDB cluster with ID 10899341031126750090 to have 1 TiDB node with the existing node specification of 2C8G.",
            "expect": null,
            "request_type": "http"
          }
        },
        "execution_analysis": {
          "input": {
            "request": {
              "method": "PATCH",
              "path": "/clusters/{cluster.clusterId}",
              "path_params": "{\n  \"cluster.clusterId\": \"10899341031126750090\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"2C8G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905121706914086912\",\n        \"nodeCount\": 1\n      }\n    ]\n  }\n}"
            },
            "response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10899341031126750090",
                "clusterId": "10899341031126750090",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "2C8G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905121706914086912",
                      "tidbNodeGroupId": "1905121706914086912",
                      "clusterId": "10899341031126750090",
                      "displayName": "DefaultGroup",
                      "nodeCount": 1,
                      "endpoints": [],
                      "nodeSpecKey": "2C8G",
                      "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "2C8G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "MODIFYING",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T04:56:24.568Z",
                "updateTime": "2025-03-27T05:01:59.468Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "prev_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:56.012Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:01:59.468Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "scale in this cluster to 2C8G 1 TiDB node"
            },
            "available_operations": {
              "ClusterService_ListClusters": {
                "description": "List clusters",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_CreateCluster": {
                "description": "Create a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetCluster": {
                "description": "Get a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_DeleteCluster": {
                "description": "Delete a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_UpdateCluster": {
                "description": "Update a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_PauseCluster": {
                "description": "Pause a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResumeCluster": {
                "description": "Resume a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResetRootPassword": {
                "description": "Reset the root password of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ListNodeInstances": {
                "description": "List node instances",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetNodeInstance": {
                "description": "Get a node instance",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ShowNodeQuota": {
                "description": "Show node quota across the caller's organization",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListRegions": {
                "description": "List regions for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetRegion": {
                "description": "Get a region",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ShowCloudProviders": {
                "description": "Show cloud providers for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListNodeSpecs": {
                "description": "List node specs for creating or scaling a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetNodeSpec": {
                "description": "Get a node spec",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_CreateTidbNodeGroup": {
                "description": "Create a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_ListTidbNodeGroups": {
                "description": "List TiDB Node Groups",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetTidbNodeGroup": {
                "description": "Get a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_DeleteTidbNodeGroup": {
                "description": "Delete a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdateTidbNodeGroup": {
                "description": "Update a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetPublicEndpointSetting": {
                "description": "Get the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdatePublicEndpointSetting": {
                "description": "Update the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateLinkService": {
                "description": "Get the private link service of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_CreatePrivateEndpointConnection": {
                "description": "Create a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_ListPrivateEndpointConnections": {
                "description": "List private endpoint connections",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateEndpointConnection": {
                "description": "Get a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_DeletePrivateEndpointConnection": {
                "description": "Delete a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListNetworkContainers": {
                "description": "List network containers",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateNetworkContainer": {
                "description": "Create a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetNetworkContainer": {
                "description": "Get a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteNetworkContainer": {
                "description": "Delete a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListVpcPeerings": {
                "description": "List VPC peerings",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateVpcPeering": {
                "description": "Create a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetVpcPeering": {
                "description": "Get a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteVpcPeering": {
                "description": "Delete a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceWindow": {
                "description": "Get a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceWindows": {
                "description": "List maintenance windows",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceWindow": {
                "description": "Update a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceTasks": {
                "description": "List maintenance tasks",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceTask": {
                "description": "Get a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceTask": {
                "description": "Update a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogConfig": {
                "description": "Create the audit log config for a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_UpdateAuditLogConfig": {
                "description": "Update the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogConfig": {
                "description": "Get the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogFilterRule": {
                "description": "Create an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogFilterRule": {
                "description": "Get an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_DeleteAuditLogFilterRule": {
                "description": "Delete an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ListAuditLogFilterRules": {
                "description": "List audit log filter rules",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ShowObjectStorageAccessIamPrincipal": {
                "description": "Show IAM principal of TiDB Cloud for accessing customer's object storage",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_QueryAuditLogFiles": {
                "description": "Query audit log files",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GenerateAuditLogFileDownloadAddress": {
                "description": "Generate the download address for an audit log file, the address have an 15 minutes expiration time",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "network create": {
                "description": "Create and start a packet capture session.",
                "type": "azure_cli"
              },
              "network delete": {
                "description": "Delete a packet capture session.",
                "type": "azure_cli"
              },
              "network list": {
                "description": "List Network Watchers.",
                "type": "azure_cli"
              },
              "network show": {
                "description": "Get the results of the last troubleshooting operation.",
                "type": "azure_cli"
              },
              "network update": {
                "description": "Update the flow log configuration of a network security",
                "type": "azure_cli"
              },
              "network wait": {
                "description": "Place the CLI in a waiting state until a condition is",
                "type": "azure_cli"
              },
              "network add": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network remove": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network assign": {
                "description": "Assign/Update AAD(Azure Active Directory) authentication to",
                "type": "azure_cli"
              },
              "network list-server-variables": {
                "description": "List all available",
                "type": "azure_cli"
              },
              "network list-request-headers": {
                "description": "List all available request",
                "type": "azure_cli"
              },
              "network list-response-headers": {
                "description": "List all available response",
                "type": "azure_cli"
              },
              "network list-options": {
                "description": "List available SSL options for",
                "type": "azure_cli"
              },
              "network set": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-dynamic-rule-sets": {
                "description": "List the regional application",
                "type": "azure_cli"
              },
              "network list-rule-sets": {
                "description": "Get information on available WAF rule",
                "type": "azure_cli"
              },
              "network show-backend-health": {
                "description": "Get information on the backend health of an",
                "type": "azure_cli"
              },
              "network start": {
                "description": "Troubleshoot issues with VPN connections or gateway",
                "type": "azure_cli"
              },
              "network stop": {
                "description": "Stop a running packet capture session.",
                "type": "azure_cli"
              },
              "network add-record": {
                "description": "Add a TXT record.",
                "type": "azure_cli"
              },
              "network remove-record": {
                "description": "Remove a TXT record from its record set.",
                "type": "azure_cli"
              },
              "network set-record": {
                "description": "Set the value of a CNAME record.",
                "type": "azure_cli"
              },
              "network export": {
                "description": "Export a Private DNS zone as a DNS zone file.",
                "type": "azure_cli"
              },
              "network import": {
                "description": "Create a Private DNS zone using a DNS zone file.",
                "type": "azure_cli"
              },
              "network list-references": {
                "description": "Returns the DNS records specified by the referencing",
                "type": "azure_cli"
              },
              "network get-stats": {
                "description": "Get the statistics of an ExpressRoute circuit.",
                "type": "azure_cli"
              },
              "network generate-loa": {
                "description": "Generate and download a letter of authorization for",
                "type": "azure_cli"
              },
              "network list-arp-tables": {
                "description": "Show the current Address Resolution Protocol (ARP)",
                "type": "azure_cli"
              },
              "network list-route-tables": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-route-tables-summary": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-service-providers": {
                "description": "List available ExpressRoute service providers.",
                "type": "azure_cli"
              },
              "network list-mapping": {
                "description": "List inbound NAT rule port mappings.",
                "type": "azure_cli"
              },
              "network list-nic": {
                "description": "List associated load balancer network interfaces.",
                "type": "azure_cli"
              },
              "network list-effective-nsg": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-traffic-filter-",
                "type": "azure_cli"
              },
              "network show-effective-route-table": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-routing-",
                "type": "azure_cli"
              },
              "network list-types": {
                "description": "Returns all of the resource types that can be linked to",
                "type": "azure_cli"
              },
              "network approve": {
                "description": "Approve a private endpoint connection.",
                "type": "azure_cli"
              },
              "network reject": {
                "description": "Reject a private endpoint connection.",
                "type": "azure_cli"
              },
              "network list-auto-approved": {
                "description": "List all of the private link service ids",
                "type": "azure_cli"
              },
              "network list-service-communities": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-advertised-routes": {
                "description": "List the routes of a virtual network gateway",
                "type": "azure_cli"
              },
              "network list-learned-routes": {
                "description": "This operation retrieves a list of routes the",
                "type": "azure_cli"
              },
              "network show-geographic-hierarchy": {
                "description": "Get the default geographic",
                "type": "azure_cli"
              },
              "network check-dns": {
                "description": "Check the availability of a relative DNS name.",
                "type": "azure_cli"
              },
              "network restart": {
                "description": "Restarts one or more VMs belonging to the specified",
                "type": "azure_cli"
              },
              "network sync": {
                "description": "Sync a virtual network peering connection.",
                "type": "azure_cli"
              },
              "network list-available-delegations": {
                "description": "List the services available for subnet",
                "type": "azure_cli"
              },
              "network list-available-ips": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network check-ip-address": {
                "description": "Check if a private IP address is available for use within a",
                "type": "azure_cli"
              },
              "network list-endpoint-services": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "network clear": {
                "description": "Delete all IPsec policies on a VPN connection.",
                "type": "azure_cli"
              },
              "network generate": {
                "description": "Generate VPN client configuration.",
                "type": "azure_cli"
              },
              "network show-health": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-url": {
                "description": "Retrieve a pre-generated VPN client configuration.",
                "type": "azure_cli"
              },
              "network disconnect-vpn-connections": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-bgp-peer-status": {
                "description": "Retrieve the status of BGP peers.",
                "type": "azure_cli"
              },
              "network reset": {
                "description": "Reset a VPN connection shared key.",
                "type": "azure_cli"
              },
              "network show-supported-devices": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-ike-sas": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-device-config-script": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network query": {
                "description": "Query a snapshot of the most recent connection",
                "type": "azure_cli"
              },
              "network show-status": {
                "description": "Show the status of a packet capture session.",
                "type": "azure_cli"
              },
              "network configure": {
                "description": "Configure the Network Watcher service for different regions.",
                "type": "azure_cli"
              },
              "network run-configuration-diagnostic": {
                "description": "Run a configuration diagnostic on a target",
                "type": "azure_cli"
              },
              "network show-next-hop": {
                "description": "//learn.microsoft.com/en-us/azure/network-",
                "type": "azure_cli"
              },
              "network show-security-group-view": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network show-topology": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network test-connectivity": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network test-ip-flow": {
                "description": "//learn.microsoft.com/en-us/azure/network-watcher/diagnose-vm-",
                "type": "azure_cli"
              },
              "network list-service-aliases": {
                "description": "List available service aliases in the region which can be used",
                "type": "azure_cli"
              },
              "network list-service-tags": {
                "description": "//learn.microsoft.com/azure/virtual-network/security-overview#service-tags. Note that",
                "type": "azure_cli"
              },
              "network list-usages": {
                "description": "List the number of network resources in a region that are used against",
                "type": "azure_cli"
              },
              "vm list": {
                "description": "//learn.microsoft.com/cli/azure/query-az-cli2.",
                "type": "azure_cli"
              },
              "vm set": {
                "description": "Configure settings of a NIC attached to a VM.",
                "type": "azure_cli"
              },
              "vm convert": {
                "description": "Convert a VM with unmanaged disks to use managed disks.",
                "type": "azure_cli"
              },
              "vm create": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm delete": {
                "description": "Delete a VM.",
                "type": "azure_cli"
              },
              "vm list-sizes": {
                "description": "List available sizes for VMs.",
                "type": "azure_cli"
              },
              "vm show": {
                "description": "Get the details of a VM.",
                "type": "azure_cli"
              },
              "vm update": {
                "description": "Update the properties of a VM.",
                "type": "azure_cli"
              },
              "vm disable": {
                "description": "Disable disk encryption on the OS disk and/or data disks. Decrypt",
                "type": "azure_cli"
              },
              "vm enable": {
                "description": "//learn.microsoft.com/azure/security/fundamentals/azure-disk-encryption-vms-vmss.",
                "type": "azure_cli"
              },
              "vm get-boot-log": {
                "description": "Get the boot diagnostics log from a VM.",
                "type": "azure_cli"
              },
              "vm get-boot-log-uris": {
                "description": "Get SAS URIs for a virtual machine's boot diagnostic",
                "type": "azure_cli"
              },
              "vm get-default-config": {
                "description": "Get the default configuration settings for a VM.",
                "type": "azure_cli"
              },
              "vm attach": {
                "description": "Attach an unmanaged persistent disk to a VM.",
                "type": "azure_cli"
              },
              "vm detach": {
                "description": "Detach an unmanaged disk from a VM.",
                "type": "azure_cli"
              },
              "vm list-names": {
                "description": "List the names of available extensions.",
                "type": "azure_cli"
              },
              "vm list-versions": {
                "description": "List the versions for available extensions.",
                "type": "azure_cli"
              },
              "vm wait": {
                "description": "Place the CLI in a waiting state until a condition of the VM is met.",
                "type": "azure_cli"
              },
              "vm get-instance-view": {
                "description": "Get instance information about a VM.",
                "type": "azure_cli"
              },
              "vm list-resize-options": {
                "description": "The dedicated host sizes provided can be used to only scale",
                "type": "azure_cli"
              },
              "vm redeploy": {
                "description": "Redeploy an existing VM.",
                "type": "azure_cli"
              },
              "vm resize": {
                "description": "Update a VM's size.",
                "type": "azure_cli"
              },
              "vm restart": {
                "description": "Restart VMs.",
                "type": "azure_cli"
              },
              "vm assign": {
                "description": "Enable managed service identity on a VM.",
                "type": "azure_cli"
              },
              "vm remove": {
                "description": "Remove a secret from a VM.",
                "type": "azure_cli"
              },
              "vm accept": {
                "description": "Accept Azure Marketplace image terms so that the image can be used to",
                "type": "azure_cli"
              },
              "vm cancel": {
                "description": "Cancel Azure Marketplace image terms.",
                "type": "azure_cli"
              },
              "vm accept-terms": {
                "description": "This command has been deprecated and will be removed in version '3.0.0'. Use 'az vm",
                "type": "azure_cli"
              },
              "vm list-offers": {
                "description": "List the VM image offers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-publishers": {
                "description": "List the VM image publishers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-skus": {
                "description": "Get details for compute-related resource SKUs.",
                "type": "azure_cli"
              },
              "vm list-definitions": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm tail": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm add": {
                "description": "//learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)",
                "type": "azure_cli"
              },
              "vm invoke": {
                "description": "Execute a specific run command on a vm.",
                "type": "azure_cli"
              },
              "vm format": {
                "description": "Transform secrets into a form that can be used by VMs and VMSSes.",
                "type": "azure_cli"
              },
              "vm reset-ssh": {
                "description": "Reset the SSH configuration on a VM.",
                "type": "azure_cli"
              },
              "vm assess-patches": {
                "description": "Assess patches on a VM.",
                "type": "azure_cli"
              },
              "vm auto-shutdown": {
                "description": "Manage auto-shutdown for VM.",
                "type": "azure_cli"
              },
              "vm capture": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm deallocate": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm generalize": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm install-patches": {
                "description": "Install patches on a VM.",
                "type": "azure_cli"
              },
              "vm list-ip-addresses": {
                "description": "List IP addresses associated with a VM.",
                "type": "azure_cli"
              },
              "vm list-usage": {
                "description": "List available usage resources for VMs.",
                "type": "azure_cli"
              },
              "vm list-vm-resize-options": {
                "description": "List available resizing options for VMs.",
                "type": "azure_cli"
              },
              "vm open-port": {
                "description": "Opens a VM to inbound traffic on specified ports.",
                "type": "azure_cli"
              },
              "vm perform-maintenance": {
                "description": "The operation to perform maintenance on a virtual machine.",
                "type": "azure_cli"
              },
              "vm reapply": {
                "description": "Reapply VMs.",
                "type": "azure_cli"
              },
              "vm reimage": {
                "description": "The retaining of old OS disk depends on the value of deleteOption of OS",
                "type": "azure_cli"
              },
              "vm simulate-eviction": {
                "description": "Simulate the eviction of a Spot VM.",
                "type": "azure_cli"
              },
              "vm start": {
                "description": "Start a stopped VM.",
                "type": "azure_cli"
              },
              "vm stop": {
                "description": "Power off (stop) a running VM.",
                "type": "azure_cli"
              }
            },
            "operation_spec": {
              "paths": {
                "/clusters/{cluster.clusterId}": {
                  "patch": {
                    "summary": "Update a cluster",
                    "operationId": "ClusterService_UpdateCluster",
                    "responses": {
                      "200": {
                        "description": "A successful response.",
                        "schema": {
                          "$ref": "#/definitions/tidb_cloud_open_apidedicatedv1beta1Cluster"
                        }
                      },
                      "400": {
                        "description": "Bad Request",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "401": {
                        "description": "Unauthorized",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "403": {
                        "description": "Forbidden",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "429": {
                        "description": "Too Many Requests",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "500": {
                        "description": "Internal Server Error",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "default": {
                        "description": "An unexpected error response.",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      }
                    },
                    "parameters": [
                      {
                        "name": "cluster.clusterId",
                        "in": "path",
                        "required": true,
                        "type": "string"
                      },
                      {
                        "name": "cluster",
                        "in": "body",
                        "required": true,
                        "schema": {
                          "type": "object",
                          "properties": {
                            "tidbNodeSetting": {
                              "$ref": "#/definitions/v1beta1UpdateClusterRequestTidbNodeSetting"
                            },
                            "tikvNodeSetting": {
                              "$ref": "#/definitions/v1beta1UpdateClusterRequestStorageNodeSetting"
                            },
                            "tiflashNodeSetting": {
                              "$ref": "#/definitions/v1beta1UpdateClusterRequestStorageNodeSetting"
                            },
                            "displayName": {
                              "type": "string"
                            },
                            "labels": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "string"
                              },
                              "description": "The project_id key cannot be updated. If the project_id key is specified, it will be ignored."
                            }
                          }
                        }
                      },
                      {
                        "name": "validateOnly",
                        "description": "if validate_only is true, the request will be validated but not executed.",
                        "in": "query",
                        "required": false,
                        "type": "boolean"
                      }
                    ],
                    "tags": [
                      "ClusterService"
                    ]
                  }
                }
              },
              "components": {
                "schemas": {
                  "v1beta1UpdateClusterRequestTidbNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "tidbNodeGroups": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/UpdateClusterRequestTidbNodeSettingTidbNodeGroup"
                        }
                      }
                    }
                  },
                  "v1beta1UpdateClusterRequestStorageNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "When update TiFlash node setting:\n  - If the node count is set to 0, the TiFlash node will be removed.\n  - If the node count is null, the TiFlash node count won't change.\nFor other components, if the node count is set to 0, server will ignore the node count."
                      },
                      "storageSizeGi": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "storageType": {
                        "description": "Allow change storage type.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/StorageNodeSettingStorageType"
                          }
                        ]
                      },
                      "raftStoreIops": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "If raft_store_iops is not set, the default IOPS of raft store will be used."
                      }
                    }
                  },
                  "tidb_cloud_open_apidedicatedv1beta1Cluster": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "The name of TiDB cluster resource.\nFormat: clusters/{cluster_id}",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The unique ID of the cluster.",
                        "readOnly": true
                      },
                      "displayName": {
                        "type": "string",
                        "example": "foo-bar",
                        "description": "The display name of the cluster.",
                        "maxLength": 64,
                        "minLength": 4,
                        "pattern": "^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$"
                      },
                      "regionId": {
                        "type": "string",
                        "title": "Required. Region where the cluster will be created.\nFormat: {cloud_provider}-{region_code}"
                      },
                      "labels": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "The labels of the cluster.\nIf there is no \"project_id\" in labels, resource should be in the default project of the creator's organization."
                      },
                      "tidbNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterTidbNodeSetting"
                      },
                      "tikvNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "tiflashNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The port of the cluster. This port applies to all network endpoints of the cluster."
                      },
                      "rootPassword": {
                        "type": "string",
                        "example": "my-shining-password",
                        "maxLength": 64,
                        "minLength": 8,
                        "pattern": "^.{8,64}$"
                      },
                      "state": {
                        "description": "The current state of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/commonv1beta1ClusterState"
                          }
                        ]
                      },
                      "version": {
                        "type": "string",
                        "description": "The TiDB version of the cluster.",
                        "readOnly": true
                      },
                      "createdBy": {
                        "type": "string",
                        "description": "The email address or public api key of the creator of the cluster.",
                        "readOnly": true
                      },
                      "createTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was created.",
                        "readOnly": true
                      },
                      "updateTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was last updated.",
                        "readOnly": true
                      },
                      "pausePlan": {
                        "description": "Pause plan of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlan"
                          }
                        ]
                      },
                      "regionDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "cloudProvider": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/v1beta1RegionCloudProvider"
                          }
                        ]
                      },
                      "annotations": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "OUTPUT_ONLY. The annotations for the cluster.\ntidb.cloud/has-set-password. The annotation for whether the cluster has set password.\ntidb.cloud/available-features. The annotation for the available features of the cluster.",
                        "readOnly": true
                      }
                    },
                    "description": "Cluster represents a dedicated TiDB cluster.",
                    "required": [
                      "displayName",
                      "regionId",
                      "tidbNodeSetting",
                      "tikvNodeSetting",
                      "port"
                    ]
                  },
                  "UpdateClusterRequestTidbNodeSettingTidbNodeGroup": {
                    "type": "object",
                    "properties": {
                      "tidbNodeGroupId": {
                        "type": "string",
                        "title": "if tidb_node_group_id is empty, it means scale default tidb group"
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true
                      },
                      "tiproxySetting": {
                        "$ref": "#/definitions/TidbNodeGroupTiProxySetting"
                      }
                    }
                  },
                  "v1beta1ClusterStorageNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "storageSizeGi": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "storageType": {
                        "description": "Default to Basic.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/StorageNodeSettingStorageType"
                          }
                        ]
                      },
                      "raftStoreIops": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "If raft_store_iops is not set, the default IOPS of raft store will be used."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "title": "output only",
                        "readOnly": true
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount",
                      "nodeSpecKey",
                      "storageSizeGi"
                    ]
                  },
                  "StorageNodeSettingStorageType": {
                    "type": "string",
                    "enum": [
                      "Basic",
                      "Standard",
                      "Performance",
                      "Plus"
                    ],
                    "description": "Spec https://pingcap.feishu.cn/wiki/R6dcwK0Q3i9XSgkgG1Scoc82nbf.\n\n - Basic: Data disk: gp3; Raft log disk: none.\n - Standard: Data disk: gp3; Raft log disk: gp3.\n - Performance: Data disk: gp3; Raft log disk: io2.\n - Plus: Data disk: io2; Raft log disk: none."
                  },
                  "TidbNodeGroupTiProxySetting": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "description": "The type of TiProxy.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxyType"
                          }
                        ]
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "The number of TiProxy nodes in the TiDB group.\nIf not set or set to 0, represents the TiProxy is disabled."
                      }
                    }
                  },
                  "commonv1beta1ClusterState": {
                    "type": "string",
                    "enum": [
                      "CREATING",
                      "DELETING",
                      "ACTIVE",
                      "RESTORING",
                      "MAINTENANCE",
                      "DELETED",
                      "INACTIVE",
                      "UPGRADING",
                      "IMPORTING",
                      "MODIFYING",
                      "PAUSING",
                      "PAUSED",
                      "RESUMING"
                    ],
                    "description": "Enum of possible states of a cluster.\n\n - CREATING: Cluster is being created.\n - DELETING: Cluster is being deleted.\n - ACTIVE: Cluster is active for use.\n - RESTORING: Cluster data is being restored.\n - MAINTENANCE: Cluster is under maintenance.\n - DELETED: Cluster has been deleted.\n - INACTIVE: Cluster is not active, but not being deleted.\n - UPGRADING: Cluster is being updated.\nOnly for Dedicated Cluster.\n - IMPORTING: Cluster is being imported.\nOnly for Dedicated Cluster.\n - MODIFYING: Cluster is being modified.\nOnly for Dedicated Cluster.\n - PAUSING: Cluster is being paused.\nOnly for Dedicated Cluster.\n - PAUSED: Cluster is paused.\nOnly for Dedicated Cluster.\n - RESUMING: Cluster is resuming.\nOnly for Dedicated Cluster."
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "ClusterNodeChangingProgress": {
                    "type": "object",
                    "properties": {
                      "matchingNodeSpecNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "remainingDeletionNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "available if some nodes are deleting.",
                        "readOnly": true
                      }
                    }
                  },
                  "v1beta1ClusterTidbNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "tidbNodeGroups": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroup"
                        },
                        "description": "When creating a cluster, the length of the `tidb_node_groups` should be 1\nand the `node_count` field of `TidbNodeGroup` should be set."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "nodeSpecKey",
                      "tidbNodeGroups"
                    ]
                  },
                  "TidbNodeGroupTiProxyType": {
                    "type": "string",
                    "enum": [
                      "Medium",
                      "Large"
                    ],
                    "title": "- Medium: Medium is the default value.\nInstance 4vCPU, Max QPS: 30k, Max Data Traffic: 90 MiB/s\n - Large: Large is the high performance value.\nInstance 8vCPU, Max QPS: 60k, Max Data Traffic: 150 MiB/s"
                  },
                  "v1beta1RegionCloudProvider": {
                    "type": "string",
                    "enum": [
                      "aws",
                      "gcp",
                      "azure",
                      "alicloud"
                    ],
                    "description": "Enum of cloud provider names.\n\n - aws: Amazon Web Services.\n - gcp: Google Cloud Platform.\n - azure: Microsoft Azure.\n - alicloud: Alibaba Cloud"
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "dedicatedv1beta1TidbNodeGroup": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "Format: tidbNodeGroups/{tidb_node_group_id}",
                        "readOnly": true
                      },
                      "tidbNodeGroupId": {
                        "type": "string",
                        "description": "The unique ID of the TiDB group.",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The cluster ID of the TiDB group.\nOptional when creating cluster with the default TiDB group.\nRequired when creating non-default TiDB group."
                      },
                      "displayName": {
                        "type": "string",
                        "description": "The display name of the TiDB group."
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The number of TiDB nodes in the TiDB group."
                      },
                      "endpoints": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupEndpoint"
                        },
                        "readOnly": true
                      },
                      "nodeSpecKey": {
                        "type": "string",
                        "readOnly": true
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "isDefaultGroup": {
                        "type": "boolean",
                        "readOnly": true
                      },
                      "state": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupState"
                          }
                        ]
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      },
                      "tiproxySetting": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxySetting"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount"
                    ]
                  },
                  "dedicatedv1beta1TidbNodeGroupEndpoint": {
                    "type": "object",
                    "properties": {
                      "host": {
                        "type": "string",
                        "description": "When endpoint's type is `PRIVATE_ENDPOINT`, the `host` field behave differently across cloud providers:\nFor AWS clusters, the `host` field is available right after the private link service is ready.\nFor GCP and Azure clusters, the `host` field is available after the user creates a `PrivateEndpointConnection`.",
                        "readOnly": true
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "connectionType": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/EndpointConnectionType"
                          }
                        ]
                      }
                    }
                  },
                  "dedicatedv1beta1TidbNodeGroupState": {
                    "type": "string",
                    "enum": [
                      "ACTIVE",
                      "MODIFYING",
                      "PAUSED"
                    ],
                    "description": " - ACTIVE: All nodes are ready.\n - MODIFYING: When TiDB group is modifying.\n - PAUSED: When cluster is paused."
                  },
                  "EndpointConnectionType": {
                    "type": "string",
                    "enum": [
                      "PUBLIC",
                      "VPC_PEERING",
                      "PRIVATE_ENDPOINT"
                    ],
                    "description": " - PUBLIC: The endpoint is a public endpoint.\n - VPC_PEERING: The endpoint is a VPC peering endpoint.\n - PRIVATE_ENDPOINT: The endpoint is a private link endpoint."
                  }
                }
              }
            }
          },
          "output": {
            "reasoning": "The request was to update the cluster by scaling down the TiDB node group from 2 nodes to 1 node. The response indicates a successful operation with a 200 status code, and the state transition shows that the node count for the TiDB node group has been reduced from 2 to 1, which aligns with the target operation of scaling the cluster to 1 TiDB node. The cluster state changed from 'ACTIVE' to 'MODIFYING', which is expected during such an update operation. The operation was correctly chosen and executed, resulting in a state change that moves closer to the target operation.",
            "result_type": "success",
            "confidence": 0.95
          }
        },
        "target_matching": {
          "input": {
            "last_step": {
              "operation_id": "ClusterService_UpdateCluster",
              "step_type": "generated",
              "request_type": "http",
              "request": {
                "auth": {
                  "auth_type": "digest",
                  "content": "{}"
                },
                "method": "PATCH",
                "path": "/clusters/{cluster.clusterId}",
                "path_params": "{\n  \"cluster.clusterId\": \"10899341031126750090\"\n}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"2C8G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905121706914086912\",\n        \"nodeCount\": 1\n      }\n    ]\n  }\n}"
              },
              "description": "Scale in the TiDB cluster with ID 10899341031126750090 to have 1 TiDB node with the existing node specification of 2C8G.",
              "max_retries": 0,
              "delay_after": 0,
              "expect": null
            },
            "target_operation": {
              "original_description": "scale in this cluster to 2C8G 1 TiDB node"
            }
          },
          "output": {
            "reason": "The concrete operation is a PATCH request to update a cluster with a specific cluster ID. The body of the request specifies a 'tidbNodeSetting' with 'nodeSpecKey' set to '2C8G' and 'tidbNodeGroups' containing one group with 'tidbNodeGroupId' and 'nodeCount' set to 1. This matches the target operation's requirement to scale the cluster to '2C8G 1 TiDB node', as it specifies the desired node specification and count. Therefore, the concrete operation fulfills the abstract operation's requirements.",
            "judgement": true
          }
        },
        "resource_manager": {
          "input": {
            "last_request": {
              "auth": {
                "auth_type": "digest",
                "content": "{}"
              },
              "method": "PATCH",
              "path": "/clusters/{cluster.clusterId}",
              "path_params": "{\n  \"cluster.clusterId\": \"10899341031126750090\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"2C8G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905121706914086912\",\n        \"nodeCount\": 1\n      }\n    ]\n  }\n}"
            },
            "last_response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10899341031126750090",
                "clusterId": "10899341031126750090",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "2C8G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905121706914086912",
                      "tidbNodeGroupId": "1905121706914086912",
                      "clusterId": "10899341031126750090",
                      "displayName": "DefaultGroup",
                      "nodeCount": 1,
                      "endpoints": [],
                      "nodeSpecKey": "2C8G",
                      "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "2C8G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "MODIFYING",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T04:56:24.568Z",
                "updateTime": "2025-03-27T05:01:59.468Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "previous_resources": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:00:56.012Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DISABLE_PUBLIC_LB,PRIVATELINK,DELEGATE_USER\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.mhntte1ot9q0.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            }
          },
          "output": {
            "resources": [
              {
                "id": "10899341031126750090",
                "resource_type": "clusters",
                "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:01:59.468Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                "state": "MODIFYING",
                "parent_id": "",
                "reference_ids": []
              },
              {
                "id": "1905121706914086912",
                "resource_type": "tidbnodegroups",
                "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                "state": "ACTIVE",
                "parent_id": "10899341031126750090",
                "reference_ids": []
              },
              {
                "id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet",
                "resource_type": "vpcs",
                "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                "state": "Succeeded",
                "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet",
                "reference_ids": []
              }
            ]
          }
        },
        "timestamp": "2025-03-27T13:02:14.553172",
        "error": null,
        "error_traceback": null
      },
      {
        "generation_id": "4aa78495-f592-4919-b098-32c6b53d4746",
        "operation_id": "ClusterService_GetCluster",
        "state_before": {
          "clusters": {
            "10899341031126750090": {
              "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:01:59.468Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905121706914086912": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10899341031126750090"
            }
          },
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "state_after": {
          "clusters": {},
          "tidbnodegroups": {},
          "private_endpoint_connections": {},
          "public_endpoint_setting": {},
          "private_link_services": {},
          "vpcs": {
            "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
              "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
              "state": "Succeeded",
              "references": [],
              "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
            }
          },
          "vpc_endpoints": {}
        },
        "request": {
          "request_type": "http",
          "request": "{\"method\": \"DELETE\", \"path\": \"/clusters/10899341031126750090\", \"headers\": {}, \"query_params\": {}, \"body\": {}, \"auth\": {\"auth_type\": \"digest\", \"content\": \"01GPB7L0:1a5bc2d1-70db-4621-aa82-91f2314123bc\"}}",
          "expect": null,
          "max_retries": 0,
          "delay_after": 0
        },
        "response": {
          "status_code": 200,
          "json": {
            "name": "clusters/10899341031126750090",
            "clusterId": "10899341031126750090",
            "displayName": "llm-e2e-cluster-1234",
            "regionId": "azure-eastus2",
            "labels": {
              "tidb.cloud/organization": "1369847559692509562",
              "tidb.cloud/project": "1369847559694040595"
            },
            "tidbNodeSetting": {
              "nodeSpecKey": "2C8G",
              "tidbNodeGroups": [
                {
                  "name": "tidbNodeGroups/1905121706914086912",
                  "tidbNodeGroupId": "1905121706914086912",
                  "clusterId": "10899341031126750090",
                  "displayName": "DefaultGroup",
                  "nodeCount": 1,
                  "endpoints": [],
                  "nodeSpecKey": "2C8G",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                  "isDefaultGroup": true,
                  "state": "ACTIVE"
                }
              ],
              "nodeSpecDisplayName": "2 vCPU, 8 GiB"
            },
            "tikvNodeSetting": {
              "nodeCount": 3,
              "nodeSpecKey": "2C8G",
              "storageSizeGi": 200,
              "storageType": "Basic",
              "nodeSpecDisplayName": "2 vCPU, 8 GiB"
            },
            "port": 4000,
            "rootPassword": "",
            "state": "DELETED",
            "version": "v8.1.2",
            "createdBy": "apikey-01GPB7L0",
            "createTime": "2025-03-27T04:56:24.568Z",
            "updateTime": "2025-03-27T05:01:59.468Z",
            "regionDisplayName": "Virginia (eastus2)",
            "cloudProvider": "azure",
            "annotations": {
              "tidb.cloud/available-features": "",
              "tidb.cloud/has-set-password": "true"
            }
          },
          "headers": {},
          "error": null
        },
        "status_code": 200,
        "operation_selection": {
          "input": {
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:01:59.468Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "delete this cluster"
            },
            "feedback": {
              "execution_analyzer": null,
              "attempts": 0,
              "target_matcher": null,
              "response": null
            }
          },
          "output": {
            "reason": "The target operation is to delete the cluster. The current state shows that the cluster is in a 'MODIFYING' state, which is a transitional state. According to the business logic, when a resource is in a transitional state, the next operation should be a GET method operation related to the resource to check its current status. Therefore, the most appropriate operation is to check the current status of the cluster to see if it has transitioned to a stable state before proceeding with the deletion operation.",
            "operation_id": "ClusterService_GetCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_GetCluster",
            "current_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:01:59.468Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "delete this cluster"
            },
            "feedback": "{\"execution_analyzer\": null, \"attempts\": 0, \"target_matcher\": null, \"response\": null}"
          },
          "output": {
            "request": {
              "method": "DELETE",
              "path": "/clusters/{clusterId}",
              "path_params": "{\"clusterId\": \"10899341031126750090\"}",
              "query_params": null,
              "headers": null,
              "body": null
            },
            "description": "Delete the TiDB cluster with ID 10899341031126750090.",
            "expect": null,
            "request_type": "http"
          }
        },
        "execution_analysis": {
          "input": {
            "request": {
              "method": "DELETE",
              "path": "/clusters/{clusterId}",
              "path_params": "{\n  \"clusterId\": \"10899341031126750090\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{}"
            },
            "response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10899341031126750090",
                "clusterId": "10899341031126750090",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "2C8G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905121706914086912",
                      "tidbNodeGroupId": "1905121706914086912",
                      "clusterId": "10899341031126750090",
                      "displayName": "DefaultGroup",
                      "nodeCount": 1,
                      "endpoints": [],
                      "nodeSpecKey": "2C8G",
                      "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "2C8G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "DELETED",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T04:56:24.568Z",
                "updateTime": "2025-03-27T05:01:59.468Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "prev_state": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:01:59.468Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "current_state": {
              "clusters": {},
              "tidbnodegroups": {},
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            },
            "target_operation": {
              "original_description": "delete this cluster"
            },
            "available_operations": {
              "ClusterService_ListClusters": {
                "description": "List clusters",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_CreateCluster": {
                "description": "Create a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetCluster": {
                "description": "Get a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_DeleteCluster": {
                "description": "Delete a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_UpdateCluster": {
                "description": "Update a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_PauseCluster": {
                "description": "Pause a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResumeCluster": {
                "description": "Resume a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ResetRootPassword": {
                "description": "Reset the root password of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ListNodeInstances": {
                "description": "List node instances",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_GetNodeInstance": {
                "description": "Get a node instance",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "ClusterService_ShowNodeQuota": {
                "description": "Show node quota across the caller's organization",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListRegions": {
                "description": "List regions for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetRegion": {
                "description": "Get a region",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ShowCloudProviders": {
                "description": "Show cloud providers for creating a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_ListNodeSpecs": {
                "description": "List node specs for creating or scaling a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "RegionService_GetNodeSpec": {
                "description": "Get a node spec",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_CreateTidbNodeGroup": {
                "description": "Create a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_ListTidbNodeGroups": {
                "description": "List TiDB Node Groups",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetTidbNodeGroup": {
                "description": "Get a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_DeleteTidbNodeGroup": {
                "description": "Delete a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdateTidbNodeGroup": {
                "description": "Update a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_GetPublicEndpointSetting": {
                "description": "Get the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "TidbNodeGroupService_UpdatePublicEndpointSetting": {
                "description": "Update the public endpoint setting of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateLinkService": {
                "description": "Get the private link service of a TiDB Node Group",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_CreatePrivateEndpointConnection": {
                "description": "Create a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_ListPrivateEndpointConnections": {
                "description": "List private endpoint connections",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_GetPrivateEndpointConnection": {
                "description": "Get a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "PrivateEndpointConnectionService_DeletePrivateEndpointConnection": {
                "description": "Delete a private endpoint connection",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListNetworkContainers": {
                "description": "List network containers",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateNetworkContainer": {
                "description": "Create a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetNetworkContainer": {
                "description": "Get a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteNetworkContainer": {
                "description": "Delete a network container",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_ListVpcPeerings": {
                "description": "List VPC peerings",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_CreateVpcPeering": {
                "description": "Create a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_GetVpcPeering": {
                "description": "Get a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "NetworkContainerService_DeleteVpcPeering": {
                "description": "Delete a VPC peering",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceWindow": {
                "description": "Get a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceWindows": {
                "description": "List maintenance windows",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceWindow": {
                "description": "Update a maintenance window",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_ListMaintenanceTasks": {
                "description": "List maintenance tasks",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_GetMaintenanceTask": {
                "description": "Get a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "MaintenanceService_UpdateMaintenanceTask": {
                "description": "Update a maintenance task",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogConfig": {
                "description": "Create the audit log config for a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_UpdateAuditLogConfig": {
                "description": "Update the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogConfig": {
                "description": "Get the audit log config of a cluster",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_CreateAuditLogFilterRule": {
                "description": "Create an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GetAuditLogFilterRule": {
                "description": "Get an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_DeleteAuditLogFilterRule": {
                "description": "Delete an audit log filter rule",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ListAuditLogFilterRules": {
                "description": "List audit log filter rules",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_ShowObjectStorageAccessIamPrincipal": {
                "description": "Show IAM principal of TiDB Cloud for accessing customer's object storage",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_QueryAuditLogFiles": {
                "description": "Query audit log files",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "DatabaseAuditLogService_GenerateAuditLogFileDownloadAddress": {
                "description": "Generate the download address for an audit log file, the address have an 15 minutes expiration time",
                "type": "TiDB Cloud Dedicated OpenAPI"
              },
              "network create": {
                "description": "Create and start a packet capture session.",
                "type": "azure_cli"
              },
              "network delete": {
                "description": "Delete a packet capture session.",
                "type": "azure_cli"
              },
              "network list": {
                "description": "List Network Watchers.",
                "type": "azure_cli"
              },
              "network show": {
                "description": "Get the results of the last troubleshooting operation.",
                "type": "azure_cli"
              },
              "network update": {
                "description": "Update the flow log configuration of a network security",
                "type": "azure_cli"
              },
              "network wait": {
                "description": "Place the CLI in a waiting state until a condition is",
                "type": "azure_cli"
              },
              "network add": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network remove": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network assign": {
                "description": "Assign/Update AAD(Azure Active Directory) authentication to",
                "type": "azure_cli"
              },
              "network list-server-variables": {
                "description": "List all available",
                "type": "azure_cli"
              },
              "network list-request-headers": {
                "description": "List all available request",
                "type": "azure_cli"
              },
              "network list-response-headers": {
                "description": "List all available response",
                "type": "azure_cli"
              },
              "network list-options": {
                "description": "List available SSL options for",
                "type": "azure_cli"
              },
              "network set": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-dynamic-rule-sets": {
                "description": "List the regional application",
                "type": "azure_cli"
              },
              "network list-rule-sets": {
                "description": "Get information on available WAF rule",
                "type": "azure_cli"
              },
              "network show-backend-health": {
                "description": "Get information on the backend health of an",
                "type": "azure_cli"
              },
              "network start": {
                "description": "Troubleshoot issues with VPN connections or gateway",
                "type": "azure_cli"
              },
              "network stop": {
                "description": "Stop a running packet capture session.",
                "type": "azure_cli"
              },
              "network add-record": {
                "description": "Add a TXT record.",
                "type": "azure_cli"
              },
              "network remove-record": {
                "description": "Remove a TXT record from its record set.",
                "type": "azure_cli"
              },
              "network set-record": {
                "description": "Set the value of a CNAME record.",
                "type": "azure_cli"
              },
              "network export": {
                "description": "Export a Private DNS zone as a DNS zone file.",
                "type": "azure_cli"
              },
              "network import": {
                "description": "Create a Private DNS zone using a DNS zone file.",
                "type": "azure_cli"
              },
              "network list-references": {
                "description": "Returns the DNS records specified by the referencing",
                "type": "azure_cli"
              },
              "network get-stats": {
                "description": "Get the statistics of an ExpressRoute circuit.",
                "type": "azure_cli"
              },
              "network generate-loa": {
                "description": "Generate and download a letter of authorization for",
                "type": "azure_cli"
              },
              "network list-arp-tables": {
                "description": "Show the current Address Resolution Protocol (ARP)",
                "type": "azure_cli"
              },
              "network list-route-tables": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-route-tables-summary": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-service-providers": {
                "description": "List available ExpressRoute service providers.",
                "type": "azure_cli"
              },
              "network list-mapping": {
                "description": "List inbound NAT rule port mappings.",
                "type": "azure_cli"
              },
              "network list-nic": {
                "description": "List associated load balancer network interfaces.",
                "type": "azure_cli"
              },
              "network list-effective-nsg": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-traffic-filter-",
                "type": "azure_cli"
              },
              "network show-effective-route-table": {
                "description": "//learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-routing-",
                "type": "azure_cli"
              },
              "network list-types": {
                "description": "Returns all of the resource types that can be linked to",
                "type": "azure_cli"
              },
              "network approve": {
                "description": "Approve a private endpoint connection.",
                "type": "azure_cli"
              },
              "network reject": {
                "description": "Reject a private endpoint connection.",
                "type": "azure_cli"
              },
              "network list-auto-approved": {
                "description": "List all of the private link service ids",
                "type": "azure_cli"
              },
              "network list-service-communities": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-advertised-routes": {
                "description": "List the routes of a virtual network gateway",
                "type": "azure_cli"
              },
              "network list-learned-routes": {
                "description": "This operation retrieves a list of routes the",
                "type": "azure_cli"
              },
              "network show-geographic-hierarchy": {
                "description": "Get the default geographic",
                "type": "azure_cli"
              },
              "network check-dns": {
                "description": "Check the availability of a relative DNS name.",
                "type": "azure_cli"
              },
              "network restart": {
                "description": "Restarts one or more VMs belonging to the specified",
                "type": "azure_cli"
              },
              "network sync": {
                "description": "Sync a virtual network peering connection.",
                "type": "azure_cli"
              },
              "network list-available-delegations": {
                "description": "List the services available for subnet",
                "type": "azure_cli"
              },
              "network list-available-ips": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network check-ip-address": {
                "description": "Check if a private IP address is available for use within a",
                "type": "azure_cli"
              },
              "network list-endpoint-services": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "network clear": {
                "description": "Delete all IPsec policies on a VPN connection.",
                "type": "azure_cli"
              },
              "network generate": {
                "description": "Generate VPN client configuration.",
                "type": "azure_cli"
              },
              "network show-health": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-url": {
                "description": "Retrieve a pre-generated VPN client configuration.",
                "type": "azure_cli"
              },
              "network disconnect-vpn-connections": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-bgp-peer-status": {
                "description": "Retrieve the status of BGP peers.",
                "type": "azure_cli"
              },
              "network reset": {
                "description": "Reset a VPN connection shared key.",
                "type": "azure_cli"
              },
              "network show-supported-devices": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network list-ike-sas": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network show-device-config-script": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network query": {
                "description": "Query a snapshot of the most recent connection",
                "type": "azure_cli"
              },
              "network show-status": {
                "description": "Show the status of a packet capture session.",
                "type": "azure_cli"
              },
              "network configure": {
                "description": "Configure the Network Watcher service for different regions.",
                "type": "azure_cli"
              },
              "network run-configuration-diagnostic": {
                "description": "Run a configuration diagnostic on a target",
                "type": "azure_cli"
              },
              "network show-next-hop": {
                "description": "//learn.microsoft.com/en-us/azure/network-",
                "type": "azure_cli"
              },
              "network show-security-group-view": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network show-topology": {
                "description": "//learn.microsoft.com/en-",
                "type": "azure_cli"
              },
              "network test-connectivity": {
                "description": "//aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "network test-ip-flow": {
                "description": "//learn.microsoft.com/en-us/azure/network-watcher/diagnose-vm-",
                "type": "azure_cli"
              },
              "network list-service-aliases": {
                "description": "List available service aliases in the region which can be used",
                "type": "azure_cli"
              },
              "network list-service-tags": {
                "description": "//learn.microsoft.com/azure/virtual-network/security-overview#service-tags. Note that",
                "type": "azure_cli"
              },
              "network list-usages": {
                "description": "List the number of network resources in a region that are used against",
                "type": "azure_cli"
              },
              "vm list": {
                "description": "//learn.microsoft.com/cli/azure/query-az-cli2.",
                "type": "azure_cli"
              },
              "vm set": {
                "description": "Configure settings of a NIC attached to a VM.",
                "type": "azure_cli"
              },
              "vm convert": {
                "description": "Convert a VM with unmanaged disks to use managed disks.",
                "type": "azure_cli"
              },
              "vm create": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm delete": {
                "description": "Delete a VM.",
                "type": "azure_cli"
              },
              "vm list-sizes": {
                "description": "List available sizes for VMs.",
                "type": "azure_cli"
              },
              "vm show": {
                "description": "Get the details of a VM.",
                "type": "azure_cli"
              },
              "vm update": {
                "description": "Update the properties of a VM.",
                "type": "azure_cli"
              },
              "vm disable": {
                "description": "Disable disk encryption on the OS disk and/or data disks. Decrypt",
                "type": "azure_cli"
              },
              "vm enable": {
                "description": "//learn.microsoft.com/azure/security/fundamentals/azure-disk-encryption-vms-vmss.",
                "type": "azure_cli"
              },
              "vm get-boot-log": {
                "description": "Get the boot diagnostics log from a VM.",
                "type": "azure_cli"
              },
              "vm get-boot-log-uris": {
                "description": "Get SAS URIs for a virtual machine's boot diagnostic",
                "type": "azure_cli"
              },
              "vm get-default-config": {
                "description": "Get the default configuration settings for a VM.",
                "type": "azure_cli"
              },
              "vm attach": {
                "description": "Attach an unmanaged persistent disk to a VM.",
                "type": "azure_cli"
              },
              "vm detach": {
                "description": "Detach an unmanaged disk from a VM.",
                "type": "azure_cli"
              },
              "vm list-names": {
                "description": "List the names of available extensions.",
                "type": "azure_cli"
              },
              "vm list-versions": {
                "description": "List the versions for available extensions.",
                "type": "azure_cli"
              },
              "vm wait": {
                "description": "Place the CLI in a waiting state until a condition of the VM is met.",
                "type": "azure_cli"
              },
              "vm get-instance-view": {
                "description": "Get instance information about a VM.",
                "type": "azure_cli"
              },
              "vm list-resize-options": {
                "description": "The dedicated host sizes provided can be used to only scale",
                "type": "azure_cli"
              },
              "vm redeploy": {
                "description": "Redeploy an existing VM.",
                "type": "azure_cli"
              },
              "vm resize": {
                "description": "Update a VM's size.",
                "type": "azure_cli"
              },
              "vm restart": {
                "description": "Restart VMs.",
                "type": "azure_cli"
              },
              "vm assign": {
                "description": "Enable managed service identity on a VM.",
                "type": "azure_cli"
              },
              "vm remove": {
                "description": "Remove a secret from a VM.",
                "type": "azure_cli"
              },
              "vm accept": {
                "description": "Accept Azure Marketplace image terms so that the image can be used to",
                "type": "azure_cli"
              },
              "vm cancel": {
                "description": "Cancel Azure Marketplace image terms.",
                "type": "azure_cli"
              },
              "vm accept-terms": {
                "description": "This command has been deprecated and will be removed in version '3.0.0'. Use 'az vm",
                "type": "azure_cli"
              },
              "vm list-offers": {
                "description": "List the VM image offers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-publishers": {
                "description": "List the VM image publishers available in the Azure Marketplace.",
                "type": "azure_cli"
              },
              "vm list-skus": {
                "description": "Get details for compute-related resource SKUs.",
                "type": "azure_cli"
              },
              "vm list-definitions": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm tail": {
                "description": "https://aka.ms/CLI_refstatus",
                "type": "azure_cli"
              },
              "vm add": {
                "description": "//learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)",
                "type": "azure_cli"
              },
              "vm invoke": {
                "description": "Execute a specific run command on a vm.",
                "type": "azure_cli"
              },
              "vm format": {
                "description": "Transform secrets into a form that can be used by VMs and VMSSes.",
                "type": "azure_cli"
              },
              "vm reset-ssh": {
                "description": "Reset the SSH configuration on a VM.",
                "type": "azure_cli"
              },
              "vm assess-patches": {
                "description": "Assess patches on a VM.",
                "type": "azure_cli"
              },
              "vm auto-shutdown": {
                "description": "Manage auto-shutdown for VM.",
                "type": "azure_cli"
              },
              "vm capture": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm deallocate": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm generalize": {
                "description": "//learn.microsoft.com/azure/virtual-",
                "type": "azure_cli"
              },
              "vm install-patches": {
                "description": "Install patches on a VM.",
                "type": "azure_cli"
              },
              "vm list-ip-addresses": {
                "description": "List IP addresses associated with a VM.",
                "type": "azure_cli"
              },
              "vm list-usage": {
                "description": "List available usage resources for VMs.",
                "type": "azure_cli"
              },
              "vm list-vm-resize-options": {
                "description": "List available resizing options for VMs.",
                "type": "azure_cli"
              },
              "vm open-port": {
                "description": "Opens a VM to inbound traffic on specified ports.",
                "type": "azure_cli"
              },
              "vm perform-maintenance": {
                "description": "The operation to perform maintenance on a virtual machine.",
                "type": "azure_cli"
              },
              "vm reapply": {
                "description": "Reapply VMs.",
                "type": "azure_cli"
              },
              "vm reimage": {
                "description": "The retaining of old OS disk depends on the value of deleteOption of OS",
                "type": "azure_cli"
              },
              "vm simulate-eviction": {
                "description": "Simulate the eviction of a Spot VM.",
                "type": "azure_cli"
              },
              "vm start": {
                "description": "Start a stopped VM.",
                "type": "azure_cli"
              },
              "vm stop": {
                "description": "Power off (stop) a running VM.",
                "type": "azure_cli"
              }
            },
            "operation_spec": {
              "paths": {
                "/clusters/{clusterId}": {
                  "get": {
                    "summary": "Get a cluster",
                    "operationId": "ClusterService_GetCluster",
                    "responses": {
                      "200": {
                        "description": "A successful response.",
                        "schema": {
                          "$ref": "#/definitions/tidb_cloud_open_apidedicatedv1beta1Cluster"
                        }
                      },
                      "400": {
                        "description": "Bad Request",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "401": {
                        "description": "Unauthorized",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "403": {
                        "description": "Forbidden",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "429": {
                        "description": "Too Many Requests",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "500": {
                        "description": "Internal Server Error",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      },
                      "default": {
                        "description": "An unexpected error response.",
                        "schema": {
                          "$ref": "#/definitions/googlerpcStatus"
                        }
                      }
                    },
                    "parameters": [
                      {
                        "name": "clusterId",
                        "in": "path",
                        "required": true,
                        "type": "string"
                      }
                    ],
                    "tags": [
                      "ClusterService"
                    ]
                  }
                }
              },
              "components": {
                "schemas": {
                  "tidb_cloud_open_apidedicatedv1beta1Cluster": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "The name of TiDB cluster resource.\nFormat: clusters/{cluster_id}",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The unique ID of the cluster.",
                        "readOnly": true
                      },
                      "displayName": {
                        "type": "string",
                        "example": "foo-bar",
                        "description": "The display name of the cluster.",
                        "maxLength": 64,
                        "minLength": 4,
                        "pattern": "^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$"
                      },
                      "regionId": {
                        "type": "string",
                        "title": "Required. Region where the cluster will be created.\nFormat: {cloud_provider}-{region_code}"
                      },
                      "labels": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "The labels of the cluster.\nIf there is no \"project_id\" in labels, resource should be in the default project of the creator's organization."
                      },
                      "tidbNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterTidbNodeSetting"
                      },
                      "tikvNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "tiflashNodeSetting": {
                        "$ref": "#/definitions/v1beta1ClusterStorageNodeSetting"
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The port of the cluster. This port applies to all network endpoints of the cluster."
                      },
                      "rootPassword": {
                        "type": "string",
                        "example": "my-shining-password",
                        "maxLength": 64,
                        "minLength": 8,
                        "pattern": "^.{8,64}$"
                      },
                      "state": {
                        "description": "The current state of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/commonv1beta1ClusterState"
                          }
                        ]
                      },
                      "version": {
                        "type": "string",
                        "description": "The TiDB version of the cluster.",
                        "readOnly": true
                      },
                      "createdBy": {
                        "type": "string",
                        "description": "The email address or public api key of the creator of the cluster.",
                        "readOnly": true
                      },
                      "createTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was created.",
                        "readOnly": true
                      },
                      "updateTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Timestamp when the cluster was last updated.",
                        "readOnly": true
                      },
                      "pausePlan": {
                        "description": "Pause plan of the cluster.",
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlan"
                          }
                        ]
                      },
                      "regionDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "cloudProvider": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/v1beta1RegionCloudProvider"
                          }
                        ]
                      },
                      "annotations": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "OUTPUT_ONLY. The annotations for the cluster.\ntidb.cloud/has-set-password. The annotation for whether the cluster has set password.\ntidb.cloud/available-features. The annotation for the available features of the cluster.",
                        "readOnly": true
                      }
                    },
                    "description": "Cluster represents a dedicated TiDB cluster.",
                    "required": [
                      "displayName",
                      "regionId",
                      "tidbNodeSetting",
                      "tikvNodeSetting",
                      "port"
                    ]
                  },
                  "commonv1beta1ClusterState": {
                    "type": "string",
                    "enum": [
                      "CREATING",
                      "DELETING",
                      "ACTIVE",
                      "RESTORING",
                      "MAINTENANCE",
                      "DELETED",
                      "INACTIVE",
                      "UPGRADING",
                      "IMPORTING",
                      "MODIFYING",
                      "PAUSING",
                      "PAUSED",
                      "RESUMING"
                    ],
                    "description": "Enum of possible states of a cluster.\n\n - CREATING: Cluster is being created.\n - DELETING: Cluster is being deleted.\n - ACTIVE: Cluster is active for use.\n - RESTORING: Cluster data is being restored.\n - MAINTENANCE: Cluster is under maintenance.\n - DELETED: Cluster has been deleted.\n - INACTIVE: Cluster is not active, but not being deleted.\n - UPGRADING: Cluster is being updated.\nOnly for Dedicated Cluster.\n - IMPORTING: Cluster is being imported.\nOnly for Dedicated Cluster.\n - MODIFYING: Cluster is being modified.\nOnly for Dedicated Cluster.\n - PAUSING: Cluster is being paused.\nOnly for Dedicated Cluster.\n - PAUSED: Cluster is paused.\nOnly for Dedicated Cluster.\n - RESUMING: Cluster is resuming.\nOnly for Dedicated Cluster."
                  },
                  "v1beta1RegionCloudProvider": {
                    "type": "string",
                    "enum": [
                      "aws",
                      "gcp",
                      "azure",
                      "alicloud"
                    ],
                    "description": "Enum of cloud provider names.\n\n - aws: Amazon Web Services.\n - gcp: Google Cloud Platform.\n - azure: Microsoft Azure.\n - alicloud: Alibaba Cloud"
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "v1beta1ClusterStorageNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "storageSizeGi": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "storageType": {
                        "description": "Default to Basic.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/StorageNodeSettingStorageType"
                          }
                        ]
                      },
                      "raftStoreIops": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "If raft_store_iops is not set, the default IOPS of raft store will be used."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "title": "output only",
                        "readOnly": true
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount",
                      "nodeSpecKey",
                      "storageSizeGi"
                    ]
                  },
                  "v1beta1ClusterTidbNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "tidbNodeGroups": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroup"
                        },
                        "description": "When creating a cluster, the length of the `tidb_node_groups` should be 1\nand the `node_count` field of `TidbNodeGroup` should be set."
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "nodeSpecKey",
                      "tidbNodeGroups"
                    ]
                  },
                  "dedicatedv1beta1TidbNodeGroup": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "title": "Format: tidbNodeGroups/{tidb_node_group_id}",
                        "readOnly": true
                      },
                      "tidbNodeGroupId": {
                        "type": "string",
                        "description": "The unique ID of the TiDB group.",
                        "readOnly": true
                      },
                      "clusterId": {
                        "type": "string",
                        "description": "The cluster ID of the TiDB group.\nOptional when creating cluster with the default TiDB group.\nRequired when creating non-default TiDB group."
                      },
                      "displayName": {
                        "type": "string",
                        "description": "The display name of the TiDB group."
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The number of TiDB nodes in the TiDB group."
                      },
                      "endpoints": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupEndpoint"
                        },
                        "readOnly": true
                      },
                      "nodeSpecKey": {
                        "type": "string",
                        "readOnly": true
                      },
                      "nodeSpecDisplayName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "isDefaultGroup": {
                        "type": "boolean",
                        "readOnly": true
                      },
                      "state": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/dedicatedv1beta1TidbNodeGroupState"
                          }
                        ]
                      },
                      "nodeChangingProgress": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/ClusterNodeChangingProgress"
                          }
                        ]
                      },
                      "tiproxySetting": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxySetting"
                          }
                        ]
                      }
                    },
                    "required": [
                      "nodeCount"
                    ]
                  },
                  "StorageNodeSettingStorageType": {
                    "type": "string",
                    "enum": [
                      "Basic",
                      "Standard",
                      "Performance",
                      "Plus"
                    ],
                    "description": "Spec https://pingcap.feishu.cn/wiki/R6dcwK0Q3i9XSgkgG1Scoc82nbf.\n\n - Basic: Data disk: gp3; Raft log disk: none.\n - Standard: Data disk: gp3; Raft log disk: gp3.\n - Performance: Data disk: gp3; Raft log disk: io2.\n - Plus: Data disk: io2; Raft log disk: none."
                  },
                  "TidbNodeGroupTiProxySetting": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "description": "The type of TiProxy.",
                        "allOf": [
                          {
                            "$ref": "#/definitions/TidbNodeGroupTiProxyType"
                          }
                        ]
                      },
                      "nodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "x-nullable": true,
                        "description": "The number of TiProxy nodes in the TiDB group.\nIf not set or set to 0, represents the TiProxy is disabled."
                      }
                    }
                  },
                  "dedicatedv1beta1TidbNodeGroupEndpoint": {
                    "type": "object",
                    "properties": {
                      "host": {
                        "type": "string",
                        "description": "When endpoint's type is `PRIVATE_ENDPOINT`, the `host` field behave differently across cloud providers:\nFor AWS clusters, the `host` field is available right after the private link service is ready.\nFor GCP and Azure clusters, the `host` field is available after the user creates a `PrivateEndpointConnection`.",
                        "readOnly": true
                      },
                      "port": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "connectionType": {
                        "readOnly": true,
                        "allOf": [
                          {
                            "$ref": "#/definitions/EndpointConnectionType"
                          }
                        ]
                      }
                    }
                  },
                  "ClusterNodeChangingProgress": {
                    "type": "object",
                    "properties": {
                      "matchingNodeSpecNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "readOnly": true
                      },
                      "remainingDeletionNodeCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "available if some nodes are deleting.",
                        "readOnly": true
                      }
                    }
                  },
                  "dedicatedv1beta1TidbNodeGroupState": {
                    "type": "string",
                    "enum": [
                      "ACTIVE",
                      "MODIFYING",
                      "PAUSED"
                    ],
                    "description": " - ACTIVE: All nodes are ready.\n - MODIFYING: When TiDB group is modifying.\n - PAUSED: When cluster is paused."
                  },
                  "TidbNodeGroupTiProxyType": {
                    "type": "string",
                    "enum": [
                      "Medium",
                      "Large"
                    ],
                    "title": "- Medium: Medium is the default value.\nInstance 4vCPU, Max QPS: 30k, Max Data Traffic: 90 MiB/s\n - Large: Large is the high performance value.\nInstance 8vCPU, Max QPS: 60k, Max Data Traffic: 150 MiB/s"
                  },
                  "EndpointConnectionType": {
                    "type": "string",
                    "enum": [
                      "PUBLIC",
                      "VPC_PEERING",
                      "PRIVATE_ENDPOINT"
                    ],
                    "description": " - PUBLIC: The endpoint is a public endpoint.\n - VPC_PEERING: The endpoint is a VPC peering endpoint.\n - PRIVATE_ENDPOINT: The endpoint is a private link endpoint."
                  }
                }
              }
            }
          },
          "output": {
            "reasoning": "The DELETE request was executed to remove a cluster with ID '10899341031126750090'. The response status code is 200, indicating a successful operation. The response body shows the cluster's state as 'DELETED', which aligns with the target operation of deleting the cluster. The previous state of the cluster was 'MODIFYING', and now the cluster is no longer present in the current state, confirming the deletion was successful. This operation was the correct choice among available operations to achieve the target operation of deleting the cluster.",
            "result_type": "success",
            "confidence": 0.95
          }
        },
        "target_matching": {
          "input": {
            "last_step": {
              "operation_id": "ClusterService_GetCluster",
              "step_type": "generated",
              "request_type": "http",
              "request": {
                "auth": {
                  "auth_type": "digest",
                  "content": "{}"
                },
                "method": "DELETE",
                "path": "/clusters/{clusterId}",
                "path_params": "{\n  \"clusterId\": \"10899341031126750090\"\n}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{}"
              },
              "description": "Delete the TiDB cluster with ID 10899341031126750090.",
              "max_retries": 0,
              "delay_after": 0,
              "expect": null
            },
            "target_operation": {
              "original_description": "delete this cluster"
            }
          },
          "output": {
            "reason": "The concrete operation has a method of DELETE and a path that includes a specific cluster ID, which aligns with the intent of the abstract operation to 'delete this cluster'. The operation is correctly targeting the deletion of a cluster with the specified ID, fulfilling the requirement of the abstract operation.",
            "judgement": true
          }
        },
        "resource_manager": {
          "input": {
            "last_request": {
              "auth": {
                "auth_type": "digest",
                "content": "{}"
              },
              "method": "DELETE",
              "path": "/clusters/{clusterId}",
              "path_params": "{\n  \"clusterId\": \"10899341031126750090\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{}"
            },
            "last_response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10899341031126750090",
                "clusterId": "10899341031126750090",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "2C8G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905121706914086912",
                      "tidbNodeGroupId": "1905121706914086912",
                      "clusterId": "10899341031126750090",
                      "displayName": "DefaultGroup",
                      "nodeCount": 1,
                      "endpoints": [],
                      "nodeSpecKey": "2C8G",
                      "nodeSpecDisplayName": "2 vCPU, 8 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "2C8G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "2 vCPU, 8 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "DELETED",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T04:56:24.568Z",
                "updateTime": "2025-03-27T05:01:59.468Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "previous_resources": {
              "clusters": {
                "10899341031126750090": {
                  "attributes": "{\"name\": \"clusters/10899341031126750090\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"2C8G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"2C8G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T04:56:24.568Z\", \"updateTime\": \"2025-03-27T05:01:59.468Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905121706914086912": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905121706914086912\", \"tidbNodeGroupId\": \"1905121706914086912\", \"clusterId\": \"10899341031126750090\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 1, \"endpoints\": [], \"nodeSpecKey\": \"2C8G\", \"nodeSpecDisplayName\": \"2 vCPU, 8 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10899341031126750090"
                }
              },
              "private_endpoint_connections": {},
              "public_endpoint_setting": {},
              "private_link_services": {},
              "vpcs": {
                "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet": {
                  "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                  "state": "Succeeded",
                  "references": [],
                  "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet"
                }
              },
              "vpc_endpoints": {}
            }
          },
          "output": {
            "resources": [
              {
                "id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet",
                "resource_type": "vpcs",
                "attributes": "{\"addressPrefix\": \"10.0.1.0/24\", \"delegations\": [], \"etag\": \"W/\\\"cfe220db-8483-4dc3-a7c5-f29f864d8479\\\"\", \"id\": \"/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet/subnets/openapi-test-subnet\", \"name\": \"openapi-test-subnet\", \"privateEndpointNetworkPolicies\": \"Disabled\", \"privateLinkServiceNetworkPolicies\": \"Enabled\", \"provisioningState\": \"Succeeded\", \"resourceGroup\": \"openapi-test\", \"type\": \"Microsoft.Network/virtualNetworks/subnets\"}",
                "state": "Succeeded",
                "parent_id": "/subscriptions/85b598b9-a080-4476-bc96-ba89e64f92d1/resourceGroups/openapi-test/providers/Microsoft.Network/virtualNetworks/openapi-test-vnet",
                "reference_ids": []
              }
            ]
          }
        },
        "timestamp": "2025-03-27T13:02:33.282697",
        "error": null,
        "error_traceback": null
      }
    ]
  }