{
    "task_id": "65807b4e-83c2-4acb-9503-90dfe2274898",
    "success": true,
    "error": null,
    "start_time": "2025-03-27T13:13:53.052701",
    "end_time": "2025-03-27T13:31:02.179295",
    "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": ""
        }
      },
      "vpc_endpoints": {}
    },
    "transitions": [
      {
        "generation_id": "65807b4e-83c2-4acb-9503-90dfe2274898",
        "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": {
            "10230190833684181888": {
              "attributes": "{\"name\": \"clusters/10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:14:08.239Z\", \"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\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": "10230190833684181888"
            }
          },
          "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\": \"8C32G\", \"tidbNodeGroups\": [{\"nodeCount\": 2}]}, \"tikvNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"nodeCount\": 3, \"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/10230190833684181888",
            "clusterId": "10230190833684181888",
            "displayName": "llm-e2e-cluster-1234",
            "regionId": "azure-eastus2",
            "labels": {
              "tidb.cloud/organization": "1369847559692509562",
              "tidb.cloud/project": "1369847559694040595"
            },
            "tidbNodeSetting": {
              "nodeSpecKey": "8C32G",
              "tidbNodeGroups": [
                {
                  "name": "tidbNodeGroups/0",
                  "tidbNodeGroupId": "0",
                  "clusterId": "10230190833684181888",
                  "displayName": "",
                  "nodeCount": 2,
                  "endpoints": [],
                  "nodeSpecKey": "8C32G",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                  "isDefaultGroup": false,
                  "state": "MODIFYING"
                }
              ],
              "nodeSpecDisplayName": "8 vCPU, 32 GiB"
            },
            "tikvNodeSetting": {
              "nodeCount": 3,
              "nodeSpecKey": "8C32G",
              "storageSizeGi": 200,
              "storageType": "Basic",
              "nodeSpecDisplayName": "8 vCPU, 32 GiB"
            },
            "port": 4000,
            "rootPassword": "",
            "state": "CREATING",
            "version": "v8.1.2",
            "createdBy": "apikey-01GPB7L0",
            "createTime": "2025-03-27T05:14:08.239Z",
            "updateTime": "2025-03-27T05:14:08.239Z",
            "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 2 TiDB(8C32G) nodes and 3 TiKV(8C32G,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 2 TiDB(8C32G) nodes and 3 TiKV(8C32G,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\": \"8C32G\", \"tidbNodeGroups\": [{\"nodeCount\": 2}]}, \"tikvNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"nodeCount\": 3, \"storageSizeGi\": 200, \"storageType\": \"Basic\"}, \"port\": 4000, \"rootPassword\": \"my-shining-password\"}"
            },
            "description": "Create a new TiDB cluster with the specified configuration: displayName matching 'llm-e2e-cluster-[a-zA-Z0-9]{4}', 2 TiDB nodes with 8C32G, 3 TiKV nodes with 8C32G and 200G storage, no TiFlash, in the 'azure-eastus2' region.",
            "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\": \"8C32G\",\n    \"tidbNodeGroups\": [\n      {\n        \"nodeCount\": 2\n      }\n    ]\n  },\n  \"tikvNodeSetting\": {\n    \"nodeSpecKey\": \"8C32G\",\n    \"nodeCount\": 3,\n    \"storageSizeGi\": 200,\n    \"storageType\": \"Basic\"\n  },\n  \"port\": 4000,\n  \"rootPassword\": \"my-shining-password\"\n}"
            },
            "response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10230190833684181888",
                "clusterId": "10230190833684181888",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "8C32G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/0",
                      "tidbNodeGroupId": "0",
                      "clusterId": "10230190833684181888",
                      "displayName": "",
                      "nodeCount": 2,
                      "endpoints": [],
                      "nodeSpecKey": "8C32G",
                      "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                      "isDefaultGroup": false,
                      "state": "MODIFYING"
                    }
                  ],
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "8C32G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "CREATING",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T05:14:08.239Z",
                "updateTime": "2025-03-27T05:14:08.239Z",
                "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": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:14:08.239Z\", \"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\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 2 TiDB(8C32G) nodes and 3 TiKV(8C32G,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."
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "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"
                    ]
                  },
                  "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"
                  },
                  "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"
                    ]
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "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
                      }
                    }
                  },
                  "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."
                  },
                  "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"
                    ]
                  },
                  "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"
                          }
                        ]
                      }
                    }
                  },
                  "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."
                  },
                  "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"
                  },
                  "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."
                  }
                }
              }
            }
          },
          "output": {
            "reasoning": "The request was to create a cluster with specific configurations, including 2 TiDB nodes and 3 TiKV nodes, which matches the target operation. The response indicates a successful creation with a 200 status code, and the cluster is now in the 'CREATING' state, which is expected as the cluster is being set up. The state transition from no cluster to a cluster in the 'CREATING' state is a positive step towards achieving the target operation. The response also includes the cluster ID and other details, confirming the cluster's creation. There are no error messages or indications of request malformation, and the operation aligns with the available operations and the operation specification.",
            "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\": \"8C32G\",\n    \"tidbNodeGroups\": [\n      {\n        \"nodeCount\": 2\n      }\n    ]\n  },\n  \"tikvNodeSetting\": {\n    \"nodeSpecKey\": \"8C32G\",\n    \"nodeCount\": 3,\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: displayName matching 'llm-e2e-cluster-[a-zA-Z0-9]{4}', 2 TiDB nodes with 8C32G, 3 TiKV nodes with 8C32G and 200G storage, no TiFlash, in the 'azure-eastus2' region.",
              "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 2 TiDB(8C32G) nodes and 3 TiKV(8C32G,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 'tidbNodeSetting' specifies 2 TiDB nodes with 'nodeSpecKey' as '8C32G', which matches the requirement of 2 TiDB(8C32G) nodes.\n3. The 'tikvNodeSetting' specifies 3 TiKV nodes with 'nodeSpecKey' as '8C32G' and 'storageSizeGi' as 200, which matches the requirement of 3 TiKV(8C32G,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 attributes in the abstract operation are present and correctly configured in the concrete operation, thus fulfilling the requirements.",
            "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\": \"8C32G\",\n    \"tidbNodeGroups\": [\n      {\n        \"nodeCount\": 2\n      }\n    ]\n  },\n  \"tikvNodeSetting\": {\n    \"nodeSpecKey\": \"8C32G\",\n    \"nodeCount\": 3,\n    \"storageSizeGi\": 200,\n    \"storageType\": \"Basic\"\n  },\n  \"port\": 4000,\n  \"rootPassword\": \"my-shining-password\"\n}"
            },
            "last_response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10230190833684181888",
                "clusterId": "10230190833684181888",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "8C32G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/0",
                      "tidbNodeGroupId": "0",
                      "clusterId": "10230190833684181888",
                      "displayName": "",
                      "nodeCount": 2,
                      "endpoints": [],
                      "nodeSpecKey": "8C32G",
                      "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                      "isDefaultGroup": false,
                      "state": "MODIFYING"
                    }
                  ],
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "8C32G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "CREATING",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T05:14:08.239Z",
                "updateTime": "2025-03-27T05:14:08.239Z",
                "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": "10230190833684181888",
                "resource_type": "clusters",
                "attributes": "{\"name\": \"clusters/10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:14:08.239Z\", \"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\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false}",
                "state": "MODIFYING",
                "parent_id": "10230190833684181888",
                "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:14:24.940086",
        "error": null,
        "error_traceback": null
      },
      {
        "generation_id": "65807b4e-83c2-4acb-9503-90dfe2274898",
        "operation_id": "ClusterService_GetCluster",
        "state_before": {
          "clusters": {
            "10230190833684181888": {
              "attributes": "{\"name\": \"clusters/10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:14:08.239Z\", \"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\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": "10230190833684181888"
            }
          },
          "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": {
            "10230190833684181888": {
              "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:07.935Z\", \"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": {
            "1905126173621354496": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10230190833684181888"
            }
          },
          "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/10230190833684181888\", \"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/10230190833684181888",
            "clusterId": "10230190833684181888",
            "displayName": "llm-e2e-cluster-1234",
            "regionId": "azure-eastus2",
            "labels": {
              "tidb.cloud/organization": "1369847559692509562",
              "tidb.cloud/project": "1369847559694040595"
            },
            "tidbNodeSetting": {
              "nodeSpecKey": "8C32G",
              "tidbNodeGroups": [
                {
                  "name": "tidbNodeGroups/1905126173621354496",
                  "tidbNodeGroupId": "1905126173621354496",
                  "clusterId": "10230190833684181888",
                  "displayName": "DefaultGroup",
                  "nodeCount": 2,
                  "endpoints": [
                    {
                      "host": "",
                      "port": 4000,
                      "connectionType": "PUBLIC"
                    },
                    {
                      "host": "",
                      "port": 4000,
                      "connectionType": "VPC_PEERING"
                    }
                  ],
                  "nodeSpecKey": "8C32G",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                  "isDefaultGroup": true,
                  "state": "ACTIVE"
                }
              ],
              "nodeSpecDisplayName": "8 vCPU, 32 GiB"
            },
            "tikvNodeSetting": {
              "nodeCount": 3,
              "nodeSpecKey": "8C32G",
              "storageSizeGi": 200,
              "storageType": "Basic",
              "nodeSpecDisplayName": "8 vCPU, 32 GiB"
            },
            "port": 4000,
            "rootPassword": "",
            "state": "ACTIVE",
            "version": "v8.1.2",
            "createdBy": "apikey-01GPB7L0",
            "createTime": "2025-03-27T05:14:08.239Z",
            "updateTime": "2025-03-27T05:22:07.935Z",
            "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": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:14:08.239Z\", \"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\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 up tidb in this cluster from 8C32G 2 nodes to 16C32G or 16C64G(according to cloud provider) 2 nodes"
            },
            "feedback": {
              "execution_analyzer": null,
              "attempts": 0,
              "target_matcher": null,
              "response": null
            }
          },
          "output": {
            "reason": "The target operation is to scale up the TiDB node group in the cluster from 8C32G to a higher specification. However, the current state of the cluster is 'CREATING' and the TiDB node group is in 'MODIFYING' state. Since both the cluster and the node group are in transitional states, we cannot perform any update operations until they reach a stable state. Therefore, the most appropriate action is to check the current status of the cluster to see if it has transitioned to a stable state, which can be done using the 'ClusterService_GetCluster' operation.",
            "operation_id": "ClusterService_GetCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_GetCluster",
            "current_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:14:08.239Z\", \"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\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 up tidb in this cluster from 8C32G 2 nodes to 16C32G or 16C64G(according to cloud provider) 2 nodes"
            },
            "feedback": "{\"execution_analyzer\": null, \"attempts\": 0, \"target_matcher\": null, \"response\": null}"
          },
          "output": {
            "request": {
              "method": "GET",
              "path": "/clusters/{clusterId}",
              "path_params": "{\"clusterId\":\"10230190833684181888\"}",
              "query_params": null,
              "headers": null,
              "body": null
            },
            "description": "Retrieve the current state of the cluster with ID '10230190833684181888' to check its status and ensure it is not 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\": \"10230190833684181888\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{}"
            },
            "response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10230190833684181888",
                "clusterId": "10230190833684181888",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "8C32G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905126173621354496",
                      "tidbNodeGroupId": "1905126173621354496",
                      "clusterId": "10230190833684181888",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [
                        {
                          "host": "",
                          "port": 4000,
                          "connectionType": "PUBLIC"
                        },
                        {
                          "host": "",
                          "port": 4000,
                          "connectionType": "VPC_PEERING"
                        }
                      ],
                      "nodeSpecKey": "8C32G",
                      "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "8C32G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "ACTIVE",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T05:14:08.239Z",
                "updateTime": "2025-03-27T05:22:07.935Z",
                "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": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:14:08.239Z\", \"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\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:07.935Z\", \"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": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 up tidb in this cluster from 8C32G 2 nodes to 16C32G or 16C64G(according to cloud provider) 2 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."
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "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"
                    ]
                  },
                  "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"
                  },
                  "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"
                    ]
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "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
                      }
                    }
                  },
                  "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."
                  },
                  "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"
                    ]
                  },
                  "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"
                          }
                        ]
                      }
                    }
                  },
                  "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."
                  },
                  "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"
                  },
                  "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."
                  }
                }
              }
            }
          },
          "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', which is a significant and positive change. This transition indicates that the cluster is now fully operational and ready for further operations, such as scaling, which aligns with the target operation of scaling up the TiDB nodes. The operation provided valuable information about the current state of the cluster, which is necessary for planning the next steps towards achieving the target operation. Therefore, this request is considered successful as it provided the necessary state information and confirmed the cluster's readiness for further 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\": \"10230190833684181888\"\n}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{}"
              },
              "description": "Retrieve the current state of the cluster with ID '10230190833684181888' to check its status and ensure it is not 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 up tidb in this cluster from 8C32G 2 nodes to 16C32G or 16C64G(according to cloud provider) 2 nodes"
            }
          },
          "output": {
            "reason": "The concrete operation executed is a 'GET' request to retrieve information about a specific cluster identified by 'clusterId'. The target operation, however, requires scaling up the TiDB in the cluster, which involves changing the configuration of the cluster to increase resources from 8C32G to either 16C32G or 16C64G. This is an action that would typically require a 'POST', 'PUT', or 'PATCH' request to modify the cluster's configuration, not a 'GET' request which is used for retrieval. Therefore, the concrete operation 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\": \"10230190833684181888\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{}"
            },
            "last_response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10230190833684181888",
                "clusterId": "10230190833684181888",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "8C32G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905126173621354496",
                      "tidbNodeGroupId": "1905126173621354496",
                      "clusterId": "10230190833684181888",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [
                        {
                          "host": "",
                          "port": 4000,
                          "connectionType": "PUBLIC"
                        },
                        {
                          "host": "",
                          "port": 4000,
                          "connectionType": "VPC_PEERING"
                        }
                      ],
                      "nodeSpecKey": "8C32G",
                      "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "8C32G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "ACTIVE",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T05:14:08.239Z",
                "updateTime": "2025-03-27T05:22:07.935Z",
                "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": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/0\", \"tidbNodeGroupId\": \"0\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false, \"state\": \"MODIFYING\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:14:08.239Z\", \"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\": \"10230190833684181888\", \"displayName\": \"\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": false}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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": "10230190833684181888",
                "resource_type": "clusters",
                "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:07.935Z\", \"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": "1905126173621354496",
                "resource_type": "tidbnodegroups",
                "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true}",
                "state": "ACTIVE",
                "parent_id": "10230190833684181888",
                "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:22:35.423542",
        "error": null,
        "error_traceback": null
      },
      {
        "generation_id": "65807b4e-83c2-4acb-9503-90dfe2274898",
        "operation_id": "ClusterService_UpdateCluster",
        "state_before": {
          "clusters": {
            "10230190833684181888": {
              "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:07.935Z\", \"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": {
            "1905126173621354496": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10230190833684181888"
            }
          },
          "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": {
            "10230190833684181888": {
              "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905126173621354496": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10230190833684181888"
            }
          },
          "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/10230190833684181888\", \"headers\": {}, \"query_params\": {}, \"body\": {\"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"tidbNodeGroupId\": \"1905126173621354496\", \"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/10230190833684181888",
            "clusterId": "10230190833684181888",
            "displayName": "llm-e2e-cluster-1234",
            "regionId": "azure-eastus2",
            "labels": {
              "tidb.cloud/organization": "1369847559692509562",
              "tidb.cloud/project": "1369847559694040595"
            },
            "tidbNodeSetting": {
              "nodeSpecKey": "16C64G",
              "tidbNodeGroups": [
                {
                  "name": "tidbNodeGroups/1905126173621354496",
                  "tidbNodeGroupId": "1905126173621354496",
                  "clusterId": "10230190833684181888",
                  "displayName": "DefaultGroup",
                  "nodeCount": 2,
                  "endpoints": [],
                  "nodeSpecKey": "16C64G",
                  "nodeSpecDisplayName": "16 vCPU, 64 GiB",
                  "isDefaultGroup": true,
                  "state": "ACTIVE"
                }
              ],
              "nodeSpecDisplayName": "16 vCPU, 64 GiB"
            },
            "tikvNodeSetting": {
              "nodeCount": 3,
              "nodeSpecKey": "8C32G",
              "storageSizeGi": 200,
              "storageType": "Basic",
              "nodeSpecDisplayName": "8 vCPU, 32 GiB"
            },
            "port": 4000,
            "rootPassword": "",
            "state": "MODIFYING",
            "version": "v8.1.2",
            "createdBy": "apikey-01GPB7L0",
            "createTime": "2025-03-27T05:14:08.239Z",
            "updateTime": "2025-03-27T05:22:50.855Z",
            "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": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:07.935Z\", \"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": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 up tidb in this cluster from 8C32G 2 nodes to 16C32G or 16C64G(according to cloud provider) 2 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', which is a significant and positive change. This transition indicates that the cluster is now fully operational and ready for further operations, such as scaling, which aligns with the target operation of scaling up the TiDB nodes. The operation provided valuable information about the current state of the cluster, which is necessary for planning the next steps towards achieving the target operation. Therefore, this request is considered successful as it provided the necessary state information and confirmed the cluster's readiness for further actions.",
                "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'. The target operation, however, requires scaling up the TiDB in the cluster, which involves changing the configuration of the cluster to increase resources from 8C32G to either 16C32G or 16C64G. This is an action that would typically require a 'POST', 'PUT', or 'PATCH' request to modify the cluster's configuration, not a 'GET' request which is used for retrieval. Therefore, the concrete operation does not fulfill the requirements of the target operation.",
                "judgement": false
              },
              "response": {
                "status_code": 200,
                "json": {
                  "name": "clusters/10230190833684181888",
                  "clusterId": "10230190833684181888",
                  "displayName": "llm-e2e-cluster-1234",
                  "regionId": "azure-eastus2",
                  "labels": {
                    "tidb.cloud/organization": "1369847559692509562",
                    "tidb.cloud/project": "1369847559694040595"
                  },
                  "tidbNodeSetting": {
                    "nodeSpecKey": "8C32G",
                    "tidbNodeGroups": [
                      {
                        "name": "tidbNodeGroups/1905126173621354496",
                        "tidbNodeGroupId": "1905126173621354496",
                        "clusterId": "10230190833684181888",
                        "displayName": "DefaultGroup",
                        "nodeCount": 2,
                        "endpoints": [
                          {
                            "host": "",
                            "port": 4000,
                            "connectionType": "PUBLIC"
                          },
                          {
                            "host": "",
                            "port": 4000,
                            "connectionType": "VPC_PEERING"
                          }
                        ],
                        "nodeSpecKey": "8C32G",
                        "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                        "isDefaultGroup": true,
                        "state": "ACTIVE"
                      }
                    ],
                    "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                  },
                  "tikvNodeSetting": {
                    "nodeCount": 3,
                    "nodeSpecKey": "8C32G",
                    "storageSizeGi": 200,
                    "storageType": "Basic",
                    "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                  },
                  "port": 4000,
                  "rootPassword": "",
                  "state": "ACTIVE",
                  "version": "v8.1.2",
                  "createdBy": "apikey-01GPB7L0",
                  "createTime": "2025-03-27T05:14:08.239Z",
                  "updateTime": "2025-03-27T05:22:07.935Z",
                  "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 up the TiDB node group in the cluster from 8C32G to a higher specification. The current state of the cluster is 'ACTIVE', which means it is ready for modification. To scale up the TiDB node group, we need to update the cluster configuration to change the node specification. The appropriate operation to achieve this is 'ClusterService_UpdateCluster', which allows for updating the cluster's configuration, including scaling up the TiDB nodes.",
            "operation_id": "ClusterService_UpdateCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_UpdateCluster",
            "current_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:07.935Z\", \"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": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 up tidb in this cluster from 8C32G 2 nodes to 16C32G or 16C64G(according to cloud provider) 2 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', which is a significant and positive change. This transition indicates that the cluster is now fully operational and ready for further operations, such as scaling, which aligns with the target operation of scaling up the TiDB nodes. The operation provided valuable information about the current state of the cluster, which is necessary for planning the next steps towards achieving the target operation. Therefore, this request is considered successful as it provided the necessary state information and confirmed the cluster's readiness for further actions.\", \"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'. The target operation, however, requires scaling up the TiDB in the cluster, which involves changing the configuration of the cluster to increase resources from 8C32G to either 16C32G or 16C64G. This is an action that would typically require a 'POST', 'PUT', or 'PATCH' request to modify the cluster's configuration, not a 'GET' request which is used for retrieval. Therefore, the concrete operation does not fulfill the requirements of the target operation.\", \"judgement\": false}, \"response\": {\"status_code\": 200, \"json\": {\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:07.935Z\", \"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\":\"10230190833684181888\"}",
              "query_params": null,
              "headers": null,
              "body": "{\"tidbNodeSetting\":{\"nodeSpecKey\":\"16C64G\",\"tidbNodeGroups\":[{\"tidbNodeGroupId\":\"1905126173621354496\",\"nodeCount\":2}]}}"
            },
            "description": "Scale up the TiDB nodes in the cluster with ID '10230190833684181888' from 8C32G to 16C64G, maintaining 2 nodes.",
            "expect": null,
            "request_type": "http"
          }
        },
        "execution_analysis": {
          "input": {
            "request": {
              "method": "PATCH",
              "path": "/clusters/{cluster.clusterId}",
              "path_params": "{\n  \"cluster.clusterId\": \"10230190833684181888\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"16C64G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905126173621354496\",\n        \"nodeCount\": 2\n      }\n    ]\n  }\n}"
            },
            "response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10230190833684181888",
                "clusterId": "10230190833684181888",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "16C64G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905126173621354496",
                      "tidbNodeGroupId": "1905126173621354496",
                      "clusterId": "10230190833684181888",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [],
                      "nodeSpecKey": "16C64G",
                      "nodeSpecDisplayName": "16 vCPU, 64 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "16 vCPU, 64 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "8C32G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "MODIFYING",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T05:14:08.239Z",
                "updateTime": "2025-03-27T05:22:50.855Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "prev_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:07.935Z\", \"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": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 up tidb in this cluster from 8C32G 2 nodes to 16C32G or 16C64G(according to cloud provider) 2 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": {
                  "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."
                      }
                    }
                  },
                  "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."
                  },
                  "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"
                    ]
                  },
                  "v1beta1UpdateClusterRequestTidbNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "tidbNodeGroups": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/UpdateClusterRequestTidbNodeSettingTidbNodeGroup"
                        }
                      }
                    }
                  },
                  "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"
                    ]
                  },
                  "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
                      }
                    }
                  },
                  "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"
                  },
                  "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."
                  },
                  "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"
                      }
                    }
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "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"
                    ]
                  },
                  "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."
                      }
                    }
                  },
                  "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"
                    ]
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "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"
                  },
                  "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."
                  },
                  "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"
                          }
                        ]
                      }
                    }
                  },
                  "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's TiDB node settings, specifically to change the node specification from '8C32G' to '16C64G'. The response indicates a successful update with a 200 status code, and the current state reflects the desired changes: the 'nodeSpecKey' for the TiDB node group has been updated to '16C64G', matching the target operation's requirement to scale up to '16C64G'. The cluster state has transitioned from 'ACTIVE' to 'MODIFYING', which is expected during an update process. This state change is beneficial and aligns with the target operation of scaling up the cluster. There are no error messages or indications of request malformation, and the operation was appropriate for the current state, as the cluster was initially 'ACTIVE'.",
            "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\": \"10230190833684181888\"\n}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"16C64G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905126173621354496\",\n        \"nodeCount\": 2\n      }\n    ]\n  }\n}"
              },
              "description": "Scale up the TiDB nodes in the cluster with ID '10230190833684181888' from 8C32G to 16C64G, maintaining 2 nodes.",
              "max_retries": 0,
              "delay_after": 0,
              "expect": null
            },
            "target_operation": {
              "original_description": "scale up tidb in this cluster from 8C32G 2 nodes to 16C32G or 16C64G(according to cloud provider) 2 nodes"
            }
          },
          "output": {
            "reason": "The target operation requires scaling up the TiDB nodes in a cluster from 8C32G 2 nodes to either 16C32G or 16C64G 2 nodes, depending on the cloud provider. The concrete operation specifies a PATCH request to update the cluster with a 'tidbNodeSetting' that includes a 'nodeSpecKey' of '16C64G' and a 'tidbNodeGroups' configuration with 'nodeCount' set to 2. This matches the requirement of scaling to 16C64G 2 nodes, fulfilling the target operation's condition of scaling to 16C64G 2 nodes.",
            "judgement": true
          }
        },
        "resource_manager": {
          "input": {
            "last_request": {
              "auth": {
                "auth_type": "digest",
                "content": "{}"
              },
              "method": "PATCH",
              "path": "/clusters/{cluster.clusterId}",
              "path_params": "{\n  \"cluster.clusterId\": \"10230190833684181888\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"16C64G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905126173621354496\",\n        \"nodeCount\": 2\n      }\n    ]\n  }\n}"
            },
            "last_response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10230190833684181888",
                "clusterId": "10230190833684181888",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "16C64G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905126173621354496",
                      "tidbNodeGroupId": "1905126173621354496",
                      "clusterId": "10230190833684181888",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [],
                      "nodeSpecKey": "16C64G",
                      "nodeSpecDisplayName": "16 vCPU, 64 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "16 vCPU, 64 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "8C32G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "MODIFYING",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T05:14:08.239Z",
                "updateTime": "2025-03-27T05:22:50.855Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "previous_resources": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:07.935Z\", \"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": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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": "10230190833684181888",
                "resource_type": "clusters",
                "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                "state": "MODIFYING",
                "parent_id": "",
                "reference_ids": []
              },
              {
                "id": "1905126173621354496",
                "resource_type": "tidbnodegroups",
                "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                "state": "ACTIVE",
                "parent_id": "10230190833684181888",
                "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:23:09.217666",
        "error": null,
        "error_traceback": null
      },
      {
        "generation_id": "65807b4e-83c2-4acb-9503-90dfe2274898",
        "operation_id": "ClusterService_GetCluster",
        "state_before": {
          "clusters": {
            "10230190833684181888": {
              "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905126173621354496": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10230190833684181888"
            }
          },
          "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": {
            "10230190833684181888": {
              "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905126173621354496": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10230190833684181888"
            }
          },
          "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/10230190833684181888\", \"headers\": {}, \"query_params\": {}, \"body\": {\"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"tidbNodeGroupId\": \"1905126173621354496\", \"nodeCount\": 2}]}}, \"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": "202503270523231762014be3c6ba99e2",
                "servingData": "bizErrorCode: 49900001"
              }
            ]
          },
          "headers": {},
          "error": null
        },
        "status_code": 400,
        "operation_selection": {
          "input": {
            "current_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 down tidb in this cluster from 16C32G or 16C64G(according to cloud provider) 2 nodes to 8C32G 2 nodes"
            },
            "feedback": {
              "execution_analyzer": null,
              "attempts": 0,
              "target_matcher": null,
              "response": null
            }
          },
          "output": {
            "reason": "The target operation is to scale down the TiDB node group in the cluster from 16C64G 2 nodes to 8C32G 2 nodes. The current state of the cluster is 'MODIFYING', which is a transitional state. Since the cluster is not in a stable state, we cannot perform any update operations until it becomes stable. Therefore, the most appropriate action is to check the current status of the cluster to see if it has transitioned to a stable state, which can be done using the 'ClusterService_GetCluster' operation.",
            "operation_id": "ClusterService_GetCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_GetCluster",
            "current_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 down tidb in this cluster from 16C32G or 16C64G(according to cloud provider) 2 nodes to 8C32G 2 nodes"
            },
            "feedback": "{\"execution_analyzer\": null, \"attempts\": 0, \"target_matcher\": null, \"response\": null}"
          },
          "output": {
            "request": {
              "method": "PATCH",
              "path": "/clusters/{clusterId}",
              "path_params": "{\"clusterId\":\"10230190833684181888\"}",
              "query_params": null,
              "headers": null,
              "body": "{\"tidbNodeSetting\":{\"nodeSpecKey\":\"8C32G\",\"tidbNodeGroups\":[{\"tidbNodeGroupId\":\"1905126173621354496\",\"nodeCount\":2}]}}"
            },
            "description": "Scale down the TiDB nodes in the cluster with ID '10230190833684181888' from 16C64G to 8C32G, maintaining 2 nodes.",
            "expect": null,
            "request_type": "http"
          }
        },
        "execution_analysis": {
          "input": {
            "request": {
              "method": "PATCH",
              "path": "/clusters/{clusterId}",
              "path_params": "{\n  \"clusterId\": \"10230190833684181888\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"8C32G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905126173621354496\",\n        \"nodeCount\": 2\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": "202503270523231762014be3c6ba99e2",
                    "servingData": "bizErrorCode: 49900001"
                  }
                ]
              },
              "headers": {},
              "error": null
            },
            "prev_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 down tidb in this cluster from 16C32G or 16C64G(according to cloud provider) 2 nodes to 8C32G 2 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."
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "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"
                    ]
                  },
                  "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"
                  },
                  "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"
                    ]
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "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
                      }
                    }
                  },
                  "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."
                  },
                  "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"
                    ]
                  },
                  "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"
                          }
                        ]
                      }
                    }
                  },
                  "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."
                  },
                  "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"
                  },
                  "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."
                  }
                }
              }
            }
          },
          "output": {
            "reasoning": "The request attempted to update the TiDB node settings of a cluster that is currently in the 'MODIFYING' state. The response returned a 400 Bad Request with the message 'Cluster is not available for this action.' This indicates that the operation cannot be performed while the cluster is in the 'MODIFYING' state. The error message suggests that the operation choice was incorrect for the current state of the cluster, as the cluster is not ready to accept this update operation. The target operation is to scale down the TiDB nodes, but the current state does not allow for this action to be executed.",
            "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\": \"10230190833684181888\"\n}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"8C32G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905126173621354496\",\n        \"nodeCount\": 2\n      }\n    ]\n  }\n}"
              },
              "description": "Scale down the TiDB nodes in the cluster with ID '10230190833684181888' from 16C64G to 8C32G, maintaining 2 nodes.",
              "max_retries": 0,
              "delay_after": 0,
              "expect": null
            },
            "target_operation": {
              "original_description": "scale down tidb in this cluster from 16C32G or 16C64G(according to cloud provider) 2 nodes to 8C32G 2 nodes"
            }
          },
          "output": {
            "reason": "The target operation is to scale down the TiDB nodes in a cluster from a configuration of either 16C32G or 16C64G (depending on the cloud provider) with 2 nodes to a configuration of 8C32G with 2 nodes. The concrete operation provided is a PATCH request to the path '/clusters/{clusterId}' with a body that specifies 'tidbNodeSetting' with 'nodeSpecKey' set to '8C32G' and 'tidbNodeGroups' with 'tidbNodeGroupId' and 'nodeCount' set to 2. This matches the target operation's requirement to scale down to 8C32G with 2 nodes, as the 'nodeSpecKey' is correctly set to '8C32G' and the 'nodeCount' remains at 2. The operation does not specify the original configuration, but it fulfills the requirement of setting the new configuration to 8C32G with 2 nodes.",
            "judgement": true
          }
        },
        "resource_manager": {
          "input": {
            "last_request": {
              "auth": {
                "auth_type": "digest",
                "content": "{}"
              },
              "method": "PATCH",
              "path": "/clusters/{clusterId}",
              "path_params": "{\n  \"clusterId\": \"10230190833684181888\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"8C32G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905126173621354496\",\n        \"nodeCount\": 2\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": "202503270523231762014be3c6ba99e2",
                    "servingData": "bizErrorCode: 49900001"
                  }
                ]
              },
              "headers": {},
              "error": null
            },
            "previous_resources": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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": "10230190833684181888",
                "resource_type": "clusters",
                "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                "state": "MODIFYING",
                "parent_id": "",
                "reference_ids": []
              },
              {
                "id": "1905126173621354496",
                "resource_type": "tidbnodegroups",
                "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                "state": "ACTIVE",
                "parent_id": "10230190833684181888",
                "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:23:40.397960",
        "error": null,
        "error_traceback": null
      },
      {
        "generation_id": "65807b4e-83c2-4acb-9503-90dfe2274898",
        "operation_id": "ClusterService_GetCluster",
        "state_before": {
          "clusters": {
            "10230190833684181888": {
              "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905126173621354496": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10230190833684181888"
            }
          },
          "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": {
            "10230190833684181888": {
              "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:29:37.065Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905126173621354496": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10230190833684181888"
            }
          },
          "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/10230190833684181888\", \"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/10230190833684181888",
            "clusterId": "10230190833684181888",
            "displayName": "llm-e2e-cluster-1234",
            "regionId": "azure-eastus2",
            "labels": {
              "tidb.cloud/organization": "1369847559692509562",
              "tidb.cloud/project": "1369847559694040595"
            },
            "tidbNodeSetting": {
              "nodeSpecKey": "16C64G",
              "tidbNodeGroups": [
                {
                  "name": "tidbNodeGroups/1905126173621354496",
                  "tidbNodeGroupId": "1905126173621354496",
                  "clusterId": "10230190833684181888",
                  "displayName": "DefaultGroup",
                  "nodeCount": 2,
                  "endpoints": [
                    {
                      "host": "tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com",
                      "port": 4000,
                      "connectionType": "PUBLIC"
                    },
                    {
                      "host": "private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com",
                      "port": 4000,
                      "connectionType": "VPC_PEERING"
                    }
                  ],
                  "nodeSpecKey": "16C64G",
                  "nodeSpecDisplayName": "16 vCPU, 64 GiB",
                  "isDefaultGroup": true,
                  "state": "ACTIVE"
                }
              ],
              "nodeSpecDisplayName": "16 vCPU, 64 GiB"
            },
            "tikvNodeSetting": {
              "nodeCount": 3,
              "nodeSpecKey": "8C32G",
              "storageSizeGi": 200,
              "storageType": "Basic",
              "nodeSpecDisplayName": "8 vCPU, 32 GiB"
            },
            "port": 4000,
            "rootPassword": "",
            "state": "ACTIVE",
            "version": "v8.1.2",
            "createdBy": "apikey-01GPB7L0",
            "createTime": "2025-03-27T05:14:08.239Z",
            "updateTime": "2025-03-27T05:29:37.065Z",
            "regionDisplayName": "Virginia (eastus2)",
            "cloudProvider": "azure",
            "annotations": {
              "tidb.cloud/available-features": "DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK",
              "tidb.cloud/has-set-password": "true"
            }
          },
          "headers": {},
          "error": null
        },
        "status_code": 200,
        "operation_selection": {
          "input": {
            "current_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 down tidb in this cluster from 16C32G or 16C64G(according to cloud provider) 2 nodes to 8C32G 2 nodes"
            },
            "feedback": {
              "execution_analyzer": {
                "reasoning": "The request attempted to update the TiDB node settings of a cluster that is currently in the 'MODIFYING' state. The response returned a 400 Bad Request with the message 'Cluster is not available for this action.' This indicates that the operation cannot be performed while the cluster is in the 'MODIFYING' state. The error message suggests that the operation choice was incorrect for the current state of the cluster, as the cluster is not ready to accept this update operation. The target operation is to scale down the TiDB nodes, but the current state does not allow for this action to be executed.",
                "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": "202503270523231762014be3c6ba99e2",
                      "servingData": "bizErrorCode: 49900001"
                    }
                  ]
                },
                "headers": {},
                "error": null
              }
            }
          },
          "output": {
            "reason": "The target operation is to scale down the TiDB node group in the cluster from 16C64G 2 nodes to 8C32G 2 nodes. However, the current state of the cluster is 'MODIFYING', which is a transitional state. Since the cluster is not in a stable state, we cannot perform any update operations until it becomes stable. Therefore, the most appropriate action is to check the current status of the cluster to see if it has transitioned to a stable state, which can be done using the 'ClusterService_GetCluster' operation.",
            "operation_id": "ClusterService_GetCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_GetCluster",
            "current_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 down tidb in this cluster from 16C32G or 16C64G(according to cloud provider) 2 nodes to 8C32G 2 nodes"
            },
            "feedback": "{\"execution_analyzer\": {\"reasoning\": \"The request attempted to update the TiDB node settings of a cluster that is currently in the 'MODIFYING' state. The response returned a 400 Bad Request with the message 'Cluster is not available for this action.' This indicates that the operation cannot be performed while the cluster is in the 'MODIFYING' state. The error message suggests that the operation choice was incorrect for the current state of the cluster, as the cluster is not ready to accept this update operation. The target operation is to scale down the TiDB nodes, but the current state does not allow for this action to be executed.\", \"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\": \"202503270523231762014be3c6ba99e2\", \"servingData\": \"bizErrorCode: 49900001\"}]}, \"headers\": {}, \"error\": null}}"
          },
          "output": {
            "request": {
              "method": "GET",
              "path": "/clusters/{clusterId}",
              "path_params": "{\"clusterId\":\"10230190833684181888\"}",
              "query_params": null,
              "headers": null,
              "body": null
            },
            "description": "Retrieve the current state of the cluster with ID '10230190833684181888' to check its status and ensure it is not 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\": \"10230190833684181888\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{}"
            },
            "response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10230190833684181888",
                "clusterId": "10230190833684181888",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "16C64G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905126173621354496",
                      "tidbNodeGroupId": "1905126173621354496",
                      "clusterId": "10230190833684181888",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [
                        {
                          "host": "tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com",
                          "port": 4000,
                          "connectionType": "PUBLIC"
                        },
                        {
                          "host": "private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com",
                          "port": 4000,
                          "connectionType": "VPC_PEERING"
                        }
                      ],
                      "nodeSpecKey": "16C64G",
                      "nodeSpecDisplayName": "16 vCPU, 64 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "16 vCPU, 64 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "8C32G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "ACTIVE",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T05:14:08.239Z",
                "updateTime": "2025-03-27T05:29:37.065Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "prev_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:29:37.065Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 down tidb in this cluster from 16C32G or 16C64G(according to cloud provider) 2 nodes to 8C32G 2 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."
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "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"
                    ]
                  },
                  "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"
                  },
                  "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"
                    ]
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "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
                      }
                    }
                  },
                  "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."
                  },
                  "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"
                    ]
                  },
                  "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"
                          }
                        ]
                      }
                    }
                  },
                  "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."
                  },
                  "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"
                  },
                  "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."
                  }
                }
              }
            }
          },
          "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 '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 down the TiDB nodes, which is the target operation. The operation did not directly achieve the target operation but provided necessary information and confirmed the cluster's readiness for the next steps. 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_GetCluster",
              "step_type": "generated",
              "request_type": "http",
              "request": {
                "auth": {
                  "auth_type": "digest",
                  "content": "{}"
                },
                "method": "GET",
                "path": "/clusters/{clusterId}",
                "path_params": "{\n  \"clusterId\": \"10230190833684181888\"\n}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{}"
              },
              "description": "Retrieve the current state of the cluster with ID '10230190833684181888' to check its status and ensure it is not 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 down tidb in this cluster from 16C32G or 16C64G(according to cloud provider) 2 nodes to 8C32G 2 nodes"
            }
          },
          "output": {
            "reason": "The concrete operation executed is a GET request to retrieve information about a specific cluster using the path '/clusters/{clusterId}'. This operation is focused on fetching data about the cluster identified by 'clusterId'.\n\nThe target operation, however, requires scaling down the TiDB in the cluster from a configuration of 16C32G or 16C64G (depending on the cloud provider) with 2 nodes to a configuration of 8C32G with 2 nodes. This involves modifying the cluster's resources, specifically changing the CPU and memory allocation of the nodes.\n\nThe concrete operation does not perform any modification or scaling of resources; it merely retrieves information. Therefore, it does not fulfill the requirements of the target operation, which is to scale down the cluster's resources.",
            "judgement": false
          }
        },
        "resource_manager": {
          "input": {
            "last_request": {
              "auth": {
                "auth_type": "digest",
                "content": "{}"
              },
              "method": "GET",
              "path": "/clusters/{clusterId}",
              "path_params": "{\n  \"clusterId\": \"10230190833684181888\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{}"
            },
            "last_response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10230190833684181888",
                "clusterId": "10230190833684181888",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "16C64G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905126173621354496",
                      "tidbNodeGroupId": "1905126173621354496",
                      "clusterId": "10230190833684181888",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [
                        {
                          "host": "tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com",
                          "port": 4000,
                          "connectionType": "PUBLIC"
                        },
                        {
                          "host": "private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com",
                          "port": 4000,
                          "connectionType": "VPC_PEERING"
                        }
                      ],
                      "nodeSpecKey": "16C64G",
                      "nodeSpecDisplayName": "16 vCPU, 64 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "16 vCPU, 64 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "8C32G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "ACTIVE",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T05:14:08.239Z",
                "updateTime": "2025-03-27T05:29:37.065Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "previous_resources": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:22:50.855Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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": "10230190833684181888",
                "resource_type": "clusters",
                "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:29:37.065Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK\", \"tidb.cloud/has-set-password\": \"true\"}}",
                "state": "ACTIVE",
                "parent_id": "",
                "reference_ids": []
              },
              {
                "id": "1905126173621354496",
                "resource_type": "tidbnodegroups",
                "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                "state": "ACTIVE",
                "parent_id": "10230190833684181888",
                "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:30:11.276892",
        "error": null,
        "error_traceback": null
      },
      {
        "generation_id": "65807b4e-83c2-4acb-9503-90dfe2274898",
        "operation_id": "ClusterService_UpdateCluster",
        "state_before": {
          "clusters": {
            "10230190833684181888": {
              "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:29:37.065Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905126173621354496": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10230190833684181888"
            }
          },
          "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": {
            "10230190833684181888": {
              "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:30:22.342Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905126173621354496": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10230190833684181888"
            }
          },
          "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/10230190833684181888\", \"headers\": {}, \"query_params\": {}, \"body\": {\"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"tidbNodeGroupId\": \"1905126173621354496\", \"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/10230190833684181888",
            "clusterId": "10230190833684181888",
            "displayName": "llm-e2e-cluster-1234",
            "regionId": "azure-eastus2",
            "labels": {
              "tidb.cloud/organization": "1369847559692509562",
              "tidb.cloud/project": "1369847559694040595"
            },
            "tidbNodeSetting": {
              "nodeSpecKey": "8C32G",
              "tidbNodeGroups": [
                {
                  "name": "tidbNodeGroups/1905126173621354496",
                  "tidbNodeGroupId": "1905126173621354496",
                  "clusterId": "10230190833684181888",
                  "displayName": "DefaultGroup",
                  "nodeCount": 2,
                  "endpoints": [],
                  "nodeSpecKey": "8C32G",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                  "isDefaultGroup": true,
                  "state": "ACTIVE"
                }
              ],
              "nodeSpecDisplayName": "8 vCPU, 32 GiB"
            },
            "tikvNodeSetting": {
              "nodeCount": 3,
              "nodeSpecKey": "8C32G",
              "storageSizeGi": 200,
              "storageType": "Basic",
              "nodeSpecDisplayName": "8 vCPU, 32 GiB"
            },
            "port": 4000,
            "rootPassword": "",
            "state": "MODIFYING",
            "version": "v8.1.2",
            "createdBy": "apikey-01GPB7L0",
            "createTime": "2025-03-27T05:14:08.239Z",
            "updateTime": "2025-03-27T05:30:22.342Z",
            "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": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:29:37.065Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 down tidb in this cluster from 16C32G or 16C64G(according to cloud provider) 2 nodes to 8C32G 2 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 '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 down the TiDB nodes, which is the target operation. The operation did not directly achieve the target operation but provided necessary information and confirmed the cluster's readiness for the next steps. 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_match": {
                "reason": "The concrete operation executed is a GET request to retrieve information about a specific cluster using the path '/clusters/{clusterId}'. This operation is focused on fetching data about the cluster identified by 'clusterId'.\n\nThe target operation, however, requires scaling down the TiDB in the cluster from a configuration of 16C32G or 16C64G (depending on the cloud provider) with 2 nodes to a configuration of 8C32G with 2 nodes. This involves modifying the cluster's resources, specifically changing the CPU and memory allocation of the nodes.\n\nThe concrete operation does not perform any modification or scaling of resources; it merely retrieves information. Therefore, it does not fulfill the requirements of the target operation, which is to scale down the cluster's resources.",
                "judgement": false
              },
              "response": {
                "status_code": 200,
                "json": {
                  "name": "clusters/10230190833684181888",
                  "clusterId": "10230190833684181888",
                  "displayName": "llm-e2e-cluster-1234",
                  "regionId": "azure-eastus2",
                  "labels": {
                    "tidb.cloud/organization": "1369847559692509562",
                    "tidb.cloud/project": "1369847559694040595"
                  },
                  "tidbNodeSetting": {
                    "nodeSpecKey": "16C64G",
                    "tidbNodeGroups": [
                      {
                        "name": "tidbNodeGroups/1905126173621354496",
                        "tidbNodeGroupId": "1905126173621354496",
                        "clusterId": "10230190833684181888",
                        "displayName": "DefaultGroup",
                        "nodeCount": 2,
                        "endpoints": [
                          {
                            "host": "tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com",
                            "port": 4000,
                            "connectionType": "PUBLIC"
                          },
                          {
                            "host": "private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com",
                            "port": 4000,
                            "connectionType": "VPC_PEERING"
                          }
                        ],
                        "nodeSpecKey": "16C64G",
                        "nodeSpecDisplayName": "16 vCPU, 64 GiB",
                        "isDefaultGroup": true,
                        "state": "ACTIVE"
                      }
                    ],
                    "nodeSpecDisplayName": "16 vCPU, 64 GiB"
                  },
                  "tikvNodeSetting": {
                    "nodeCount": 3,
                    "nodeSpecKey": "8C32G",
                    "storageSizeGi": 200,
                    "storageType": "Basic",
                    "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                  },
                  "port": 4000,
                  "rootPassword": "",
                  "state": "ACTIVE",
                  "version": "v8.1.2",
                  "createdBy": "apikey-01GPB7L0",
                  "createTime": "2025-03-27T05:14:08.239Z",
                  "updateTime": "2025-03-27T05:29:37.065Z",
                  "regionDisplayName": "Virginia (eastus2)",
                  "cloudProvider": "azure",
                  "annotations": {
                    "tidb.cloud/available-features": "DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK",
                    "tidb.cloud/has-set-password": "true"
                  }
                },
                "headers": {},
                "error": null
              }
            }
          },
          "output": {
            "reason": "The target operation is to scale down the TiDB node group in the cluster from 16C64G 2 nodes to 8C32G 2 nodes. The current state of the cluster is 'ACTIVE', which means it is stable and ready for modification. To scale down the TiDB node group, we need to update the cluster configuration to change the node specification. The appropriate operation to achieve this is 'ClusterService_UpdateCluster', which allows for updating the cluster's configuration, including scaling down the TiDB nodes.",
            "operation_id": "ClusterService_UpdateCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_UpdateCluster",
            "current_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:29:37.065Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 down tidb in this cluster from 16C32G or 16C64G(according to cloud provider) 2 nodes to 8C32G 2 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 '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 down the TiDB nodes, which is the target operation. The operation did not directly achieve the target operation but provided necessary information and confirmed the cluster's readiness for the next steps. 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_match\": {\"reason\": \"The concrete operation executed is a GET request to retrieve information about a specific cluster using the path '/clusters/{clusterId}'. This operation is focused on fetching data about the cluster identified by 'clusterId'.\\n\\nThe target operation, however, requires scaling down the TiDB in the cluster from a configuration of 16C32G or 16C64G (depending on the cloud provider) with 2 nodes to a configuration of 8C32G with 2 nodes. This involves modifying the cluster's resources, specifically changing the CPU and memory allocation of the nodes.\\n\\nThe concrete operation does not perform any modification or scaling of resources; it merely retrieves information. Therefore, it does not fulfill the requirements of the target operation, which is to scale down the cluster's resources.\", \"judgement\": false}, \"response\": {\"status_code\": 200, \"json\": {\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:29:37.065Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK\", \"tidb.cloud/has-set-password\": \"true\"}}, \"headers\": {}, \"error\": null}}"
          },
          "output": {
            "request": {
              "method": "PATCH",
              "path": "/clusters/{cluster.clusterId}",
              "path_params": "{\"cluster.clusterId\":\"10230190833684181888\"}",
              "query_params": null,
              "headers": null,
              "body": "{\"tidbNodeSetting\":{\"nodeSpecKey\":\"8C32G\",\"tidbNodeGroups\":[{\"tidbNodeGroupId\":\"1905126173621354496\",\"nodeCount\":2}]}}"
            },
            "description": "Scale down the TiDB nodes in the cluster with ID '10230190833684181888' from 16C64G to 8C32G, maintaining 2 nodes.",
            "expect": null,
            "request_type": "http"
          }
        },
        "execution_analysis": {
          "input": {
            "request": {
              "method": "PATCH",
              "path": "/clusters/{cluster.clusterId}",
              "path_params": "{\n  \"cluster.clusterId\": \"10230190833684181888\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"8C32G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905126173621354496\",\n        \"nodeCount\": 2\n      }\n    ]\n  }\n}"
            },
            "response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10230190833684181888",
                "clusterId": "10230190833684181888",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "8C32G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905126173621354496",
                      "tidbNodeGroupId": "1905126173621354496",
                      "clusterId": "10230190833684181888",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [],
                      "nodeSpecKey": "8C32G",
                      "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "8C32G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "MODIFYING",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T05:14:08.239Z",
                "updateTime": "2025-03-27T05:30:22.342Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "prev_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:29:37.065Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:30:22.342Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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 down tidb in this cluster from 16C32G or 16C64G(according to cloud provider) 2 nodes to 8C32G 2 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": {
                  "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."
                      }
                    }
                  },
                  "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."
                  },
                  "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"
                    ]
                  },
                  "v1beta1UpdateClusterRequestTidbNodeSetting": {
                    "type": "object",
                    "properties": {
                      "nodeSpecKey": {
                        "type": "string"
                      },
                      "tidbNodeGroups": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "$ref": "#/definitions/UpdateClusterRequestTidbNodeSettingTidbNodeGroup"
                        }
                      }
                    }
                  },
                  "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"
                    ]
                  },
                  "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
                      }
                    }
                  },
                  "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"
                  },
                  "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."
                  },
                  "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"
                      }
                    }
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "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"
                    ]
                  },
                  "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."
                      }
                    }
                  },
                  "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"
                    ]
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "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"
                  },
                  "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."
                  },
                  "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"
                          }
                        ]
                      }
                    }
                  },
                  "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 TiDB cluster by changing the node specification from '16C64G' to '8C32G' for the TiDB node group, which aligns with the target operation of scaling down the TiDB nodes to '8C32G'. The response indicates a successful update with a 200 status code, and the current state reflects the desired changes: the nodeSpecKey has been updated to '8C32G', and the node count remains at 2, as specified. The cluster state has transitioned from 'ACTIVE' to 'MODIFYING', which is expected during such updates. This operation successfully moves the system closer to the target operation, and no errors were encountered in the response.",
            "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\": \"10230190833684181888\"\n}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"8C32G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905126173621354496\",\n        \"nodeCount\": 2\n      }\n    ]\n  }\n}"
              },
              "description": "Scale down the TiDB nodes in the cluster with ID '10230190833684181888' from 16C64G to 8C32G, maintaining 2 nodes.",
              "max_retries": 0,
              "delay_after": 0,
              "expect": null
            },
            "target_operation": {
              "original_description": "scale down tidb in this cluster from 16C32G or 16C64G(according to cloud provider) 2 nodes to 8C32G 2 nodes"
            }
          },
          "output": {
            "reason": "The target operation requires scaling down the TiDB nodes in a cluster from a configuration of either 16C32G or 16C64G (depending on the cloud provider) with 2 nodes to a configuration of 8C32G with 2 nodes. The concrete operation provided in the last request shows a PATCH request to update the cluster with a 'tidbNodeSetting' where the 'nodeSpecKey' is set to '8C32G' and 'tidbNodeGroups' specifies 2 nodes. This matches the target operation's requirement to scale down to 8C32G with 2 nodes. The original configuration (16C32G or 16C64G) is not specified in the last request, but the operation's intent to set the configuration to 8C32G with 2 nodes fulfills the target operation's requirement.",
            "judgement": true
          }
        },
        "resource_manager": {
          "input": {
            "last_request": {
              "auth": {
                "auth_type": "digest",
                "content": "{}"
              },
              "method": "PATCH",
              "path": "/clusters/{cluster.clusterId}",
              "path_params": "{\n  \"cluster.clusterId\": \"10230190833684181888\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{\n  \"tidbNodeSetting\": {\n    \"nodeSpecKey\": \"8C32G\",\n    \"tidbNodeGroups\": [\n      {\n        \"tidbNodeGroupId\": \"1905126173621354496\",\n        \"nodeCount\": 2\n      }\n    ]\n  }\n}"
            },
            "last_response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10230190833684181888",
                "clusterId": "10230190833684181888",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "8C32G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905126173621354496",
                      "tidbNodeGroupId": "1905126173621354496",
                      "clusterId": "10230190833684181888",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [],
                      "nodeSpecKey": "8C32G",
                      "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "8C32G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "MODIFYING",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T05:14:08.239Z",
                "updateTime": "2025-03-27T05:30:22.342Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "previous_resources": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"16C64G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"ACTIVE\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:29:37.065Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"DELEGATE_USER,DISABLE_PUBLIC_LB,PRIVATELINK\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [{\"host\": \"tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"PUBLIC\"}, {\"host\": \"private-tidb.fapmma1otajl.clusters.eastus2.staging.azure.tidb-cloud.com\", \"port\": 4000, \"connectionType\": \"VPC_PEERING\"}], \"nodeSpecKey\": \"16C64G\", \"nodeSpecDisplayName\": \"16 vCPU, 64 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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": "10230190833684181888",
                "resource_type": "clusters",
                "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:30:22.342Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                "state": "MODIFYING",
                "parent_id": "",
                "reference_ids": []
              },
              {
                "id": "1905126173621354496",
                "resource_type": "tidbnodegroups",
                "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                "state": "ACTIVE",
                "parent_id": "10230190833684181888",
                "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:30:38.146749",
        "error": null,
        "error_traceback": null
      },
      {
        "generation_id": "65807b4e-83c2-4acb-9503-90dfe2274898",
        "operation_id": "ClusterService_GetCluster",
        "state_before": {
          "clusters": {
            "10230190833684181888": {
              "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:30:22.342Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
              "state": "MODIFYING",
              "references": [],
              "parent_id": ""
            }
          },
          "tidbnodegroups": {
            "1905126173621354496": {
              "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
              "state": "ACTIVE",
              "references": [],
              "parent_id": "10230190833684181888"
            }
          },
          "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": ""
            }
          },
          "vpc_endpoints": {}
        },
        "request": {
          "request_type": "http",
          "request": "{\"method\": \"DELETE\", \"path\": \"/clusters/10230190833684181888\", \"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/10230190833684181888",
            "clusterId": "10230190833684181888",
            "displayName": "llm-e2e-cluster-1234",
            "regionId": "azure-eastus2",
            "labels": {
              "tidb.cloud/organization": "1369847559692509562",
              "tidb.cloud/project": "1369847559694040595"
            },
            "tidbNodeSetting": {
              "nodeSpecKey": "8C32G",
              "tidbNodeGroups": [
                {
                  "name": "tidbNodeGroups/1905126173621354496",
                  "tidbNodeGroupId": "1905126173621354496",
                  "clusterId": "10230190833684181888",
                  "displayName": "DefaultGroup",
                  "nodeCount": 2,
                  "endpoints": [],
                  "nodeSpecKey": "8C32G",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                  "isDefaultGroup": true,
                  "state": "ACTIVE"
                }
              ],
              "nodeSpecDisplayName": "8 vCPU, 32 GiB"
            },
            "tikvNodeSetting": {
              "nodeCount": 3,
              "nodeSpecKey": "8C32G",
              "storageSizeGi": 200,
              "storageType": "Basic",
              "nodeSpecDisplayName": "8 vCPU, 32 GiB"
            },
            "port": 4000,
            "rootPassword": "",
            "state": "DELETED",
            "version": "v8.1.2",
            "createdBy": "apikey-01GPB7L0",
            "createTime": "2025-03-27T05:14:08.239Z",
            "updateTime": "2025-03-27T05:30:22.342Z",
            "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": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:30:22.342Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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. However, the current state of the cluster is 'MODIFYING', which is a transitional state. Since the cluster is not in a stable state, we cannot perform any delete operations until it becomes stable. Therefore, the most appropriate action is to check the current status of the cluster to see if it has transitioned to a stable state, which can be done using the 'ClusterService_GetCluster' operation.",
            "operation_id": "ClusterService_GetCluster"
          }
        },
        "request_generation": {
          "input": {
            "operation_id": "ClusterService_GetCluster",
            "current_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:30:22.342Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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\":\"10230190833684181888\"}",
              "query_params": null,
              "headers": null,
              "body": null
            },
            "description": "Delete the cluster with ID '10230190833684181888'.",
            "expect": null,
            "request_type": "http"
          }
        },
        "execution_analysis": {
          "input": {
            "request": {
              "method": "DELETE",
              "path": "/clusters/{clusterId}",
              "path_params": "{\n  \"clusterId\": \"10230190833684181888\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{}"
            },
            "response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10230190833684181888",
                "clusterId": "10230190833684181888",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "8C32G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905126173621354496",
                      "tidbNodeGroupId": "1905126173621354496",
                      "clusterId": "10230190833684181888",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [],
                      "nodeSpecKey": "8C32G",
                      "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "8C32G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "DELETED",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T05:14:08.239Z",
                "updateTime": "2025-03-27T05:30:22.342Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "prev_state": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:30:22.342Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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": ""
                }
              },
              "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."
                  },
                  "dedicatedv1beta1ClusterPausePlan": {
                    "type": "object",
                    "properties": {
                      "pauseType": {
                        "$ref": "#/definitions/dedicatedv1beta1ClusterPausePlanType"
                      },
                      "scheduledResumeTime": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    },
                    "required": [
                      "pauseType"
                    ]
                  },
                  "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"
                    ]
                  },
                  "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"
                  },
                  "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"
                    ]
                  },
                  "dedicatedv1beta1ClusterPausePlanType": {
                    "type": "string",
                    "enum": [
                      "NORMAL",
                      "DEPRECATE"
                    ],
                    "title": "- NORMAL: default pause plan\n - DEPRECATE: old pause plan, will be removed"
                  },
                  "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
                      }
                    }
                  },
                  "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."
                  },
                  "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"
                    ]
                  },
                  "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"
                          }
                        ]
                      }
                    }
                  },
                  "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."
                  },
                  "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"
                  },
                  "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."
                  }
                }
              }
            }
          },
          "output": {
            "reasoning": "The DELETE request was executed to remove a cluster with ID '10230190833684181888'. The response status code is 200, indicating a successful operation. The previous state of the cluster was 'MODIFYING', and the current state shows that the cluster is no longer present, indicating it has been successfully deleted. This aligns with the target operation of deleting the cluster. The operation was appropriate given the available operations and the desired outcome. There are no error messages or indications of request malformation, confirming the operation's success.",
            "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\": \"10230190833684181888\"\n}",
                "query_params": "{}",
                "headers": "{}",
                "body": "{}"
              },
              "description": "Delete the cluster with ID '10230190833684181888'.",
              "max_retries": 0,
              "delay_after": 0,
              "expect": null
            },
            "target_operation": {
              "original_description": "delete this cluster"
            }
          },
          "output": {
            "reason": "The concrete operation is attempting to perform a DELETE request on the path '/clusters/{clusterId}' with a specific 'clusterId' provided in the path parameters. This matches the core intent of the abstract operation, which is to 'delete this cluster'. The method used is DELETE, which is appropriate for a delete operation, and the path includes the specific cluster ID, indicating the correct target for deletion. Therefore, the concrete operation fulfills the requirements 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\": \"10230190833684181888\"\n}",
              "query_params": "{}",
              "headers": "{}",
              "body": "{}"
            },
            "last_response": {
              "status_code": 200,
              "json": {
                "name": "clusters/10230190833684181888",
                "clusterId": "10230190833684181888",
                "displayName": "llm-e2e-cluster-1234",
                "regionId": "azure-eastus2",
                "labels": {
                  "tidb.cloud/organization": "1369847559692509562",
                  "tidb.cloud/project": "1369847559694040595"
                },
                "tidbNodeSetting": {
                  "nodeSpecKey": "8C32G",
                  "tidbNodeGroups": [
                    {
                      "name": "tidbNodeGroups/1905126173621354496",
                      "tidbNodeGroupId": "1905126173621354496",
                      "clusterId": "10230190833684181888",
                      "displayName": "DefaultGroup",
                      "nodeCount": 2,
                      "endpoints": [],
                      "nodeSpecKey": "8C32G",
                      "nodeSpecDisplayName": "8 vCPU, 32 GiB",
                      "isDefaultGroup": true,
                      "state": "ACTIVE"
                    }
                  ],
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "tikvNodeSetting": {
                  "nodeCount": 3,
                  "nodeSpecKey": "8C32G",
                  "storageSizeGi": 200,
                  "storageType": "Basic",
                  "nodeSpecDisplayName": "8 vCPU, 32 GiB"
                },
                "port": 4000,
                "rootPassword": "",
                "state": "DELETED",
                "version": "v8.1.2",
                "createdBy": "apikey-01GPB7L0",
                "createTime": "2025-03-27T05:14:08.239Z",
                "updateTime": "2025-03-27T05:30:22.342Z",
                "regionDisplayName": "Virginia (eastus2)",
                "cloudProvider": "azure",
                "annotations": {
                  "tidb.cloud/available-features": "",
                  "tidb.cloud/has-set-password": "true"
                }
              },
              "headers": {},
              "error": null
            },
            "previous_resources": {
              "clusters": {
                "10230190833684181888": {
                  "attributes": "{\"name\": \"clusters/10230190833684181888\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"llm-e2e-cluster-1234\", \"regionId\": \"azure-eastus2\", \"labels\": {\"tidb.cloud/organization\": \"1369847559692509562\", \"tidb.cloud/project\": \"1369847559694040595\"}, \"tidbNodeSetting\": {\"nodeSpecKey\": \"8C32G\", \"tidbNodeGroups\": [{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}], \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"tikvNodeSetting\": {\"nodeCount\": 3, \"nodeSpecKey\": \"8C32G\", \"storageSizeGi\": 200, \"storageType\": \"Basic\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\"}, \"port\": 4000, \"rootPassword\": \"\", \"state\": \"MODIFYING\", \"version\": \"v8.1.2\", \"createdBy\": \"apikey-01GPB7L0\", \"createTime\": \"2025-03-27T05:14:08.239Z\", \"updateTime\": \"2025-03-27T05:30:22.342Z\", \"regionDisplayName\": \"Virginia (eastus2)\", \"cloudProvider\": \"azure\", \"annotations\": {\"tidb.cloud/available-features\": \"\", \"tidb.cloud/has-set-password\": \"true\"}}",
                  "state": "MODIFYING",
                  "references": [],
                  "parent_id": ""
                }
              },
              "tidbnodegroups": {
                "1905126173621354496": {
                  "attributes": "{\"name\": \"tidbNodeGroups/1905126173621354496\", \"tidbNodeGroupId\": \"1905126173621354496\", \"clusterId\": \"10230190833684181888\", \"displayName\": \"DefaultGroup\", \"nodeCount\": 2, \"endpoints\": [], \"nodeSpecKey\": \"8C32G\", \"nodeSpecDisplayName\": \"8 vCPU, 32 GiB\", \"isDefaultGroup\": true, \"state\": \"ACTIVE\"}",
                  "state": "ACTIVE",
                  "references": [],
                  "parent_id": "10230190833684181888"
                }
              },
              "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": "",
                "reference_ids": []
              }
            ]
          }
        },
        "timestamp": "2025-03-27T13:31:02.165714",
        "error": null,
        "error_traceback": null
      }
    ]
  }