Skip to content

Commit bb94fc1

Browse files
committed
update proto
1 parent c8348c2 commit bb94fc1

File tree

5 files changed

+88
-24
lines changed

5 files changed

+88
-24
lines changed

pkg/tidbcloud/v1beta1/serverless/privatelink.swagger.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,14 @@
335335
"type": "string",
336336
"description": "The endpoint ID.",
337337
"readOnly": true
338+
},
339+
"availabilityZoneIds": {
340+
"type": "array",
341+
"items": {
342+
"type": "string"
343+
},
344+
"description": "The availability zones of the endpoint.",
345+
"readOnly": true
338346
}
339347
},
340348
"required": [
@@ -378,7 +386,7 @@
378386
},
379387
"uniqueName": {
380388
"type": "string",
381-
"description": "The unique name of the domain to attach, it can be empty only when type is TIDBCLOUD_MANAGED and dry_run is true."
389+
"description": "The unique name of the domain to attach, it can be empty only when type is TIDBCLOUD_MANAGED and validate_only is true."
382390
},
383391
"domains": {
384392
"type": "array",
@@ -586,7 +594,7 @@
586594
}
587595
]
588596
},
589-
"dryRun": {
597+
"validateOnly": {
590598
"type": "boolean",
591599
"description": "Only validate the request and return the domains without attaching them."
592600
}

pkg/tidbcloud/v1beta1/serverless/privatelink/api/openapi.yaml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ components:
258258
schemas:
259259
AlicloudEndpointService:
260260
example:
261+
availabilityZoneIds:
262+
- availabilityZoneIds
263+
- availabilityZoneIds
261264
endpointId: endpointId
262265
name: name
263266
properties:
@@ -268,6 +271,12 @@ components:
268271
description: The endpoint ID.
269272
readOnly: true
270273
type: string
274+
availabilityZoneIds:
275+
description: The availability zones of the endpoint.
276+
items:
277+
type: string
278+
readOnly: true
279+
type: array
271280
required:
272281
- name
273282
type: object
@@ -316,7 +325,7 @@ components:
316325
type: object
317326
uniqueName:
318327
description: "The unique name of the domain to attach, it can be empty only\
319-
\ when type is TIDBCLOUD_MANAGED and dry_run is true."
328+
\ when type is TIDBCLOUD_MANAGED and validate_only is true."
320329
type: string
321330
domains:
322331
description: The domains attached.
@@ -450,6 +459,9 @@ components:
450459
message: message
451460
type: "{}"
452461
alicloudEndpointService:
462+
availabilityZoneIds:
463+
- availabilityZoneIds
464+
- availabilityZoneIds
453465
endpointId: endpointId
454466
name: name
455467
- awsEndpointService:
@@ -498,6 +510,9 @@ components:
498510
message: message
499511
type: "{}"
500512
alicloudEndpointService:
513+
availabilityZoneIds:
514+
- availabilityZoneIds
515+
- availabilityZoneIds
501516
endpointId: endpointId
502517
name: name
503518
properties:
@@ -559,6 +574,9 @@ components:
559574
message: message
560575
type: "{}"
561576
alicloudEndpointService:
577+
availabilityZoneIds:
578+
- availabilityZoneIds
579+
- availabilityZoneIds
562580
endpointId: endpointId
563581
name: name
564582
properties:
@@ -632,7 +650,7 @@ components:
632650
- $ref: '#/components/schemas/AttachDomain'
633651
description: The domain to attach.
634652
type: object
635-
dryRun:
653+
validateOnly:
636654
description: Only validate the request and return the domains without attaching
637655
them.
638656
type: boolean

pkg/tidbcloud/v1beta1/serverless/privatelink/model_alicloud_endpoint_service.go

Lines changed: 39 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/tidbcloud/v1beta1/serverless/privatelink/model_attach_domain.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/tidbcloud/v1beta1/serverless/privatelink/model_private_link_connection_service_attach_domains_body.go

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)