Skip to content

Commit af7716a

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

File tree

2 files changed

+103
-44
lines changed

2 files changed

+103
-44
lines changed

cloud-controlplane/cloud-controlplane.yaml

Lines changed: 85 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2181,20 +2181,6 @@ components:
21812181
title: status is the status of the Azure PE
21822182
type: string
21832183
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
21982184
PrivateLinkAuthMode:
21992185
description: |-
22002186
Private link authentication mode.
@@ -2541,12 +2527,14 @@ components:
25412527
description: Unique name of the Serverless cluster.
25422528
example: development-ServerlessCluster
25432529
type: string
2544-
network:
2545-
$ref: '#/components/schemas/ServerlessCluster.NetworkingConfig'
2530+
networking_config:
2531+
$ref: '#/components/schemas/ServerlessNetworkingConfig'
25462532
planned_deletion:
25472533
$ref: '#/components/schemas/PlannedDeletion'
2548-
private_link:
2549-
$ref: '#/components/schemas/ServerlessCluster.PrivateLink'
2534+
private_link_id:
2535+
nullable: true
2536+
readOnly: true
2537+
type: string
25502538
resource_group_id:
25512539
description: Resource group ID of the cluster.
25522540
example: a0b40af9-0250-48ca-9417-783ed127ce42
@@ -2570,7 +2558,7 @@ components:
25702558
properties:
25712559
private_url:
25722560
description: |-
2573-
The private URL of the data plane API, if private networking
2561+
private_url is the private url of the dataplane api if private networking
25742562
is enabled for this cluster.
25752563
readOnly: true
25762564
type: string
@@ -2594,31 +2582,12 @@ components:
25942582
title: Kafka API seed brokers (also known as bootstrap servers). Implicitly public
25952583
type: array
25962584
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
26162585
ServerlessCluster.SchemaRegistryStatus:
26172586
description: Cluster's Schema Registry properties.
26182587
properties:
26192588
private_url:
26202589
readOnly: true
2621-
title: Private URL for the schema registry
2590+
title: Private url for the schema registry
26222591
type: string
26232592
url:
26242593
readOnly: true
@@ -2663,6 +2632,28 @@ components:
26632632
- serverless_region
26642633
title: ServerlessClusterCreate
26652634
type: object
2635+
ServerlessClusterUpdate:
2636+
description: Resource describing an Update Serverless Cluster.
2637+
properties:
2638+
id:
2639+
description: ID of the vcluster.
2640+
type: string
2641+
required:
2642+
- id
2643+
title: ServerlessClusterUpdate
2644+
type: object
2645+
ServerlessNetworkingConfig:
2646+
properties:
2647+
private:
2648+
$ref: '#/components/schemas/ServerlessNetworkingConfig.State'
2649+
public:
2650+
$ref: '#/components/schemas/ServerlessNetworkingConfig.State'
2651+
type: object
2652+
ServerlessNetworkingConfig.State:
2653+
enum:
2654+
- STATE_DISABLED
2655+
- STATE_ENABLED
2656+
type: string
26662657
ServerlessRegion:
26672658
description: Resource describing a ServerlessRegion.
26682659
properties:
@@ -2854,6 +2845,7 @@ components:
28542845
UpdateClusterType:
28552846
enum:
28562847
- UPDATE_CLUSTER_TYPE_CUSTOMER_CONFIG
2848+
- UPDATE_CLUSTER_TYPE_SCALING
28572849
type: string
28582850
UpdateOrganizationResponse:
28592851
properties:
@@ -2880,6 +2872,15 @@ components:
28802872
$ref: '#/components/schemas/ResourceGroup'
28812873
title: UpdateResourceGroupResponse is the response of UpdateResourceGroup
28822874
type: object
2875+
UpdateServerlessClusterBody:
2876+
description: UpdateServerlessClusterRequest is the request of UpdateServerlessCluster.
2877+
type: object
2878+
UpdateServerlessClusterOperation:
2879+
description: UpdateServerlessClusterOperation is the response of the update cluster rpc.
2880+
properties:
2881+
operation:
2882+
$ref: '#/components/schemas/v1.Operation'
2883+
type: object
28832884
UpdateServiceAccountBody:
28842885
properties:
28852886
service_account:
@@ -5073,6 +5074,51 @@ paths:
50735074
summary: Get Serverless cluster
50745075
tags:
50755076
- Serverless Clusters
5077+
patch:
5078+
description: Update a Redpanda serverless cluster.
5079+
operationId: ServerlessClusterService_UpdateServerlessCluster
5080+
parameters:
5081+
- description: ID of the virtual cluster.
5082+
in: path
5083+
name: id
5084+
required: true
5085+
schema:
5086+
type: string
5087+
requestBody:
5088+
content:
5089+
application/json:
5090+
schema:
5091+
$ref: '#/components/schemas/UpdateServerlessClusterBody'
5092+
required: true
5093+
x-originalParamName: body
5094+
responses:
5095+
"202":
5096+
content:
5097+
application/json:
5098+
schema:
5099+
$ref: '#/components/schemas/ServerlessClusterUpdate'
5100+
description: Accepted
5101+
"404":
5102+
content:
5103+
application/json:
5104+
schema:
5105+
$ref: '#/components/schemas/rpc.Status'
5106+
description: Not Found
5107+
"500":
5108+
content:
5109+
application/json:
5110+
schema:
5111+
$ref: '#/components/schemas/rpc.Status'
5112+
description: Internal Server Error. Please reach out to support.
5113+
default:
5114+
content:
5115+
application/json:
5116+
schema:
5117+
$ref: '#/components/schemas/rpc.Status'
5118+
description: An unexpected error response.
5119+
summary: Update serverless cluster
5120+
tags:
5121+
- Serverless Clusters
50765122
/v1/serverless/region:
50775123
get:
50785124
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)