Skip to content

Commit 1e1bb1d

Browse files
vbotbuildovichgithub-actions[bot]
authored andcommitted
auto-docs: Update Cloud API spec
1 parent 3610a2c commit 1e1bb1d

File tree

2 files changed

+111
-44
lines changed

2 files changed

+111
-44
lines changed

cloud-controlplane/cloud-controlplane.yaml

Lines changed: 93 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,6 +1693,9 @@ components:
16931693
name_contains:
16941694
description: Name of cluster. Partial match.
16951695
type: string
1696+
private_link_id:
1697+
title: Private link ID of Serverless cluster
1698+
type: string
16961699
resource_group_id:
16971700
description: Resource group ID of Serverless cluster.
16981701
type: string
@@ -2181,20 +2184,6 @@ components:
21812184
title: status is the status of the Azure PE
21822185
type: string
21832186
type: object
2184-
PrivateLink.State:
2185-
description: |2-
2186-
- STATE_DISABLED: Private link is being created.
2187-
- STATE_LINKING: Private link is being created.
2188-
- STATE_READY: Private link is ready to use.
2189-
- STATE_UNLINKING: Private link is being deleted.
2190-
- STATE_FAILED: Private link is in an error state.
2191-
enum:
2192-
- STATE_DISABLED
2193-
- STATE_LINKING
2194-
- STATE_READY
2195-
- STATE_UNLINKING
2196-
- STATE_FAILED
2197-
type: string
21982187
PrivateLinkAuthMode:
21992188
description: |-
22002189
Private link authentication mode.
@@ -2541,12 +2530,14 @@ components:
25412530
description: Unique name of the Serverless cluster.
25422531
example: development-ServerlessCluster
25432532
type: string
2544-
network:
2545-
$ref: '#/components/schemas/ServerlessCluster.NetworkingConfig'
2533+
networking_config:
2534+
$ref: '#/components/schemas/ServerlessNetworkingConfig'
25462535
planned_deletion:
25472536
$ref: '#/components/schemas/PlannedDeletion'
2548-
private_link:
2549-
$ref: '#/components/schemas/ServerlessCluster.PrivateLink'
2537+
private_link_id:
2538+
nullable: true
2539+
readOnly: true
2540+
type: string
25502541
resource_group_id:
25512542
description: Resource group ID of the cluster.
25522543
example: a0b40af9-0250-48ca-9417-783ed127ce42
@@ -2570,7 +2561,7 @@ components:
25702561
properties:
25712562
private_url:
25722563
description: |-
2573-
The private URL of the data plane API, if private networking
2564+
private_url is the private url of the dataplane api if private networking
25742565
is enabled for this cluster.
25752566
readOnly: true
25762567
type: string
@@ -2594,31 +2585,12 @@ components:
25942585
title: Kafka API seed brokers (also known as bootstrap servers). Implicitly public
25952586
type: array
25962587
type: object
2597-
ServerlessCluster.NetworkingConfig:
2598-
properties:
2599-
private:
2600-
$ref: '#/components/schemas/ServerlessCluster.NetworkingConfig.State'
2601-
public:
2602-
$ref: '#/components/schemas/ServerlessCluster.NetworkingConfig.State'
2603-
type: object
2604-
ServerlessCluster.NetworkingConfig.State:
2605-
enum:
2606-
- STATE_DISABLED
2607-
- STATE_ENABLED
2608-
type: string
2609-
ServerlessCluster.PrivateLink:
2610-
properties:
2611-
id:
2612-
type: string
2613-
state:
2614-
$ref: '#/components/schemas/PrivateLink.State'
2615-
type: object
26162588
ServerlessCluster.SchemaRegistryStatus:
26172589
description: Cluster's Schema Registry properties.
26182590
properties:
26192591
private_url:
26202592
readOnly: true
2621-
title: Private URL for the schema registry
2593+
title: Private url for the schema registry
26222594
type: string
26232595
url:
26242596
readOnly: true
@@ -2663,6 +2635,28 @@ components:
26632635
- serverless_region
26642636
title: ServerlessClusterCreate
26652637
type: object
2638+
ServerlessClusterUpdate:
2639+
description: Resource describing an Update Serverless Cluster.
2640+
properties:
2641+
id:
2642+
description: ID of the vcluster.
2643+
type: string
2644+
required:
2645+
- id
2646+
title: ServerlessClusterUpdate
2647+
type: object
2648+
ServerlessNetworkingConfig:
2649+
properties:
2650+
private:
2651+
$ref: '#/components/schemas/ServerlessNetworkingConfig.State'
2652+
public:
2653+
$ref: '#/components/schemas/ServerlessNetworkingConfig.State'
2654+
type: object
2655+
ServerlessNetworkingConfig.State:
2656+
enum:
2657+
- STATE_DISABLED
2658+
- STATE_ENABLED
2659+
type: string
26662660
ServerlessRegion:
26672661
description: Resource describing a ServerlessRegion.
26682662
properties:
@@ -2854,6 +2848,7 @@ components:
28542848
UpdateClusterType:
28552849
enum:
28562850
- UPDATE_CLUSTER_TYPE_CUSTOMER_CONFIG
2851+
- UPDATE_CLUSTER_TYPE_SCALING
28572852
type: string
28582853
UpdateOrganizationResponse:
28592854
properties:
@@ -2880,6 +2875,15 @@ components:
28802875
$ref: '#/components/schemas/ResourceGroup'
28812876
title: UpdateResourceGroupResponse is the response of UpdateResourceGroup
28822877
type: object
2878+
UpdateServerlessClusterBody:
2879+
description: UpdateServerlessClusterRequest is the request of UpdateServerlessCluster.
2880+
type: object
2881+
UpdateServerlessClusterOperation:
2882+
description: UpdateServerlessClusterOperation is the response of the update cluster rpc.
2883+
properties:
2884+
operation:
2885+
$ref: '#/components/schemas/v1.Operation'
2886+
type: object
28832887
UpdateServiceAccountBody:
28842888
properties:
28852889
service_account:
@@ -4914,6 +4918,11 @@ paths:
49144918
name: filter.serverless_region
49154919
schema:
49164920
type: string
4921+
- description: Private link ID of Serverless cluster
4922+
in: query
4923+
name: filter.private_link_id
4924+
schema:
4925+
type: string
49174926
- description: Limit the paginated response to a number of items.
49184927
in: query
49194928
name: page_size
@@ -5073,6 +5082,51 @@ paths:
50735082
summary: Get Serverless cluster
50745083
tags:
50755084
- Serverless Clusters
5085+
patch:
5086+
description: Update a Redpanda serverless cluster.
5087+
operationId: ServerlessClusterService_UpdateServerlessCluster
5088+
parameters:
5089+
- description: ID of the virtual cluster.
5090+
in: path
5091+
name: id
5092+
required: true
5093+
schema:
5094+
type: string
5095+
requestBody:
5096+
content:
5097+
application/json:
5098+
schema:
5099+
$ref: '#/components/schemas/UpdateServerlessClusterBody'
5100+
required: true
5101+
x-originalParamName: body
5102+
responses:
5103+
"202":
5104+
content:
5105+
application/json:
5106+
schema:
5107+
$ref: '#/components/schemas/ServerlessClusterUpdate'
5108+
description: Accepted
5109+
"404":
5110+
content:
5111+
application/json:
5112+
schema:
5113+
$ref: '#/components/schemas/rpc.Status'
5114+
description: Not Found
5115+
"500":
5116+
content:
5117+
application/json:
5118+
schema:
5119+
$ref: '#/components/schemas/rpc.Status'
5120+
description: Internal Server Error. Please reach out to support.
5121+
default:
5122+
content:
5123+
application/json:
5124+
schema:
5125+
$ref: '#/components/schemas/rpc.Status'
5126+
description: An unexpected error response.
5127+
summary: Update serverless cluster
5128+
tags:
5129+
- Serverless Clusters
50765130
/v1/serverless/region:
50775131
get:
50785132
description: Get Redpanda Serverless region.

cloud-dataplane/cloud-dataplane.yaml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ components:
212212
info:
213213
$ref: '#/components/schemas/ConnectCluster.Info'
214214
name:
215-
description: Unique name of Connect cluster. For Redpanda Cloud, the value is `redpanda`.
215+
description: Unique name of connect cluster. For Redpanda Cloud, the value is `redpanda`.
216216
type: string
217217
plugins:
218218
items:
@@ -1396,6 +1396,8 @@ components:
13961396
type: string
13971397
resources:
13981398
$ref: '#/components/schemas/Resources'
1399+
service_account:
1400+
$ref: '#/components/schemas/ServiceAccount'
13991401
state:
14001402
$ref: '#/components/schemas/Pipeline.State'
14011403
status:
@@ -1455,6 +1457,8 @@ components:
14551457
type: string
14561458
resources:
14571459
$ref: '#/components/schemas/Resources'
1460+
service_account:
1461+
$ref: '#/components/schemas/ServiceAccount'
14581462
tags:
14591463
additionalProperties:
14601464
type: string
@@ -1477,6 +1481,8 @@ components:
14771481
type: string
14781482
resources:
14791483
$ref: '#/components/schemas/Resources'
1484+
service_account:
1485+
$ref: '#/components/schemas/ServiceAccount'
14801486
tags:
14811487
additionalProperties:
14821488
type: string
@@ -1813,6 +1819,13 @@ components:
18131819
title: Secret scopes
18141820
type: array
18151821
type: object
1822+
ServiceAccount:
1823+
properties:
1824+
client_id:
1825+
type: string
1826+
client_secret:
1827+
type: string
1828+
type: object
18161829
SetConfiguration:
18171830
properties:
18181831
name:
@@ -3491,7 +3504,7 @@ paths:
34913504
description: 'List Kafka Connect cluster secrets. Optional: filter based on secret name and labels.'
34923505
operationId: SecretService_ListKafkaConnectSecrets
34933506
parameters:
3494-
- description: Unique name of target Connect cluster. For Redpanda Cloud, use `redpanda`.
3507+
- description: Unique name of target connect cluster. For Redpanda Cloud, use `redpanda`.
34953508
in: path
34963509
name: cluster_name
34973510
required: true
@@ -3610,7 +3623,7 @@ paths:
36103623
description: Delete a Kafka Connect cluster secret.
36113624
operationId: SecretService_DeleteKafkaConnectSecret
36123625
parameters:
3613-
- description: Unique name of target Connect cluster. For Redpanda Cloud, use `redpanda`.
3626+
- description: Unique name of target connect cluster. For Redpanda Cloud, use `redpanda`.
36143627
in: path
36153628
name: cluster_name
36163629
required: true
@@ -5596,7 +5609,7 @@ paths:
55965609
content:
55975610
multipart/form-data:
55985611
schema:
5599-
example: '{"name":"redact-orders","input_topic_name":"orders","output_topic_names":["orders-redacted"],"environment_variables":[{"key":"LOGGER_LEVEL","value":"DEBUG"}]}'
5612+
example: '{"name":"redact-orders", "input_topic_name":"orders", "output_topic_names":["orders-redacted"], "environment_variables":[{"key":"LOGGER_LEVEL", "value":"DEBUG"}]}'
56005613
properties:
56015614
metadata:
56025615
$ref: '#/components/schemas/DeployTransformRequest'
@@ -5614,7 +5627,7 @@ paths:
56145627
schema:
56155628
$ref: '#/components/schemas/TransformMetadata'
56165629
description: Created
5617-
summary: Deploy transform
5630+
summary: Deploy Transform
56185631
tags:
56195632
- Wasm Transforms
56205633
/v1/transforms/{name}:

0 commit comments

Comments
 (0)