Skip to content

Commit 9ad4684

Browse files
authored
update dedicated client (#260)
Signed-off-by: FingerLeader <wanxfinger@gmail.com>
1 parent e55bc99 commit 9ad4684

9 files changed

+174
-119
lines changed

pkg/tidbcloud/v1beta1/dedicated.swagger.json

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,7 +2092,7 @@
20922092
}
20932093
]
20942094
},
2095-
"massage": {
2095+
"message": {
20962096
"type": "string",
20972097
"readOnly": true
20982098
},
@@ -2237,7 +2237,7 @@
22372237
},
22382238
{
22392239
"name": "cloudProvider",
2240-
"description": "If specified, only private link connections of the specified cloud provider will be returned.\n\n - aws: Amazon Web Services.\nbuf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE\n - gcp: Google Cloud Platform.\nbuf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE\n - azure: Microsoft Azure.\nbuf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE",
2240+
"description": "If specified, only private link connections of the specified cloud provider will be returned.\n\n - aws: Amazon Web Services.\n - gcp: Google Cloud Platform.\n - azure: Microsoft Azure.",
22412241
"in": "query",
22422242
"required": false,
22432243
"type": "string",
@@ -2479,7 +2479,7 @@
24792479
},
24802480
{
24812481
"name": "cloudProvider",
2482-
"description": " - aws: Amazon Web Services.\nbuf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE\n - gcp: Google Cloud Platform.\nbuf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE\n - azure: Microsoft Azure.\nbuf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE",
2482+
"description": " - aws: Amazon Web Services.\n - gcp: Google Cloud Platform.\n - azure: Microsoft Azure.",
24832483
"in": "query",
24842484
"required": false,
24852485
"type": "string",
@@ -2767,7 +2767,7 @@
27672767
},
27682768
{
27692769
"name": "cloudProvider",
2770-
"description": "If specified, only VPC peerings of the specified cloud provider will be returned.\n\n - aws: Amazon Web Services.\nbuf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE\n - gcp: Google Cloud Platform.\nbuf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE\n - azure: Microsoft Azure.\nbuf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE",
2770+
"description": "If specified, only VPC peerings of the specified cloud provider will be returned.\n\n - aws: Amazon Web Services.\n - gcp: Google Cloud Platform.\n - azure: Microsoft Azure.",
27712771
"in": "query",
27722772
"required": false,
27732773
"type": "string",
@@ -4103,12 +4103,14 @@
41034103
"ClusterStorageNodeSettingStorageType": {
41044104
"type": "string",
41054105
"enum": [
4106-
"BASIC",
4107-
"BASICV2",
4108-
"OPTIMIZED",
4109-
"PLUS"
4106+
"Standard",
4107+
"Standard_Optimized",
4108+
"Performance_Optimized",
4109+
"Performance",
4110+
"Standard_Premium",
4111+
"Performance_Premium"
41104112
],
4111-
"title": "- BASIC: default\n - BASICV2: separate raft-log and data storage, only for tikv\n - OPTIMIZED: separate raft-log and data storage, and use high performance storage volume for raft-log, only for tikv\n - PLUS: use high performance storage volume"
4113+
"description": "Spec https://pingcap.feishu.cn/wiki/R6dcwK0Q3i9XSgkgG1Scoc82nbf.\n\n - Standard: A cost-effective storage type suitable for most workloads, offering balanced performance and affordability.\n - Single gp3 disk for TiKV storage\nIdeal for general-purpose clusters where affordability and reliability are priorities.\n - Standard_Optimized: An enhanced version of Standard storage that delivers approximately 10% better overall cluster performance, balancing cost and performance.\n - Separate gp3 disk for TiKV raft-log storage\n - gp3 disk for TiKV data storage\nRecommended as the default choice for most clusters, offering an improved balance of cost and performance.\n - Performance_Optimized: High-performance storage designed for workloads requiring low latency and greater stability. Provides superior performance for performance-sensitive clusters.\n - Separate io2 disk for TiKV raft-log storage\n - gp3 disk for TiKV data storage\nSuitable for clusters where consistent I/O performance and reduced latency are critical.\n - Performance: Premium storage option offering the highest levels of performance and stability. Uses a single high-performance disk to minimize jitter and maximize IOPS.\n - Single io2 disk for storage\nDesigned for I/O jitter-sensitive clusters with extreme performance demands. Available via allowlist only for select customers.\n - Standard_Premium: Reserved.\n - Performance_Premium: Reserved."
41124114
},
41134115
"EndpointConnectionType": {
41144116
"type": "string",
@@ -4462,6 +4464,9 @@
44624464
"$ref": "#/definitions/ClusterStorageNodeSettingStorageType"
44634465
},
44644466
"readOnly": true
4467+
},
4468+
"default": {
4469+
"type": "boolean"
44654470
}
44664471
}
44674472
},
@@ -5430,7 +5435,7 @@
54305435
}
54315436
]
54325437
},
5433-
"massage": {
5438+
"message": {
54345439
"type": "string",
54355440
"readOnly": true
54365441
},
@@ -5531,7 +5536,7 @@
55315536
"gcp",
55325537
"azure"
55335538
],
5534-
"description": "Enum of cloud provider names.\n\n - aws: Amazon Web Services.\nbuf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE\n - gcp: Google Cloud Platform.\nbuf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE\n - azure: Microsoft Azure.\nbuf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE"
5539+
"description": "Enum of cloud provider names.\n\n - aws: Amazon Web Services.\n - gcp: Google Cloud Platform.\n - azure: Microsoft Azure."
55355540
},
55365541
"v1beta1ResetRootPasswordResponse": {
55375542
"type": "object"
@@ -5723,4 +5728,4 @@
57235728
"description": "More about TiDB Cloud API",
57245729
"url": "https://docs.pingcap.com/tidbcloud/api-overview"
57255730
}
5726-
}
5731+
}

0 commit comments

Comments
 (0)