Download OpenAPI specification:Download
Note
This documents the collection of Confluent Cloud APIs. Each API documents its lifecycle phase. APIs marked as Early Access or Preview are not ready for production usage. We're currently working with a select group of customers to get feedback and iterate on these APIs.Confluent Cloud APIs are a core building block of Confluent Cloud. You can use the APIs to manage your own account or to integrate Confluent into your product.
Most of the APIs are organized around REST and the resources which make up Confluent Cloud. The APIs have predictable resource-oriented URLs, transport data using JSON, and use standard HTTP verbs, response codes, authentication, and design principles.
Note
This section describes the object model for many Confluent Cloud APIs, but not all. The Connect v1 API group has a different object model. You can review the example request and response bodies in Connect v1 API to see its object model.Confluent Cloud APIs are primarily designed to be declarative and intent-oriented. In other words, tell the API what you want (for example, throughput or SLOs) and it will figure out how to make it happen (for example, cluster sizing). A Confluent object acts as a "record of intent" — after you create the object, Confluent Cloud will work tirelessly in the background to ensure that the object exists as specified.
Confluent APIs represent objects in JSON with media-type application/json
.
Many objects follow a model consisting of spec
and status
. An object's spec
tells
Confluent the desired state (specification) of the resource. The object may not be
immediately available or changes may not be immediately applied. For this reason,
many objects also have a status
property that provides info about the
current state of the resource. Confluent Cloud is continuously and actively managing
each resource's current state to match it's desired state.
All Confluent objects share a set of common properties:
api_version
field indicating their API version.kind
field indicating the kind of object it is.id
field,
and should be treated as an opaque string unless otherwise specified.There are a number of other standard properties and that you'll encounter used by many API objects. And of course, objects have plenty of non-standard fields that are specific to each object kind... this is what makes them interesting!
Confluent uses API keys and JSON Web Tokens (JWTs) to integrate your applications and workflows to your Confluent Cloud resources using the Confluent Cloud REST APIs. Your applications and workflows must be authenticated and authorized in order to access and manage Confluent Cloud resources.
You can create and manage your API keys using the Confluent Cloud Console or Confluent CLI. For more information, see Use API Keys to Control Access in Confluent Cloud.
Confluent Cloud uses the following two categories of API keys:
Each Confluent Cloud API key is associated with a principal (specific user or service account) and inherits the permissions granted to the owner.
Armageddon
is granted ACLs on Kafka cluster
neptune
, then a Kafka API Key for neptune
owned by Armageddon
will have
these ACLs enforced.Confluent Cloud API keys grant access to Confluent Cloud resources, so keep them secure! Do not share your API keys and secrets in publicly-accessible locations, such as GitHub or client-side code.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
To use an API key, you must send it in an Authorization: Basic {credentials}
header.
Remember that HTTP Basic authentication requires you to provide your credentials as
the API key ID and associated API secret separated by a colon and encoded using Base64
format. For example, if your API key ID is ABCDEFGH123456789
and the API key Secret
is XNCIW93I2L1SQPJSJ823K1LS902KLDFMCZPWEO
, then the authorization header is:
Authorization: Basic QUJDREVGR0gxMjM0NTY3ODk6WE5DSVc5M0kyTDFTUVBKU0o4MjNLMUxTOTAyS0xERk1DWlBXRU8=
You can generate this header example from the API key:
macOS:
$ echo -n "ABCDEFGH123456789:XNCIW93I2L1SQPJSJ823K1LS902KLDFMCZPWEO" | base64
Linux:
$ echo -n "ABCDEFGH123456789:XNCIW93I2L1SQPJSJ823K1LS902KLDFMCZPWEO" | base64 -w 0
To find out if an API operation supports Cloud API Keys, look in the AUTHORIZATIONS
listing for cloud-api-key
.
To find out if an API operation supports resource-specific API Keys, look in the AUTHORIZATIONS
listing for resource-api-key
.
You can use OAuth/OIDC support for Confluent Cloud to authenticate and authorize access to applications and workloads for the following Confluent Cloud REST APIs:
Alternatively, to find out if an API operation supports external tokens, look in the AUTHORIZATIONS
listing for external-access-token
.
Confluent Security Token Service (STS) issues access tokens (confluent-sts-access-token
)
by exchanging an external token (external-access-token
) for a confluent-sts-access-token
. You can use
Confluent STS tokens to authenticate to Confluent Cloud APIs that support the
confluent-sts-access-token
notation.
To find out if an API operation supports Confluent STS tokens, look in the AUTHORIZATIONS
listing for confluent-sts-access-token
.
Approved partners can fetch Partner tokens (confluent-partner-access-token
) that validate their identity
and grant access to the Partner API (partner/v2
), which lets them sign up
an organization on behalf of a customer, manage entitlements (create, read, and list),
and read or list organizations they have signed up.
To find out an API operation supports Partner tokens, look in the AUTHORIZATIONS
listing for confluent-partner-access-token
.
Authenticate with OAuth 2.0. Currently this is only supported for partner APIs.
clientCredentials
/oauth2/token
partner:alter
- enables partners to alter entitlements
partner:create
- enables partners to create entitlements and signup on behalf of customers
partner:delete
- enables partners to delete entitlements and organizations
partner:describe
- enables partners to read and list entitlements and organizations
Note
This section describes the structure of error responses for many Confluent Cloud APIs, but not all. The Connect v1 API group has a different set of structures for error responses. Please review the example request and response bodies in the Connect v1 API documentation below to see its error behaviour.Confluent uses conventional HTTP status codes to indicate the success or failure of an API request.
Failures follow a standard model to tell you about what went wrong. They may include one or more error objects with the following fields:
Field | Type | Description |
---|---|---|
id* | UUID | A unique identifier for this particular occurrence of the problem. |
status | String | The HTTP status code applicable to this problem. |
code | String | An application-specific error code. |
title | String | A short, human-readable summary of the problem that should not change from occurrence to occurrence of the problem, except for purposes of localization. |
detail* | String | A human-readable explanation specific to this occurrence of the problem. Like title, this field’s value can be localized. |
source | Object | An object that references the source of the error, and optionally includes any of the following members: |
pointer | String | A JSON Pointer to the associated entity in the request document (e.g. "/spec/title" for a specific attribute). |
parameter | String | A string indicating which URI query parameter caused the error. |
meta | Object | A meta object that contains non-standard meta-information about the error. |
resolution | String | Instructions for the end-user for correcting the error. |
* indicates a required field
All errors include an id
and some detail
message. The id
is a unique identifier — use it
when you're working with Confluent support to debug a problem with a specific API call. The
detail
describes what went wrong.
Some errors that could be handled programmatically (e.g., a Kafka cluster config is invalid)
may include an error code
that briefly explains the error reported.
Validation issues and similar errors include a source
which tells you exactly
what in the request was responsible for the error.
For example, a failure may look like
{
"errors": [{
"status": "422",
"code": "invalid_configuration",
"id": "30ce6058-87da-11e4-b116-123b93f75cba",
"title": "The Kafka cluster configuration is invalid",
"detail": "The property '/cluster/storage_size' of type string did not match the following type: integer",
"source": {
"pointer": "/cluster/storage_size"
}
}]
}
If a request fails validation, it will return an HTTP 422 Unprocessable Entity
with a list of fields that failed validation.
Note
This section describes the pagination behavior of “list” operations for many Confluent Cloud APIs, but not all. The Connect v1 API list operations do not support pagination.All API resources have support for bulk reads via "list" API operations. For example, you can "list Kafka clusters", "list api keys", and "list environments". These "list" operations require pagination; by requesting smaller subsets of data, API clients receive a response much faster than requesting the entire, potentially large, data set.
All "list" operations follow the same pattern with the following parameters:
page_size
– client-provided max number of items per page, only valid on the first request.page_token
– server-generated token used for traversing through the result set.A paginated response may include any of the following pagination links. API clients may follow the respective link to page forward or backward through the result set as desired.
Link Relation | Description |
---|---|
next |
A link to the next page of results. A response that does not contain a next link does not have further data to fetch. |
prev |
A link to the previous page of results. A response that does not contain a prev link has no previous data. This link is optional for collections that cannot be traversed backward. |
first |
A link to the first page of results. This link is optional for collections that cannot be indexed directly to a given page. |
last |
A link to the last page of results. This link is optional for collections that cannot be indexed directly to a given page. |
API clients must treat pagination links and the page_token
parameter in particular as an opaque string.
An example paginated list response may look like
{
"api_version": "v2",
"kind": "KafkaClusterList",
"metadata": {
"next": "https://api.confluent.cloud/kafka-clusters?page_token=ABCDEFGHIJKLMNOP1234567890"
}
"data": [
{
"metadata": {
"id": "lkc-abc123",
"self": "https://api.confluent.cloud/kafka-clusters/lkc-abc123",
"resource_name": "crn://confluent.cloud/kafka=lkc-abc123",
}
"spec": {
"display_name": "My Kafka Cluster",
<snip>
},
"status": {
"phase": "RUNNING",
<snip>
}
},
<snip>
]
}
To protect the stability of the API and keep it available to all users, Confluent employs multiple safeguards. If you send too many requests in quick succession or perform too many concurrent operations, you may be throttled or have your request rejected with an error.
When a rate limit is breached, an HTTP 429 Too Many Requests
error is
returned. The following headers are sent back to provide assistance in dealing
with rate limits. Note that headers are not returned for a 429
error response with
Kafka REST API (v3).
Header | Description |
---|---|
X-RateLimit-Limit |
The maximum number of requests you're permitted to make per time period. |
X-RateLimit-Reset |
The relative time in seconds until the current rate limit window resets. |
Retry-After |
The number of seconds to wait until the rate limit window resets. Only sent when the rate limit is reached. |
X-RateLimit-Remaining |
The number of requests remaining in the current rate-limit window. Important: This differs from Github and Twitter's same-named header which uses UTC epoch seconds. We use relative time to avoid client/server time synchronization issues. |
Confluent enforces multiple kinds of limits, including request-rate and concurrency limits, both per user and organization-wide. Unauthenticated requests are associated with the originating IP address, not the user making requests.
Integrations should gracefully handle these limits by watching for 429
error responses and
building in a retry mechanism. This mechanism should follow a capped exponential backoff policy to
prevent retry amplification
("retry storms") and also introduce some randomness ("jitter") to avoid the
thundering herd effect.
If you’re running into this error and think you need a higher rate limit, contact Confluent at support@confluent.io.
Most resources have multiple identifiers:
id
is the "natural identifier" for an object. It is only unique within its parent resource.
The id
is unique across time: the ID will not be reclaimed and reused after an object is deleted.resource_name
is a Uniform Resource Identifier (URI) that is globally unique across all resources.
This encompasses all parent resource kind
s and id
s necessary to uniquely identify a particular
instance of this object kind
. Because it uses object id
s, the CRN will not be reclaimed and
reused after an object is deleted. It is represented as a Confluent Resource Name (see below). self
is a Uniform Resource Locator (URL) at which an object can be addressed.
This URL encodes the service location, API version, and other particulars necessary to
locate the resource at a point in time.To see how these relate to each other, consider KafkaBroker
with broker.id=2
in a KafkaCluster
in Confluent Cloud identified as lkc-xsi8201
. In such an example, the KafkaBroker
has id=2
,
the resource_name
is crn://confluent.cloud/kafka=lkc-xsi8201/broker=2
and the self
URL may be
something like https://pkc-8wlk2n.us-west-2.aws.confluent.cloud
. Note that different identifiers
carry different information for different purposes, but the resource_name
is the most complete
and canonical identifier.
Confluent Resource Names (CRNs) are used to uniquely identify all Confluent resources.
A CRN is a valid URI having an "authority" of confluent.cloud
or a self-managed
metadata service URL, followed by the minimal hierarchical set of key-value
pairs necessary to uniquely identify a resource.
Here are some examples for basic resources in Confluent Cloud:
Resource | Example CRN |
---|---|
Organization | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a |
Environment | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy |
User | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/user=u-rst9876 |
API Key | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/user=u-zyx98/api-key=ABCDEFG9876543210 |
Service Account | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/service-account=sa-abc1234 |
Kafka Cluster | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/cloud-cluster=lkc-123abc/kafka=lkc-123abc |
Kafka Topic | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/cloud-cluster=lkc-123abc/kafka=lkc-123abc/topic=my_kafka_topic |
Consumer Group | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/cloud-cluster=lkc-123abc/kafka=lkc-123abc/group=confluent_cli_consumer_123 |
Network | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/network=n-123abc |
Peering | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/network=n-123abc/peering=p-123abc |
Private Link Access | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/network=n-123abc/private-link-access=pla-123abc |
Transit Gateway Attachment | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/network=n-123abc/transit-gateway-attachment=tgwa-123abc |
Schema Registry Cluster | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/schema-registry=lsrc-789qw |
Schema Subject | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/schema-registry=lsrc-789qw/subject=test |
KEK | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/schema-registry=lsrc-789qw//kek=test_kek |
Connector | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/cloud-cluster=lkc-123abc/connector=my_datagen_connector |
Provider Integration | crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/provider-integration=cspi-123j1 |
Data Type | Representation |
---|---|
Integers | Each API may specify the type as int32 or int64 . Note that many languages, including JavaScript, are limited to a max size of approx 2**53 and don't correctly handle large int64 values with their default JSON parser. |
Dates | RFC 3339 formatted string. UTC timezones are assumed, unless otherwise given. |
Times | RFC 3339 formatted string. UTC timezones are assumed, unless otherwise given. |
Durations | RFC 3339 formatted string. |
Periods | RFC 3339 formatted string. UTC timezones are assumed, unless otherwise given. |
Ranges | All ranges are represented using half-open intervals with naming conventions like [start_XXX, end_XXX) such as [start_time, end_time) . |
Enums | Most APIs use x-extensible-enum as an open-ended list of values. This improves compatibility compared with a standard enum which by definition represents a closed set. All enums have a 0 -valued entry which either serves as the default for common cases, or represents UNSPECIFIED when no default exists and results in an error. |
Confluent uses this set of standard properties to ensure common concepts use the same name and semantics across different APIs.
Name | Description |
---|---|
api_version | Many API objects have an api_version field indicating their API version. See the Object Model. |
kind | Many API objects have a kind field indicating the kind of object it is. See the Object Model. |
id | Many objects in the API will have an identifier, indicated via its id field, and should be treated as an opaque string unless otherwise specified. See the Object Model. |
name | Objects which support a client-provided unique identifier instead of a generated id will indicate this identifier via its name field. |
display_name | The human-readable display name of an API object. |
title | The official name of an API object, such as a company name. It should be treated as the formal version of display_name . |
description | One or more paragraphs of text description of an entity. |
created_at | The date and time the object was created, represented as a string in RFC 3339 format. |
updated_at | The date and time the object was last modified, represented as a string in RFC 3339 format. |
deleted_at | If present, the date and time after which the object was/will be deleted, represented as a string in RFC 3339 format. |
page_token | The pagination token in the List request. See Pagination. |
page_size | The pagination size in the List request. See Pagination. |
total_size | The total count of items in the list irrespective of pagination. See Pagination. |
spec | The desired state specification of the resource, as observed by Confluent Cloud. |
status | The current state of the resource, as observed by Confluent Cloud. |
Confluent APIs ensure stability for your integrations by avoiding the introduction of breaking changes to customers unexpectedly. Confluent will make non-breaking API changes without advance notice. Thus, API clients must follow the Compatibility Policy below to ensure your ingtegration remains stable. All APIs follow the API Lifecycle Policy described below, which describes the guarantees API clients can rely on.
Breaking changes will be widely communicated in advance in accordance with the Confluent Deprecation Policy. Confluent will provide timelines and a migration path for all API changes, where available. Be sure to subscribe to one or more communication channels so you don't miss any updates!
One exception to these guidelines is for critical security issues. Confluent will take any necessary actions to mitigate any critical security issue as soon as possible, which may include disabling the vulnerable functionality until a proper solution is available.
Do not consume any Confluent API unless it is documented in the API Reference. All undocumented endpoints should be considered private, subject to change without notice, and not covered by any agreements.
Note: The version in the URL (e.g. "v1" or "v2") is not a "major version" in the Semantic Versioning sense. It is a "generational version" or "meta version", as seen in APIs like Github API or the Stripe API.
Confluent APIs are divided into API Groups, such as the Cluster Management for Apache Kafka (CMK) API group, the Connect API group, and the Data Catalog API group. Each group has its own set of endpoints and resources, as well as its own API group version.
Because different API groups have different versions, there is no single version for the "Confluent Cloud API".
The latest version of the Connect API group may be connect/v1
, while the latest version of the CMK API group
may be cmk/v2
.
When a breaking change is introduced into one API group, Confluent will increase the API version for that API group only, leaving the other API groups' versions unchanged. This makes it easier for you to understand whether a given breaking change impacts your usage of the APIs.
During the Early Access and Preview periods, we have a few known issues.
Issue | Description | Proposed Resolution |
---|---|---|
Quota Exceeded | Some "Quota Exceeded" errors will be returned as HTTP 400 instead of HTTP 402 | Return 402 consistently for "Quota Exceeded" errors |
The following status labels are applicable to APIs, features, and SDK versions, based on the current support status of each:
An API is "Generally Available" unless explicitly marked otherwise.
Confluent Cloud APIs are governed by Confluent Cloud Upgrade Policy, which means that backward incompatible changes and deprecations will be made approximately once per year, and 180 days notice will be provided via email to all registered Confluent Cloud users.
An API version is backward compatible if a program written against the previous version of the API will continue to work the same way, without modification, against this version of the API.
Confluent considers the following changes to be backward compatible:
VARCHAR(255) COLLATE utf8_bin
column.lkc-
on Kafka cluster IDs).An API version is forward compatible if a program written against the next version of the API will continue to work the same way, without modification, against this version of the API.
In other words, a forward compatible API will accept input intended for a later version of itself.
Confluent does not guarantee the forward compatibility of the APIs, but Confluent does generally follow the guidelines given by the Robustness principle. This means that the API determines what to do with a request based only on the parts that it recognizes.
This is often referred to as the MUST IGNORE rule.
API clients must also follow the MUST IGNORE rule.
Additionally, there is a more subtle related rule called the MUST FORWARD rule. Any parts of a request that an API doesn't recognize must be forwarded unchanged.
PUT
requests in a read/modify/write operation.
(This isn't required for PATCH
partial updates, which is why Confluent APIs use PATCH
.)301
, 307
) instead of
directly returning the resource. Clients must handle HTTP-level redirects, and respect HTTP
headers (e.g. Location
).Confluent will announce deprecations at least 180 days in advance of a breaking change and will continue to maintain the deprecated APIs in their original form during this time.
Exceptions to this policy apply in case of critical security vulnerabilities or functional defects.
When a deprecation is announced, the details and any relevant migration information will be available on one or more of the following channels:
Confluent respects the meanings and behavior of HTTP status codes as defined in RFC2616 and elsewhere.
2xx
range indicate success3xx
range indicate redirection4xx
range indicate an error caused by the client request
(e.g., a required parameter was omitted, an invalid cluster configuration was provided, etc.)5xx
range indicate an error with Confluent's servers (these are rare)The various HTTP status codes that might be returned are listed below.
Code | Title | Description |
---|---|---|
200 | OK | Everything worked as expected. |
201 | Created | The resource was created. Follow the Location header. |
204 | No Content | Everything worked and there is no content to return. |
400 | Bad Request | The request was unacceptable, often due to malformed syntax, or a missing or malformed parameter. |
401 | Unauthorized | No valid credentials provided. or the credentials are unsuitable, invalid, or unauthorized. |
402 | Over Quota | The request was valid, but you've exceeded your plan quota or limits. |
404 | Not Found | The requested resource doesn't exist or you're unauthorized to know it exists. |
409 | Conflict | The request conflicts with another request (perhaps it already exists or was based on a stale version of data). |
422 | Validation Failed | The request was parsed correctly but failed some sort of validation. |
429 | Too Many Requests | Too many requests hit the API too quickly. Confluent recommends an exponential backoff of your requests. |
500, 502, 503, 504 | Server Errors | Something went wrong on Confluent's end. (These are rare.) |
This list is not exhaustive; other standard HTTP error codes may be used,
including 304
, 307
, 308
, 405
, 406
, 408
, 410
, and 415
.
For more details, see https://httpstatuses.com.
For Metrics APIs, see Confluent Cloud Metrics API.
ApiKey
objects represent access to different parts of Confluent Cloud. Some types
of API keys represent access to a single cluster/resource such as a Kafka cluster,
Schema Registry cluster or a ksqlDB cluster. Cloud API Keys represent access to resources within an organization
that are not tied to a specific cluster, such as the Org API, IAM API, Metrics API or Connect API.
The API allows you to list, create, update and delete your API Keys.
Related guide: API Keys in Confluent Cloud.
api_version | string Value: "iam/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "ApiKey" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (iam.v2.ApiKeySpec) The desired state of the Api Key |
{- "api_version": "iam/v2",
- "kind": "ApiKey",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/api-key=ak-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "secret": "R15hoiDIq8Nxu/lY4mPO3DwAVIfU5W7OI+efsB607mLgHTnVW5XJGVqX2ysDx987",
- "display_name": "CI kafka access key",
- "description": "This API key provides kafka access to cluster x",
- "owner": {
- "id": "string",
- "api_version": "string",
- "kind": "string"
}, - "resource": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
apikeys_per_org |
API Keys in one Confluent Cloud organization |
Retrieve a sorted, filtered, paginated list of all API keys.
This can show all keys for a single owner (across resources - Kafka clusters), or all keys for a single
resource (across owners). If no owner
or resource
filters are specified, returns all API Keys in the
organization. You will only see the keys that are accessible to the account making the API request.
spec.owner | string (SearchFilter) Filter the results by exact match for spec.owner. |
spec.resource | string (SearchFilter) Filter the results by exact match for spec.resource. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/api-keys?spec.owner=SOME_STRING_VALUE&spec.resource=SOME_STRING_VALUE' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "ApiKeyList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "iam/v2",
- "kind": "ApiKey",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/api-key=ak-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "secret": "R15hoiDIq8Nxu/lY4mPO3DwAVIfU5W7OI+efsB607mLgHTnVW5XJGVqX2ysDx987",
- "display_name": "CI kafka access key",
- "description": "This API key provides kafka access to cluster x",
- "owner": {
- "id": "u-a83k9b",
- "api_version": "string",
- "kind": "string"
}, - "resource": {
- "id": "lkc-c29js0",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}
}
]
}
required | object The desired state of the Api Key |
{- "spec": {
- "display_name": "CI kafka access key",
- "description": "This API key provides kafka access to cluster x",
- "owner": {
- "id": "u-a83k9b"
}, - "resource": {
- "id": "lkc-c29js0",
- "environment": "string"
}
}
}
{- "api_version": "iam/v2",
- "kind": "ApiKey",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/api-key=ak-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "secret": "R15hoiDIq8Nxu/lY4mPO3DwAVIfU5W7OI+efsB607mLgHTnVW5XJGVqX2ysDx987",
- "display_name": "CI kafka access key",
- "description": "This API key provides kafka access to cluster x",
- "owner": {
- "id": "u-a83k9b",
- "api_version": "string",
- "kind": "string"
}, - "resource": {
- "id": "lkc-c29js0",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}
}
id required | string The unique identifier for the API key. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/api-keys/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "ApiKey",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/api-key=ak-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "secret": "R15hoiDIq8Nxu/lY4mPO3DwAVIfU5W7OI+efsB607mLgHTnVW5XJGVqX2ysDx987",
- "display_name": "CI kafka access key",
- "description": "This API key provides kafka access to cluster x",
- "owner": {
- "id": "u-a83k9b",
- "api_version": "string",
- "kind": "string"
}, - "resource": {
- "id": "lkc-c29js0",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}
}
id required | string The unique identifier for the API key. |
object (iam.v2.ApiKeySpecUpdate) The desired state of the Api Key |
{- "spec": {
- "display_name": "CI kafka access key",
- "description": "This API key provides kafka access to cluster x"
}
}
{- "api_version": "iam/v2",
- "kind": "ApiKey",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/api-key=ak-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "secret": "R15hoiDIq8Nxu/lY4mPO3DwAVIfU5W7OI+efsB607mLgHTnVW5XJGVqX2ysDx987",
- "display_name": "CI kafka access key",
- "description": "This API key provides kafka access to cluster x",
- "owner": {
- "id": "u-a83k9b",
- "api_version": "string",
- "kind": "string"
}, - "resource": {
- "id": "lkc-c29js0",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}
}
id required | string The unique identifier for the API key. |
curl --request DELETE \ --url 'https://api.confluent.cloud/iam/v2/api-keys/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
User
objects represent individuals who may access your Confluent resources.
The API allows you to retrieve, update, and delete individual users, as well as list of all your users. This API cannot be used to create new user accounts.
Related guide: Users in Confluent Cloud.
api_version | string Value: "iam/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "User" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
string <email> The user's email address | |
full_name | string The user's full name |
auth_type | string extensible-enum: ["AUTH_TYPE_LOCAL","AUTH_TYPE_SSO"] The user's authentication method |
{- "api_version": "iam/v2",
- "kind": "User",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/user=u-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "email": "marty.mcfly@example.com",
- "full_name": "Marty McFly",
- "auth_type": "AUTH_TYPE_SSO"
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
users_per_org |
Users in one Confluent Cloud organization |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/iam/v2/users \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "UserList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "iam/v2",
- "kind": "User",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/user=u-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "email": "marty.mcfly@example.com",
- "full_name": "Marty McFly",
- "auth_type": "AUTH_TYPE_SSO"
}
]
}
id required | string The unique identifier for the user. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/users/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "User",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/user=u-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "email": "marty.mcfly@example.com",
- "full_name": "Marty McFly",
- "auth_type": "AUTH_TYPE_SSO"
}
id required | string The unique identifier for the user. |
full_name | string The user's full name |
{- "full_name": "Marty McFly"
}
{- "api_version": "iam/v2",
- "kind": "User",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/user=u-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "email": "marty.mcfly@example.com",
- "full_name": "Marty McFly",
- "auth_type": "AUTH_TYPE_SSO"
}
id required | string The unique identifier for the user. |
curl --request DELETE \ --url 'https://api.confluent.cloud/iam/v2/users/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
ServiceAccount
objects are typically used to represent applications and other non-human principals
that may access your Confluent resources.
The API allows you to create, retrieve, update, and delete individual service accounts, as well as list all your service accounts.
Related guide: Service Accounts in Confluent Cloud.
api_version | string Value: "iam/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "ServiceAccount" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
display_name | string A human-readable name for the Service Account |
description | string A free-form description of the Service Account |
{- "api_version": "iam/v2",
- "kind": "ServiceAccount",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/service-account=sa-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "DeLorean_auto_repair",
- "description": "Doc's repair bot for the DeLorean"
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
service_accounts_per_org |
Service Accounts in one Confluent Cloud organization |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/iam/v2/service-accounts \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "ServiceAccountList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "iam/v2",
- "kind": "ServiceAccount",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/service-account=sa-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "DeLorean_auto_repair",
- "description": "Doc's repair bot for the DeLorean"
}
]
}
display_name required | string A human-readable name for the Service Account |
description | string A free-form description of the Service Account |
{- "display_name": "DeLorean_auto_repair",
- "description": "Doc's repair bot for the DeLorean"
}
{- "api_version": "iam/v2",
- "kind": "ServiceAccount",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/service-account=sa-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "DeLorean_auto_repair",
- "description": "Doc's repair bot for the DeLorean"
}
id required | string The unique identifier for the service account. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/service-accounts/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "ServiceAccount",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/service-account=sa-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "DeLorean_auto_repair",
- "description": "Doc's repair bot for the DeLorean"
}
id required | string The unique identifier for the service account. |
description | string A free-form description of the Service Account |
{- "description": "Doc's repair bot for the DeLorean"
}
{- "api_version": "iam/v2",
- "kind": "ServiceAccount",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/service-account=sa-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "DeLorean_auto_repair",
- "description": "Doc's repair bot for the DeLorean"
}
id required | string The unique identifier for the service account. |
curl --request DELETE \ --url 'https://api.confluent.cloud/iam/v2/service-accounts/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Invitation
objects represent invitations to invite users to join your organizations in Confluent Cloud.
The API allows you to list all your invitations, as well as create, read, and delete a specified invitation.
Related guide: User invitations in Confluent Cloud.
api_version | string Value: "iam/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Invitation" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
string <email> The user/invitee's email address | |
auth_type | string extensible-enum: ["AUTH_TYPE_LOCAL","AUTH_TYPE_SSO"] The user/invitee's authentication type. Note that only the OrganizationAdmin role can invite AUTH_TYPE_LOCAL users to SSO organizations. The user's auth_type is set as AUTH_TYPE_SSO by default if the organization has SSO enabled. Otherwise, the user's auth_type is AUTH_TYPE_LOCAL by default. |
status | string extensible-enum: ["INVITE_STATUS_SENT","INVITE_STATUS_STAGED","INVITE_STATUS_ACCEPTED","INVITE_STATUS_EXPIRED","INVITE_STATUS_DEACTIVATED"] The status of invitations |
accepted_at | string or null <date-time> The timestamp that the invitation was accepted |
expires_at | string <date-time> The timestamp that the invitation will expire |
object The user/invitee | |
object The invitation creator |
{- "api_version": "iam/v2",
- "kind": "Invitation",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/invitation=i-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "email": "johndoe@confluent.io",
- "auth_type": "AUTH_TYPE_SSO",
- "status": "INVITE_STATUS_SENT",
- "accepted_at": "2022-07-06T17:21:33Z",
- "expires_at": "2022-07-07T17:22:39Z",
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
invitations_per_org |
Invitations in a Confluent Cloud organization |
string (SearchFilter) Example: email=johndoe@confluent.io Filter the results by exact match for email. | |
status | string (SearchFilter) Example: status=INVITE_STATUS_SENT Filter the results by exact match for status. |
user | string (SearchFilter) Example: user=u-j93dy8 Filter the results by exact match for user. |
creator | string (SearchFilter) Example: creator=u-m2r9o7 Filter the results by exact match for creator. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/invitations?email=johndoe@confluent.io&status=INVITE_STATUS_SENT&user=u-j93dy8&creator=u-m2r9o7' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "InvitationList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "iam/v2",
- "kind": "Invitation",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/invitation=i-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "email": "johndoe@confluent.io",
- "auth_type": "AUTH_TYPE_SSO",
- "status": "INVITE_STATUS_SENT",
- "accepted_at": "2022-07-06T17:21:33Z",
- "expires_at": "2022-07-07T17:22:39Z",
}
]
}
Make a request to create an invitation.
The newly invited user will not have any permissions. Give the user permission by assigning them to one or
more roles by creating
role bindings
for the created user
.
email required | string <email> The user/invitee's email address |
auth_type | string extensible-enum: ["AUTH_TYPE_LOCAL","AUTH_TYPE_SSO"] The user/invitee's authentication type. Note that only the OrganizationAdmin role can invite AUTH_TYPE_LOCAL users to SSO organizations. The user's auth_type is set as AUTH_TYPE_SSO by default if the organization has SSO enabled. Otherwise, the user's auth_type is AUTH_TYPE_LOCAL by default. |
{- "email": "johndoe@confluent.io",
- "auth_type": "AUTH_TYPE_SSO"
}
{- "api_version": "iam/v2",
- "kind": "Invitation",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/invitation=i-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "email": "johndoe@confluent.io",
- "auth_type": "AUTH_TYPE_SSO",
- "status": "INVITE_STATUS_SENT",
- "accepted_at": "2022-07-06T17:21:33Z",
- "expires_at": "2022-07-07T17:22:39Z",
}
id required | string The unique identifier for the invitation. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/invitations/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "Invitation",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/invitation=i-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "email": "johndoe@confluent.io",
- "auth_type": "AUTH_TYPE_SSO",
- "status": "INVITE_STATUS_SENT",
- "accepted_at": "2022-07-06T17:21:33Z",
- "expires_at": "2022-07-07T17:22:39Z",
}
id required | string The unique identifier for the invitation. |
curl --request DELETE \ --url 'https://api.confluent.cloud/iam/v2/invitations/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
api_version | string Value: "iam/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "IpGroup" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
group_name | string [ 1 .. 64 ] characters A human readable name for an IP Group. Can contain any unicode letter or number, the ASCII space character, or
any of the following special characters: |
cidr_blocks | Array of strings non-empty A list of CIDRs. |
{- "api_version": "iam/v2",
- "kind": "IpGroup",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/ip-group=ipg-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "group_name": "CorpNet",
- "cidr_blocks": [
- "192.168.0.0/24",
- "192.168.7.0/24"
]
}
page_size | integer <= 100 Default: 25 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/iam/v2/ip-groups \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "IpGroupList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "iam/v2",
- "kind": "IpGroup",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/ip-group=ipg-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "group_name": "CorpNet",
- "cidr_blocks": [
- "192.168.0.0/24",
- "192.168.7.0/24"
]
}
]
}
group_name required | string [ 1 .. 64 ] characters A human readable name for an IP Group. Can contain any unicode letter or number, the ASCII space character, or
any of the following special characters: |
cidr_blocks required | Array of strings non-empty A list of CIDRs. |
{- "group_name": "CorpNet",
- "cidr_blocks": [
- "192.168.0.0/24",
- "192.168.7.0/24"
]
}
{- "api_version": "iam/v2",
- "kind": "IpGroup",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/ip-group=ipg-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "group_name": "CorpNet",
- "cidr_blocks": [
- "192.168.0.0/24",
- "192.168.7.0/24"
]
}
id required | string The unique identifier for the IP group. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/ip-groups/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "IpGroup",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/ip-group=ipg-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "group_name": "CorpNet",
- "cidr_blocks": [
- "192.168.0.0/24",
- "192.168.7.0/24"
]
}
id required | string The unique identifier for the IP group. |
group_name | string [ 1 .. 64 ] characters A human readable name for an IP Group. Can contain any unicode letter or number, the ASCII space character, or
any of the following special characters: |
cidr_blocks | Array of strings non-empty A list of CIDRs. |
{- "group_name": "CorpNet",
- "cidr_blocks": [
- "192.168.0.0/24",
- "192.168.7.0/24"
]
}
{- "api_version": "iam/v2",
- "kind": "IpGroup",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/ip-group=ipg-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "group_name": "CorpNet",
- "cidr_blocks": [
- "192.168.0.0/24",
- "192.168.7.0/24"
]
}
id required | string The unique identifier for the IP group. |
curl --request DELETE \ --url 'https://api.confluent.cloud/iam/v2/ip-groups/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
IP Filter
objects are bindings between IP Groups and Confluent resource(s).
For example, a binding between "CorpNet" and "Management APIs" will enforce that
access must come from one of the CIDR blocks associated with CorpNet.
If there are multiple IP filters bound to a resource, a request matching any of the CIDR blocks
for any of the IP Group will allow the request.
If there are no IP Filters for a resource, then access will be granted to requests originating
from any IP Address.
api_version | string Value: "iam/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "IpFilter" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
filter_name | string [ 1 .. 64 ] characters A human readable name for an IP Filter. Can contain any unicode letter or number, the ASCII space character,
or any of the following special characters: |
resource_group | string Scope of resources covered by this IP filter. The only resource_group currently available is "management". |
Array of objects (GlobalObjectReference) non-empty A list of IP Groups. |
{- "api_version": "iam/v2",
- "kind": "IpFilter",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/ip-filter=ipf-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "filter_name": "Management API Rules",
- "resource_group": "management",
- "ip_groups": [
]
}
page_size | integer <= 100 Default: 25 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/iam/v2/ip-filters \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "IpFilterList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "iam/v2",
- "kind": "IpFilter",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/ip-filter=ipf-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "filter_name": "Management API Rules",
- "resource_group": "management",
- "ip_groups": [
]
}
]
}
filter_name required | string [ 1 .. 64 ] characters A human readable name for an IP Filter. Can contain any unicode letter or number, the ASCII space character,
or any of the following special characters: |
resource_group required | string Scope of resources covered by this IP filter. The only resource_group currently available is "management". |
required | Array of objects (GlobalObjectReference) non-empty A list of IP Groups. |
{- "filter_name": "Management API Rules",
- "resource_group": "management",
- "ip_groups": [
- {
- "id": "string"
}
]
}
{- "api_version": "iam/v2",
- "kind": "IpFilter",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/ip-filter=ipf-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "filter_name": "Management API Rules",
- "resource_group": "management",
- "ip_groups": [
]
}
id required | string The unique identifier for the IP filter. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/ip-filters/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "IpFilter",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/ip-filter=ipf-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "filter_name": "Management API Rules",
- "resource_group": "management",
- "ip_groups": [
]
}
id required | string The unique identifier for the IP filter. |
filter_name | string [ 1 .. 64 ] characters A human readable name for an IP Filter. Can contain any unicode letter or number, the ASCII space character,
or any of the following special characters: |
resource_group | string Scope of resources covered by this IP filter. The only resource_group currently available is "management". |
Array of objects (GlobalObjectReference) non-empty A list of IP Groups. |
{- "filter_name": "Management API Rules",
- "resource_group": "management",
- "ip_groups": [
- {
- "id": "string"
}
]
}
{- "api_version": "iam/v2",
- "kind": "IpFilter",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/ip-filter=ipf-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "filter_name": "Management API Rules",
- "resource_group": "management",
- "ip_groups": [
]
}
id required | string The unique identifier for the IP filter. |
curl --request DELETE \ --url 'https://api.confluent.cloud/iam/v2/ip-filters/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
A role binding grants a Principal a role on resources that match a pattern.
The API allows you to perform create, delete, and list operations on role bindings.
Related guide: Role-Based Access Control (RBAC).
api_version | string Value: "iam/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "RoleBinding" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
principal | string(^User:.+$) The principal User to bind the role to |
role_name | string The name of the role to bind to the principal |
crn_pattern | string <uri> ^crn://.+$ A CRN that specifies the scope and resource patterns necessary for the role to bind |
{- "api_version": "iam/v2",
- "kind": "RoleBinding",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/role-binding=rb-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "principal": "User:u-111aaa",
- "role_name": "CloudClusterAdmin",
- "crn_pattern": "crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa"
}
principal | string (SearchFilter) Example: principal=User:u-111aaa Filter the results by exact match for principal. |
role_name | string (SearchFilter) Example: role_name=CloudClusterAdmin Filter the results by exact match for role_name. |
crn_pattern required | string (SearchFilter) Example: crn_pattern=crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa Filter the results by a partial search of crn_pattern. |
page_size | integer <= 1000 Default: 1000 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/role-bindings?principal=User:u-111aaa&role_name=CloudClusterAdmin&crn_pattern=crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "RoleBindingList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "iam/v2",
- "kind": "RoleBinding",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/role-binding=rb-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "principal": "User:u-111aaa",
- "role_name": "CloudClusterAdmin",
- "crn_pattern": "crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa"
}
]
}
principal required | string(^User:.+$) The principal User to bind the role to |
role_name required | string The name of the role to bind to the principal |
crn_pattern required | string <uri> ^crn://.+$ A CRN that specifies the scope and resource patterns necessary for the role to bind |
{- "principal": "User:u-111aaa",
- "role_name": "CloudClusterAdmin",
- "crn_pattern": "crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa"
}
{- "api_version": "iam/v2",
- "kind": "RoleBinding",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/role-binding=rb-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "principal": "User:u-111aaa",
- "role_name": "CloudClusterAdmin",
- "crn_pattern": "crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa"
}
id required | string The unique identifier for the role binding. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/role-bindings/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "RoleBinding",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/role-binding=rb-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "principal": "User:u-111aaa",
- "role_name": "CloudClusterAdmin",
- "crn_pattern": "crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa"
}
id required | string The unique identifier for the role binding. |
curl --request DELETE \ --url 'https://api.confluent.cloud/iam/v2/role-bindings/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "RoleBinding",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/role-binding=rb-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "principal": "User:u-111aaa",
- "role_name": "CloudClusterAdmin",
- "crn_pattern": "crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-aaa1111/cloud-cluster=lkc-1111aaa"
}
IdentityProvider
objects represent external OAuth-OIDC providers in Confluent Cloud.
The API allows you to list, create, read, update, and delete your Identity Provider.
Related guide: OAuth for Confluent Cloud.
api_version | string Value: "iam/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "IdentityProvider" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
display_name | string The human-readable name of the OAuth identity provider. |
description | string A description of the identity provider. |
state | string extensible-enum: ["ENABLED"] The current state of the identity provider. |
issuer | string <uri> A publicly accessible URL uniquely identifying the OAuth identity provider authorized to issue access tokens. |
jwks_uri | string <uri> A publicly accessible JSON Web Key Set (JWKS) URI for the OAuth identity provider. JWKS provides a set of crypotgraphic keys used to verify the authenticity and integrity of JSON Web Tokens (JWTs) issued by the OAuth identity provider. |
Array of objects (iam.v2.JwksObject) The JWKS issued by the OAuth identity provider. Only |
{- "api_version": "iam/v2",
- "kind": "IdentityProvider",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/identity-provider=ip-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My OIDC Provider",
- "description": "string",
- "state": "ENABLED",
- "keys": [
- {
- "kty": "RSA",
- "kid": "nOo3ZDrODXEK1jKWhXslHR_KXEg",
- "alg": "RS256",
- "use": "sig",
- "n": "string",
- "e": "AQAB"
}
]
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
identity_providers_per_org |
Number of OAuth identity providers per organization |
public_keys_per_provider |
Number of public keys saved per identity provider |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/iam/v2/identity-providers \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "IdentityProviderList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "iam/v2",
- "kind": "IdentityProvider",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/identity-provider=ip-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My OIDC Provider",
- "description": "string",
- "state": "ENABLED",
- "keys": [
- {
- "kty": "RSA",
- "kid": "nOo3ZDrODXEK1jKWhXslHR_KXEg",
- "alg": "RS256",
- "use": "sig",
- "n": "string",
- "e": "AQAB"
}
]
}
]
}
display_name required | string The human-readable name of the OAuth identity provider. |
description required | string A description of the identity provider. |
issuer required | string <uri> A publicly accessible URL uniquely identifying the OAuth identity provider authorized to issue access tokens. |
jwks_uri required | string <uri> A publicly accessible JSON Web Key Set (JWKS) URI for the OAuth identity provider. JWKS provides a set of crypotgraphic keys used to verify the authenticity and integrity of JSON Web Tokens (JWTs) issued by the OAuth identity provider. |
{- "display_name": "My OIDC Provider",
- "description": "string",
}
{- "api_version": "iam/v2",
- "kind": "IdentityProvider",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/identity-provider=ip-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My OIDC Provider",
- "description": "string",
- "state": "ENABLED",
- "keys": [
- {
- "kty": "RSA",
- "kid": "nOo3ZDrODXEK1jKWhXslHR_KXEg",
- "alg": "RS256",
- "use": "sig",
- "n": "string",
- "e": "AQAB"
}
]
}
id required | string The unique identifier for the identity provider. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/identity-providers/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "IdentityProvider",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/identity-provider=ip-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My OIDC Provider",
- "description": "string",
- "state": "ENABLED",
- "keys": [
- {
- "kty": "RSA",
- "kid": "nOo3ZDrODXEK1jKWhXslHR_KXEg",
- "alg": "RS256",
- "use": "sig",
- "n": "string",
- "e": "AQAB"
}
]
}
id required | string The unique identifier for the identity provider. |
display_name | string The human-readable name of the OAuth identity provider. |
description | string A description of the identity provider. |
issuer | string <uri> A publicly accessible URL uniquely identifying the OAuth identity provider authorized to issue access tokens. |
jwks_uri | string <uri> A publicly accessible JSON Web Key Set (JWKS) URI for the OAuth identity provider. JWKS provides a set of crypotgraphic keys used to verify the authenticity and integrity of JSON Web Tokens (JWTs) issued by the OAuth identity provider. |
{- "display_name": "My OIDC Provider",
- "description": "string",
}
{- "api_version": "iam/v2",
- "kind": "IdentityProvider",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/identity-provider=ip-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My OIDC Provider",
- "description": "string",
- "state": "ENABLED",
- "keys": [
- {
- "kty": "RSA",
- "kid": "nOo3ZDrODXEK1jKWhXslHR_KXEg",
- "alg": "RS256",
- "use": "sig",
- "n": "string",
- "e": "AQAB"
}
]
}
id required | string The unique identifier for the identity provider. |
curl --request DELETE \ --url 'https://api.confluent.cloud/iam/v2/identity-providers/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
JWKS
objects represent public key sets for a specific OAuth/OpenID Connect provider within
Confluent Cloud.
The API allows you to refresh JWKS public key data.
Related guide: OAuth for Confluent Cloud.
api_version | string Value: "iam/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Jwks" Kind defines the object this REST resource represents. |
object (iam.v2.JwksSpec) The desired state of the Jwks | |
object (iam.v2.JwksStatus) The status of the Jwks |
{- "api_version": "iam/v2",
- "kind": "Jwks",
- "spec": {
- "jwks_status": "REFRESHED"
}, - "status": {
- "jwks_status": "REFRESHED",
- "jwks_last_refresh_at": "2006-01-02T15:04:05-07:00"
}
}
provider_id required | string The Provider |
object (iam.v2.JwksSpec) The desired state of the Jwks |
{- "spec": {
- "jwks_status": "REFRESHED"
}
}
{- "api_version": "iam/v2",
- "kind": "Jwks",
- "spec": {
- "jwks_status": "REFRESHED"
}, - "status": {
- "jwks_status": "REFRESHED",
- "jwks_last_refresh_at": "2006-01-02T15:04:05-07:00"
}
}
IdentityPool
objects represent groups of identities tied to a given a IdentityProvider
that authorizes them to Confluent Cloud resources.
It provides a mapping functionality of your Identity Provider
user to a Confluent identity pool that
is then used to provide access to Confluent Resources.
Related guide: Use identity pools with your OAuth provider.
api_version | string Value: "iam/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "IdentityPool" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
display_name | string The name of the |
description | string A description of how this |
identity_claim | string The JSON Web Token (JWT) claim to extract the authenticating identity to Confluent resources from (see Registered Claim Names for more details). This appears in the audit log records, showing, for example, that "identity Z used identity pool X to access topic A". |
filter | string <= 300 characters A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your identity pool (see Set identity pool filters for more details). |
principal | string Represents the federated identity associated with this pool. |
state | string extensible-enum: ["ENABLED"] The current state of the identity pool |
{- "api_version": "iam/v2",
- "kind": "IdentityPool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/identity-pool=ip-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "identity_claim": "claims.sub",
- "filter": "claims.aud==\"confluent\" && claims.group!=\"invalid_group\"",
- "principal": "pool-abc",
- "state": "ENABLED"
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
identity_pools_per_provider |
Number of Identity Pools per Identity Provider |
provider_id required | string The Provider |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/identity-providers/{provider_id}/identity-pools' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "IdentityPoolList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "iam/v2",
- "kind": "IdentityPool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/identity-pool=ip-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "identity_claim": "claims.sub",
- "filter": "claims.aud==\"confluent\" && claims.group!=\"invalid_group\"",
- "principal": "pool-abc",
- "state": "ENABLED"
}
]
}
provider_id required | string The Provider |
display_name required | string The name of the |
description required | string A description of how this |
identity_claim required | string The JSON Web Token (JWT) claim to extract the authenticating identity to Confluent resources from (see Registered Claim Names for more details). This appears in the audit log records, showing, for example, that "identity Z used identity pool X to access topic A". |
filter required | string <= 300 characters A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your identity pool (see Set identity pool filters for more details). |
{- "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "identity_claim": "claims.sub",
- "filter": "claims.aud==\"confluent\" && claims.group!=\"invalid_group\""
}
{- "api_version": "iam/v2",
- "kind": "IdentityPool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/identity-pool=ip-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "identity_claim": "claims.sub",
- "filter": "claims.aud==\"confluent\" && claims.group!=\"invalid_group\"",
- "principal": "pool-abc",
- "state": "ENABLED"
}
provider_id required | string The Provider |
id required | string The unique identifier for the identity pool. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/identity-providers/{provider_id}/identity-pools/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "IdentityPool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/identity-pool=ip-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "identity_claim": "claims.sub",
- "filter": "claims.aud==\"confluent\" && claims.group!=\"invalid_group\"",
- "principal": "pool-abc",
- "state": "ENABLED"
}
provider_id required | string The Provider |
id required | string The unique identifier for the identity pool. |
display_name | string The name of the |
description | string A description of how this |
identity_claim | string The JSON Web Token (JWT) claim to extract the authenticating identity to Confluent resources from (see Registered Claim Names for more details). This appears in the audit log records, showing, for example, that "identity Z used identity pool X to access topic A". |
filter | string <= 300 characters A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your identity pool (see Set identity pool filters for more details). |
{- "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "identity_claim": "claims.sub",
- "filter": "claims.aud==\"confluent\" && claims.group!=\"invalid_group\""
}
{- "api_version": "iam/v2",
- "kind": "IdentityPool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/identity-pool=ip-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "identity_claim": "claims.sub",
- "filter": "claims.aud==\"confluent\" && claims.group!=\"invalid_group\"",
- "principal": "pool-abc",
- "state": "ENABLED"
}
provider_id required | string The Provider |
id required | string The unique identifier for the identity pool. |
curl --request DELETE \ --url 'https://api.confluent.cloud/iam/v2/identity-providers/{provider_id}/identity-pools/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
GroupMapping
objects establish relationships between user groups in your SSO
identity provider and specific RBAC roles in Confluent Cloud.
Group mappings enable automated and secure access control to Confluent Cloud resources, reducing administrative workload by streamlining user provisioning and authorization.
Related guide: Use group mappings with your SSO identity provider.
api_version | string Value: "iam.v2/sso" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "GroupMapping" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
display_name | string The name of the group mapping. |
description | string A description explaining the purpose and use of the group mapping. |
filter | string <= 300 characters A single group identifier or a condition based on supported CEL operators that defines which groups are included. |
principal | string The unique federated identity associated with this group mapping. |
state | string extensible-enum: ["ENABLED"] The current state of the group mapping. |
{- "api_version": "iam.v2/sso",
- "kind": "GroupMapping",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/group-mapping=gm-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Application Developers",
- "description": "Admin access to production environment for Engineering",
- "filter": "\"kafka\" in groups && \"all\" in groups || \"everyone\" in groups",
- "principal": "group-a1b2",
- "state": "ENABLED"
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
group_mappings_per_org |
Number of group mappings per organization |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/iam/v2/sso/group-mappings \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam.v2/sso",
- "kind": "GroupMappingList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "iam.v2/sso",
- "kind": "GroupMapping",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/group-mapping=gm-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Application Developers",
- "description": "Admin access to production environment for Engineering",
- "filter": "\"kafka\" in groups && \"all\" in groups || \"everyone\" in groups",
- "principal": "group-a1b2",
- "state": "ENABLED"
}
]
}
display_name required | string The name of the group mapping. |
description required | string A description explaining the purpose and use of the group mapping. |
filter required | string <= 300 characters A single group identifier or a condition based on supported CEL operators that defines which groups are included. |
{- "display_name": "Application Developers",
- "description": "Admin access to production environment for Engineering",
- "filter": "\"kafka\" in groups && \"all\" in groups || \"everyone\" in groups"
}
{- "api_version": "iam.v2/sso",
- "kind": "GroupMapping",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/group-mapping=gm-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Application Developers",
- "description": "Admin access to production environment for Engineering",
- "filter": "\"kafka\" in groups && \"all\" in groups || \"everyone\" in groups",
- "principal": "group-a1b2",
- "state": "ENABLED"
}
id required | string The unique identifier for the group mapping. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/sso/group-mappings/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam.v2/sso",
- "kind": "GroupMapping",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/group-mapping=gm-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Application Developers",
- "description": "Admin access to production environment for Engineering",
- "filter": "\"kafka\" in groups && \"all\" in groups || \"everyone\" in groups",
- "principal": "group-a1b2",
- "state": "ENABLED"
}
id required | string The unique identifier for the group mapping. |
display_name | string The name of the group mapping. |
description | string A description explaining the purpose and use of the group mapping. |
filter | string <= 300 characters A single group identifier or a condition based on supported CEL operators that defines which groups are included. |
{- "display_name": "Application Developers",
- "description": "Admin access to production environment for Engineering",
- "filter": "\"kafka\" in groups && \"all\" in groups || \"everyone\" in groups"
}
{- "api_version": "iam.v2/sso",
- "kind": "GroupMapping",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/group-mapping=gm-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Application Developers",
- "description": "Admin access to production environment for Engineering",
- "filter": "\"kafka\" in groups && \"all\" in groups || \"everyone\" in groups",
- "principal": "group-a1b2",
- "state": "ENABLED"
}
id required | string The unique identifier for the group mapping. |
curl --request DELETE \ --url 'https://api.confluent.cloud/iam/v2/sso/group-mappings/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
CertificateAuthority
objects represent signing certificate authorities in Confluent Cloud.
The API allows you to list, create, read, update, and delete your Certificate Authority.
Related guide: Manage certificate authorities used for client authentication with X.509 certificates..
api_version | string Value: "iam/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "CertificateAuthority" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
display_name | string The human-readable name of the certificate authority. |
description | string A description of the certificate authority. |
fingerprints | Array of strings The fingerprints for each certificate in the certificate chain. These are SHA-1 encoded strings that act as unique identifiers for the certificates in the chain. |
expiration_dates | Array of strings <date-time> The expiration dates of certificates in the chain. |
serial_numbers | Array of strings The serial numbers for each certificate in the certificate chain. |
certificate_chain_filename | string The file name of the uploaded pem file for this certificate authority. |
crl_source | string extensible-enum: ["LOCAL","URL"] The source specifies whether the Certificate Revocation List (CRL) is updated from either local file uploaded (LOCAL) or from url of CRL (URL). |
crl_url | string <uri> The url from which to fetch the CRL for the certificate authority if crl_source is URL. |
crl_updated_at | string <date-time> The timestamp for when CRL was last updated. |
state | string extensible-enum: ["ENABLED"] The current state of the certificate authority. |
{- "api_version": "iam/v2",
- "kind": "CertificateAuthority",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/certificate-authority=op-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Certificate Authority",
- "description": "Sample description text",
- "fingerprints": [
- "B1BC968BD4f49D622AA89A81F2150152A41D829C"
], - "expiration_dates": [
- "2017-07-21T17:32:28Z"
], - "serial_numbers": [
- "219C542DE8f6EC7177FA4EE8C3705797"
], - "certificate_chain_filename": "certificate.pem",
- "crl_source": "LOCAL",
- "crl_updated_at": "2017-07-21T17:32:28Z",
- "state": "ENABLED"
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
certificate_authorities_per_org |
Number of certificate authorities per organization |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/iam/v2/certificate-authorities \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "CertificateAuthorityList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "iam/v2",
- "kind": "CertificateAuthority",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/certificate-authority=op-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Certificate Authority",
- "description": "Sample description text",
- "fingerprints": [
- "B1BC968BD4f49D622AA89A81F2150152A41D829C"
], - "expiration_dates": [
- "2017-07-21T17:32:28Z"
], - "serial_numbers": [
- "219C542DE8f6EC7177FA4EE8C3705797"
], - "certificate_chain_filename": "certificate.pem",
- "crl_source": "LOCAL",
- "crl_updated_at": "2017-07-21T17:32:28Z",
- "state": "ENABLED"
}
]
}
display_name | string The human-readable name of the certificate authority. |
description | string A description of the certificate authority. |
certificate_chain | string The Base64 encoded string containing the signing certificate chain used to validate client certs. |
certificate_chain_filename | string The name of the certificate file. |
crl_url | string <uri> The url from which to fetch the CRL for the certificate authority if crl_source is URL. |
crl_chain | string The Base64 encoded string containing the CRL for this certificate authority.
Defaults to this over |
{- "display_name": "My Certificate Authority",
- "description": "Sample description text",
- "certificate_chain": "-----BEGIN CERTIFICATE-----\nMIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkGA1UEBhMCQkUx\nGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jvb3QgQ0ExGzAZBgNVBAMTEkds\nb2JhbFNpZ24gUm9vdCBDQTAeFw05ODA5MDExMjAwMDBaFw0yODAxMjgxMjAwMDBaMFcxCzAJBgNV\nBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYD\nVQQDExJHbG9iYWxTaWduIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDa\nDuaZjc6j40+Kfvvxi4Mla+pIH/EqsLmVEQS98GPR4mdmzxzdzxtIK+6NiY6arymAZavpxy0Sy6sc\nTHAHoT0KMM0VjU/43dSMUBUc71DuxC73/OlS8pF94G3VNTCOXkNz8kHp1Wrjsok6Vjk4bwY8iGlb\nKk3Fp1S4bInMm/k8yuX9ifUSPJJ4ltbcdG6TRGHRjcdGsnUOhugZitVtbNV4FpWi6cgKOOvyJBNP\nc1STE4U6G7weNLWLBYy5d4ux2x8gkasJU26Qzns3dLlwR5EiUWMWea6xrkEmCMgZK9FGqkjWZCrX\ngzT/LCrBbBlDSgeF59N89iFo7+ryUp9/k5DPAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNV\nHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRge2YaRQ2XyolQL30EzTSo//z9SzANBgkqhkiG9w0BAQUF\nAAOCAQEA1nPnfE920I2/7LqivjTFKDK1fPxsnCwrvQmeU79rXqoRSLblCKOzyj1hTdNGCbM+w6Dj\nY1Ub8rrvrTnhQ7k4o+YviiY776BQVvnGCv04zcQLcFGUl5gE38NflNUVyRRBnMRddWQVDf9VMOyG\nj/8N7yy5Y0b2qvzfvGn9LhJIZJrglfCm7ymPAbEVtQwdpf5pLGkkeB6zpxxxYu7KyJesF12KwvhH\nhm4qxFYxldBniYUr+WymXUadDKqC5JlR3XC321Y9YeRq4VzW9v493kHMB65jUr9TU/Qr6cf9tveC\nX4XSQRjbgbMEHMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A==\n-----END CERTIFICATE-----",
- "certificate_chain_filename": "certificate.pem",
- "crl_chain": "-----BEGIN X509 CRL-----\nMIICNTCCAR0CAQEwDQYJKoZIhvcNAQELBQAwgbExCzAJBgNVBAYTAlVTMQswCQYD\nVQQIDAJDQTEWMBQGA1UEBwwNTW91bnRhaW4gVmlldzESMBAGA1UECgwJQ29uZmx1\nZW50MRMwEQYDVQQLDApzZWN1cml0eS0xMSYwJAYDVQQDDB1tdGxzMS5zZWN1cml0\neS0xLmNvbmZsdWVudC5pbzEsMCoGCSqGSIb3DQEJARYdbXRsczFAc2VjdXJpdHkt\nMS5jb25mbHVlbnQuaW8XDTI0MDgyNTE3NTYyNloXDTI0MTEyMzE3NTYyNlowJzAl\nAhQERu3UxH2q3eUglbdeQY8y0vT7rRcNMjQwODI1MTc1NTE2WqAOMAwwCgYDVR0U\nBAMCAQEwDQYJKoZIhvcNAQELBQADggEBAGvmflwxVAnqZbRx8njb2t6yXqeIOBaX\nCKhMq5CUWrWhMX/JrV5NhVfzeB2tgCCfM4J7gbKSArOKqjYpQBFL+r5eCjPBBcG4\nxqh1J60l5DDsiUcXQM5FtlWTBBZFxvvvWsLP4qA/0meYRY69YQNqgEQgQ65l0Ehl\ngIUx8WkEo82A8MDY/t91PaFHufnffPKu4CxFtcpGwuvA2n9mpxB2TsSTiV8THsfE\njatuFwYgumI6t5wIWb71j/1oqQDYtbgpgUvX9gD+g7HlCC4u6Dynd0q8lsimrbf6\ncGf5Vs3JfMcr1kYNruT7kg4f4hc3p4CcuWtxYmHOcWNyZbi+W9Fdakg=\n-----END X509 CRL-----"
}
{- "api_version": "iam/v2",
- "kind": "CertificateAuthority",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/certificate-authority=op-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Certificate Authority",
- "description": "Sample description text",
- "fingerprints": [
- "B1BC968BD4f49D622AA89A81F2150152A41D829C"
], - "expiration_dates": [
- "2017-07-21T17:32:28Z"
], - "serial_numbers": [
- "219C542DE8f6EC7177FA4EE8C3705797"
], - "certificate_chain_filename": "certificate.pem",
- "crl_source": "LOCAL",
- "crl_updated_at": "2017-07-21T17:32:28Z",
- "state": "ENABLED"
}
id required | string The unique identifier for the certificate authority. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/certificate-authorities/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "CertificateAuthority",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/certificate-authority=op-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Certificate Authority",
- "description": "Sample description text",
- "fingerprints": [
- "B1BC968BD4f49D622AA89A81F2150152A41D829C"
], - "expiration_dates": [
- "2017-07-21T17:32:28Z"
], - "serial_numbers": [
- "219C542DE8f6EC7177FA4EE8C3705797"
], - "certificate_chain_filename": "certificate.pem",
- "crl_source": "LOCAL",
- "crl_updated_at": "2017-07-21T17:32:28Z",
- "state": "ENABLED"
}
id required | string The unique identifier for the certificate authority. |
display_name | string The human-readable name of the certificate authority. |
description | string A description of the certificate authority. |
certificate_chain | string The Base64 encoded string containing the signing certificate chain used to validate client certs. |
certificate_chain_filename | string The name of the certificate file. Must be set if certificate is updated. |
crl_url | string <uri> The url from which to fetch the CRL for the certificate authority if crl_source is URL. |
crl_chain | string The Base64 encoded string containing the CRL for this certificate authority.
Defaults to this over |
{- "display_name": "My Certificate Authority",
- "description": "Sample description text",
- "certificate_chain": "-----BEGIN CERTIFICATE-----\nMIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkGA1UEBhMCQkUx\nGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jvb3QgQ0ExGzAZBgNVBAMTEkds\nb2JhbFNpZ24gUm9vdCBDQTAeFw05ODA5MDExMjAwMDBaFw0yODAxMjgxMjAwMDBaMFcxCzAJBgNV\nBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYD\nVQQDExJHbG9iYWxTaWduIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDa\nDuaZjc6j40+Kfvvxi4Mla+pIH/EqsLmVEQS98GPR4mdmzxzdzxtIK+6NiY6arymAZavpxy0Sy6sc\nTHAHoT0KMM0VjU/43dSMUBUc71DuxC73/OlS8pF94G3VNTCOXkNz8kHp1Wrjsok6Vjk4bwY8iGlb\nKk3Fp1S4bInMm/k8yuX9ifUSPJJ4ltbcdG6TRGHRjcdGsnUOhugZitVtbNV4FpWi6cgKOOvyJBNP\nc1STE4U6G7weNLWLBYy5d4ux2x8gkasJU26Qzns3dLlwR5EiUWMWea6xrkEmCMgZK9FGqkjWZCrX\ngzT/LCrBbBlDSgeF59N89iFo7+ryUp9/k5DPAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNV\nHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRge2YaRQ2XyolQL30EzTSo//z9SzANBgkqhkiG9w0BAQUF\nAAOCAQEA1nPnfE920I2/7LqivjTFKDK1fPxsnCwrvQmeU79rXqoRSLblCKOzyj1hTdNGCbM+w6Dj\nY1Ub8rrvrTnhQ7k4o+YviiY776BQVvnGCv04zcQLcFGUl5gE38NflNUVyRRBnMRddWQVDf9VMOyG\nj/8N7yy5Y0b2qvzfvGn9LhJIZJrglfCm7ymPAbEVtQwdpf5pLGkkeB6zpxxxYu7KyJesF12KwvhH\nhm4qxFYxldBniYUr+WymXUadDKqC5JlR3XC321Y9YeRq4VzW9v493kHMB65jUr9TU/Qr6cf9tveC\nX4XSQRjbgbMEHMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A==\n-----END CERTIFICATE-----",
- "certificate_chain_filename": "certificate.pem",
- "crl_chain": "-----BEGIN X509 CRL-----\nMIICNTCCAR0CAQEwDQYJKoZIhvcNAQELBQAwgbExCzAJBgNVBAYTAlVTMQswCQYD\nVQQIDAJDQTEWMBQGA1UEBwwNTW91bnRhaW4gVmlldzESMBAGA1UECgwJQ29uZmx1\nZW50MRMwEQYDVQQLDApzZWN1cml0eS0xMSYwJAYDVQQDDB1tdGxzMS5zZWN1cml0\neS0xLmNvbmZsdWVudC5pbzEsMCoGCSqGSIb3DQEJARYdbXRsczFAc2VjdXJpdHkt\nMS5jb25mbHVlbnQuaW8XDTI0MDgyNTE3NTYyNloXDTI0MTEyMzE3NTYyNlowJzAl\nAhQERu3UxH2q3eUglbdeQY8y0vT7rRcNMjQwODI1MTc1NTE2WqAOMAwwCgYDVR0U\nBAMCAQEwDQYJKoZIhvcNAQELBQADggEBAGvmflwxVAnqZbRx8njb2t6yXqeIOBaX\nCKhMq5CUWrWhMX/JrV5NhVfzeB2tgCCfM4J7gbKSArOKqjYpQBFL+r5eCjPBBcG4\nxqh1J60l5DDsiUcXQM5FtlWTBBZFxvvvWsLP4qA/0meYRY69YQNqgEQgQ65l0Ehl\ngIUx8WkEo82A8MDY/t91PaFHufnffPKu4CxFtcpGwuvA2n9mpxB2TsSTiV8THsfE\njatuFwYgumI6t5wIWb71j/1oqQDYtbgpgUvX9gD+g7HlCC4u6Dynd0q8lsimrbf6\ncGf5Vs3JfMcr1kYNruT7kg4f4hc3p4CcuWtxYmHOcWNyZbi+W9Fdakg=\n-----END X509 CRL-----"
}
{- "api_version": "iam/v2",
- "kind": "CertificateAuthority",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/certificate-authority=op-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Certificate Authority",
- "description": "Sample description text",
- "fingerprints": [
- "B1BC968BD4f49D622AA89A81F2150152A41D829C"
], - "expiration_dates": [
- "2017-07-21T17:32:28Z"
], - "serial_numbers": [
- "219C542DE8f6EC7177FA4EE8C3705797"
], - "certificate_chain_filename": "certificate.pem",
- "crl_source": "LOCAL",
- "crl_updated_at": "2017-07-21T17:32:28Z",
- "state": "ENABLED"
}
id required | string The unique identifier for the certificate authority. |
curl --request DELETE \ --url 'https://api.confluent.cloud/iam/v2/certificate-authorities/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "CertificateAuthority",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/certificate-authority=op-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Certificate Authority",
- "description": "Sample description text",
- "fingerprints": [
- "B1BC968BD4f49D622AA89A81F2150152A41D829C"
], - "expiration_dates": [
- "2017-07-21T17:32:28Z"
], - "serial_numbers": [
- "219C542DE8f6EC7177FA4EE8C3705797"
], - "certificate_chain_filename": "certificate.pem",
- "crl_source": "LOCAL",
- "crl_updated_at": "2017-07-21T17:32:28Z",
- "state": "ENABLED"
}
Identitypool
objects represent workload identities in Confluent Cloud.
The API allows you to list, create, read, update, and delete your identity pools associated with Certificate Authorities
Related guide: Manage Certificate Identity Pools for Granular Client Access Management.
api_version | string Value: "iam/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "CertificateIdentityPool" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
display_name | string The name of the |
description | string A description of how this |
external_identifier | string The certificate field that will be used to represent the pool's external identifier for audit logging. |
filter | string <= 300 characters A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your certificate identity pool (see CEL filter for mTLS for more details). |
principal | string Represents the federated identity associated with this pool. |
state | string extensible-enum: ["ENABLED"] The current state of the identity pool |
{- "api_version": "iam/v2",
- "kind": "CertificateIdentityPool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/certificate-identity-pool=pool-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "external_identifier": "UID",
- "filter": "C=='Canada' && O=='Confluent'",
- "principal": "pool-abc",
- "state": "ENABLED"
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
identity_pools_per_certificate_authority |
Number of Identity Pools per Certificate Authority |
certificate_authority_id required | string The Certificate Authority |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/certificate-authorities/{certificate_authority_id}/identity-pools' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "CertificateIdentityPoolList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "iam/v2",
- "kind": "CertificateIdentityPool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/certificate-identity-pool=pool-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "external_identifier": "UID",
- "filter": "C=='Canada' && O=='Confluent'",
- "principal": "pool-abc",
- "state": "ENABLED"
}
]
}
certificate_authority_id required | string The Certificate Authority |
display_name required | string The name of the |
description required | string A description of how this |
external_identifier required | string The certificate field that will be used to represent the pool's external identifier for audit logging. |
filter required | string <= 300 characters A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your certificate identity pool (see CEL filter for mTLS for more details). |
{- "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "external_identifier": "UID",
- "filter": "C=='Canada' && O=='Confluent'"
}
{- "api_version": "iam/v2",
- "kind": "CertificateIdentityPool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/certificate-identity-pool=pool-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "external_identifier": "UID",
- "filter": "C=='Canada' && O=='Confluent'",
- "principal": "pool-abc",
- "state": "ENABLED"
}
certificate_authority_id required | string The Certificate Authority |
id required | string The unique identifier for the certificate identity pool. |
curl --request GET \ --url 'https://api.confluent.cloud/iam/v2/certificate-authorities/{certificate_authority_id}/identity-pools/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "CertificateIdentityPool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/certificate-identity-pool=pool-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "external_identifier": "UID",
- "filter": "C=='Canada' && O=='Confluent'",
- "principal": "pool-abc",
- "state": "ENABLED"
}
certificate_authority_id required | string The Certificate Authority |
id required | string The unique identifier for the certificate identity pool. |
display_name | string The name of the |
description | string A description of how this |
external_identifier | string The certificate field that will be used to represent the pool's external identifier for audit logging. |
filter | string <= 300 characters A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your certificate identity pool (see CEL filter for mTLS for more details). |
{- "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "external_identifier": "UID",
- "filter": "C=='Canada' && O=='Confluent'"
}
{- "api_version": "iam/v2",
- "kind": "CertificateIdentityPool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/certificate-identity-pool=pool-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "external_identifier": "UID",
- "filter": "C=='Canada' && O=='Confluent'",
- "principal": "pool-abc",
- "state": "ENABLED"
}
certificate_authority_id required | string The Certificate Authority |
id required | string The unique identifier for the certificate identity pool. |
curl --request DELETE \ --url 'https://api.confluent.cloud/iam/v2/certificate-authorities/{certificate_authority_id}/identity-pools/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "iam/v2",
- "kind": "CertificateIdentityPool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/certificate-identity-pool=pool-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "My Identity Pool",
- "description": "Prod Access to Kafka clusters to Release Engineering",
- "external_identifier": "UID",
- "filter": "C=='Canada' && O=='Confluent'",
- "principal": "pool-abc",
- "state": "ENABLED"
}
Environment
objects represent an isolated namespace for your Confluent resources
for organizational purposes.
The API allows you to create, delete, and update your environments. You can retrieve individual environments as well as a list of all your environments.
Related guide: Environments in Confluent Cloud.
api_version | string Value: "org/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Environment" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
display_name | string A human-readable name for the Environment |
object Stream Governance configurations for the environment |
{- "api_version": "org/v2",
- "kind": "Environment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=e-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "prod-finance01",
- "stream_governance_config": {
- "package": "string"
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
environments_per_org |
Environments in one Confluent Cloud organization |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/org/v2/environments \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "org/v2",
- "kind": "EnvironmentList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "org/v2",
- "kind": "Environment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=e-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "prod-finance01",
- "stream_governance_config": {
- "package": "string"
}
}
]
}
display_name required | string A human-readable name for the Environment |
object Stream Governance configurations for the environment |
{- "display_name": "prod-finance01",
- "stream_governance_config": {
- "package": "string"
}
}
{- "api_version": "org/v2",
- "kind": "Environment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=e-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "prod-finance01",
- "stream_governance_config": {
- "package": "string"
}
}
id required | string The unique identifier for the environment. |
curl --request GET \ --url 'https://api.confluent.cloud/org/v2/environments/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "org/v2",
- "kind": "Environment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=e-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "prod-finance01",
- "stream_governance_config": {
- "package": "string"
}
}
id required | string The unique identifier for the environment. |
display_name | string A human-readable name for the Environment |
object Stream Governance configurations for the environment |
{- "display_name": "prod-finance01",
- "stream_governance_config": {
- "package": "string"
}
}
{- "api_version": "org/v2",
- "kind": "Environment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=e-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "prod-finance01",
- "stream_governance_config": {
- "package": "string"
}
}
id required | string The unique identifier for the environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/org/v2/environments/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Organization
objects represent a customer organization. An organization contains all customer
resources (e.g., Environments, Kafka Clusters, Service Accounts, API Keys) and is tied to a billing
agreement (including any annual commitment or support plan).
The API allows you to list, view, and update your organizations.
Related guide: Organizations for Confluent Cloud.
api_version | string Value: "org/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Organization" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
display_name | string^[^<>#%'*^`{|}~\"]{1,31}$ A human-readable name for the Organization |
jit_enabled | boolean The flag to toggle Just-In-Time user provisioning for SSO-enabled organization. Available for early access only. |
{- "api_version": "org/v2",
- "kind": "Organization",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=o-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Finance Org",
- "jit_enabled": true
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
organizations_per_user |
Confluent Cloud organizations a user belongs to |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/org/v2/organizations \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "org/v2",
- "kind": "OrganizationList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "org/v2",
- "kind": "Organization",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=o-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Finance Org",
- "jit_enabled": true
}
]
}
id required | string The unique identifier for the organization. |
curl --request GET \ --url 'https://api.confluent.cloud/org/v2/organizations/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "org/v2",
- "kind": "Organization",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=o-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Finance Org",
- "jit_enabled": true
}
id required | string The unique identifier for the organization. |
display_name | string^[^<>#%'*^`{|}~\"]{1,31}$ A human-readable name for the Organization |
jit_enabled | boolean The flag to toggle Just-In-Time user provisioning for SSO-enabled organization. Available for early access only. |
{- "display_name": "Finance Org",
- "jit_enabled": true
}
{- "api_version": "org/v2",
- "kind": "Organization",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=o-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Finance Org",
- "jit_enabled": true
}
Subscription
objects represent the intent of the customers to get notifications of particular types.
A subscription is created for a particular NotificationType
and the user will get notifications on the
Integrations
that are provided while creating the subscription.
This API allows you to create, retrieve, and update subscriptions, as well as to view the list of all your subscriptions. You can also delete subscriptions with RECOMMENDED or OPTIONAL notification types. Subscriptions with REQUIRED notification types cannot be deleted.
Related guide: Cloud Notifications.
api_version | string Value: "notifications/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Subscription" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
current_state | string extensible-enum: ["ENABLED","DISABLED"] Denotes the state of the subscription. When the subscription is ENABLED, the user will receive
notification on the configured Integrations. If the subscription is DISABLED, the user will not
recieve any notification for the configured notification type. Note that, you cannot disable
a subscription for |
object The type of notification to subscribe to. | |
Array of objects (GlobalObjectReference) non-empty Integrations to which notifications are to be sent. |
{- "api_version": "notifications/v1",
- "kind": "Subscription",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/subscription=s-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "current_state": "ENABLED",
- "notification_type": {
- "id": "string",
}, - "integrations": [
]
}
page_size | integer <= 250 Default: 100 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/notifications/v1/subscriptions \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "notifications/v1",
- "kind": "SubscriptionList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "notifications/v1",
- "kind": "Subscription",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/subscription=s-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "current_state": "ENABLED",
- "notification_type": {
- "id": "string",
}, - "integrations": [
]
}
]
}
current_state | string extensible-enum: ["ENABLED","DISABLED"] Denotes the state of the subscription. When the subscription is ENABLED, the user will receive
notification on the configured Integrations. If the subscription is DISABLED, the user will not
recieve any notification for the configured notification type. Note that, you cannot disable
a subscription for |
required | object The type of notification to subscribe to. |
required | Array of objects (GlobalObjectReference) non-empty Integrations to which notifications are to be sent. |
{- "current_state": "ENABLED",
- "notification_type": {
- "id": "string"
}, - "integrations": [
- {
- "id": "string"
}
]
}
{- "api_version": "notifications/v1",
- "kind": "Subscription",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/subscription=s-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "current_state": "ENABLED",
- "notification_type": {
- "id": "string",
}, - "integrations": [
]
}
id required | string The unique identifier for the subscription. |
curl --request GET \ --url 'https://api.confluent.cloud/notifications/v1/subscriptions/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "notifications/v1",
- "kind": "Subscription",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/subscription=s-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "current_state": "ENABLED",
- "notification_type": {
- "id": "string",
}, - "integrations": [
]
}
id required | string The unique identifier for the subscription. |
current_state | string extensible-enum: ["ENABLED","DISABLED"] Denotes the state of the subscription. When the subscription is ENABLED, the user will receive
notification on the configured Integrations. If the subscription is DISABLED, the user will not
recieve any notification for the configured notification type. Note that, you cannot disable
a subscription for |
Array of objects (GlobalObjectReference) non-empty Integrations to which notifications are to be sent. |
{- "current_state": "ENABLED",
- "integrations": [
- {
- "id": "string"
}
]
}
{- "api_version": "notifications/v1",
- "kind": "Subscription",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/subscription=s-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "current_state": "ENABLED",
- "notification_type": {
- "id": "string",
}, - "integrations": [
]
}
id required | string The unique identifier for the subscription. |
curl --request DELETE \ --url 'https://api.confluent.cloud/notifications/v1/subscriptions/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
You can create an Integration
to specify how we can notify you when we receive an alert/notification for
a subscription. Please note that you can only perform create, update and delete operations for integrations
of type Webhook
, Slack
and MsTeams
. You cannot create, update or delete integrations of type RoleEmail
and UserEmail
.
Related guide: Cloud Notifications.
api_version | string Value: "notifications/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Integration" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
display_name | string <= 64 characters A human readable name for the particular integration |
description | string <= 128 characters A human readable description for the particular integration |
any Integration-specific details (integration targets) |
{- "api_version": "notifications/v1",
- "kind": "Integration",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/integration=i-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Slack integration",
- "description": "A Slack channel integration",
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
integrations_per_org |
Maximum number of integrations in one Confluent Cloud organization |
page_size | integer <= 250 Default: 100 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/notifications/v1/integrations \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "notifications/v1",
- "kind": "IntegrationList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "notifications/v1",
- "kind": "Integration",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/integration=i-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Slack integration",
- "description": "A Slack channel integration",
}
]
}
display_name required | string <= 64 characters A human readable name for the particular integration |
description | string <= 128 characters A human readable description for the particular integration |
required | any Integration-specific details (integration targets) |
{- "display_name": "Slack integration",
- "description": "A Slack channel integration",
}
{- "api_version": "notifications/v1",
- "kind": "Integration",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/integration=i-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Slack integration",
- "description": "A Slack channel integration",
}
id required | string The unique identifier for the integration. |
curl --request GET \ --url 'https://api.confluent.cloud/notifications/v1/integrations/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "notifications/v1",
- "kind": "Integration",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/integration=i-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Slack integration",
- "description": "A Slack channel integration",
}
id required | string The unique identifier for the integration. |
display_name | string <= 64 characters A human readable name for the particular integration |
description | string <= 128 characters A human readable description for the particular integration |
any Integration-specific details (integration targets) |
{- "display_name": "Slack integration",
- "description": "A Slack channel integration",
}
{- "api_version": "notifications/v1",
- "kind": "Integration",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/integration=i-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Slack integration",
- "description": "A Slack channel integration",
}
id required | string The unique identifier for the integration. |
curl --request DELETE \ --url 'https://api.confluent.cloud/notifications/v1/integrations/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
display_name required | string <= 64 characters A human readable name for the particular integration |
description | string <= 128 characters A human readable description for the particular integration |
required | any Integration-specific details (integration targets) |
{- "display_name": "Slack integration",
- "description": "A Slack channel integration",
}
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
The type of notifications (and their corresponding metadata) supported by Confluent.
Related guide: Cloud Notifications.
api_version | string Value: "notifications/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "NotificationType" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
display_name | string Human readable display name of the notification type |
category | string extensible-enum: ["BILLING_LICENSING","SECURITY","SERVICE","ACCOUNT"] Represents the group with which the notification is associated. Notifications are grouped under certain categories for better organization.
|
description | string Human readable description of the notification type |
subscription_priority | string extensible-enum: ["REQUIRED","RECOMMENDED","OPTIONAL"] Indicates whether the notification is auto-subscribed and if the user can opt-out.
|
is_included_in_plan | boolean Whether this notification is available to subscribe or not as per the user's current billing plan. |
severity | string extensible-enum: ["CRITICAL","WARN","INFO"] Severity indicates the impact of this notification.
|
{- "api_version": "notifications/v1",
- "kind": "NotificationType",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/notification-type=nt-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Cluster Shrink",
- "category": "BILLING_LICENSING",
- "description": "Cluster shrink operation is completed",
- "subscription_priority": "REQUIRED",
- "is_included_in_plan": true,
- "severity": "INFO"
}
page_size | integer <= 250 Default: 100 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/notifications/v1/notification-types \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "notifications/v1",
- "kind": "NotificationTypeList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "notifications/v1",
- "kind": "NotificationType",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/notification-type=nt-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Cluster Shrink",
- "category": "BILLING_LICENSING",
- "description": "Cluster shrink operation is completed",
- "subscription_priority": "REQUIRED",
- "is_included_in_plan": true,
- "severity": "INFO"
}
]
}
id required | string The unique identifier for the notification type. |
curl --request GET \ --url 'https://api.confluent.cloud/notifications/v1/notification-types/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "notifications/v1",
- "kind": "NotificationType",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/notification-type=nt-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Cluster Shrink",
- "category": "BILLING_LICENSING",
- "description": "Cluster shrink operation is completed",
- "subscription_priority": "REQUIRED",
- "is_included_in_plan": true,
- "severity": "INFO"
}
Clusters
objects represent Apache Kafka Clusters on Confluent Cloud.
The API allows you to list, create, read, update, and delete your Kafka clusters.
Related guide: Confluent Cloud Cluster Management for Apache Kafka APIs.
api_version | string Value: "cmk/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Cluster" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (cmk.v2.ClusterSpec) The desired state of the Cluster | |
object (cmk.v2.ClusterStatus) The status of the Cluster |
{- "api_version": "cmk/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lkc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "ProdKafkaCluster",
- "availability": "SINGLE_ZONE",
- "cloud": "GCP",
- "region": "us-east4",
- "config": {
- "kind": "Basic"
}, - "kafka_bootstrap_endpoint": "lkc-00000-00000.us-central1.gcp.glb.confluent.cloud:9092",
- "environment": {
- "id": "string",
- "environment": "string",
}, - "network": {
- "id": "string",
- "environment": "string",
},
}, - "status": {
- "phase": "PROVISIONED",
- "cku": 2
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
kafka_clusters_per_environment |
Number of clusters in one Confluent Cloud environment |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
spec.network | Array of strings (MultipleSearchFilter) Example: spec.network=n-00000&spec.network=n-00001 Filter the results by exact match for spec.network. Pass multiple times to see results matching any of the values. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/cmk/v2/clusters?environment=env-00000&spec.network=n-00000,n-00001' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "cmk/v2",
- "kind": "ClusterList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "cmk/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lkc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "ProdKafkaCluster",
- "availability": "SINGLE_ZONE",
- "cloud": "GCP",
- "region": "us-east4",
- "config": {
- "kind": "Basic"
}, - "kafka_bootstrap_endpoint": "lkc-00000-00000.us-central1.gcp.glb.confluent.cloud:9092",
- "environment": {
- "id": "env-00000",
- "environment": "string",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}, - "byok": {
- "id": "cck-00000",
}
}, - "status": {
- "phase": "PROVISIONED",
- "cku": 2
}
}
]
}
required | object The desired state of the Cluster |
{- "spec": {
- "display_name": "ProdKafkaCluster",
- "availability": "SINGLE_ZONE",
- "cloud": "GCP",
- "region": "us-east4",
- "config": {
- "kind": "Basic"
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string"
}, - "byok": {
- "id": "cck-00000"
}
}
}
{- "api_version": "cmk/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lkc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "ProdKafkaCluster",
- "availability": "SINGLE_ZONE",
- "cloud": "GCP",
- "region": "us-east4",
- "config": {
- "kind": "Basic"
}, - "kafka_bootstrap_endpoint": "lkc-00000-00000.us-central1.gcp.glb.confluent.cloud:9092",
- "environment": {
- "id": "env-00000",
- "environment": "string",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}, - "byok": {
- "id": "cck-00000",
}
}, - "status": {
- "phase": "PROVISIONED",
- "cku": 2
}
}
id required | string The unique identifier for the cluster. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/cmk/v2/clusters/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "cmk/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lkc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "ProdKafkaCluster",
- "availability": "SINGLE_ZONE",
- "cloud": "GCP",
- "region": "us-east4",
- "config": {
- "kind": "Basic"
}, - "kafka_bootstrap_endpoint": "lkc-00000-00000.us-central1.gcp.glb.confluent.cloud:9092",
- "environment": {
- "id": "env-00000",
- "environment": "string",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}, - "byok": {
- "id": "cck-00000",
}
}, - "status": {
- "phase": "PROVISIONED",
- "cku": 2
}
}
id required | string The unique identifier for the cluster. |
required | object The desired state of the Cluster |
{- "spec": {
- "display_name": "ProdKafkaCluster",
- "availability": "SINGLE_ZONE",
- "config": {
- "kind": "Basic"
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "cmk/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lkc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "ProdKafkaCluster",
- "availability": "SINGLE_ZONE",
- "cloud": "GCP",
- "region": "us-east4",
- "config": {
- "kind": "Basic"
}, - "kafka_bootstrap_endpoint": "lkc-00000-00000.us-central1.gcp.glb.confluent.cloud:9092",
- "environment": {
- "id": "env-00000",
- "environment": "string",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}, - "byok": {
- "id": "cck-00000",
}
}, - "status": {
- "phase": "PROVISIONED",
- "cku": 2
}
}
id required | string The unique identifier for the cluster. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/cmk/v2/clusters/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Cluster
represents a ksqlDB runtime that you can issue queries to using its API endpoint.
It executes SQL statements and queries which under the hood get built into corresponding
Kafka Streams topologies. The API allows you to list, create, read, and delete your ksqlDB clusters.
Related guide: ksqlDB in Confluent Cloud.
api_version | string Value: "ksqldbcm/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Cluster" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (ksqldbcm.v2.ClusterSpec) The desired state of the Cluster | |
object (ksqldbcm.v2.ClusterStatus) The status of the Cluster |
{- "api_version": "ksqldbcm/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lksqlc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "ksqlDB_cluster_0",
- "use_detailed_processing_log": true,
- "csu": 4,
- "kafka_cluster": {
- "id": "string",
- "environment": "string",
}, - "credential_identity": {
- "id": "string",
- "api_version": "string",
- "kind": "string"
}, - "environment": {
- "id": "string",
}
}, - "status": {
- "phase": "PROVISIONING",
- "is_paused": true,
- "storage": 125,
- "topic_prefix": "pksqlc-00000"
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
ksql.limits.max_apps_per_cluster |
Clusters in one Confluent Cloud Kafka Cluster. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/ksqldbcm/v2/clusters?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "ksqldbcm/v2",
- "kind": "ClusterList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "ksqldbcm/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lksqlc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "ksqlDB_cluster_0",
- "use_detailed_processing_log": true,
- "csu": 4,
- "kafka_cluster": {
- "id": "lkc-00000",
- "environment": "string",
}, - "credential_identity": {
- "id": "u-a83k9b",
- "api_version": "string",
- "kind": "string"
}, - "environment": {
- "id": "env-00000",
}
}, - "status": {
- "phase": "PROVISIONING",
- "is_paused": true,
- "storage": 125,
- "topic_prefix": "pksqlc-00000"
}
}
]
}
required | object The desired state of the Cluster |
{- "spec": {
- "display_name": "ksqlDB_cluster_0",
- "use_detailed_processing_log": true,
- "csu": 4,
- "kafka_cluster": {
- "id": "lkc-00000",
- "environment": "string"
}, - "credential_identity": {
- "id": "u-a83k9b"
}, - "environment": {
- "id": "env-00000"
}
}
}
{- "api_version": "ksqldbcm/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lksqlc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "ksqlDB_cluster_0",
- "use_detailed_processing_log": true,
- "csu": 4,
- "kafka_cluster": {
- "id": "lkc-00000",
- "environment": "string",
}, - "credential_identity": {
- "id": "u-a83k9b",
- "api_version": "string",
- "kind": "string"
}, - "environment": {
- "id": "env-00000",
}
}, - "status": {
- "phase": "PROVISIONING",
- "is_paused": true,
- "storage": 125,
- "topic_prefix": "pksqlc-00000"
}
}
id required | string The unique identifier for the cluster. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/ksqldbcm/v2/clusters/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "ksqldbcm/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lksqlc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "ksqlDB_cluster_0",
- "use_detailed_processing_log": true,
- "csu": 4,
- "kafka_cluster": {
- "id": "lkc-00000",
- "environment": "string",
}, - "credential_identity": {
- "id": "u-a83k9b",
- "api_version": "string",
- "kind": "string"
}, - "environment": {
- "id": "env-00000",
}
}, - "status": {
- "phase": "PROVISIONING",
- "is_paused": true,
- "storage": 125,
- "topic_prefix": "pksqlc-00000"
}
}
id required | string The unique identifier for the cluster. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/ksqldbcm/v2/clusters/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
API for Managed Connectors or Custom Connectors in Confluent Cloud.
The API allows you to list, create, get, update and delete a Managed Connector or Custom Connector in Confluent Cloud.
Connect metrics are available through the Metrics v2 API.
Related guide: Confluent Cloud API and Managed Connectors.
Retrieve a list of "names" of the active connectors. You can then make a read request for a specific connector by name.
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
curl --request GET \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connectors' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- "MyGcsLogsBucketConnector",
- "MyS3BucketConnector",
- "MyDatagenConnector"
]
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
name | string Name of the connector to create. |
object Configuration parameters for the connector. All values should be strings. | |
Array of objects (connect.v1.Offsets) Array of offsets which are categorised into partitions. |
{- "name": "MyGcsLogsBucketConnector",
- "config": {
- "connector.class": "GcsSink",
- "data.format": "BYTES",
- "flush.size": "1000",
- "gcs.bucket.name": "APILogsBucket",
- "gcs.credentials.config": "****************",
- "kafka.api.key": "****************",
- "kafka.api.secret": "****************",
- "name": "MyGcsLogsBucketConnector",
- "tasks.max": "2",
- "time.interval": "DAILY",
- "topics": "APILogsTopic"
}, - "offsets": [
- {
- "partition": {
- "kafka_partition": 0,
- "kafka_topic": "APILogsTopic"
}, - "offset": {
- "kafka_offset": 1000
}
}
]
}
{- "name": "MyGcsLogsBucketConnector",
- "config": {
- "cloud.environment": "prod",
- "cloud.provider": "aws",
- "connector.class": "GcsSink",
- "data.format": "BYTES",
- "flush.size": "1000",
- "gcs.bucket.name": "APILogsBucket",
- "gcs.credentials.config": "****************",
- "kafka.api.key": "****************",
- "kafka.api.secret": "****************",
- "kafka.endpoint": "SASL_SSL://pkc-xxxxx.us-west-2.aws.confluent.cloud:9092",
- "kafka.region": "us-west-2",
- "name": "MyGcsLogsBucketConnector",
- "tasks.max": "1",
- "time.interval": "DAILY",
- "topics": "APILogsTopic"
}, - "tasks": [
- {
- "connector": "MyGcsLogsBucketConnector",
- "task": 0
}
], - "type": "sink",
- "offsets": [
- {
- "partition": {
- "kafka_partition": 0,
- "kafka_topic": "APILogsTopic"
}, - "offset": {
- "kafka_offset": 1000
}
}
]
}
Retrieve an object with the queried expansions of all connectors. Without expand
query parameter, this list connector’s endpoint will return a list of only the connector names.
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
expand | string Enum: "id" "info" "status"
|
curl --request GET \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connectors?expand=info,status,id' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "MyGcsLogsBucketConnector": {
- "id": {
- "id": "lcc-xxxxx",
- "id_type": "ID"
}, - "info": {
- "name": "MyGcsLogsBucketConnector",
- "config": {
- "cloud.environment": "prod",
- "cloud.provider": "aws",
- "connector.class": "GcsSink",
- "data.format": "BYTES",
- "flush.size": "1000",
- "gcs.bucket.name": "APILogsBucket",
- "gcs.credentials.config": "****************",
- "kafka.api.key": "****************",
- "kafka.api.secret": "****************",
- "kafka.endpoint": "SASL_SSL://pkc-xxxxx.us-west-2.aws.confluent.cloud:9092",
- "kafka.region": "us-west-2",
- "name": "MyGcsLogsBucketConnector",
- "tasks.max": "1",
- "time.interval": "DAILY",
- "topics": "APILogsTopic",
- "type": "sink"
}
}, - "status": {
- "name": "MyGcsLogsBucketConnector",
- "connector": {
- "state": "PROVISIONING",
- "worker_id": "MyGcsLogsBucketConnector",
- "trace": ""
}, - "tasks": [ ],
- "type": "sink"
}
}, - "MyS3BucketConnector": {
- "id": {
- "id": "lcc-xxxxx",
- "id_type": "ID"
}, - "info": {
- "name": "MyS3BucketConnector",
- "config": {
- "cloud.environment": "prod",
- "cloud.provider": "aws",
- "connector.class": "S3Sink",
- "data.format": "BYTES",
- "flush.size": "1000",
- "s3.bucket": "APILogsBucket",
- "aws.access.key.id": "************",
- "aws.secret.access.key": "**********",
- "kafka.api.key": "****************",
- "kafka.api.secret": "****************",
- "kafka.endpoint": "SASL_SSL://pkc-xxxxx.us-west-2.aws.confluent.cloud:9092",
- "kafka.region": "us-west-2",
- "name": "MyS3BucketConnector",
- "tasks.max": "1",
- "time.interval": "DAILY",
- "topics": "APILogsTopic",
- "type": "source"
}
}, - "status": {
- "name": "MyS3BucketConnector",
- "connector": {
- "state": "FAILED",
- "worker_id": "MyS3BucketConnector",
- "trace": "There were some errors with your configuration:\ntopics: Provided Kafka ApiKey is invalid\nkafka.api.secret: Provided Kafka ApiKey is invalid\n"
}, - "tasks": [ ],
- "type": "sink"
}
}, - "MyDatagenConnector": {
- "id": {
- "id": "lcc-xxxxx",
- "id_type": "ID"
}, - "info": {
- "name": "MyDatagenConnector",
- "config": {
- "cloud.environment": "prod",
- "cloud.provider": "aws",
- "connector.class": "DatagenSource",
- "data.format": "BYTES",
- "flush.size": "1000",
- "quickstart": "ORDERS",
- "kafka.api.key": "****************",
- "kafka.api.secret": "****************",
- "kafka.endpoint": "SASL_SSL://pkc-xxxxx.us-west-2.aws.confluent.cloud:9092",
- "kafka.region": "us-west-2",
- "name": "MyDatagenConnector",
- "tasks.max": "1",
- "time.interval": "DAILY",
- "topics": "APILogsTopic",
- "type": "source"
}
}, - "status": {
- "name": "MyDatagenConnector",
- "connector": {
- "state": "RUNNING",
- "worker_id": "MyDatagenConnector",
- "trace": ""
}, - "tasks": [
- {
- "id": 0,
- "msg": "",
- "state": "RUNNING",
- "worker_id": "MyDatagenConnector"
}
], - "type": "source"
}
}
}
connector_name required | string The unique name of the connector. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
curl --request GET \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connectors/{connector_name}/config' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "cloud.environment": "prod",
- "cloud.provider": "aws",
- "connector.class": "GcsSink",
- "data.format": "BYTES",
- "flush.size": "1000",
- "gcs.bucket.name": "APILogsBucket",
- "gcs.credentials.config": "****************",
- "kafka.api.key": "****************",
- "kafka.api.secret": "****************",
- "kafka.endpoint": "SASL_SSL://pkc-xxxxx.us-west-2.aws.confluent.cloud:9092",
- "kafka.region": "us-west-2",
- "name": "MyGcsLogsBucketConnector",
- "tasks.max": "2",
- "time.interval": "DAILY",
- "topics": "APILogsTopic"
}
Create a new connector using the given configuration, or update the configuration for an existing connector. Returns information about the connector after the change has been made.
connector_name required | string The unique name of the connector. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
Configuration parameters for the connector. All values should be strings.
connector.class required | string [Required for Managed Connector, Ignored for Custom Connector] The connector class name. E.g. BigQuerySink, GcsSink, etc. |
name required | string Name or alias of the class (plugin) for this connector. |
kafka.api.key required | string The kafka cluster api key. |
kafka.api.secret required | string The kafka cluster api secret key. |
confluent.connector.type | string Default: "MANAGED" extensible-enum: ["CUSTOM","MANAGED"] [Required for Custom Connector] The connector type. |
confluent.custom.plugin.id | string [Required for Custom Connector] The custom plugin id of custom connector, e.g., |
confluent.custom.connection.endpoints | string [Optional for Custom Connector] Egress endpoint(s) for the connector to use when attaching to the sink or source data system. |
confluent.custom.schema.registry.auto | string Default: "FALSE" extensible-enum: ["TRUE","FALSE"] [Optional for Custom Connector] Automatically add the required schema registry properties in a custom connector config if schema registry is enabled. |
property name* additional property | string Other configuration parameters for the connector. All values should be strings. See the connector's docs for details. |
{- "connector.class": "GcsSink",
- "data.format": "BYTES",
- "flush.size": "1000",
- "gcs.bucket.name": "APILogsBucket",
- "gcs.credentials.config": "****************",
- "kafka.api.key": "****************",
- "kafka.api.secret": "****************",
- "name": "MyGcsLogsBucketConnector",
- "tasks.max": "2",
- "time.interval": "DAILY",
- "topics": "APILogsTopic"
}
{- "name": "MyGcsLogsBucketConnector",
- "config": {
- "cloud.environment": "prod",
- "cloud.provider": "aws",
- "connector.class": "GcsSink",
- "data.format": "BYTES",
- "flush.size": "1000",
- "gcs.bucket.name": "APILogsBucket",
- "gcs.credentials.config": "****************",
- "kafka.api.key": "****************",
- "kafka.api.secret": "****************",
- "kafka.endpoint": "SASL_SSL://pkc-xxxxx.us-west-2.aws.confluent.cloud:9092",
- "kafka.region": "us-west-2",
- "name": "MyGcsLogsBucketConnector",
- "tasks.max": "2",
- "time.interval": "DAILY",
- "topics": "APILogsTopic"
}, - "tasks": [
- {
- "connector": "MyGcsLogsBucketConnector",
- "task": 0
}, - {
- "connector": "MyGcsLogsBucketConnector",
- "task": 1
}
], - "type": "sink"
}
connector_name required | string The unique name of the connector. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
curl --request GET \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connectors/{connector_name}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "name": "MyGcsLogsBucketConnector",
- "config": {
- "cloud.environment": "prod",
- "cloud.provider": "aws",
- "connector.class": "GcsSink",
- "data.format": "BYTES",
- "flush.size": "1000",
- "gcs.bucket.name": "APILogsBucket",
- "gcs.credentials.config": "****************",
- "kafka.api.key": "****************",
- "kafka.api.secret": "****************",
- "kafka.endpoint": "SASL_SSL://pkc-xxxxx.us-west-2.aws.confluent.cloud:9092",
- "kafka.region": "us-west-2",
- "name": "MyGcsLogsBucketConnector",
- "tasks.max": "1",
- "time.interval": "DAILY",
- "topics": "APILogsTopic"
}, - "tasks": [
- {
- "connector": "MyGcsLogsBucketConnector",
- "task": 0
}
], - "type": "sink"
}
connector_name required | string The unique name of the connector. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
curl --request DELETE \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connectors/{connector_name}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "error": null
}
connector_name required | string The unique name of the connector. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
curl --request PUT \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connectors/{connector_name}/pause' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "error": {
- "code": 401,
- "message": "Unauthorized"
}
}
connector_name required | string The unique name of the connector. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
curl --request PUT \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connectors/{connector_name}/resume' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "error": {
- "code": 401,
- "message": "Unauthorized"
}
}
connector_name required | string The unique name of the connector. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
curl --request POST \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connectors/{connector_name}/restart' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "error": {
- "code": 401,
- "message": "Unauthorized"
}
}
Get current status of the connector. This includes whether it is running, failed, or paused. Also includes which worker it is assigned to, error information if it has failed, and the state of all its tasks.
connector_name required | string The unique name of the connector. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
curl --request GET \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connectors/{connector_name}/status' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "name": "MyGcsLogsBucketConnector",
- "connector": {
- "state": "PROVISIONING",
- "worker_id": "MyGcsLogsBucketConnector",
- "trace": ""
}, - "tasks": [ ],
- "type": "source"
}
connector_name required | string The unique name of the connector. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
curl --request GET \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connectors/{connector_name}/tasks' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- {
- "id": {
- "connector": "MyGcsLogsBucketConnector",
- "task": 2
}, - "config": {
- "cloud.environment": "prod",
- "cloud.provider": "aws",
- "connector.class": "GcsSink",
- "data.format": "BYTES",
- "flush.size": "1000",
- "gcs.bucket.name": "APILogsBucket",
- "gcs.credentials.config": "****************",
- "kafka.api.key": "****************",
- "kafka.api.secret": "****************",
- "kafka.endpoint": "SASL_SSL://pkc-xxxxx.us-west-2.aws.confluent.cloud:9092",
- "kafka.region": "us-west-2",
- "name": "MyGcsLogsBucketConnector",
- "tasks.max": "2",
- "time.interval": "DAILY",
- "topics": "APILogsTopic"
}
}
]
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
curl --request GET \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connector-plugins' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- {
- "class": "BigQuerySink",
- "type": "sink"
}, - {
- "class": "KinesisSource",
- "type": "source",
- "version": "0.1.0"
}, - {
- "class": "PostgresSource",
- "type": "source",
- "version": "0.1.0"
}, - {
- "class": "S3_SINK",
- "type": "sink"
}, - {
- "class": "GcsSink",
- "type": "sink",
- "version": "0.2.0"
}
]
plugin_name required | string The unique name of the connector plugin. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
Configuration parameters for the connector. All values should be strings.
property name* additional property | string Other configuration parameters for the connector. All values should be strings. See the connector's docs for the list of options. |
{- "cloud.environment": "prod",
- "cloud.provider": "aws",
- "connector.class": "GcsSink",
- "data.format": "BYTES",
- "flush.size": "500",
- "gcs.bucket.name": "APILogsBucket",
- "gcs.credentials.config": "****************",
- "kafka.api.key": "****************",
- "kafka.api.secret": "****************",
- "kafka.endpoint": "SASL_SSL://pkc-xxxxx.us-west-2.aws.confluent.cloud:9092",
- "kafka.region": "us-west-2",
- "name": "MyGcsLogsBucketConnector",
- "tasks.max": "2",
- "time.interval": "DAILY",
- "topics": "APILogsTopic"
}
{- "name": "io.confluent.connect.gcs.GcsSinkConnector",
- "groups": [
- "Organize my data by...",
- "Which topics do you want to get data from?",
- "Messages",
- "How should we connect to your data?",
- "Google Cloud Storage details",
- "Kafka Cluster credentials",
- "Number of tasks for this connector"
], - "error_count": 1,
- "configs": [
- {
- "definition": {
- "name": "name",
- "type": "STRING",
- "required": true,
- "default_value": "",
- "importance": "HIGH",
- "documentation": "Sets a name for your connector.",
- "group": "How should we connect to your data?",
- "width": "NONE",
- "display_name": "Connector name",
- "dependents": [ ],
- "order": 2,
- "alias": ""
}, - "value": {
- "name": "name",
- "value": "{{.logicalClusterId}}",
- "recommended_values": [ ],
- "errors": [ ],
- "visible": true
}, - "metadata": { }
}, - {
- "definition": {
- "name": "connector.class",
- "type": "STRING",
- "required": true,
- "default_value": "",
- "importance": "HIGH",
- "documentation": "",
- "group": "How should we connect to your data?",
- "width": "NONE",
- "display_name": "Connector class",
- "dependents": [ ],
- "order": 1,
- "alias": ""
}, - "value": {
- "name": "connector.class",
- "value": "io.confluent.connect.gcs.GcsSinkConnector",
- "recommended_values": [ ],
- "errors": [ ],
- "visible": true
}, - "metadata": { }
}, - {
- "definition": {
- "name": "kafka.api.key",
- "type": "PASSWORD",
- "required": true,
- "default_value": "",
- "importance": "HIGH",
- "documentation": "",
- "group": "Kafka Cluster credentials",
- "width": "NONE",
- "display_name": "Kafka API Key",
- "dependents": [ ],
- "order": 1,
- "alias": ""
}, - "value": {
- "name": "kafka.api.key",
- "value": "",
- "recommended_values": [ ],
- "errors": [ ],
- "visible": true
}, - "metadata": { }
}, - {
- "definition": {
- "name": "kafka.api.secret",
- "type": "PASSWORD",
- "required": true,
- "default_value": "",
- "importance": "HIGH",
- "documentation": "",
- "group": "Kafka Cluster credentials",
- "width": "NONE",
- "display_name": "Kafka API Secret",
- "dependents": [
- "kafka.api.key"
], - "order": 2,
- "alias": ""
}, - "value": {
- "name": "kafka.api.secret",
- "value": "",
- "recommended_values": [ ],
- "errors": [ ],
- "visible": true
}, - "metadata": { }
}, - {
- "definition": {
- "name": "topics",
- "type": "LIST",
- "required": true,
- "default_value": "",
- "importance": "HIGH",
- "documentation": "Identifies the topic name or a comma-separated list of topic names.",
- "group": "Which topics do you want to get data from?",
- "width": "NONE",
- "display_name": "Topic names",
- "dependents": [ ],
- "order": 1,
- "alias": ""
}, - "value": {
- "name": "topics",
- "value": "test1",
- "recommended_values": [ ],
- "errors": [ ],
- "visible": true
}, - "metadata": { }
}, - {
- "definition": {
- "name": "data.format",
- "type": "STRING",
- "required": true,
- "default_value": "",
- "importance": "HIGH",
- "documentation": "Sets the input/output message format. Valid entries are AVRO, JSON, or BYTES",
- "group": "Messages",
- "width": "NONE",
- "display_name": "Message format",
- "dependents": [ ],
- "order": 1,
- "alias": ""
}, - "value": {
- "name": "data.format",
- "value": "BYTES",
- "recommended_values": [
- "BYTES",
- "JSON",
- "AVRO"
], - "errors": [ ],
- "visible": true
}, - "metadata": { }
}, - {
- "definition": {
- "name": "gcs.credentials.config",
- "type": "PASSWORD",
- "required": true,
- "default_value": "",
- "importance": "HIGH",
- "documentation": "Contents of the downloaded GCP service account JSON file.",
- "group": "Google Cloud Storage details",
- "width": "NONE",
- "display_name": "Google Cloud Storage credentials.",
- "dependents": [ ],
- "order": 1,
- "alias": ""
}, - "value": {
- "name": "gcs.credentials.config",
- "value": "",
- "recommended_values": [ ],
- "errors": [ ],
- "visible": true
}, - "metadata": { }
}, - {
- "definition": {
- "name": "gcs.bucket.name",
- "type": "STRING",
- "required": true,
- "default_value": "",
- "importance": "HIGH",
- "documentation": "A Google Cloud Storage bucket must be in the same region as your Confluent Cloud cluster.",
- "group": "Google Cloud Storage details",
- "width": "NONE",
- "display_name": "Bucket name.",
- "dependents": [ ],
- "order": 2,
- "alias": ""
}, - "value": {
- "name": "gcs.bucket.name",
- "value": "gmagare",
- "recommended_values": [ ],
- "errors": [ ],
- "visible": true
}, - "metadata": { }
}, - {
- "definition": {
- "name": "time.interval",
- "type": "STRING",
- "required": true,
- "default_value": "",
- "importance": "HIGH",
- "documentation": "Sets how your messages grouped in storage. Valid entries are DAILY or HOURLY.",
- "group": "Organize my data by...",
- "width": "NONE",
- "display_name": "Time interval",
- "dependents": [ ],
- "order": 1,
- "alias": ""
}, - "value": {
- "name": "time.interval",
- "value": "DAILY",
- "recommended_values": [
- "DAILY",
- "HOURLY"
], - "errors": [ ],
- "visible": true
}, - "metadata": { }
}, - {
- "definition": {
- "name": "tasks.max",
- "type": "INT",
- "required": true,
- "default_value": "",
- "importance": "HIGH",
- "documentation": "",
- "group": "Number of tasks for this connector",
- "width": "NONE",
- "display_name": "Tasks",
- "dependents": [ ],
- "order": 1,
- "alias": ""
}, - "value": {
- "name": "tasks.max",
- "value": "1",
- "recommended_values": [ ],
- "errors": [ ],
- "visible": true
}, - "metadata": { }
}, - {
- "definition": {
- "name": "flush.size",
- "type": "INT",
- "required": true,
- "default_value": "1000",
- "importance": "HIGH",
- "documentation": "This value defaults to 1000. For example, if you use the default setting of 1000 and your topic has six partitions, files start to be created in the storage bucket after more than 1000 records exist in each partition. Note that the default value of 1000 can be increased if needed.",
- "group": "Organize my data by...",
- "width": "NONE",
- "display_name": "Flush size",
- "dependents": [ ],
- "order": 2,
- "alias": ""
}, - "value": {
- "name": "flush.size",
- "value": "1",
- "recommended_values": [ ],
- "errors": [
- "\"flush.size\" should be greater than or equal to 1000"
], - "visible": true
}, - "metadata": { }
}
]
}
connector_name required | string The unique name of the connector. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
curl --request GET \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connectors/{connector_name}/offsets' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "id": "lcc-as341",
- "name": "MysqlSinkConnector",
- "offsets": [
- {
- "partition": {
- "kafka_partition": 0,
- "kafka_topic": "topic_A"
}, - "offset": {
- "kafka_offset": 20032323
}
}, - {
- "partition": {
- "kafka_partition": 1,
- "kafka_topic": "topic_B"
}, - "offset": {
- "kafka_offset": 20032322
}
}
], - "metadata": {
- "observed_at": "2024-02-20T15:14:19Z"
}
}
Request to alter the offsets of a connector. This supports the ability to PATCH/DELETE the offsets of a connector. Note, you will see momentary downtime as this will internally stop the connector, while the offsets are being altered. You can only make one alter offsets request at a time for a connector.
connector_name required | string The unique name of the connector. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
type required | string (connect.v1.AlterOffsetRequestType) Enum: "PATCH" "DELETE" The type of alter operation. PATCH will update the offset to the provided values. The update will only happen for the partitions provided in the request. DELETE will delete the offset for the provided partitions and reset them back to the base state. It is as if, a fresh new connector was created. For sink connectors PATCH/DELETE will move the offsets to the provided point in the topic partition. If the offset provided is not present in the topic partition it will by default reset to the earliest offset in the topic partition. For source connectors, post PATCH/DELETE the connector will attempt to read from the position defined in the altered offsets. |
Array of objects (connect.v1.Offsets) Array of offsets which are categorised into partitions. |
{- "type": "PATCH",
- "offsets": [
- {
- "partition": {
- "kafka_partition": 0,
- "kafka_topic": "topic_A"
}, - "offset": {
- "kafka_offset": 1000
}
}
]
}
{- "id": "lcc-sa32er",
- "name": "MySinkConnector",
- "offsets": [
- {
- "partition": {
- "kafka_partition": 0,
- "kafka_topic": "topic_A"
}, - "offset": {
- "kafka_offset": 1000
}
}
], - "requested_at": "2024-02-20T15:14:19Z",
- "type": "PATCH"
}
connector_name required | string The unique name of the connector. |
environment_id required | string The unique identifier of the environment this resource belongs to. |
kafka_cluster_id required | string The unique identifier for the Kafka cluster. |
curl --request GET \ --url 'https://api.confluent.cloud/connect/v1/environments/{environment_id}/clusters/{kafka_cluster_id}/connectors/{connector_name}/offsets/request/status' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "request": {
- "id": "lcc-sa32er",
- "name": "MySinkConnector",
- "offsets": [
- {
- "partition": {
- "kafka_partition": 0,
- "kafka_topic": "topic_A"
}, - "offset": {
- "kafka_offset": 1000
}
}
], - "requested_at": "2024-02-20T15:14:19Z",
- "type": "PATCH"
}, - "status": {
- "phase": "PENDING"
}, - "applied_at": null
}
CustomConnectorPlugins objects represent Custom Connector Plugins on Confluent Cloud. The API allows you to list, create, read, update, and delete your Custom Connector Plugins. Related guide: Custom Connector Plugin API.
api_version | string Value: "connect/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "CustomConnectorPlugin" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
display_name | string <= 60 characters Display name of Custom Connector Plugin. |
content_format | string extensible-enum: ["ZIP","JAR"] Archive format of Custom Connector Plugin. |
description | string <= 256 characters Description of Custom Connector Plugin. |
documentation_link | string <= 512 characters ^$|^(http://|https://).+ Document link of Custom Connector Plugin. |
connector_class | string <= 150 characters ^(([a-zA-Z][a-zA-Z_$0-9]*(\.[a-zA-Z][a-zA-Z_$... Java class or alias for connector. You can get connector class from connector documentation provided by developer. |
connector_type | string extensible-enum: ["SOURCE","SINK"] Custom Connector type. |
cloud | string Default: "AWS" extensible-enum: ["AWS","GCP","AZURE"] Cloud provider where the Custom Connector Plugin archive is uploaded. |
sensitive_config_properties | Array of strings[ items <= 150 characters ^[\w\+\.-]+$ ] A sensitive property is a connector configuration property that must be hidden after a user enters property value when setting up connector. |
object [immutable] Upload source of Custom Connector Plugin. Only required in |
{- "api_version": "connect/v1",
- "kind": "CustomConnectorPlugin",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/custom-connector-plugin=ccp-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "string",
- "content_format": "ZIP",
- "description": "string",
- "connector_class": "io.confluent.kafka.connect.datagen.DatagenConnector",
- "connector_type": "SOURCE",
- "cloud": "AWS",
- "sensitive_config_properties": [
- "passwords",
- "keys",
- "tokens"
], - "upload_source": {
- "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
cloud | string (SearchFilter) Example: cloud=AWS Filter the results by exact match for cloud. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/connect/v1/custom-connector-plugins?cloud=AWS' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "connect/v1",
- "kind": "CustomConnectorPluginList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "connect/v1",
- "kind": "CustomConnectorPlugin",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/custom-connector-plugin=ccp-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "string",
- "content_format": "ZIP",
- "description": "string",
- "connector_class": "io.confluent.kafka.connect.datagen.DatagenConnector",
- "connector_type": "SOURCE",
- "cloud": "AWS",
- "sensitive_config_properties": [
- "passwords",
- "keys",
- "tokens"
], - "upload_source": {
- "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
]
}
display_name required | string <= 60 characters Display name of Custom Connector Plugin. |
description | string <= 256 characters Description of Custom Connector Plugin. |
documentation_link | string <= 512 characters ^$|^(http://|https://).+ Document link of Custom Connector Plugin. |
connector_class required | string <= 150 characters ^(([a-zA-Z][a-zA-Z_$0-9]*(\.[a-zA-Z][a-zA-Z_$... Java class or alias for connector. You can get connector class from connector documentation provided by developer. |
connector_type required | string extensible-enum: ["SOURCE","SINK"] Custom Connector type. |
cloud | string Default: "AWS" extensible-enum: ["AWS","GCP","AZURE"] Cloud provider where the Custom Connector Plugin archive is uploaded. |
sensitive_config_properties | Array of strings[ items <= 150 characters ^[\w\+\.-]+$ ] A sensitive property is a connector configuration property that must be hidden after a user enters property value when setting up connector. |
required | object [immutable] Upload source of Custom Connector Plugin. Only required in |
{- "display_name": "string",
- "description": "string",
- "connector_class": "io.confluent.kafka.connect.datagen.DatagenConnector",
- "connector_type": "SOURCE",
- "cloud": "AWS",
- "sensitive_config_properties": [
- "passwords",
- "keys",
- "tokens"
], - "upload_source": {
- "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
{- "api_version": "connect/v1",
- "kind": "CustomConnectorPlugin",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/custom-connector-plugin=ccp-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "string",
- "content_format": "ZIP",
- "description": "string",
- "connector_class": "io.confluent.kafka.connect.datagen.DatagenConnector",
- "connector_type": "SOURCE",
- "cloud": "AWS",
- "sensitive_config_properties": [
- "passwords",
- "keys",
- "tokens"
], - "upload_source": {
- "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
id required | string The unique identifier for the custom connector plugin. |
curl --request GET \ --url 'https://api.confluent.cloud/connect/v1/custom-connector-plugins/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "connect/v1",
- "kind": "CustomConnectorPlugin",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/custom-connector-plugin=ccp-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "string",
- "content_format": "ZIP",
- "description": "string",
- "connector_class": "io.confluent.kafka.connect.datagen.DatagenConnector",
- "connector_type": "SOURCE",
- "cloud": "AWS",
- "sensitive_config_properties": [
- "passwords",
- "keys",
- "tokens"
], - "upload_source": {
- "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
id required | string The unique identifier for the custom connector plugin. |
display_name | string <= 60 characters Display name of Custom Connector Plugin. |
description | string <= 256 characters Description of Custom Connector Plugin. |
documentation_link | string <= 512 characters ^$|^(http://|https://).+ Document link of Custom Connector Plugin. |
sensitive_config_properties | Array of strings[ items <= 150 characters ^[\w\+\.-]+$ ] A sensitive property is a connector configuration property that must be hidden after a user enters property value when setting up connector. |
object [immutable] Upload source of Custom Connector Plugin. Only required in |
{- "display_name": "string",
- "description": "string",
- "sensitive_config_properties": [
- "passwords",
- "keys",
- "tokens"
], - "upload_source": {
- "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
{- "api_version": "connect/v1",
- "kind": "CustomConnectorPlugin",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/custom-connector-plugin=ccp-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "string",
- "content_format": "ZIP",
- "description": "string",
- "connector_class": "io.confluent.kafka.connect.datagen.DatagenConnector",
- "connector_type": "SOURCE",
- "cloud": "AWS",
- "sensitive_config_properties": [
- "passwords",
- "keys",
- "tokens"
], - "upload_source": {
- "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
id required | string The unique identifier for the custom connector plugin. |
curl --request DELETE \ --url 'https://api.confluent.cloud/connect/v1/custom-connector-plugins/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Request a presigned upload URL for new Custom Connector Plugin. Note that the URL policy expires in one hour. If the policy expires, you can request a new presigned upload URL.
Related guide: Custom Connector Plugin API.
api_version | string Value: "connect/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "PresignedUrl" Kind defines the object this REST resource represents. |
content_format | string extensible-enum: ["ZIP","JAR"] Content format of the Custom Connector Plugin archive. |
cloud | string extensible-enum: ["AWS","GCP","AZURE"] Cloud provider where the Custom Connector Plugin archive is uploaded. |
upload_id | string Unique identifier of this upload. |
upload_url | string <uri> Upload URL for the Custom Connector Plugin archive. |
upload_form_data | object Upload form data of the Custom Connector Plugin. All values should be strings. |
{- "api_version": "connect/v1",
- "kind": "PresignedUrl",
- "content_format": "ZIP",
- "cloud": "AWS",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66",
- "upload_form_data": {
- "bucket": "confluent-custom-connectors-stag-us-west-2",
- "key": "staging/custom-plugin/2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/connect-e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66/plugin.zip",
- "policy": "string",
- "x-amz-algorithm": "AWS4-HMAC-SHA256",
- "x-amz-credential": "string",
- "x-amz-date": "20230725T013857Z",
- "x-amz-security-token": "string",
- "x-amz-signature": "string"
}
}
content_format required | string extensible-enum: ["JAR","ZIP"] Archive format of the Custom Connector Plugin. |
cloud | string Default: "AWS" extensible-enum: ["AWS","GCP","AZURE"] Cloud provider where the Custom Connector Plugin archive is uploaded. |
{- "content_format": "ZIP",
- "cloud": "AWS"
}
{- "api_version": "connect/v1",
- "kind": "PresignedUrl",
- "content_format": "ZIP",
- "cloud": "AWS",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66",
- "upload_form_data": {
- "bucket": "confluent-custom-connectors-stag-us-west-2",
- "key": "staging/custom-plugin/2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/connect-e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66/plugin.zip",
- "policy": "string",
- "x-amz-algorithm": "AWS4-HMAC-SHA256",
- "x-amz-credential": "string",
- "x-amz-date": "20230725T013857Z",
- "x-amz-security-token": "string",
- "x-amz-signature": "string"
}
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1 \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaCluster",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "cluster_id": "cluster-1",
- "controller": {
}, - "acls": {
}, - "brokers": {
}, - "broker_configs": {
}, - "consumer_groups": {
}, - "topics": {
}, - "partition_reassignments": {
}
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/broker-configs \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaClusterConfigList",
- "metadata": {
- "next": null
}, - "data": [
- {
- "kind": "KafkaClusterConfig",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/broker-config=max.connections"
}, - "cluster_id": "cluster-1",
- "config_type": "BROKER",
- "name": "max.connections",
- "value": "1000",
- "is_default": false,
- "is_read_only": false,
- "is_sensitive": false,
- "source": "DYNAMIC_DEFAULT_BROKER_CONFIG",
- "synonyms": [
- {
- "name": "max.connections",
- "value": "1000",
- "source": "DYNAMIC_DEFAULT_BROKER_CONFIG"
}, - {
- "name": "max.connections",
- "value": "2147483647",
- "source": "DEFAULT_CONFIG"
}
]
}, - {
- "kind": "KafkaClusterConfig",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/broker-config=compression.type"
}, - "cluster_id": "cluster-1",
- "config_type": "BROKER",
- "name": "compression.type",
- "value": "gzip",
- "is_default": false,
- "is_read_only": false,
- "is_sensitive": false,
- "source": "DYNAMIC_DEFAULT_BROKER_CONFIG",
- "synonyms": [
- {
- "name": "compression.type",
- "value": "gzip",
- "source": "DYNAMIC_DEFAULT_BROKER_CONFIG"
}, - {
- "name": "compression.type",
- "value": "producer",
- "source": "DEFAULT_CONFIG"
}
]
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
The alter cluster configuration parameter batch request.
required | Array of objects |
validate_only | boolean |
{- "data": [
- {
- "name": "max.connections",
- "operation": "DELETE"
}, - {
- "name": "compression.type",
- "value": "gzip"
}
]
}
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
name required | string Example: compression.type The configuration parameter name. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/broker-configs/compression.type \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaClusterConfig",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/broker-config=compression.type"
}, - "cluster_id": "cluster-1",
- "config_type": "BROKER",
- "name": "compression.type",
- "value": "gzip",
- "is_default": false,
- "is_read_only": false,
- "is_sensitive": false,
- "source": "DYNAMIC_DEFAULT_BROKER_CONFIG",
- "synonyms": [
- {
- "name": "compression.type",
- "value": "gzip",
- "source": "DYNAMIC_DEFAULT_BROKER_CONFIG"
}, - {
- "name": "compression.type",
- "value": "producer",
- "source": "DEFAULT_CONFIG"
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
name required | string Example: compression.type The configuration parameter name. |
The cluster configuration parameter update request.
value | string or null |
{- "value": "gzip"
}
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
name required | string Example: compression.type The configuration parameter name. |
curl --request DELETE \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/broker-configs/compression.type \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
topic_name required | string Example: topic-1 The topic name. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-1/configs \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaTopicConfigList",
- "metadata": {
- "next": null
}, - "data": [
- {
- "kind": "KafkaTopicConfig",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1/config=cleanup.policy"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "name": "cleanup.policy",
- "value": "compact",
- "is_default": false,
- "is_read_only": false,
- "is_sensitive": false,
- "source": "DYNAMIC_TOPIC_CONFIG",
- "synonyms": [
- {
- "name": "cleanup.policy",
- "value": "compact",
- "source": "DYNAMIC_TOPIC_CONFIG"
}, - {
- "name": "cleanup.policy",
- "value": "delete",
- "source": "DEFAULT_CONFIG"
}
]
}, - {
- "kind": "KafkaTopicConfig",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1/config=compression.type"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "name": "compression.type",
- "value": "gzip",
- "is_default": false,
- "is_read_only": false,
- "is_sensitive": false,
- "source": "DYNAMIC_TOPIC_CONFIG",
- "synonyms": [
- {
- "name": "compression.type",
- "value": "gzip",
- "source": "DYNAMIC_TOPIC_CONFIG"
}, - {
- "name": "compression.type",
- "value": "producer",
- "source": "DEFAULT_CONFIG"
}
]
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
topic_name required | string Example: topic-1 The topic name. |
The alter topic configuration parameter batch request.
required | Array of objects |
validate_only | boolean |
{- "data": [
- {
- "name": "cleanup.policy",
- "operation": "DELETE"
}, - {
- "name": "compression.type",
- "value": "gzip"
}
]
}
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
topic_name required | string Example: topic-1 The topic name. |
name required | string Example: compression.type The configuration parameter name. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-1/configs/compression.type \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaTopicConfig",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1/config=compression.type"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "name": "compression.type",
- "value": "gzip",
- "is_default": false,
- "is_read_only": false,
- "is_sensitive": false,
- "source": "DYNAMIC_TOPIC_CONFIG",
- "synonyms": [
- {
- "name": "compression.type",
- "value": "gzip",
- "source": "DYNAMIC_TOPIC_CONFIG"
}, - {
- "name": "compression.type",
- "value": "producer",
- "source": "DEFAULT_CONFIG"
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
topic_name required | string Example: topic-1 The topic name. |
name required | string Example: compression.type The configuration parameter name. |
The topic configuration parameter update request.
value | string or null |
{- "value": "gzip"
}
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
topic_name required | string Example: topic-1 The topic name. |
name required | string Example: compression.type The configuration parameter name. |
curl --request DELETE \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-1/configs/compression.type \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/-/configs \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaTopicConfigList",
- "metadata": {
- "next": null
}, - "data": [
- {
- "kind": "KafkaTopicConfig",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1/config=cleanup.policy"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "name": "cleanup.policy",
- "value": "compact",
- "is_default": false,
- "is_read_only": false,
- "is_sensitive": false,
- "source": "DYNAMIC_TOPIC_CONFIG",
- "synonyms": [
- {
- "name": "cleanup.policy",
- "value": "compact",
- "source": "DYNAMIC_TOPIC_CONFIG"
}, - {
- "name": "cleanup.policy",
- "value": "delete",
- "source": "DEFAULT_CONFIG"
}
]
}, - {
- "kind": "KafkaTopicConfig",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1/config=compression.type"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "name": "compression.type",
- "value": "gzip",
- "is_default": false,
- "is_read_only": false,
- "is_sensitive": false,
- "source": "DYNAMIC_TOPIC_CONFIG",
- "synonyms": [
- {
- "name": "compression.type",
- "value": "gzip",
- "source": "DYNAMIC_TOPIC_CONFIG"
}, - {
- "name": "compression.type",
- "value": "producer",
- "source": "DEFAULT_CONFIG"
}
]
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
topic_name required | string Example: topic-1 The topic name. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-1/default-configs \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaTopicConfigList",
- "metadata": {
- "next": null
}, - "data": [
- {
- "kind": "KafkaTopicConfig",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1/config=cleanup.policy"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "name": "cleanup.policy",
- "value": "compact",
- "is_default": false,
- "is_read_only": false,
- "is_sensitive": false,
- "source": "DYNAMIC_TOPIC_CONFIG",
- "synonyms": [
- {
- "name": "cleanup.policy",
- "value": "compact",
- "source": "DYNAMIC_TOPIC_CONFIG"
}, - {
- "name": "cleanup.policy",
- "value": "delete",
- "source": "DEFAULT_CONFIG"
}
]
}, - {
- "kind": "KafkaTopicConfig",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1/config=compression.type"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "name": "compression.type",
- "value": "gzip",
- "is_default": false,
- "is_read_only": false,
- "is_sensitive": false,
- "source": "DYNAMIC_TOPIC_CONFIG",
- "synonyms": [
- {
- "name": "compression.type",
- "value": "gzip",
- "source": "DYNAMIC_TOPIC_CONFIG"
}, - {
- "name": "compression.type",
- "value": "producer",
- "source": "DEFAULT_CONFIG"
}
]
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
The batch ACL creation request.
required | Array of objects (CreateAclRequestData) |
{- "data": [
- {
- "resource_type": "CLUSTER",
- "resource_name": "kafka-cluster",
- "pattern_type": "LITERAL",
- "principal": "principalType:principalName",
- "host": "*",
- "operation": "DESCRIBE",
- "permission": "DENY"
}, - {
- "resource_type": "TOPIC",
- "resource_name": "kafka-cluster",
- "pattern_type": "LITERAL",
- "principal": "principalType:principalName",
- "host": "*",
- "operation": "READ",
- "permission": "ALLOW"
}
]
}
Thrown when creating an ACL for a CLUSTER resource specifying the wrong resource name.
{- "error_code": 40002,
- "message": "The only valid name for the CLUSTER resource is kafka-cluster\""
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
resource_type | string (AclResourceType) Enum: "UNKNOWN" "ANY" "TOPIC" "GROUP" "CLUSTER" "TRANSACTIONAL_ID" "DELEGATION_TOKEN" The ACL resource type. |
resource_name | string The ACL resource name. |
pattern_type | string (AclPatternType) extensible-enum: ["UNKNOWN","ANY","MATCH","LITERAL","PREFIXED"] The ACL pattern type. |
principal | string The ACL principal. This is the Service Account name or user name. |
host | string The ACL host. |
operation | string (AclOperation) extensible-enum: ["UNKNOWN","ANY","ALL","READ","WRITE","CREATE","DELETE","ALTER","DESCRIBE","CLUSTER_ACTION","DESCRIBE_CONFIGS","ALTER_CONFIGS","IDEMPOTENT_WRITE"] The ACL operation. |
permission | string (AclPermission) extensible-enum: ["UNKNOWN","ANY","DENY","ALLOW"] The ACL permission. |
curl --request GET \ --url 'https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/acls?resource_type=SOME_STRING_VALUE&pattern_type=SOME_STRING_VALUE&operation=SOME_STRING_VALUE&permission=SOME_STRING_VALUE' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaAclList",
- "data": [
- {
- "kind": "KafkaAcl",
- "cluster_id": "cluster-1",
- "resource_type": "TOPIC",
- "resource_name": "topic-",
- "pattern_type": "PREFIXED",
- "principal": "User:alice",
- "host": "*",
- "operation": "ALL",
- "permission": "ALLOW"
}, - {
- "kind": "KafkaAcl",
- "cluster_id": "cluster-1",
- "resource_type": "CLUSTER",
- "resource_name": "kafka-cluster",
- "pattern_type": "LITERAL",
- "principal": "User:alice",
- "host": "*",
- "operation": "DESCRIBE",
- "permission": "DENY"
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
The ACL creation request.
resource_type required | string (AclResourceType) Enum: "UNKNOWN" "ANY" "TOPIC" "GROUP" "CLUSTER" "TRANSACTIONAL_ID" "DELEGATION_TOKEN" |
resource_name required | string |
pattern_type required | string (AclPatternType) extensible-enum: ["UNKNOWN","ANY","MATCH","LITERAL","PREFIXED"] |
principal required | string |
host required | string |
operation required | string (AclOperation) extensible-enum: ["UNKNOWN","ANY","ALL","READ","WRITE","CREATE","DELETE","ALTER","DESCRIBE","CLUSTER_ACTION","DESCRIBE_CONFIGS","ALTER_CONFIGS","IDEMPOTENT_WRITE"] |
permission required | string (AclPermission) extensible-enum: ["UNKNOWN","ANY","DENY","ALLOW"] |
{- "resource_type": "CLUSTER",
- "resource_name": "kafka-cluster",
- "pattern_type": "LITERAL",
- "principal": "principalType:principalName",
- "host": "*",
- "operation": "DESCRIBE",
- "permission": "DENY"
}
Thrown when creating an ACL for a CLUSTER resource specifying the wrong resource name.
{- "error_code": 40002,
- "message": "The only valid name for the CLUSTER resource is kafka-cluster\""
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
resource_type required | string (AclResourceType) Enum: "UNKNOWN" "ANY" "TOPIC" "GROUP" "CLUSTER" "TRANSACTIONAL_ID" "DELEGATION_TOKEN" The ACL resource type. |
resource_name | string The ACL resource name. |
pattern_type required | string (AclPatternType) extensible-enum: ["UNKNOWN","ANY","MATCH","LITERAL","PREFIXED"] The ACL pattern type. |
principal | string The ACL principal. This is the Service Account name or user name. |
host | string The ACL host. |
operation required | string (AclOperation) extensible-enum: ["UNKNOWN","ANY","ALL","READ","WRITE","CREATE","DELETE","ALTER","DESCRIBE","CLUSTER_ACTION","DESCRIBE_CONFIGS","ALTER_CONFIGS","IDEMPOTENT_WRITE"] The ACL operation. |
permission required | string (AclPermission) extensible-enum: ["UNKNOWN","ANY","DENY","ALLOW"] The ACL permission. |
curl --request DELETE \ --url 'https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/acls?resource_type=SOME_STRING_VALUE&pattern_type=SOME_STRING_VALUE&operation=SOME_STRING_VALUE&permission=SOME_STRING_VALUE' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "data": [
- {
- "kind": "KafkaAcl",
- "cluster_id": "cluster-1",
- "resource_type": "TOPIC",
- "resource_name": "topic-",
- "pattern_type": "PREFIXED",
- "principal": "User:alice",
- "host": "*",
- "operation": "ALL",
- "permission": "ALLOW"
}, - {
- "kind": "KafkaAcl",
- "cluster_id": "cluster-1",
- "resource_type": "CLUSTER",
- "resource_name": "kafka-cluster",
- "pattern_type": "LITERAL",
- "principal": "User:alice",
- "host": "*",
- "operation": "DESCRIBE",
- "permission": "DENY"
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/consumer-groups \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaConsumerGroupList",
- "metadata": {
- "next": null
}, - "data": [
- {
- "kind": "KafkaConsumerGroup",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-group=consumer-group-1"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-1",
- "is_simple": false,
- "partition_assignor": "org.apache.kafka.clients.consumer.RoundRobinAssignor",
- "state": "STABLE",
- "coordinator": {
},
}, - {
- "kind": "KafkaConsumerGroup",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-group=consumer-group-2"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-2",
- "is_simple": false,
- "partition_assignor": "org.apache.kafka.clients.consumer.StickyAssignor",
- "state": "PREPARING_REBALANCE",
- "coordinator": {
},
}, - {
- "kind": "KafkaConsumerGroup",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-group=consumer-group-3"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-3",
- "is_simple": false,
- "partition_assignor": "org.apache.kafka.clients.consumer.RangeAssignor",
- "state": "DEAD",
- "coordinator": {
},
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
consumer_group_id required | string Example: consumer-group-1 The consumer group ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/consumer-groups/consumer-group-1 \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaConsumerGroup",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-group=consumer-group-1"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-1",
- "is_simple": false,
- "partition_assignor": "org.apache.kafka.clients.consumer.RoundRobinAssignor",
- "state": "STABLE",
- "coordinator": {
},
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
consumer_group_id required | string Example: consumer-group-1 The consumer group ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/consumer-groups/consumer-group-1/consumers \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaConsumerList",
- "metadata": {
- "next": null
}, - "data": [
- {
- "kind": "KafkaConsumer",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-group=consumer-group-1/consumer=consumer-1"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-1",
- "consumer_id": "consumer-1",
- "instance_id": "consumer-instance-1",
- "client_id": "client-1",
}, - {
- "kind": "KafkaConsumer",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-group=consumer-group-1/consumer=consumer-2"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-1",
- "consumer_id": "consumer-2",
- "instance_id": "consumer-instance-2",
- "client_id": "client-2",
}, - {
- "kind": "KafkaConsumer",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-group=consumer-group-1/consumer=consumer-2"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-1",
- "consumer_id": "consumer-2",
- "instance_id": "consumer-instance-2",
- "client_id": "client-2",
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
consumer_group_id required | string Example: consumer-group-1 The consumer group ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/consumer-groups/consumer-group-1/lag-summary \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaConsumerGroupLagSummary",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-groups=consumer-group-1/lag-summary"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-1",
- "max_lag_consumer_id": "consumer-1",
- "max_lag_instance_id": "consumer-instance-1",
- "max_lag_client_id": "client-1",
- "max_lag_topic_name": "topic-1",
- "max_lag_partition_id": 1,
- "max_lag": 100,
- "total_lag": 110,
- "max_lag_consumer": {
}, - "max_lag_partition": {
}
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
consumer_group_id required | string Example: consumer-group-1 The consumer group ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/consumer-groups/consumer-group-1/lags \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaConsumerLagList",
- "metadata": {
- "next": null
}, - "data": [
- {
- "kind": "KafkaConsumerLag",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-group=consumer-group-1/lag=topic-1/partition=1"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-1",
- "topic_name": "topic-1",
- "partition_id": 1,
- "consumer_id": "consumer-1",
- "instance_id": "consumer-instance-1",
- "client_id": "client-1",
- "current_offset": 1,
- "log_end_offset": 101,
- "lag": 100
}, - {
- "kind": "KafkaConsumerLag",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-group=consumer-group-1/lag=topic-1/partition=2"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-1",
- "topic_name": "topic-1",
- "partition_id": 2,
- "consumer_id": "consumer-2",
- "instance_id": "consumer-instance-2",
- "client_id": "client-2",
- "current_offset": 1,
- "log_end_offset": 11,
- "lag": 10
}, - {
- "kind": "KafkaConsumerLag",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-group=consumer-group-1/lag=topic-1/partition=3"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-1",
- "topic_name": "topic-1",
- "partition_id": 3,
- "consumer_id": "consumer-3",
- "instance_id": "consumer-instance-3",
- "client_id": "client-3",
- "current_offset": 1,
- "log_end_offset": 1,
- "lag": 0
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
consumer_group_id required | string Example: consumer-group-1 The consumer group ID. |
topic_name required | string Example: topic-1 The topic name. |
partition_id required | integer The partition ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/consumer-groups/consumer-group-1/lags/topic-1/partitions/0 \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaConsumerLag",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-group=consumer-group-1/lag=topic-1/partition=1"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-1",
- "topic_name": "topic-1",
- "partition_id": 1,
- "consumer_id": "consumer-1",
- "instance_id": "consumer-instance-1",
- "client_id": "client-1",
- "current_offset": 1,
- "log_end_offset": 101,
- "lag": 100
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
consumer_group_id required | string Example: consumer-group-1 The consumer group ID. |
consumer_id required | string Example: consumer-1 The consumer ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/consumer-groups/consumer-group-1/consumers/consumer-1 \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaConsumer",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/consumer-group=consumer-group-1/consumer=consumer-1"
}, - "cluster_id": "cluster-1",
- "consumer_group_id": "consumer-group-1",
- "consumer_id": "consumer-1",
- "instance_id": "consumer-instance-1",
- "client_id": "client-1",
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
topic_name required | string Example: topic-1 The topic name. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-1/partitions \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaPartitionList",
- "metadata": {
- "next": null
}, - "data": [
- {
- "kind": "KafkaPartition",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1/partition=1"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "partition_id": 1,
- "reassignment": {
}
}, - {
- "kind": "KafkaPartition",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1/partition=2"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "partition_id": 2,
- "reassignment": {
}
}, - {
- "kind": "KafkaPartition",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1/partition=3"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "partition_id": 3,
- "reassignment": {
}
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
topic_name required | string Example: topic-1 The topic name. |
partition_id required | integer The partition ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-1/partitions/0 \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaPartition",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1/partition=1"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "partition_id": 1,
- "reassignment": {
}
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaTopicList",
- "metadata": {
- "next": null
}, - "data": [
- {
- "kind": "KafkaTopic",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "is_internal": false,
- "replication_factor": 3,
- "partitions_count": 1,
- "partitions": {
}, - "configs": {
}, - "partition_reassignments": {
}
}, - {
- "kind": "KafkaTopic",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-2"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-2",
- "is_internal": true,
- "replication_factor": 4,
- "partitions_count": 1,
- "partitions": {
}, - "configs": {
}, - "partition_reassignments": {
}
}, - {
- "kind": "KafkaTopic",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-3"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-3",
- "is_internal": false,
- "replication_factor": 5,
- "partitions_count": 1,
- "partitions": {
}, - "configs": {
}, - "partition_reassignments": {
}
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
The topic creation request. Note that Confluent Cloud allows only specific replication factor values. Because of that the replication factor field should either be omitted or it should use one of the allowed values (see https://docs.confluent.io/cloud/current/client-apps/optimizing/durability.html).
topic_name required | string |
partitions_count | integer |
replication_factor | integer |
Array of objects | |
validate_only | boolean |
{- "topic_name": "topic-X",
- "partitions_count": 64,
- "replication_factor": 3,
- "configs": [
- {
- "name": "cleanup.policy",
- "value": "compact"
}, - {
- "name": "compression.type",
- "value": "gzip"
}
]
}
{- "kind": "KafkaTopic",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-X"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-X",
- "is_internal": false,
- "replication_factor": 3,
- "partitions_count": 1,
- "partitions": {
}, - "configs": {
}, - "partition_reassignments": {
}
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
topic_name required | string Example: topic-1 The topic name. |
include_authorized_operations | boolean Specify if authorized operations should be included in the response. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-1 \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaTopic",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "is_internal": false,
- "replication_factor": 3,
- "partitions_count": 1,
- "partitions": {
}, - "configs": {
}, - "partition_reassignments": {
}
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
topic_name required | string Example: topic-1 The topic name. |
partitions_count required | integer <int32> |
{- "partitions_count": 0
}
{- "kind": "KafkaTopic",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1/topic=topic-1"
}, - "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "is_internal": false,
- "replication_factor": 3,
- "partitions_count": 1,
- "partitions": {
}, - "configs": {
}, - "partition_reassignments": {
}
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
topic_name required | string Example: topic-1 The topic name. |
curl --request DELETE \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/topics/topic-1 \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
Produce records to the given topic, returning delivery reports for each record produced. This API can be used in streaming mode by setting "Transfer-Encoding: chunked" header. For as long as the connection is kept open, the server will keep accepting records. Records are streamed to and from the server as Concatenated JSON. For each record sent to the server, the server will asynchronously send back a delivery report, in the same order, each with its own error_code. An error_code of 200 indicates success. The HTTP status code will be HTTP 200 OK as long as the connection is successfully established. To identify records that have encountered an error, check the error_code of each delivery report.
Note that the cluster_id is validated only when running in Confluent Cloud.
This API currently does not support Schema Registry integration. Sending schemas is not supported. Only BINARY, JSON, and STRING formats are supported.
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
topic_name required | string Example: topic-1 The topic name. |
A single record to be produced to Kafka. To produce multiple records in the same request, simply concatenate the records. The delivery reports are concatenated in the same order as the records are sent.
partition_id | integer or null <int32> |
Array of objects (ProduceRequestHeader) | |
object or null (ProduceRequestData) | |
object or null (ProduceRequestData) | |
timestamp | string or null <date-time> |
If using type, one of "BINARY", "JSON" or "STRING" is required.
{- "partition_id": 1,
- "headers": [
- {
- "name": "Header-1",
- "value": "SGVhZGVyLTE="
}, - {
- "name": "Header-2",
- "value": "SGVhZGVyLTI="
}
], - "key": {
- "type": "BINARY",
- "data": "Zm9vYmFy"
}, - "value": {
- "type": "JSON",
- "data": {
- "foo": "bar"
}
}, - "timestamp": "2021-02-05T19:14:42Z"
}
The record was successfully produced to the topic.
{- "error_code": 200,
- "cluster_id": "cluster-1",
- "topic_name": "topic-1",
- "partition_id": 1,
- "offset": 0,
- "timestamp": "2021-02-05T19:14:42Z",
- "key": {
- "type": "BINARY",
- "size": 7
}, - "value": {
- "type": "JSON",
- "size": 15
}
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/links \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaLinkDataList",
- "metadata": {
- "next": null
}, - "data": [
- {
- "kind": "KafkaLinkData",
- "metadata": {
- "resource_name": null
}, - "source_cluster_id": "src-cluster-id",
- "link_name": "my-new-link-1",
- "link_id": "7840644d-f7d8-4844-a577-a10ef3df31df",
- "cluster_link_id": "eEBkTffYSESld6EO898x3w",
- "topic_names": [
- "topic-sb-1",
- "topic-sb-2"
], - "link_state": "ACTIVE"
}, - {
- "kind": "KafkaLinkData",
- "metadata": {
- "resource_name": null
}, - "remote_cluster_id": "src-cluster-id",
- "link_name": "my-new-link-2",
- "link_id": "f749116e-f847-4bd2-b1f6-5c4e518a0678",
- "cluster_link_id": "90kRbvhHS9Kx9lxOUYoGeA",
- "topic_names": [
- "topic-db-1",
- "topic-db-2"
], - "link_state": "UNAVAILABLE",
- "link_error": "AUTHENTICATION_ERROR",
- "link_error_message": "Please check your api key and secret"
}, - {
- "kind": "KafkaLinkData",
- "metadata": {
- "resource_name": null
}, - "destination_cluster_id": "dest-cluster-id",
- "link_name": "my-new-link-3",
- "link_id": "9cd1711e-a4ef-4390-a35e-dfd758d97a82",
- "cluster_link_id": "nNFxHqTvQ5CjXt_XWNl6gg",
- "topic_names": [ ],
- "link_state": "ACTIVE"
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link_name=link-sb1 The link name |
validate_only | boolean To validate the action can be performed successfully or not. Default: false |
validate_link | boolean To synchronously validate that the source cluster ID is expected and the dest cluster has the permission to read topics in the source cluster. Default: true |
Create a cluster link
source_cluster_id | string |
destination_cluster_id | string |
remote_cluster_id | string The expected remote cluster ID. |
cluster_link_id | string The expected cluster link ID. Can be provided when creating the second side of a bidirectional link for validating the link ID is as expected. If it's not provided, it's inferred from the remote cluster. |
Array of objects (ConfigData) |
Create a destination initiated cluster link
{- "source_cluster_id": "cluster-1",
- "configs": [
- {
- "name": "bootstrap.servers",
- "value": "cluster-1-bootstrap-server"
}, - {
- "name": "acl.sync.enable",
- "value": "false"
}, - {
- "name": "consumer.offset.sync.ms",
- "value": "30000"
}, - {
- "name": "sasl.mechanism",
- "value": "PLAIN"
}, - {
- "name": "sasl.protocol",
- "value": "SASL_SSL"
}, - {
- "name": "sasl.jaas.config",
- "value": "sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username='<Kafka API Key>' password='<Kafka API Secret>';"
}
]
}
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
include_tasks | boolean Whether to include cluster linking tasks in the response. Default: false |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/links/link-sb1 \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
Link at destination cluster
{- "kind": "KafkaLinkData",
- "resource_name": null,
- "source_cluster_id": "src-cluster-id",
- "link_name": "my-new-link-1",
- "link_id": "7840644d-f7d8-4844-a577-a10ef3df31df",
- "cluster_link_id": "eEBkTffYSESld6EO898x3w",
- "topic_names": [
- "topic-db-1",
- "topic-db-2"
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
force | boolean Force the action. Default: false |
validate_only | boolean To validate the action can be performed successfully or not. Default: false |
curl --request DELETE \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/links/link-sb1 \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/links/link-sb1/configs \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaLinkConfigDataList",
- "metadata": {
- "next": null
}, - "data": [
- {
- "kind": "KafkaLinkConfigData",
- "metadata": {
- "resource_name": null
}, - "cluster_id": "1Rh_4htxSuen7RYGvGmgNw",
- "name": "consumer.offset.sync.ms",
- "value": "3825940",
- "default": false,
- "read_only": false,
- "sensitive": false,
- "source": "DYNAMIC_CLUSTER_LINK_CONFIG",
- "synonyms": [
- "cosm"
], - "link_name": "link-db-1",
- "link_id": "7840644d-f7d8-4844-a577-a10ef3df31df"
}, - {
- "kind": "KafkaLinkConfigData",
- "metadata": {
- "resource_name": null
}, - "cluster_id": "1Rh_4htxSuen7RYGvGmgNw",
- "name": "acl.sync.ms",
- "value": "5000",
- "default": false,
- "read_only": false,
- "sensitive": false,
- "source": "DYNAMIC_CLUSTER_LINK_CONFIG",
- "synonyms": [
- "asm"
], - "link_name": "link-db-1",
- "link_id": "7840644d-f7d8-4844-a577-a10ef3df31df"
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
config_name required | string Example: consumer.offset.sync.enable The link config name |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/links/link-sb1/configs/consumer.offset.sync.enable \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaLinkConfigData",
- "metadata": {
- "resource_name": null
}, - "cluster_id": "1Rh_4htxSuen7RYGvGmgNw",
- "name": "consumer.offset.sync.ms",
- "value": "3825940",
- "default": false,
- "read_only": false,
- "sensitive": false,
- "source": "DYNAMIC_CLUSTER_LINK_CONFIG",
- "synonyms": [
- "cosm"
], - "link_name": "link-db-1",
- "link_id": "7840644d-f7d8-4844-a577-a10ef3df31df",
- "topics": [
- "topic-db-1",
- "topic-db-2"
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
config_name required | string Example: consumer.offset.sync.enable The link config name |
Link config value to update
value required | string |
{- "value": "300000"
}
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
config_name required | string Example: consumer.offset.sync.enable The link config name |
curl --request DELETE \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/links/link-sb1/configs/consumer.offset.sync.enable \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
validate_only | boolean To validate the action can be performed successfully or not. Default: false |
required | Array of objects |
validate_only | boolean |
{- "data": [
- {
- "name": "cleanup.policy",
- "operation": "DELETE"
}, - {
- "name": "compression.type",
- "value": "gzip"
}
]
}
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
Name and configs of the topics mirroring from and mirroring to. Note that Confluent Cloud allows only specific replication factor values. Because of that the replication factor field should either be omitted or it should use one of the allowed values (see https://docs.confluent.io/cloud/current/client-apps/optimizing/durability.html).
source_topic_name required | string |
mirror_topic_name | string |
replication_factor | integer |
Array of objects (ConfigData) |
Generic example of creating a mirror topic
{- "source_topic_name": "topic-1",
- "configs": [
- {
- "name": "unclean.leader.election.enable",
- "value": "true"
}
], - "replication_factor": 1
}
Thrown when trying to deserialize an integer from non-integer data.
{- "error_code": 400,
- "message": "Cannot deserialize value of type `java.lang.Integer` from String \"A\": not a valid `java.lang.Integer` value"
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
mirror_status | string (MirrorTopicStatus) Enum: "ACTIVE" "FAILED" "LINK_FAILED" "LINK_PAUSED" "PAUSED" "PENDING_STOPPED" "SOURCE_UNAVAILABLE" "STOPPED" "PENDING_MIRROR" "PENDING_SYNCHRONIZE" "PENDING_SETUP_FOR_RESTORE" "PENDING_RESTORE" Example: mirror_status=ACTIVE The status of the mirror topic. If not specified, all mirror topics will be returned. |
curl --request GET \ --url 'https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/links/link-sb1/mirrors?mirror_status=ACTIVE' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaMirrorDataList",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1",
- "next": null
}, - "data": [
- {
- "kind": "KafkaMirrorData",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "link_name": "link-sb-1",
- "resource_name": "crn:///kafka=cluster-1",
- "mirror_topic_name": "topic-1",
- "source_topic_name": "topic-1",
- "num_partitions": 3,
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "mirror_status": "ACTIVE",
- "state_time_ms": 1612550939300
}, - {
- "kind": "KafkaMirrorData",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "link_name": "link-sb-2",
- "resource_name": "crn:///kafka=cluster-1",
- "mirror_topic_name": "topic-2",
- "source_topic_name": "topic-2",
- "num_partitions": 3,
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "mirror_status": "STOPPED",
- "state_time_ms": 1612551353640
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
mirror_status | string (MirrorTopicStatus) Enum: "ACTIVE" "FAILED" "LINK_FAILED" "LINK_PAUSED" "PAUSED" "PENDING_STOPPED" "SOURCE_UNAVAILABLE" "STOPPED" "PENDING_MIRROR" "PENDING_SYNCHRONIZE" "PENDING_SETUP_FOR_RESTORE" "PENDING_RESTORE" Example: mirror_status=ACTIVE The status of the mirror topic. If not specified, all mirror topics will be returned. |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/links/-/mirrors \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaMirrorDataList",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1",
- "next": null
}, - "data": [
- {
- "kind": "KafkaMirrorData",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "link_name": "link-sb-1",
- "resource_name": "crn:///kafka=cluster-1",
- "mirror_topic_name": "topic-1",
- "source_topic_name": "topic-1",
- "num_partitions": 3,
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "mirror_status": "ACTIVE",
- "state_time_ms": 1612550939300
}, - {
- "kind": "KafkaMirrorData",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "link_name": "link-sb-2",
- "resource_name": "crn:///kafka=cluster-1",
- "mirror_topic_name": "topic-2",
- "source_topic_name": "topic-2",
- "num_partitions": 3,
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "mirror_status": "STOPPED",
- "state_time_ms": 1612551353640
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
mirror_topic_name required | string Example: topic-1 Cluster Linking mirror topic name |
include_state_transition_errors | boolean Whether to include mirror state transition errors in the response. Default: false |
curl --request GET \ --url https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/cluster-1/links/link-sb1/mirrors/topic-1 \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kind": "KafkaMirrorData",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "link_name": "link-sb-1",
- "mirror_topic_name": "topic-1",
- "source_topic_name": "topic-1",
- "num_partitions": 3,
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "mirror_status": "ACTIVE",
- "state_time_ms": 1612550939300
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
validate_only | boolean To validate the action can be performed successfully or not. Default: false |
Mirror topics to be altered.
mirror_topic_names | Array of strings The mirror topics specified as a list of topic names. |
mirror_topic_name_pattern | string The mirror topics specified as a pattern. |
Example using mirror topic names
{- "mirror_topic_names": [
- "topic-1",
- "topic-2"
]
}
{- "kind": "KafkaPromoteMirror",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "data": [
- {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-sb",
- "error_code": null,
- "error_message": null,
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}, - {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-2",
- "error_code": 400,
- "error_message": "Topic 'topic-2' has already stopped its mirror from 'my-new-link-1'",
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
validate_only | boolean To validate the action can be performed successfully or not. Default: false |
Mirror topics to be altered.
mirror_topic_names | Array of strings The mirror topics specified as a list of topic names. |
mirror_topic_name_pattern | string The mirror topics specified as a pattern. |
Example using mirror topic names
{- "mirror_topic_names": [
- "topic-1",
- "topic-2"
]
}
{- "kind": "KafkaPromoteMirror",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "data": [
- {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-sb",
- "error_code": null,
- "error_message": null,
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}, - {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-2",
- "error_code": 400,
- "error_message": "Topic 'topic-2' has already stopped its mirror from 'my-new-link-1'",
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
validate_only | boolean To validate the action can be performed successfully or not. Default: false |
Mirror topics to be altered.
mirror_topic_names | Array of strings The mirror topics specified as a list of topic names. |
mirror_topic_name_pattern | string The mirror topics specified as a pattern. |
Example using mirror topic names
{- "mirror_topic_names": [
- "topic-1",
- "topic-2"
]
}
{- "kind": "KafkaPromoteMirror",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "data": [
- {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-sb",
- "error_code": null,
- "error_message": null,
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}, - {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-2",
- "error_code": 400,
- "error_message": "Topic 'topic-2' has already stopped its mirror from 'my-new-link-1'",
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
validate_only | boolean To validate the action can be performed successfully or not. Default: false |
Mirror topics to be altered.
mirror_topic_names | Array of strings The mirror topics specified as a list of topic names. |
mirror_topic_name_pattern | string The mirror topics specified as a pattern. |
Example using mirror topic names
{- "mirror_topic_names": [
- "topic-1",
- "topic-2"
]
}
{- "kind": "KafkaPromoteMirror",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "data": [
- {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-sb",
- "error_code": null,
- "error_message": null,
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}, - {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-2",
- "error_code": 400,
- "error_message": "Topic 'topic-2' has already stopped its mirror from 'my-new-link-1'",
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
validate_only | boolean To validate the action can be performed successfully or not. Default: false |
Mirror topics to be altered.
mirror_topic_names | Array of strings The mirror topics specified as a list of topic names. |
mirror_topic_name_pattern | string The mirror topics specified as a pattern. |
Example using mirror topic names
{- "mirror_topic_names": [
- "topic-1",
- "topic-2"
]
}
{- "kind": "KafkaPromoteMirror",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "data": [
- {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-sb",
- "error_code": null,
- "error_message": null,
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}, - {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-2",
- "error_code": 400,
- "error_message": "Topic 'topic-2' has already stopped its mirror from 'my-new-link-1'",
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
validate_only | boolean To validate the action can be performed successfully or not. Default: false |
Mirror topics to be altered.
mirror_topic_names | Array of strings The mirror topics specified as a list of topic names. |
mirror_topic_name_pattern | string The mirror topics specified as a pattern. |
Example using mirror topic names
{- "mirror_topic_names": [
- "topic-1",
- "topic-2"
]
}
{- "kind": "KafkaPromoteMirror",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "data": [
- {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-sb",
- "error_code": null,
- "error_message": null,
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}, - {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-2",
- "error_code": 400,
- "error_message": "Topic 'topic-2' has already stopped its mirror from 'my-new-link-1'",
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}
]
}
cluster_id required | string Example: cluster-1 The Kafka cluster ID. |
link_name required | string Example: link-sb1 The link name |
include_partition_level_truncation_data | boolean Whether to include partition level truncation information when truncating and restoring a topic in the response. Default: false |
validate_only | boolean To validate the action can be performed successfully or not. Default: false |
Mirror topics to be altered.
mirror_topic_names | Array of strings The mirror topics specified as a list of topic names. |
mirror_topic_name_pattern | string The mirror topics specified as a pattern. |
Example using mirror topic names
{- "mirror_topic_names": [
- "topic-1",
- "topic-2"
]
}
{- "kind": "KafkaPromoteMirror",
- "metadata": {
- "resource_name": "crn:///kafka=cluster-1"
}, - "data": [
- {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-sb",
- "error_code": null,
- "error_message": null,
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}, - {
- "kind": "AlterMirrorsData",
- "metadata": {
- "resource": "crn:///kafka=cluster-1"
}, - "mirror_topic_name": "topic-2",
- "error_code": 400,
- "error_message": "Topic 'topic-2' has already stopped its mirror from 'my-new-link-1'",
- "mirror_lags": [
- {
- "partition": 0,
- "lag": 0,
- "last_source_fetch_offset": 0
}, - {
- "partition": 1,
- "lag": 10000,
- "last_source_fetch_offset": 1000
}, - {
- "partition": 2,
- "lag": 40000,
- "last_source_fetch_offset": 12030
}
], - "messages_truncated": null,
- "partition_level_truncation_data": [
- {
- "partition_id": 0,
- "offset_truncated_to": 10000,
- "messages_truncated": 10000
}, - {
- "partition_id": 1,
- "offset_truncated_to": 40000,
- "messages_truncated": 12030
}, - {
- "partition_id": 2,
- "offset_truncated_to": 20000,
- "messages_truncated": 20000
}
]
}
]
}
A quota
object represents a quota configuration for a specific Confluent Cloud resource.
Use this API to retrieve an individual quota or list of quotas for a given scope.
Related guide: Service Quotas for Confluent Cloud.
api_version | string Value: "service-quota/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "AppliedQuota" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
scope | string extensible-enum: ["ORGANIZATION","ENVIRONMENT","NETWORK","KAFKA_CLUSTER","SERVICE_ACCOUNT","USER_ACCOUNT"] The applied scope that this quota belongs to. |
display_name | string A human-readable name for the quota type name. |
default_limit | integer <int32> The default service quota value. |
applied_limit | integer <int32> The latest applied service quota value, taking into account any limit adjustments. |
usage | integer <int32> Show the quota usage value if the quota usage is available for this quota. |
object The user associated with this object. | |
object or null A unique organization id to associate a specific organization to this quota. | |
object or null The environment ID the quota is associated with. | |
object or null The network ID the quota is associated with. | |
object or null The kafka cluster ID the quota is associated with. |
{- "api_version": "service-quota/v1",
- "kind": "AppliedQuota",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/applied-quota=aq-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "scope": "ORGANIZATION",
- "display_name": "Kafka Cluster Per Organization",
- "default_limit": 0,
- "applied_limit": 0,
- "usage": 0,
- "organization": {
- "id": "string",
}, - "environment": {
- "id": "string",
}, - "network": {
- "id": "string",
- "environment": "string",
}, - "kafka_cluster": {
- "id": "string",
- "environment": "string",
}
}
scope required | string (SearchFilter) Example: scope=ORGANIZATION The applied scope the quota belongs to. |
environment | string (SearchFilter) Example: environment=env-00000 The environment ID the quota is associated with. |
network | string (SearchFilter) Example: network=n-12034 The network ID the quota is associated with. |
kafka_cluster | string (SearchFilter) Example: kafka_cluster=lkc-00000 The kafka cluster ID the quota is associated with. |
id | string (SearchFilter) Example: id=iam.max_environments.per_org The id (quota code) that this quota belongs to. |
page_size | integer <= 200 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/service-quota/v1/applied-quotas?scope=ORGANIZATION&environment=env-00000&network=n-12034&kafka_cluster=lkc-00000&id=iam.max_environments.per_org' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "service-quota/v1",
- "kind": "AppliedQuotaList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "service-quota/v1",
- "kind": "AppliedQuota",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/applied-quota=aq-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "scope": "ORGANIZATION",
- "display_name": "Kafka Cluster Per Organization",
- "default_limit": 0,
- "applied_limit": 0,
- "usage": 0,
- "user": {
- "id": "u-4voj5e",
}, - "organization": {
- "id": "b3a17773-05cc-4431-9560-433fb4613da8",
}, - "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-12034",
- "environment": "string",
}, - "kafka_cluster": {
- "id": "lkc-00000",
- "environment": "string",
}
}
]
}
id required | string The unique identifier for the applied quota. |
environment | string (SearchFilter) Example: environment=env-00000 The environment ID the quota is associated with. This field is only required when retrieving a single quota and the scope of quota is "ENVIRONMENT" or "NETWORK" or "KAFKA_CLUSTER". |
network | string (SearchFilter) Example: network=n-12034 The network ID the quota is associated with. This field is only required when retrieving a single quota and the scope of quota is "NETWORK". |
kafka_cluster | string (SearchFilter) Example: kafka_cluster=lkc-00000 The kafka cluster ID the quota is associated with. This field is required only when the scope of quota is "KAFKA_CLUSTER". |
curl --request GET \ --url 'https://api.confluent.cloud/service-quota/v1/applied-quotas/{id}?environment=env-00000&network=n-12034&kafka_cluster=lkc-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "service-quota/v1",
- "kind": "AppliedQuota",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/applied-quota=aq-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "scope": "ORGANIZATION",
- "display_name": "Kafka Cluster Per Organization",
- "default_limit": 0,
- "applied_limit": 0,
- "usage": 0,
- "user": {
- "id": "u-4voj5e",
}, - "organization": {
- "id": "b3a17773-05cc-4431-9560-433fb4613da8",
}, - "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-12034",
- "environment": "string",
}, - "kafka_cluster": {
- "id": "lkc-00000",
- "environment": "string",
}
}
api_version | string Value: "service-quota/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Scope" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
description | string the quota scope for listing quotas queries |
{- "api_version": "service-quota/v1",
- "kind": "Scope",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/scope=s-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "description": "ORGANIZATION scope that quotas would be applied to"
}
page_size | integer <= 200 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url https://api.confluent.cloud/service-quota/v1/scopes \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "service-quota/v1",
- "kind": "ScopeList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "service-quota/v1",
- "kind": "Scope",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/scope=s-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "description": "ORGANIZATION scope that quotas would be applied to"
}
]
}
id required | string The unique identifier for the scope. |
curl --request GET \ --url 'https://api.confluent.cloud/service-quota/v1/scopes/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "service-quota/v1",
- "kind": "Scope",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/scope=s-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "description": "ORGANIZATION scope that quotas would be applied to"
}
Entitlement
objects represent metadata about a marketplace entitlement.
An entitlement includes metadata about a marketplace purchase (start date, end date, billing information, partner IDs, etc). The API allows partners to create, read, and list entitlements. (Unless you need entitlement creation and customer registration to be separate, we recommend using the Signup API to create an organization and entitlement at the same time)
The API only allows authorized partners to interact with the Entitlements API.
organization.id | string (SearchFilter) Example: organization.id=b3a17773-05cc-4431-9560-433fb4613da8 Filter the results by exact match for organization.id. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/partner/v2/entitlements?organization.id=SOME_STRING_VALUE&page_size=SOME_INTEGER_VALUE&page_token=SOME_STRING_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "api_version": "partner/v2",
- "kind": "EntitlementList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "partner/v2",
- "kind": "Entitlement",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/kafka=lkc-f3a90de",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "external_id": "1111-2222-3333-4444",
- "name": "Acme Prod Entitlement",
- "plan_id": "confluent-cloud-payg-prod",
- "product_id": "confluent-cloud-kafka-service-azure",
- "usage_reporting_id": "1111-2222-3333-4444",
- "resource_id": "1111-2222-3333-4444",
- "organization": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}
]
}
external_id required | string The unique external ID of the entitlement (this should be unique to customer) |
name required | string The name of the entitlement |
plan_id required | string extensible-enum: ["confluent-cloud-payg-prod","payg-prod.gcpmarketplace.confluent.cloud"] The plan ID the entitlement |
product_id required | string extensible-enum: ["confluent-cloud-kafka-service-azure","confluent-cloud-for-apache-kafka","payg-prod.gcpmarketplace.confluent.cloud"] The product ID of the entitlement |
usage_reporting_id | string The usage reporting ID of the entitlement (if usage reporting uses a different ID, otherwise, same as external_id) |
resource_id | string The resource ID of the entitlement |
object The organization associated with this object. |
{- "external_id": "1111-2222-3333-4444",
- "name": "Acme Prod Entitlement",
- "plan_id": "confluent-cloud-payg-prod",
- "product_id": "confluent-cloud-kafka-service-azure",
- "usage_reporting_id": "1111-2222-3333-4444",
- "resource_id": "1111-2222-3333-4444",
- "organization": {
- "id": "string",
- "environment": "string"
}
}
{- "api_version": "partner/v2",
- "kind": "Entitlement",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/kafka=lkc-f3a90de",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "external_id": "1111-2222-3333-4444",
- "name": "Acme Prod Entitlement",
- "plan_id": "confluent-cloud-payg-prod",
- "product_id": "confluent-cloud-kafka-service-azure",
- "usage_reporting_id": "1111-2222-3333-4444",
- "resource_id": "1111-2222-3333-4444",
- "organization": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}
id required | string The unique identifier for the entitlement. |
organization.id | string (SearchFilter) Example: organization.id=b3a17773-05cc-4431-9560-433fb4613da8 Scope the operation to the given organization.id. |
curl --request GET \ --url 'https://api.confluent.cloud/partner/v2/entitlements/{id}?organization.id=SOME_STRING_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "api_version": "partner/v2",
- "kind": "Entitlement",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/kafka=lkc-f3a90de",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "external_id": "1111-2222-3333-4444",
- "name": "Acme Prod Entitlement",
- "plan_id": "confluent-cloud-payg-prod",
- "product_id": "confluent-cloud-kafka-service-azure",
- "usage_reporting_id": "1111-2222-3333-4444",
- "resource_id": "1111-2222-3333-4444",
- "organization": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}
id required | string The unique identifier for the organization. |
curl --request GET \ --url 'https://api.confluent.cloud/partner/v2/organizations/{id}' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "api_version": "partner/v2",
- "kind": "Organization",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/kafka=lkc-f3a90de",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "name": "Acme Organization",
- "sso_config": {
- "kind": "AzureSSOConfig",
- "tenant_id": "b3a17773-05cc-4431-9560-433fb4613da8"
}
}
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/partner/v2/organizations?page_size=SOME_INTEGER_VALUE&page_token=SOME_STRING_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "api_version": "partner/v2",
- "kind": "OrganizationList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "partner/v2",
- "kind": "Organization",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/kafka=lkc-f3a90de",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "name": "Acme Organization",
- "sso_config": {
- "kind": "AzureSSOConfig",
- "tenant_id": "b3a17773-05cc-4431-9560-433fb4613da8"
}
}
]
}
Create an organization for a customer. You must pass in either an entitlement object reference (a url to
a previously created entitlement) or entitlement details. If you pass in an entitlement object reference, we will link with the
created entitlement. If you pass in the entitlement details, we will create the entitlement with the organization
in a single transaction. If you pass in user details (email, given name, and family name), we will
create a user as well. If you do not pass in user details, you MUST call /partner/v2/signup/activate
with user details to complete signup.
dry_run | boolean If true, only perform validation of signup |
A JSON object containing signup information
required | object
|
user | object |
required | object or object |
{- "organization": {
- "name": "Acme Organization",
- "sso_config": {
- "kind": "AzureSSOConfig",
- "tenant_id": "b3a17773-05cc-4431-9560-433fb4613da8"
}
}, - "user": { },
- "entitlement": {
- "external_id": "1111-2222-3333-4444",
- "name": "Acme Prod Entitlement",
- "plan_id": "confluent-cloud-payg-prod",
- "product_id": "confluent-cloud-kafka-service-azure",
- "usage_reporting_id": "1111-2222-3333-4444",
- "resource_id": "1111-2222-3333-4444",
- "organization": {
- "id": "string",
- "environment": "string"
}
}
}
{- "organization_id": "b3a17773-05cc-4431-9560-433fb4613da8",
- "display_message": "Your support plan will remain the same, to change the plan, follow this [link](https://docs.confluent.io/cloud/current/faq.html#how-do-i-change-support-plans)."
}
A JSON object containing signup information
user required | object |
organization_id required | string The ID of the organization |
{- "user": { },
- "organization_id": "b3a17773-05cc-4431-9560-433fb4613da8"
}
{- "organization_id": "b3a17773-05cc-4431-9560-433fb4613da8",
- "display_message": "Your support plan will remain the same, to change the plan, follow this [link](https://docs.confluent.io/cloud/current/faq.html#how-do-i-change-support-plans)."
}
dry_run | boolean If true, only perform validation of signup |
A JSON object containing signup information
token required | string The linking token that was generated. |
required | object
|
required | object or object |
{- "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "organization": {
- "name": "Acme Organization",
- "sso_config": {
- "kind": "AzureSSOConfig",
- "tenant_id": "b3a17773-05cc-4431-9560-433fb4613da8"
}
}, - "entitlement": {
- "external_id": "1111-2222-3333-4444",
- "name": "Acme Prod Entitlement",
- "plan_id": "confluent-cloud-payg-prod",
- "product_id": "confluent-cloud-kafka-service-azure",
- "usage_reporting_id": "1111-2222-3333-4444",
- "resource_id": "1111-2222-3333-4444",
- "organization": {
- "id": "string",
- "environment": "string"
}
}
}
{- "organization_id": "b3a17773-05cc-4431-9560-433fb4613da8",
- "display_message": "Your support plan will remain the same, to change the plan, follow this [link](https://docs.confluent.io/cloud/current/faq.html#how-do-i-change-support-plans)."
}
Region
objects represent cloud provider regions available when placing Schema Registry clusters.
The API allows you to list Schema Registry regions.
Related guides:
api_version | string Value: "srcm/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Region" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (srcm.v2.RegionSpec) The desired state of the Region |
{- "api_version": "srcm/v2",
- "kind": "Region",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/region=sgreg-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "Ohio (us-east-2)",
- "cloud": "AWS",
- "region_name": "us-east-2",
- "packages": [
- "ESSENTIALS",
- "ADVANCED"
]
}
}
spec.cloud | string (SearchFilter) Example: spec.cloud=AWS Filter the results by exact match for spec.cloud. |
spec.region_name | string (SearchFilter) Example: spec.region_name=us-east-2 Filter the results by exact match for spec.region_name. |
spec.packages | Array of strings (MultipleSearchFilter) Example: spec.packages=ESSENTIALS&spec.packages=ADVANCED Filter the results by exact match for spec.packages. Pass multiple times to see results matching any of the values. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/srcm/v2/regions?spec.cloud=AWS&spec.region_name=us-east-2&spec.packages=ESSENTIALS,ADVANCED' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "srcm/v2",
- "kind": "RegionList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "srcm/v2",
- "kind": "Region",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/region=sgreg-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "Ohio (us-east-2)",
- "cloud": "AWS",
- "region_name": "us-east-2",
- "packages": [
- "ESSENTIALS",
- "ADVANCED"
]
}
}
]
}
id required | string The unique identifier for the region. |
curl --request GET \ --url 'https://api.confluent.cloud/srcm/v2/regions/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "srcm/v2",
- "kind": "Region",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/region=sgreg-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "Ohio (us-east-2)",
- "cloud": "AWS",
- "region_name": "us-east-2",
- "packages": [
- "ESSENTIALS",
- "ADVANCED"
]
}
}
Clusters
objects represent Schema Registry Clusters on Confluent Cloud.
The API allows you to list, create, read, and delete your Schema Registry clusters.
Related guides:
api_version | string Value: "srcm/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Cluster" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (srcm.v2.ClusterSpec) The desired state of the Cluster | |
object (srcm.v2.ClusterStatus) The status of the Cluster |
{- "api_version": "srcm/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lsrc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "Stream Governance package",
- "package": "ESSENTIALS",
- "environment": {
- "id": "string",
},
}, - "status": {
- "phase": "PROVISIONED"
}
}
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/srcm/v2/clusters?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "srcm/v2",
- "kind": "ClusterList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "srcm/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lsrc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "Stream Governance package",
- "package": "ESSENTIALS",
- "environment": {
- "id": "env-00000",
}, - "region": {
- "id": "sgreg-00000",
}
}, - "status": {
- "phase": "PROVISIONED"
}
}
]
}
required | object The desired state of the Cluster |
{- "spec": {
- "package": "ESSENTIALS",
- "environment": {
- "id": "env-00000"
}, - "region": {
- "id": "sgreg-00000"
}
}
}
{- "api_version": "srcm/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lsrc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "Stream Governance package",
- "package": "ESSENTIALS",
- "environment": {
- "id": "env-00000",
}, - "region": {
- "id": "sgreg-00000",
}
}, - "status": {
- "phase": "PROVISIONED"
}
}
id required | string The unique identifier for the cluster. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/srcm/v2/clusters/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "srcm/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lsrc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "Stream Governance package",
- "package": "ESSENTIALS",
- "environment": {
- "id": "env-00000",
}, - "region": {
- "id": "sgreg-00000",
}
}, - "status": {
- "phase": "PROVISIONED"
}
}
id required | string The unique identifier for the cluster. |
required | object The desired state of the Cluster |
{- "spec": {
- "package": "ESSENTIALS",
- "environment": {
- "id": "env-00000"
}
}
}
{- "api_version": "srcm/v2",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lsrc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "Stream Governance package",
- "package": "ESSENTIALS",
- "environment": {
- "id": "env-00000",
}, - "region": {
- "id": "sgreg-00000",
}
}, - "status": {
- "phase": "PROVISIONED"
}
}
id required | string The unique identifier for the cluster. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/srcm/v2/clusters/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Clusters
objects represent Schema Registry Clusters on Confluent Cloud.
The API allows you to list and read your Schema Registry clusters.
Related guide: Confluent Cloud Schema Registry Cluster APIs.
api_version | string Value: "srcm/v3" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Cluster" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (srcm.v3.ClusterSpec) The desired state of the Cluster | |
object (srcm.v3.ClusterStatus) The status of the Cluster |
{- "api_version": "srcm/v3",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lsrc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "Stream Governance package",
- "package": "ESSENTIALS",
- "cloud": "GCP",
- "region": "us-east4",
- "environment": {
- "id": "string",
}
}, - "status": {
- "phase": "PROVISIONED"
}
}
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/srcm/v3/clusters?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "srcm/v3",
- "kind": "ClusterList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "srcm/v3",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lsrc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "Stream Governance package",
- "package": "ESSENTIALS",
- "cloud": "GCP",
- "region": "us-east4",
- "environment": {
- "id": "env-00000",
}
}, - "status": {
- "phase": "PROVISIONED"
}
}
]
}
id required | string The unique identifier for the cluster. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/srcm/v3/clusters/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "srcm/v3",
- "kind": "Cluster",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/cloud-cluster=lsrc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "Stream Governance package",
- "package": "ESSENTIALS",
- "cloud": "GCP",
- "region": "us-east4",
- "environment": {
- "id": "env-00000",
}
}, - "status": {
- "phase": "PROVISIONED"
}
}
Test input schema against a particular version of a subject's schema for compatibility. The compatibility level applied for the check is the configured compatibility level for the subject (http:get:: /config/(string: subject)). If this subject's compatibility level was never changed, then the global compatibility level applies (http:get:: /config).
subject required | string Subject of the schema version against which compatibility is to be tested |
version required | string Version of the subject's schema against which compatibility is to be tested. Valid values for versionId are between [1,2^31-1] or the string "latest"."latest" checks compatibility of the input schema with the last registered schema under the specified subject |
verbose | boolean Whether to return detailed error messages |
Schema
version | integer <int32> Version number |
id | integer <int32> Globally unique identifier of the schema |
schemaType | string Schema type |
Array of objects (SchemaReference) References to other schemas | |
schema | string Schema definition string |
object or null (Metadata) User-defined metadata | |
object or null (RuleSet) Schema rule set |
{- "version": 0,
- "id": 0,
- "schemaType": "string",
- "references": [
- {
- "name": "io.confluent.kafka.example.User",
- "subject": "User",
- "version": 1
}
], - "schema": "string",
- "metadata": {
- "tags": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "properties": {
- "property1": "string",
- "property2": "string"
}, - "sensitive": [
- "string"
]
}, - "ruleSet": {
- "migrationRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
], - "domainRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
]
}
}
{- "is_compatible": true,
- "messages": [ ]
}
Test input schema against a subject's schemas for compatibility, based on the configured compatibility level of the subject. In other words, it will perform the same compatibility check as register for that subject. The compatibility level applied for the check is the configured compatibility level for the subject (http:get:: /config/(string: subject)). If this subject's compatibility level was never changed, then the global compatibility level applies (http:get:: /config).
subject required | string Subject of the schema version against which compatibility is to be tested |
verbose | boolean Whether to return detailed error messages |
Schema
version | integer <int32> Version number |
id | integer <int32> Globally unique identifier of the schema |
schemaType | string Schema type |
Array of objects (SchemaReference) References to other schemas | |
schema | string Schema definition string |
object or null (Metadata) User-defined metadata | |
object or null (RuleSet) Schema rule set |
{- "version": 0,
- "id": 0,
- "schemaType": "string",
- "references": [
- {
- "name": "io.confluent.kafka.example.User",
- "subject": "User",
- "version": 1
}
], - "schema": "string",
- "metadata": {
- "tags": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "properties": {
- "property1": "string",
- "property2": "string"
}, - "sensitive": [
- "string"
]
}, - "ruleSet": {
- "migrationRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
], - "domainRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
]
}
}
{- "is_compatible": true,
- "messages": [ ]
}
The API allows you to manage and query schema compatibility settings and cluster configurations.
Related guide: Manage Schemas in Confluent Cloud.
Retrieves cluster config information.
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/clusterconfig \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "maxSchemas": 20000,
- "maxRequestsPerSec": 25
}
Retrieves compatibility level, compatibility group, normalization, default metadata, and rule set for a subject.
subject required | string Name of the subject |
defaultToGlobal | boolean Whether to return the global compatibility level if subject compatibility level not found |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/config/{subject}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "alias": "string",
- "normalize": true,
- "compatibilityLevel": "FULL_TRANSITIVE",
- "compatibilityGroup": "string",
- "defaultMetadata": {
- "properties": { }
}, - "overrideMetadata": {
- "properties": { }
}, - "defaultRuleSet": {
- "properties": { }
}, - "overrideRuleSet": {
- "properties": { }
}
}
Update compatibility level, compatibility group, normalization, default metadata, and rule set for the specified subject. On success, echoes the original request back to the client.
subject required | string Name of the subject |
Config Update Request
alias | string If alias is specified, then this subject is an alias for the subject named by the alias. That means that any reference to this subject will be replaced by the alias. |
normalize | boolean If true, then schemas are automatically normalized when registered or when passed during lookups. This means that clients do not have to pass the "normalize" query parameter to have normalization occur. |
compatibility | string extensible-enum: ["BACKWARD","BACKWARD_TRANSITIVE","FORWARD","FORWARD_TRANSITIVE","FULL","FULL_TRANSITIVE","NONE"] Compatibility Level |
compatibilityGroup | string Only schemas that belong to the same compatibility group will be checked for compatibility. |
object Default value for the metadata to be used during schema registration. | |
object Override value for the metadata to be used during schema registration. | |
object Default value for the ruleSet to be used during schema registration. | |
object Override value for the ruleSet to be used during schema registration. |
{- "alias": "string",
- "normalize": true,
- "compatibility": "FULL_TRANSITIVE",
- "compatibilityGroup": "string",
- "defaultMetadata": {
- "properties": { }
}, - "overrideMetadata": {
- "properties": { }
}, - "defaultRuleSet": {
- "properties": { }
}, - "overrideRuleSet": {
- "properties": { }
}
}
{- "alias": "string",
- "normalize": true,
- "compatibility": "FULL_TRANSITIVE",
- "compatibilityGroup": "string",
- "defaultMetadata": {
- "properties": { }
}, - "overrideMetadata": {
- "properties": { }
}, - "defaultRuleSet": {
- "properties": { }
}, - "overrideRuleSet": {
- "properties": { }
}
}
Deletes the specified subject-level compatibility level config and reverts to the global default.
subject required | string Name of the subject |
curl --request DELETE \ --url 'https://psrc-00000.region.provider.confluent.cloud/config/{subject}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
"FULL_TRANSITIVE"
Retrieves the global compatibility level, compatibility group, normalization, default metadata, and rule set.
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/config \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "alias": "string",
- "normalize": true,
- "compatibilityLevel": "FULL_TRANSITIVE",
- "compatibilityGroup": "string",
- "defaultMetadata": {
- "properties": { }
}, - "overrideMetadata": {
- "properties": { }
}, - "defaultRuleSet": {
- "properties": { }
}, - "overrideRuleSet": {
- "properties": { }
}
}
Updates the global compatibility level, compatibility group, schema normalization, default metadata, and rule set. On success, echoes the original request back to the client.
Config Update Request
alias | string If alias is specified, then this subject is an alias for the subject named by the alias. That means that any reference to this subject will be replaced by the alias. |
normalize | boolean If true, then schemas are automatically normalized when registered or when passed during lookups. This means that clients do not have to pass the "normalize" query parameter to have normalization occur. |
compatibility | string extensible-enum: ["BACKWARD","BACKWARD_TRANSITIVE","FORWARD","FORWARD_TRANSITIVE","FULL","FULL_TRANSITIVE","NONE"] Compatibility Level |
compatibilityGroup | string Only schemas that belong to the same compatibility group will be checked for compatibility. |
object Default value for the metadata to be used during schema registration. | |
object Override value for the metadata to be used during schema registration. | |
object Default value for the ruleSet to be used during schema registration. | |
object Override value for the ruleSet to be used during schema registration. |
{- "alias": "string",
- "normalize": true,
- "compatibility": "FULL_TRANSITIVE",
- "compatibilityGroup": "string",
- "defaultMetadata": {
- "properties": { }
}, - "overrideMetadata": {
- "properties": { }
}, - "defaultRuleSet": {
- "properties": { }
}, - "overrideRuleSet": {
- "properties": { }
}
}
{- "alias": "string",
- "normalize": true,
- "compatibility": "FULL_TRANSITIVE",
- "compatibilityGroup": "string",
- "defaultMetadata": {
- "properties": { }
}, - "overrideMetadata": {
- "properties": { }
}, - "defaultRuleSet": {
- "properties": { }
}, - "overrideRuleSet": {
- "properties": { }
}
}
Deletes the global compatibility level config and reverts to the default.
curl --request DELETE \ --url https://psrc-00000.region.provider.confluent.cloud/config \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
"FULL_TRANSITIVE"
The API allows you to retrieve information about schema contexts.
Related guide: Manage Schemas in Confluent Cloud.
Retrieves a list of contexts.
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/contexts \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- "."
]
The API allows you to create, retrieve, update, and delete exporters.
Related guide: Manage Schemas in Confluent Cloud.
Retrieves a list of schema exporters that have been created.
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/exporters \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- "[\"exporter1\", \"exporter2\"]"
]
Creates a new schema exporter. All attributes in request body are optional except config.
Schema
name | string Name of the exporter |
contextType | string extensible-enum: ["CUSTOM","AUTO","NONE"] Context type of the exporter. One of CUSTOM, NONE or AUTO (default) |
context | string Customized context of the exporter if contextType equals CUSTOM. |
subjects | Array of strings Name of each exporter subject |
subjectRenameFormat | string Format string for the subject name in the destination cluster, which may contain ${subject} as a placeholder for the originating subject name. For example, dc_${subject} for the subject orders will map to the destination subject name dc_orders. |
object The map containing exporter’s configurations |
{- "name": "test-exporter",
- "contextType": "CUSTOM",
- "context": "User",
- "subjects": [
- "string"
], - "subjectRenameFormat": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}
}
{- "name": "test-exporter"
}
Retrieves the information of the schema exporter.
name required | string Name of the exporter |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/exporters/{name}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "name": "test-exporter",
- "contextType": "CUSTOM",
- "context": "User",
- "subjects": [
- "string"
], - "subjectRenameFormat": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}
}
Updates the information or configurations of the schema exporter. All attributes in request body are optional.
name required | string Name of the exporter |
Exporter Update Request
contextType | string extensible-enum: ["CUSTOM","AUTO","NONE"] Context type of the exporter. One of CUSTOM, NONE or AUTO (default) |
context | string Customized context of the exporter if contextType equals CUSTOM. |
subjects | Array of strings Name of each exporter subject |
subjectRenameFormat | string Format string for the subject name in the destination cluster, which may contain ${subject} as a placeholder for the originating subject name. For example, dc_${subject} for the subject orders will map to the destination subject name dc_orders. |
object The map containing exporter’s configurations |
{- "contextType": "CUSTOM",
- "context": "User",
- "subjects": [
- "string"
], - "subjectRenameFormat": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}
}
{- "name": "test-exporter"
}
Deletes the schema exporter.
name required | string Name of the exporter |
curl --request DELETE \ --url 'https://psrc-00000.region.provider.confluent.cloud/exporters/{name}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "error_code": 400,
- "message": "Bad Request"
}
Retrieves the status of the schema exporter.
name required | string Name of the exporter |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/exporters/{name}/status' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "name": "test-exporter",
- "state": "RUNNING",
- "offset": 100,
- "ts": 1631206325,
- "trace": ""
}
Retrieves the config of the schema exporter.
name required | string Name of the exporter |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/exporters/{name}/config' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "schema.registry.url": "<Physical SR Endpoint>",
- "basic.auth.credentials.source": "USER_INFO",
- "basic.auth.user.info": "string"
}
Retrieves the config of the schema exporter.
name required | string Name of the exporter |
Exporter Update Request
schema.registry.url | string Config SR URL |
basic.auth.credentials.source | string Config SR Auth |
basic.auth.user.info | string Config SR User Info |
{- "schema.registry.url": "<Physical SR Endpoint>",
- "basic.auth.credentials.source": "USER_INFO",
- "basic.auth.user.info": "string"
}
{- "name": "test-exporter"
}
Pauses the state of the schema exporter.
name required | string Name of the exporter |
curl --request PUT \ --url 'https://psrc-00000.region.provider.confluent.cloud/exporters/{name}/pause' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "name": "test-exporter"
}
Reset the state of the schema exporter.
name required | string Name of the exporter |
curl --request PUT \ --url 'https://psrc-00000.region.provider.confluent.cloud/exporters/{name}/reset' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "name": "test-exporter"
}
Resume running of the schema exporter.
name required | string Name of the exporter |
curl --request PUT \ --url 'https://psrc-00000.region.provider.confluent.cloud/exporters/{name}/resume' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "name": "test-exporter"
}
The API allows you to create, retrieve, update, and delete schema subjects modes of operation.
Related guide: Manage Schemas in Confluent Cloud.
Retrieves the subject mode.
subject required | string Name of the subject |
defaultToGlobal | boolean Whether to return the global mode if subject mode not found |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/mode/{subject}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "mode": "READWRITE"
}
Update mode for the specified subject. On success, echoes the original request back to the client.
subject required | string Name of the subject |
force | boolean Whether to force update if setting mode to IMPORT and schemas currently exist |
Update Request
mode | string extensible-enum: ["READWRITE","READONLY","READONLY_OVERRIDE","IMPORT"] Schema Registry operating mode |
{- "mode": "READWRITE"
}
{- "mode": "READWRITE"
}
Deletes the specified subject-level mode and reverts to the global default.
subject required | string Name of the subject |
curl --request DELETE \ --url 'https://psrc-00000.region.provider.confluent.cloud/mode/{subject}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "mode": "READWRITE"
}
Retrieves global mode.
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/mode \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "mode": "READWRITE"
}
Update global mode. On success, echoes the original request back to the client.
force | boolean Whether to force update if setting mode to IMPORT and schemas currently exist |
Update Request
mode | string extensible-enum: ["READWRITE","READONLY","READONLY_OVERRIDE","IMPORT"] Schema Registry operating mode |
{- "mode": "READWRITE"
}
{- "mode": "READWRITE"
}
The API allows you to create, retrieve, update, and delete schemas.
Related guide: Manage Schemas in Confluent Cloud.
Retrieves the schema string identified by the input ID.
id required | integer <int32> Globally unique identifier of the schema |
subject | string Name of the subject |
format | string Default: "" Desired output format, dependent on schema type |
fetchMaxId | boolean Default: false Whether to fetch the maximum schema identifier that exists |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/schemas/ids/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "schemaType": "AVRO",
- "schema": "{\"schema\": \"{\"type\": \"string\"}\"}",
- "references": [
- {
- "name": "io.confluent.kafka.example.User",
- "subject": "User",
- "version": 1
}
], - "maxId": 1
}
Retrieves the schema identified by the input ID.
id required | integer <int32> Globally unique identifier of the schema |
subject | string Name of the subject |
format | string Default: "" Desired output format, dependent on schema type |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/schemas/ids/{id}/schema' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
"{\"schema\": \"{\"type\": \"string\"}\"}"
Retrieve the schema types supported by this registry.
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/schemas/types \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- "AVRO"
]
Get the schemas matching the specified parameters.
subjectPrefix | string Default: "" Filters results by the respective subject prefix |
deleted | boolean Default: false Whether to return soft deleted schemas |
latestOnly | boolean Default: false Whether to return latest schema versions only for each matching subject |
offset | integer <int32> Default: 0 Pagination offset for results |
limit | integer <int32> Default: -1 Pagination size for results. Ignored if negative |
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/schemas \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- {
- "subject": "User",
- "version": 1,
- "id": 100001,
- "schemaType": "AVRO",
- "references": [
- {
- "name": "io.confluent.kafka.example.User",
- "subject": "User",
- "version": 1
}
], - "schema": "{\"schema\": \"{\"type\": \"string\"}\"}",
- "metadata": {
- "tags": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "properties": {
- "property1": "string",
- "property2": "string"
}, - "sensitive": [
- "string"
]
}, - "ruleSet": {
- "migrationRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
], - "domainRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
]
}
}
]
Retrieves all the subjects associated with a particular schema ID.
id required | integer <int32> Globally unique identifier of the schema |
subject | string Filters results by the respective subject |
deleted | boolean Whether to include subjects where the schema was deleted |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/schemas/ids/{id}/subjects' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- "User"
]
Get all the subject-version pairs associated with the input ID.
id required | integer <int32> Globally unique identifier of the schema |
subject | string Filters results by the respective subject |
deleted | boolean Whether to include subject versions where the schema was deleted |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/schemas/ids/{id}/versions' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- {
- "subject": "User",
- "version": 1
}
]
The API allows you to create, retrieve, update, and delete schema subjects and versions.
Related guide: Manage Schemas in Confluent Cloud.
Retrieves a specific version of the schema registered under this subject.
subject required | string Name of the subject |
version required | string Version of the schema to be returned. Valid values for versionId are between [1,2^31-1] or the string "latest". "latest" returns the last registered schema under the specified subject. Note that there may be a new latest schema that gets registered right after this request is served. |
deleted | boolean Whether to include deleted schema |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/subjects/{subject}/versions/{version}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "subject": "User",
- "version": 1,
- "id": 100001,
- "schemaType": "AVRO",
- "references": [
- {
- "name": "io.confluent.kafka.example.User",
- "subject": "User",
- "version": 1
}
], - "schema": "{\"schema\": \"{\"type\": \"string\"}\"}",
- "metadata": {
- "tags": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "properties": {
- "property1": "string",
- "property2": "string"
}, - "sensitive": [
- "string"
]
}, - "ruleSet": {
- "migrationRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
], - "domainRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
]
}
}
Deletes a specific version of the schema registered under this subject. This only deletes the version and the schema ID remains intact making it still possible to decode data using the schema ID. This API is recommended to be used only in development environments or under extreme circumstances where-in, its required to delete a previously registered schema for compatibility purposes or re-register previously registered schema.
subject required | string Name of the subject |
version required | string Version of the schema to be returned. Valid values for versionId are between [1,2^31-1] or the string "latest". "latest" returns the last registered schema under the specified subject. Note that there may be a new latest schema that gets registered right after this request is served. |
permanent | boolean Whether to perform a permanent delete |
curl --request DELETE \ --url 'https://psrc-00000.region.provider.confluent.cloud/subjects/{subject}/versions/{version}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
1
Retrieves the IDs of schemas that reference the specified schema.
subject required | string Name of the subject |
version required | string Version of the schema to be returned. Valid values for versionId are between [1,2^31-1] or the string "latest". "latest" returns the last registered schema under the specified subject. Note that there may be a new latest schema that gets registered right after this request is served. |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/subjects/{subject}/versions/{version}/referencedby' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- 100001
]
Retrieves the schema for the specified version of this subject. Only the unescaped schema string is returned.
subject required | string Name of the subject |
version required | string Version of the schema to be returned. Valid values for versionId are between [1,2^31-1] or the string "latest". "latest" returns the last registered schema under the specified subject. Note that there may be a new latest schema that gets registered right after this request is served. |
deleted | boolean Whether to include deleted schema |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/subjects/{subject}/versions/{version}/schema' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
"{\"schema\": \"{\"type\": \"string\"}\"}"
Retrieves a list of versions registered under the specified subject.
subject required | string Name of the subject |
deleted | boolean Whether to include deleted schemas |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/subjects/{subject}/versions' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- 1
]
Register a new schema under the specified subject. If successfully registered, this returns the unique identifier of this schema in the registry. The returned identifier should be used to retrieve this schema from the schemas resource and is different from the schema's version which is associated with the subject. If the same schema is registered under a different subject, the same identifier will be returned. However, the version of the schema may be different under different subjects. A schema should be compatible with the previously registered schema or schemas (if there are any) as per the configured compatibility level. The configured compatibility level can be obtained by issuing a GET http:get:: /config/(string: subject). If that returns null, then GET http:get:: /config When there are multiple instances of Schema Registry running in the same cluster, the schema registration request will be forwarded to one of the instances designated as the primary. If the primary is not available, the client will get an error code indicating that the forwarding has failed.
subject required | string Name of the subject |
normalize | boolean Whether to register the normalized schema |
Schema
version | integer <int32> Version number |
id | integer <int32> Globally unique identifier of the schema |
schemaType | string Schema type |
Array of objects (SchemaReference) References to other schemas | |
schema | string Schema definition string |
object or null (Metadata) User-defined metadata | |
object or null (RuleSet) Schema rule set |
{- "version": 0,
- "id": 0,
- "schemaType": "string",
- "references": [
- {
- "name": "io.confluent.kafka.example.User",
- "subject": "User",
- "version": 1
}
], - "schema": "string",
- "metadata": {
- "tags": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "properties": {
- "property1": "string",
- "property2": "string"
}, - "sensitive": [
- "string"
]
}, - "ruleSet": {
- "migrationRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
], - "domainRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
]
}
}
{- "id": 100001
}
Check if a schema has already been registered under the specified subject. If so, this returns the schema string along with its globally unique identifier, its version under this subject and the subject name.
subject required | string Subject under which the schema will be registered |
normalize | boolean Whether to lookup the normalized schema |
deleted | boolean Whether to lookup deleted schemas |
Schema
version | integer <int32> Version number |
id | integer <int32> Globally unique identifier of the schema |
schemaType | string Schema type |
Array of objects (SchemaReference) References to other schemas | |
schema | string Schema definition string |
object or null (Metadata) User-defined metadata | |
object or null (RuleSet) Schema rule set |
{- "version": 0,
- "id": 0,
- "schemaType": "string",
- "references": [
- {
- "name": "io.confluent.kafka.example.User",
- "subject": "User",
- "version": 1
}
], - "schema": "string",
- "metadata": {
- "tags": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "properties": {
- "property1": "string",
- "property2": "string"
}, - "sensitive": [
- "string"
]
}, - "ruleSet": {
- "migrationRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
], - "domainRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
]
}
}
{- "subject": "User",
- "version": 1,
- "id": 100001,
- "schemaType": "AVRO",
- "references": [
- {
- "name": "io.confluent.kafka.example.User",
- "subject": "User",
- "version": 1
}
], - "schema": "{\"schema\": \"{\"type\": \"string\"}\"}",
- "metadata": {
- "tags": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "properties": {
- "property1": "string",
- "property2": "string"
}, - "sensitive": [
- "string"
]
}, - "ruleSet": {
- "migrationRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
], - "domainRules": [
- {
- "name": "string",
- "doc": "string",
- "kind": "TRANSFORM",
- "mode": "UPGRADE",
- "type": "string",
- "tags": [
- "string"
], - "params": {
- "property1": "string",
- "property2": "string"
}, - "expr": "string",
- "onSuccess": "string",
- "onFailure": "string",
- "disabled": true
}
]
}
}
Deletes the specified subject and its associated compatibility level if registered. It is recommended to use this API only when a topic needs to be recycled or in development environment.
subject required | string Name of the subject |
permanent | boolean Whether to perform a permanent delete |
curl --request DELETE \ --url 'https://psrc-00000.region.provider.confluent.cloud/subjects/{subject}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- 1
]
Retrieves a list of registered subjects matching specified parameters.
subjectPrefix | string Default: ":*:" Subject name prefix |
deleted | boolean Whether to look up deleted subjects |
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/subjects \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- "User"
]
The API allows you to create, retrieve, update, and delete key encryption keys.
Related guide: Manage Schemas in Confluent Cloud.
deleted | boolean Whether to include deleted keys |
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- "mykek"
]
The create request
name | string Name of the kek |
kmsType | string KMS type of the kek |
kmsKeyId | string KMS key ID of the kek |
object Properties of the kek | |
doc | string Description of the kek |
shared | boolean Whether the kek is shared |
deleted | boolean Whether the kek is deleted |
{- "kmsProps": {
- "key": "kmsProps"
}, - "shared": true,
- "name": "name",
- "doc": "doc",
- "kmsKeyId": "kmsKeyId",
- "kmsType": "kmsType"
}
{- "kmsProps": {
- "key": "kmsProps"
}, - "shared": true,
- "deleted": true,
- "name": "name",
- "doc": "doc",
- "kmsKeyId": "kmsKeyId",
- "kmsType": "kmsType",
- "ts": 0
}
name required | string Name of the kek |
permanent | boolean Whether to perform a permanent delete |
curl --request DELETE \ --url 'https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks/{name}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
name required | string Name of the kek |
deleted | boolean Whether to include deleted keys |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks/{name}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kmsProps": {
- "key": "kmsProps"
}, - "shared": true,
- "deleted": true,
- "name": "name",
- "doc": "doc",
- "kmsKeyId": "kmsKeyId",
- "kmsType": "kmsType",
- "ts": 0
}
name required | string Name of the kek |
The update request
object Properties of the kek | |
doc | string Description of the kek |
shared | boolean Whether the kek is shared |
{- "kmsProps": {
- "key": "kmsProps"
}, - "shared": true,
- "doc": "doc"
}
{- "kmsProps": {
- "key": "kmsProps"
}, - "shared": true,
- "deleted": true,
- "name": "name",
- "doc": "doc",
- "kmsKeyId": "kmsKeyId",
- "kmsType": "kmsType",
- "ts": 0
}
name required | string Name of the kek |
curl --request POST \ --url 'https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks/{name}/undelete' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
The API allows you to create, retrieve, update, and delete data encryption keys.
Related guide: Manage Schemas in Confluent Cloud.
name required | string Name of the kek |
deleted | boolean Whether to include deleted keys |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks/{name}/deks' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- "User"
]
name required | string Name of the kek |
The create request
subject | string Subject of the dek |
version | integer <int32> Version of the dek |
algorithm | string Enum: "AES128_GCM" "AES256_GCM" "AES256_SIV" Algorithm of the dek |
encryptedKeyMaterial | string Encrypted key material of the dek |
deleted | boolean Whether the dek is deleted |
{- "subject": "subject",
- "encryptedKeyMaterial": "encryptedKeyMaterial",
- "version": 0,
- "algorithm": "AES128_GCM"
}
{- "kekName": "kekName",
- "keyMaterial": "keyMaterial",
- "deleted": true,
- "subject": "subject",
- "encryptedKeyMaterial": "encryptedKeyMaterial",
- "version": 0,
- "algorithm": "AES128_GCM",
- "ts": 6
}
name required | string Name of the kek |
subject required | string Subject of the dek |
algorithm | string Enum: "AES128_GCM" "AES256_GCM" "AES256_SIV" Algorithm of the dek |
permanent | boolean Whether to perform a permanent delete |
curl --request DELETE \ --url 'https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks/{name}/deks/{subject}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
name required | string Name of the kek |
subject required | string Subject of the dek |
algorithm | string Enum: "AES128_GCM" "AES256_GCM" "AES256_SIV" Algorithm of the dek |
deleted | boolean Whether to include deleted keys |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks/{name}/deks/{subject}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kekName": "kekName",
- "keyMaterial": "keyMaterial",
- "deleted": true,
- "subject": "subject",
- "encryptedKeyMaterial": "encryptedKeyMaterial",
- "version": 0,
- "algorithm": "AES128_GCM",
- "ts": 6
}
name required | string Name of the kek |
subject required | string Subject of the dek |
version required | string Version of the dek |
algorithm | string Enum: "AES128_GCM" "AES256_GCM" "AES256_SIV" Algorithm of the dek |
permanent | boolean Whether to perform a permanent delete |
curl --request DELETE \ --url 'https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks/{name}/deks/{subject}/versions/{version}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
name required | string Name of the kek |
subject required | string Subject of the dek |
version required | string Version of the dek |
algorithm | string Enum: "AES128_GCM" "AES256_GCM" "AES256_SIV" Algorithm of the dek |
deleted | boolean Whether to include deleted keys |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks/{name}/deks/{subject}/versions/{version}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "kekName": "kekName",
- "keyMaterial": "keyMaterial",
- "deleted": true,
- "subject": "subject",
- "encryptedKeyMaterial": "encryptedKeyMaterial",
- "version": 0,
- "algorithm": "AES128_GCM",
- "ts": 6
}
name required | string Name of the kek |
subject required | string Subject of the dek |
algorithm | string Enum: "AES128_GCM" "AES256_GCM" "AES256_SIV" Algorithm of the dek |
deleted | boolean Whether to include deleted keys |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks/{name}/deks/{subject}/versions' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
[- 1
]
name required | string Name of the kek |
subject required | string Subject of the dek |
version required | string Version of the dek |
algorithm | string Enum: "AES128_GCM" "AES256_GCM" "AES256_SIV" Algorithm of the dek |
curl --request POST \ --url 'https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks/{name}/deks/{subject}/versions/{version}/undelete' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
name required | string Name of the kek |
subject required | string Subject of the dek |
algorithm | string Enum: "AES128_GCM" "AES256_GCM" "AES256_SIV" Algorithm of the dek |
curl --request POST \ --url 'https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks/{name}/deks/{subject}/undelete' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
The API allows you to create, retrieve, update, and delete catalog entities.
Related guide: Catalog API Documentation.
The business metadata
typeName | string The business metadata name |
attributes | object The business metadata attributes |
entityType | string The entity type |
entityName | string The qualified name of the entity |
[- {
- "typeName": "string",
- "attributes": { },
- "entityType": "string",
- "entityName": "string"
}
]
[- {
- "typeName": "string",
- "attributes": { },
- "entityType": "string",
- "entityName": "string",
- "error": {
- "error_code": 0,
- "message": "string"
}
}
]
The business metadata
typeName | string The business metadata name |
attributes | object The business metadata attributes |
entityType | string The entity type |
entityName | string The qualified name of the entity |
[- {
- "typeName": "string",
- "attributes": { },
- "entityType": "string",
- "entityName": "string"
}
]
[- {
- "typeName": "string",
- "attributes": { },
- "entityType": "string",
- "entityName": "string",
- "error": {
- "error_code": 0,
- "message": "string"
}
}
]
typeName required | string The type of the entity |
qualifiedName required | string The qualified name of the entity |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/catalog/v1/entity/type/{typeName}/name/{qualifiedName}/businessmetadata'
[- {
- "typeName": "string",
- "attributes": { },
- "entityType": "string",
- "entityName": "string",
- "error": {
- "error_code": 0,
- "message": "string"
}
}
]
typeName required | string The type of the entity |
qualifiedName required | string The qualified name of the entity |
bmName required | string The name of the business metadata |
curl --request DELETE \ --url 'https://psrc-00000.region.provider.confluent.cloud/catalog/v1/entity/type/{typeName}/name/{qualifiedName}/businessmetadata/{bmName}'
The tags
typeName | string The tag name |
attributes | object The tag attributes |
entityGuid | string The internal entity guid |
entityStatus | string Enum: "ACTIVE" "DELETED" "PURGED" The entity status |
propagate | boolean Whether to propagate the tag |
Array of objects (TimeBoundary) The validity periods | |
removePropagationsOnEntityDelete | boolean Whether to remove propagations on entity delete |
entityType | string The entity type |
entityName | string The qualified name of the entity |
[- {
- "typeName": "string",
- "attributes": { },
- "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true,
- "entityType": "string",
- "entityName": "string"
}
]
[- {
- "typeName": "string",
- "attributes": { },
- "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true,
- "entityType": "string",
- "entityName": "string",
- "error": {
- "error_code": 0,
- "message": "string"
}
}
]
The tags
typeName | string The tag name |
attributes | object The tag attributes |
entityGuid | string The internal entity guid |
entityStatus | string Enum: "ACTIVE" "DELETED" "PURGED" The entity status |
propagate | boolean Whether to propagate the tag |
Array of objects (TimeBoundary) The validity periods | |
removePropagationsOnEntityDelete | boolean Whether to remove propagations on entity delete |
entityType | string The entity type |
entityName | string The qualified name of the entity |
[- {
- "typeName": "string",
- "attributes": { },
- "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true,
- "entityType": "string",
- "entityName": "string"
}
]
[- {
- "typeName": "string",
- "attributes": { },
- "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true,
- "entityType": "string",
- "entityName": "string",
- "error": {
- "error_code": 0,
- "message": "string"
}
}
]
typeName required | string The type of the entity |
qualifiedName required | string The qualified name of the entity |
minExtInfo | boolean Default: false Whether to populate on header and schema attributes |
ignoreRelationships | boolean Default: false Whether to ignore relationships |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/catalog/v1/entity/type/{typeName}/name/{qualifiedName}'
{- "referredEntities": {
- "property1": {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "homeId": "string",
- "isIncomplete": true,
- "provenanceType": 0,
- "status": "ACTIVE",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "relationshipAttributes": { },
- "classifications": [
- {
- "typeName": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true
}
], - "meanings": [
- {
- "termGuid": "string",
- "relationGuid": "string",
- "description": "string",
- "displayText": "string",
- "expression": "string",
- "createdBy": "string",
- "steward": "string",
- "source": "string",
- "confidence": 0,
- "status": "DISCOVERED"
}
], - "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "businessAttributes": {
- "property1": { },
- "property2": { }
}, - "labels": [
- "string"
], - "proxy": true
}, - "property2": {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "homeId": "string",
- "isIncomplete": true,
- "provenanceType": 0,
- "status": "ACTIVE",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "relationshipAttributes": { },
- "classifications": [
- {
- "typeName": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true
}
], - "meanings": [
- {
- "termGuid": "string",
- "relationGuid": "string",
- "description": "string",
- "displayText": "string",
- "expression": "string",
- "createdBy": "string",
- "steward": "string",
- "source": "string",
- "confidence": 0,
- "status": "DISCOVERED"
}
], - "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "businessAttributes": {
- "property1": { },
- "property2": { }
}, - "labels": [
- "string"
], - "proxy": true
}
}, - "entity": {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "homeId": "string",
- "isIncomplete": true,
- "provenanceType": 0,
- "status": "ACTIVE",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "relationshipAttributes": { },
- "classifications": [
- {
- "typeName": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true
}
], - "meanings": [
- {
- "termGuid": "string",
- "relationGuid": "string",
- "description": "string",
- "displayText": "string",
- "expression": "string",
- "createdBy": "string",
- "steward": "string",
- "source": "string",
- "confidence": 0,
- "status": "DISCOVERED"
}
], - "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "businessAttributes": {
- "property1": { },
- "property2": { }
}, - "labels": [
- "string"
], - "proxy": true
}
}
typeName required | string The type of the entity |
qualifiedName required | string The qualified name of the entity |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/catalog/v1/entity/type/{typeName}/name/{qualifiedName}/tags'
[- {
- "typeName": "string",
- "attributes": { },
- "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true,
- "entityType": "string",
- "entityName": "string",
- "error": {
- "error_code": 0,
- "message": "string"
}
}
]
The entity to update
object The referred entities | |
object (Entity) The entity |
{- "referredEntities": {
- "property1": {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "homeId": "string",
- "isProxy": true,
- "isIncomplete": true,
- "provenanceType": 0,
- "status": "ACTIVE",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "relationshipAttributes": { },
- "classifications": [
- {
- "typeName": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true
}
], - "meanings": [
- {
- "termGuid": "string",
- "relationGuid": "string",
- "description": "string",
- "displayText": "string",
- "expression": "string",
- "createdBy": "string",
- "steward": "string",
- "source": "string",
- "confidence": 0,
- "status": "DISCOVERED"
}
], - "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "businessAttributes": {
- "property1": { },
- "property2": { }
}, - "labels": [
- "string"
], - "proxy": true
}, - "property2": {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "homeId": "string",
- "isProxy": true,
- "isIncomplete": true,
- "provenanceType": 0,
- "status": "ACTIVE",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "relationshipAttributes": { },
- "classifications": [
- {
- "typeName": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true
}
], - "meanings": [
- {
- "termGuid": "string",
- "relationGuid": "string",
- "description": "string",
- "displayText": "string",
- "expression": "string",
- "createdBy": "string",
- "steward": "string",
- "source": "string",
- "confidence": 0,
- "status": "DISCOVERED"
}
], - "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "businessAttributes": {
- "property1": { },
- "property2": { }
}, - "labels": [
- "string"
], - "proxy": true
}
}, - "entity": {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "homeId": "string",
- "isProxy": true,
- "isIncomplete": true,
- "provenanceType": 0,
- "status": "ACTIVE",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "relationshipAttributes": { },
- "classifications": [
- {
- "typeName": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true
}
], - "meanings": [
- {
- "termGuid": "string",
- "relationGuid": "string",
- "description": "string",
- "displayText": "string",
- "expression": "string",
- "createdBy": "string",
- "steward": "string",
- "source": "string",
- "confidence": 0,
- "status": "DISCOVERED"
}
], - "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "businessAttributes": {
- "property1": { },
- "property2": { }
}, - "labels": [
- "string"
], - "proxy": true
}
}
{- "mutatedEntities": {
- "UPDATE": [
- {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "status": "ACTIVE",
- "classificationNames": [
- "string"
], - "classifications": [
- {
- "typeName": "string",
- "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "removePropagationsOnEntityDelete": true
}
], - "isIncomplete": true
}
]
}
}
typeName required | string The type of the entity |
qualifiedName required | string The qualified name of the entity |
tagName required | string The name of the tag |
curl --request DELETE \ --url 'https://psrc-00000.region.provider.confluent.cloud/catalog/v1/entity/type/{typeName}/name/{qualifiedName}/tags/{tagName}'
type | Array of strings Limit the result to only entities of specified types |
attr | Array of strings One of more additional attributes to return in the response |
attrName | Array of strings The attribute to search |
attrValuePrefix | Array of strings The prefix for the attribute value to search |
tag | string Limit the result to only entities tagged with the given tag |
sortBy | string An attribute to sort by |
sortOrder | string Enum: "ASCENDING" "DESCENDING" Sort order, either ASCENDING (default) or DESCENDING |
deleted | boolean Whether to include deleted entities |
limit | integer <int32> Limit the result set to only include the specified number of entries |
offset | integer <int32> Start offset of the result set (useful for pagination) |
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/catalog/v1/search/attribute
{- "searchParameters": {
- "includeDeleted": true,
- "limit": 0,
- "offset": 0
}, - "types": [
- "string"
], - "entities": [
- {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "status": "ACTIVE",
- "displayText": "string",
- "classificationNames": [
- "string"
], - "classifications": [
- {
- "typeName": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true
}
], - "meaningNames": [
- "string"
], - "meanings": [
- {
- "termGuid": "string",
- "relationGuid": "string",
- "description": "string",
- "displayText": "string",
- "expression": "string",
- "createdBy": "string",
- "steward": "string",
- "source": "string",
- "confidence": 0,
- "status": "DISCOVERED"
}
], - "isIncomplete": true,
- "labels": [
- "string"
]
}
], - "referredEntities": {
- "property1": {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "status": "ACTIVE",
- "displayText": "string",
- "classificationNames": [
- "string"
], - "classifications": [
- {
- "typeName": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true
}
], - "meaningNames": [
- "string"
], - "meanings": [
- {
- "termGuid": "string",
- "relationGuid": "string",
- "description": "string",
- "displayText": "string",
- "expression": "string",
- "createdBy": "string",
- "steward": "string",
- "source": "string",
- "confidence": 0,
- "status": "DISCOVERED"
}
], - "isIncomplete": true,
- "labels": [
- "string"
]
}, - "property2": {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "status": "ACTIVE",
- "displayText": "string",
- "classificationNames": [
- "string"
], - "classifications": [
- {
- "typeName": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true
}
], - "meaningNames": [
- "string"
], - "meanings": [
- {
- "termGuid": "string",
- "relationGuid": "string",
- "description": "string",
- "displayText": "string",
- "expression": "string",
- "createdBy": "string",
- "steward": "string",
- "source": "string",
- "confidence": 0,
- "status": "DISCOVERED"
}
], - "isIncomplete": true,
- "labels": [
- "string"
]
}
}
}
query | string The full-text query |
type | Array of strings Limit the result to only entities of specified types |
attr | Array of strings One of more additional attributes to return in the response |
tag | string Limit the result to only entities tagged with the given tag |
sortBy | string An attribute to sort by |
sortOrder | string Enum: "ASCENDING" "DESCENDING" Sort order, either ASCENDING (default) or DESCENDING |
deleted | boolean Whether to include deleted entities |
limit | integer <int32> Limit the result set to only include the specified number of entries |
offset | integer <int32> Start offset of the result set (useful for pagination) |
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/catalog/v1/search/basic
{- "searchParameters": {
- "includeDeleted": true,
- "limit": 0,
- "offset": 0
}, - "types": [
- "string"
], - "entities": [
- {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "status": "ACTIVE",
- "displayText": "string",
- "classificationNames": [
- "string"
], - "classifications": [
- {
- "typeName": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true
}
], - "meaningNames": [
- "string"
], - "meanings": [
- {
- "termGuid": "string",
- "relationGuid": "string",
- "description": "string",
- "displayText": "string",
- "expression": "string",
- "createdBy": "string",
- "steward": "string",
- "source": "string",
- "confidence": 0,
- "status": "DISCOVERED"
}
], - "isIncomplete": true,
- "labels": [
- "string"
]
}
], - "referredEntities": {
- "property1": {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "status": "ACTIVE",
- "displayText": "string",
- "classificationNames": [
- "string"
], - "classifications": [
- {
- "typeName": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true
}
], - "meaningNames": [
- "string"
], - "meanings": [
- {
- "termGuid": "string",
- "relationGuid": "string",
- "description": "string",
- "displayText": "string",
- "expression": "string",
- "createdBy": "string",
- "steward": "string",
- "source": "string",
- "confidence": 0,
- "status": "DISCOVERED"
}
], - "isIncomplete": true,
- "labels": [
- "string"
]
}, - "property2": {
- "typeName": "string",
- "attributes": { },
- "guid": "string",
- "status": "ACTIVE",
- "displayText": "string",
- "classificationNames": [
- "string"
], - "classifications": [
- {
- "typeName": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "entityGuid": "string",
- "entityStatus": "ACTIVE",
- "propagate": true,
- "validityPeriods": [
- {
- "startTime": "string",
- "endTime": "string",
- "timeZone": "string"
}
], - "removePropagationsOnEntityDelete": true
}
], - "meaningNames": [
- "string"
], - "meanings": [
- {
- "termGuid": "string",
- "relationGuid": "string",
- "description": "string",
- "displayText": "string",
- "expression": "string",
- "createdBy": "string",
- "steward": "string",
- "source": "string",
- "confidence": 0,
- "status": "DISCOVERED"
}
], - "isIncomplete": true,
- "labels": [
- "string"
]
}
}
}
The API allows you to create, retrieve, update, and delete catalog types such as tag definitions.
Related guide: Catalog API Documentation.
prefix | string The prefix of a business metadata definition name |
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/catalog/v1/types/businessmetadatadefs
[- {
- "category": "PRIMITIVE",
- "guid": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "name": "string",
- "description": "string",
- "typeVersion": "string",
- "serviceType": "string",
- "options": {
- "property1": "string",
- "property2": "string"
}, - "attributeDefs": [
- {
- "name": "string",
- "typeName": "string",
- "isOptional": true,
- "cardinality": "SINGLE",
- "valuesMinCount": 0,
- "valuesMaxCount": 0,
- "isUnique": true,
- "isIndexable": true,
- "includeInNotification": true,
- "defaultValue": "string",
- "description": "string",
- "searchWeight": 0,
- "indexType": "DEFAULT",
- "constraints": [
- {
- "type": "string",
- "params": {
- "property1": { },
- "property2": { }
}
}
], - "options": {
- "property1": "string",
- "property2": "string"
}, - "displayName": "string"
}
], - "error": {
- "error_code": 0,
- "message": "string"
}
}
]
The business metadata definitions to create
category | string Enum: "PRIMITIVE" "OBJECT_ID_TYPE" "ENUM" "STRUCT" "CLASSIFICATION" "ENTITY" "ARRAY" "MAP" "RELATIONSHIP" "BUSINESS_METADATA" The category |
guid | string The internal guid |
createdBy | string The creator |
updatedBy | string The updater |
createTime | integer <int64> The create time |
updateTime | integer <int64> The update time |
version | integer <int32> The version |
name | string The name |
description | string The description |
typeVersion | string The type version |
serviceType | string The service type |
object The options | |
Array of objects (AttributeDef) The attribute definitions |
[- {
- "category": "PRIMITIVE",
- "guid": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "name": "string",
- "description": "string",
- "typeVersion": "string",
- "serviceType": "string",
- "options": {
- "property1": "string",
- "property2": "string"
}, - "attributeDefs": [
- {
- "name": "string",
- "typeName": "string",
- "isOptional": true,
- "cardinality": "SINGLE",
- "valuesMinCount": 0,
- "valuesMaxCount": 0,
- "isUnique": true,
- "isIndexable": true,
- "includeInNotification": true,
- "defaultValue": "string",
- "description": "string",
- "searchWeight": 0,
- "indexType": "DEFAULT",
- "constraints": [
- {
- "type": "string",
- "params": {
- "property1": { },
- "property2": { }
}
}
], - "options": {
- "property1": "string",
- "property2": "string"
}, - "displayName": "string"
}
]
}
]
[- {
- "category": "PRIMITIVE",
- "guid": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "name": "string",
- "description": "string",
- "typeVersion": "string",
- "serviceType": "string",
- "options": {
- "property1": "string",
- "property2": "string"
}, - "attributeDefs": [
- {
- "name": "string",
- "typeName": "string",
- "isOptional": true,
- "cardinality": "SINGLE",
- "valuesMinCount": 0,
- "valuesMaxCount": 0,
- "isUnique": true,
- "isIndexable": true,
- "includeInNotification": true,
- "defaultValue": "string",
- "description": "string",
- "searchWeight": 0,
- "indexType": "DEFAULT",
- "constraints": [
- {
- "type": "string",
- "params": {
- "property1": { },
- "property2": { }
}
}
], - "options": {
- "property1": "string",
- "property2": "string"
}, - "displayName": "string"
}
], - "error": {
- "error_code": 0,
- "message": "string"
}
}
]
The business metadata definitions to update
category | string Enum: "PRIMITIVE" "OBJECT_ID_TYPE" "ENUM" "STRUCT" "CLASSIFICATION" "ENTITY" "ARRAY" "MAP" "RELATIONSHIP" "BUSINESS_METADATA" The category |
guid | string The internal guid |
createdBy | string The creator |
updatedBy | string The updater |
createTime | integer <int64> The create time |
updateTime | integer <int64> The update time |
version | integer <int32> The version |
name | string The name |
description | string The description |
typeVersion | string The type version |
serviceType | string The service type |
object The options | |
Array of objects (AttributeDef) The attribute definitions |
[- {
- "category": "PRIMITIVE",
- "guid": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "name": "string",
- "description": "string",
- "typeVersion": "string",
- "serviceType": "string",
- "options": {
- "property1": "string",
- "property2": "string"
}, - "attributeDefs": [
- {
- "name": "string",
- "typeName": "string",
- "isOptional": true,
- "cardinality": "SINGLE",
- "valuesMinCount": 0,
- "valuesMaxCount": 0,
- "isUnique": true,
- "isIndexable": true,
- "includeInNotification": true,
- "defaultValue": "string",
- "description": "string",
- "searchWeight": 0,
- "indexType": "DEFAULT",
- "constraints": [
- {
- "type": "string",
- "params": {
- "property1": { },
- "property2": { }
}
}
], - "options": {
- "property1": "string",
- "property2": "string"
}, - "displayName": "string"
}
]
}
]
[- {
- "category": "PRIMITIVE",
- "guid": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "name": "string",
- "description": "string",
- "typeVersion": "string",
- "serviceType": "string",
- "options": {
- "property1": "string",
- "property2": "string"
}, - "attributeDefs": [
- {
- "name": "string",
- "typeName": "string",
- "isOptional": true,
- "cardinality": "SINGLE",
- "valuesMinCount": 0,
- "valuesMaxCount": 0,
- "isUnique": true,
- "isIndexable": true,
- "includeInNotification": true,
- "defaultValue": "string",
- "description": "string",
- "searchWeight": 0,
- "indexType": "DEFAULT",
- "constraints": [
- {
- "type": "string",
- "params": {
- "property1": { },
- "property2": { }
}
}
], - "options": {
- "property1": "string",
- "property2": "string"
}, - "displayName": "string"
}
], - "error": {
- "error_code": 0,
- "message": "string"
}
}
]
bmName required | string The name of the business metadata definition |
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/catalog/v1/types/businessmetadatadefs/{bmName}'
{- "category": "PRIMITIVE",
- "guid": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "name": "string",
- "description": "string",
- "typeVersion": "string",
- "serviceType": "string",
- "options": {
- "property1": "string",
- "property2": "string"
}, - "attributeDefs": [
- {
- "name": "string",
- "typeName": "string",
- "isOptional": true,
- "cardinality": "SINGLE",
- "valuesMinCount": 0,
- "valuesMaxCount": 0,
- "isUnique": true,
- "isIndexable": true,
- "includeInNotification": true,
- "defaultValue": "string",
- "description": "string",
- "searchWeight": 0,
- "indexType": "DEFAULT",
- "constraints": [
- {
- "type": "string",
- "params": {
- "property1": { },
- "property2": { }
}
}
], - "options": {
- "property1": "string",
- "property2": "string"
}, - "displayName": "string"
}
]
}
prefix | string The prefix of a tag definition name |
curl --request GET \ --url https://psrc-00000.region.provider.confluent.cloud/catalog/v1/types/tagdefs
[- {
- "category": "PRIMITIVE",
- "guid": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "name": "string",
- "description": "string",
- "typeVersion": "string",
- "serviceType": "string",
- "options": {
- "property1": "string",
- "property2": "string"
}, - "attributeDefs": [
- {
- "name": "string",
- "typeName": "string",
- "isOptional": true,
- "cardinality": "SINGLE",
- "valuesMinCount": 0,
- "valuesMaxCount": 0,
- "isUnique": true,
- "isIndexable": true,
- "includeInNotification": true,
- "defaultValue": "string",
- "description": "string",
- "searchWeight": 0,
- "indexType": "DEFAULT",
- "constraints": [
- {
- "type": "string",
- "params": {
- "property1": { },
- "property2": { }
}
}
], - "options": {
- "property1": "string",
- "property2": "string"
}, - "displayName": "string"
}
], - "superTypes": [
- "string"
], - "entityTypes": [
- "string"
], - "subTypes": [
- "string"
], - "error": {
- "error_code": 0,
- "message": "string"
}
}
]
The tag definitions to update
category | string Enum: "PRIMITIVE" "OBJECT_ID_TYPE" "ENUM" "STRUCT" "CLASSIFICATION" "ENTITY" "ARRAY" "MAP" "RELATIONSHIP" "BUSINESS_METADATA" The category |
guid | string The internal guid |
createdBy | string The creator |
updatedBy | string The updater |
createTime | integer <int64> The create time |
updateTime | integer <int64> The update time |
version | integer <int32> The version |
name | string The name |
description | string The description |
typeVersion | string The type version |
serviceType | string The service type |
object The options | |
Array of objects (AttributeDef) The attribute definitions | |
superTypes | Array of strings unique The supertypes |
entityTypes | Array of strings unique The entity types |
subTypes | Array of strings unique The subtypes |
[- {
- "category": "PRIMITIVE",
- "guid": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "name": "string",
- "description": "string",
- "typeVersion": "string",
- "serviceType": "string",
- "options": {
- "property1": "string",
- "property2": "string"
}, - "attributeDefs": [
- {
- "name": "string",
- "typeName": "string",
- "isOptional": true,
- "cardinality": "SINGLE",
- "valuesMinCount": 0,
- "valuesMaxCount": 0,
- "isUnique": true,
- "isIndexable": true,
- "includeInNotification": true,
- "defaultValue": "string",
- "description": "string",
- "searchWeight": 0,
- "indexType": "DEFAULT",
- "constraints": [
- {
- "type": "string",
- "params": {
- "property1": { },
- "property2": { }
}
}
], - "options": {
- "property1": "string",
- "property2": "string"
}, - "displayName": "string"
}
], - "superTypes": [
- "string"
], - "entityTypes": [
- "string"
], - "subTypes": [
- "string"
]
}
]
[- {
- "category": "PRIMITIVE",
- "guid": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "name": "string",
- "description": "string",
- "typeVersion": "string",
- "serviceType": "string",
- "options": {
- "property1": "string",
- "property2": "string"
}, - "attributeDefs": [
- {
- "name": "string",
- "typeName": "string",
- "isOptional": true,
- "cardinality": "SINGLE",
- "valuesMinCount": 0,
- "valuesMaxCount": 0,
- "isUnique": true,
- "isIndexable": true,
- "includeInNotification": true,
- "defaultValue": "string",
- "description": "string",
- "searchWeight": 0,
- "indexType": "DEFAULT",
- "constraints": [
- {
- "type": "string",
- "params": {
- "property1": { },
- "property2": { }
}
}
], - "options": {
- "property1": "string",
- "property2": "string"
}, - "displayName": "string"
}
], - "superTypes": [
- "string"
], - "entityTypes": [
- "string"
], - "subTypes": [
- "string"
], - "error": {
- "error_code": 0,
- "message": "string"
}
}
]
The tag definitions to create
category | string Enum: "PRIMITIVE" "OBJECT_ID_TYPE" "ENUM" "STRUCT" "CLASSIFICATION" "ENTITY" "ARRAY" "MAP" "RELATIONSHIP" "BUSINESS_METADATA" The category |
guid | string The internal guid |
createdBy | string The creator |
updatedBy | string The updater |
createTime | integer <int64> The create time |
updateTime | integer <int64> The update time |
version | integer <int32> The version |
name | string The name |
description | string The description |
typeVersion | string The type version |
serviceType | string The service type |
object The options | |
Array of objects (AttributeDef) The attribute definitions | |
superTypes | Array of strings unique The supertypes |
entityTypes | Array of strings unique The entity types |
subTypes | Array of strings unique The subtypes |
[- {
- "category": "PRIMITIVE",
- "guid": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "name": "string",
- "description": "string",
- "typeVersion": "string",
- "serviceType": "string",
- "options": {
- "property1": "string",
- "property2": "string"
}, - "attributeDefs": [
- {
- "name": "string",
- "typeName": "string",
- "isOptional": true,
- "cardinality": "SINGLE",
- "valuesMinCount": 0,
- "valuesMaxCount": 0,
- "isUnique": true,
- "isIndexable": true,
- "includeInNotification": true,
- "defaultValue": "string",
- "description": "string",
- "searchWeight": 0,
- "indexType": "DEFAULT",
- "constraints": [
- {
- "type": "string",
- "params": {
- "property1": { },
- "property2": { }
}
}
], - "options": {
- "property1": "string",
- "property2": "string"
}, - "displayName": "string"
}
], - "superTypes": [
- "string"
], - "entityTypes": [
- "string"
], - "subTypes": [
- "string"
]
}
]
[- {
- "category": "PRIMITIVE",
- "guid": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "name": "string",
- "description": "string",
- "typeVersion": "string",
- "serviceType": "string",
- "options": {
- "property1": "string",
- "property2": "string"
}, - "attributeDefs": [
- {
- "name": "string",
- "typeName": "string",
- "isOptional": true,
- "cardinality": "SINGLE",
- "valuesMinCount": 0,
- "valuesMaxCount": 0,
- "isUnique": true,
- "isIndexable": true,
- "includeInNotification": true,
- "defaultValue": "string",
- "description": "string",
- "searchWeight": 0,
- "indexType": "DEFAULT",
- "constraints": [
- {
- "type": "string",
- "params": {
- "property1": { },
- "property2": { }
}
}
], - "options": {
- "property1": "string",
- "property2": "string"
}, - "displayName": "string"
}
], - "superTypes": [
- "string"
], - "entityTypes": [
- "string"
], - "subTypes": [
- "string"
], - "error": {
- "error_code": 0,
- "message": "string"
}
}
]
curl --request GET \ --url 'https://psrc-00000.region.provider.confluent.cloud/catalog/v1/types/tagdefs/{tagName}'
{- "category": "PRIMITIVE",
- "guid": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createTime": 0,
- "updateTime": 0,
- "version": 0,
- "name": "string",
- "description": "string",
- "typeVersion": "string",
- "serviceType": "string",
- "options": {
- "property1": "string",
- "property2": "string"
}, - "attributeDefs": [
- {
- "name": "string",
- "typeName": "string",
- "isOptional": true,
- "cardinality": "SINGLE",
- "valuesMinCount": 0,
- "valuesMaxCount": 0,
- "isUnique": true,
- "isIndexable": true,
- "includeInNotification": true,
- "defaultValue": "string",
- "description": "string",
- "searchWeight": 0,
- "indexType": "DEFAULT",
- "constraints": [
- {
- "type": "string",
- "params": {
- "property1": { },
- "property2": { }
}
}
], - "options": {
- "property1": "string",
- "property2": "string"
}, - "displayName": "string"
}
], - "superTypes": [
- "string"
], - "entityTypes": [
- "string"
], - "subTypes": [
- "string"
]
}
api_version | string Value: "cdx/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "OptIn" Kind defines the object this REST resource represents. |
stream_share_enabled | boolean Enable stream sharing for the organization |
{- "api_version": "cdx/v1",
- "kind": "OptIn",
- "stream_share_enabled": true
}
curl --request GET \ --url https://api.confluent.cloud/cdx/v1/opt-in \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "cdx/v1",
- "kind": "OptIn",
- "stream_share_enabled": true
}
stream_share_enabled | boolean Enable stream sharing for the organization |
{- "stream_share_enabled": true
}
{- "api_version": "cdx/v1",
- "kind": "OptIn",
- "stream_share_enabled": true
}
Network
represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud
provider accounts. Dedicated networks support more networking options but can only contain Dedicated clusters.
Shared networks can contain any cluster type.
The API allows you to list, create, read, update, and delete your networks.
Related guide: APIs to manage networks in Confluent Cloud.
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Network" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.NetworkSpec) The desired state of the Network | |
object (networking.v1.NetworkStatus) The status of the Network |
{- "api_version": "networking/v1",
- "kind": "Network",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-aws-us-east1",
- "cloud": "AWS",
- "region": "us-east-1",
- "connection_types": [
- "PRIVATELINK"
], - "cidr": "10.200.0.0/16",
- "zones": [
- "use1-az1",
- "use1-az2",
- "use1-az3"
], - "zones_info": [
- {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}, - {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}, - {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}
], - "dns_config": {
- "resolution": "string"
}, - "reserved_cidr": "172.20.255.0/24",
- "environment": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "supported_connection_types": [
- "PRIVATELINK"
], - "active_connection_types": [
- "PRIVATELINK"
], - "error_code": "insufficient_capacity",
- "error_message": "Could not provision cloud resources",
- "dns_domain": "00000.us-east-1.aws.glb.confluent.cloud",
- "zonal_subdomains": {
- "use1-az1": "use1-az1.00000.us-east-1.aws.confluent.cloud",
- "use1-az4": "use1-az4.00000.us-east-1.aws.confluent.cloud",
- "use1-az5": "use1-az5.00000.us-east-1.aws.confluent.cloud"
}, - "cloud": {
- "kind": "AwsNetwork",
- "vpc": "vpc-00000000000000000",
- "account": "000000000000",
- "private_link_endpoint_service": "com.amazonaws.vpce.eu-west-3.vpce-00000000000000000"
}, - "idle_since": "2024-01-01T00:00:00Z"
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
dedicated_networks_per_environment |
Number of dedicated networks per Confluent Cloud environment |
spec.display_name | Array of strings (MultipleSearchFilter) Example: spec.display_name=prod-gcp-us-central1&spec.display_name=prod-aws-us-east1 Filter the results by exact match for spec.display_name. Pass multiple times to see results matching any of the values. |
spec.cloud | Array of strings (MultipleSearchFilter) Example: spec.cloud=GCP&spec.cloud=AWS Filter the results by exact match for spec.cloud. Pass multiple times to see results matching any of the values. |
spec.region | Array of strings (MultipleSearchFilter) Example: spec.region=us-central1&spec.region=us-east-1 Filter the results by exact match for spec.region. Pass multiple times to see results matching any of the values. |
spec.connection_types | Array of strings (MultipleSearchFilter) Example: spec.connection_types=peering&spec.connection_types=privatelink Filter the results by exact match for spec.connection_types. Pass multiple times to see results matching any of the values. |
spec.cidr | Array of strings (MultipleSearchFilter) Example: spec.cidr=10.200.0.0/16 Filter the results by exact match for spec.cidr. Pass multiple times to see results matching any of the values. |
status.phase | Array of strings (MultipleSearchFilter) Example: status.phase=PROVISIONING&status.phase=READY Filter the results by exact match for status.phase. Pass multiple times to see results matching any of the values. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
page_size | integer <= 1000 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/networks?spec.display_name=prod-gcp-us-central1,prod-aws-us-east1&spec.cloud=GCP,AWS&spec.region=us-central1,us-east-1&spec.connection_types=peering,privatelink&spec.cidr=10.200.0.0/16&status.phase=PROVISIONING,READY&environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "NetworkList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "Network",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-aws-us-east1",
- "cloud": "AWS",
- "region": "us-east-1",
- "connection_types": [
- "PRIVATELINK"
], - "cidr": "10.200.0.0/16",
- "zones": [
- "use1-az1",
- "use1-az2",
- "use1-az3"
], - "zones_info": [
- {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}, - {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}, - {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}
], - "dns_config": {
- "resolution": "string"
}, - "reserved_cidr": "172.20.255.0/24",
- "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "supported_connection_types": [
- "PRIVATELINK"
], - "active_connection_types": [
- "PRIVATELINK"
], - "error_code": "insufficient_capacity",
- "error_message": "Could not provision cloud resources",
- "dns_domain": "00000.us-east-1.aws.glb.confluent.cloud",
- "zonal_subdomains": {
- "use1-az1": "use1-az1.00000.us-east-1.aws.confluent.cloud",
- "use1-az4": "use1-az4.00000.us-east-1.aws.confluent.cloud",
- "use1-az5": "use1-az5.00000.us-east-1.aws.confluent.cloud"
}, - "cloud": {
- "kind": "AwsNetwork",
- "vpc": "vpc-00000000000000000",
- "account": "000000000000",
- "private_link_endpoint_service": "com.amazonaws.vpce.eu-west-3.vpce-00000000000000000"
}, - "idle_since": "2024-01-01T00:00:00Z"
}
}
]
}
required | object The desired state of the Network |
{- "spec": {
- "display_name": "prod-aws-us-east1",
- "cloud": "AWS",
- "region": "us-east-1",
- "connection_types": [
- "PRIVATELINK"
], - "cidr": "10.200.0.0/16",
- "zones": [
- "use1-az1",
- "use1-az2",
- "use1-az3"
], - "zones_info": [
- {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}, - {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}, - {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}
], - "dns_config": {
- "resolution": "string"
}, - "reserved_cidr": "172.20.255.0/24",
- "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "Network",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-aws-us-east1",
- "cloud": "AWS",
- "region": "us-east-1",
- "connection_types": [
- "PRIVATELINK"
], - "cidr": "10.200.0.0/16",
- "zones": [
- "use1-az1",
- "use1-az2",
- "use1-az3"
], - "zones_info": [
- {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}, - {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}, - {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}
], - "dns_config": {
- "resolution": "string"
}, - "reserved_cidr": "172.20.255.0/24",
- "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "supported_connection_types": [
- "PRIVATELINK"
], - "active_connection_types": [
- "PRIVATELINK"
], - "error_code": "insufficient_capacity",
- "error_message": "Could not provision cloud resources",
- "dns_domain": "00000.us-east-1.aws.glb.confluent.cloud",
- "zonal_subdomains": {
- "use1-az1": "use1-az1.00000.us-east-1.aws.confluent.cloud",
- "use1-az4": "use1-az4.00000.us-east-1.aws.confluent.cloud",
- "use1-az5": "use1-az5.00000.us-east-1.aws.confluent.cloud"
}, - "cloud": {
- "kind": "AwsNetwork",
- "vpc": "vpc-00000000000000000",
- "account": "000000000000",
- "private_link_endpoint_service": "com.amazonaws.vpce.eu-west-3.vpce-00000000000000000"
}, - "idle_since": "2024-01-01T00:00:00Z"
}
}
id required | string The unique identifier for the network. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/networks/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "Network",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-aws-us-east1",
- "cloud": "AWS",
- "region": "us-east-1",
- "connection_types": [
- "PRIVATELINK"
], - "cidr": "10.200.0.0/16",
- "zones": [
- "use1-az1",
- "use1-az2",
- "use1-az3"
], - "zones_info": [
- {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}, - {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}, - {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}
], - "dns_config": {
- "resolution": "string"
}, - "reserved_cidr": "172.20.255.0/24",
- "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "supported_connection_types": [
- "PRIVATELINK"
], - "active_connection_types": [
- "PRIVATELINK"
], - "error_code": "insufficient_capacity",
- "error_message": "Could not provision cloud resources",
- "dns_domain": "00000.us-east-1.aws.glb.confluent.cloud",
- "zonal_subdomains": {
- "use1-az1": "use1-az1.00000.us-east-1.aws.confluent.cloud",
- "use1-az4": "use1-az4.00000.us-east-1.aws.confluent.cloud",
- "use1-az5": "use1-az5.00000.us-east-1.aws.confluent.cloud"
}, - "cloud": {
- "kind": "AwsNetwork",
- "vpc": "vpc-00000000000000000",
- "account": "000000000000",
- "private_link_endpoint_service": "com.amazonaws.vpce.eu-west-3.vpce-00000000000000000"
}, - "idle_since": "2024-01-01T00:00:00Z"
}
}
id required | string The unique identifier for the network. |
required | object The desired state of the Network |
{- "spec": {
- "display_name": "prod-aws-us-east1",
- "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "Network",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-aws-us-east1",
- "cloud": "AWS",
- "region": "us-east-1",
- "connection_types": [
- "PRIVATELINK"
], - "cidr": "10.200.0.0/16",
- "zones": [
- "use1-az1",
- "use1-az2",
- "use1-az3"
], - "zones_info": [
- {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}, - {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}, - {
- "zone_id": "use1-az3",
- "cidr": "10.20.0.0/27"
}
], - "dns_config": {
- "resolution": "string"
}, - "reserved_cidr": "172.20.255.0/24",
- "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "supported_connection_types": [
- "PRIVATELINK"
], - "active_connection_types": [
- "PRIVATELINK"
], - "error_code": "insufficient_capacity",
- "error_message": "Could not provision cloud resources",
- "dns_domain": "00000.us-east-1.aws.glb.confluent.cloud",
- "zonal_subdomains": {
- "use1-az1": "use1-az1.00000.us-east-1.aws.confluent.cloud",
- "use1-az4": "use1-az4.00000.us-east-1.aws.confluent.cloud",
- "use1-az5": "use1-az5.00000.us-east-1.aws.confluent.cloud"
}, - "cloud": {
- "kind": "AwsNetwork",
- "vpc": "vpc-00000000000000000",
- "account": "000000000000",
- "private_link_endpoint_service": "com.amazonaws.vpce.eu-west-3.vpce-00000000000000000"
}, - "idle_since": "2024-01-01T00:00:00Z"
}
}
id required | string The unique identifier for the network. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/networking/v1/networks/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Add or remove VPC/VNet peering connections between your VPC/VNet and Confluent Cloud.
Related guides:
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Peering" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.PeeringSpec) The desired state of the Peering | |
object (networking.v1.PeeringStatus) The status of the Peering |
{- "api_version": "networking/v1",
- "kind": "Peering",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/peering=p-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-peering-use1",
- "cloud": {
- "kind": "AwsPeering",
- "account": "000000000000",
- "vpc": "vpc-00000000000000000",
- "routes": [
- "10.108.16.0/21"
], - "customer_region": "us-east-1"
}, - "environment": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
peerings_per_network |
Number of peerings per network |
spec.display_name | Array of strings (MultipleSearchFilter) Example: spec.display_name=prod-peering-uscentral1&spec.display_name=prod-peering-use1 Filter the results by exact match for spec.display_name. Pass multiple times to see results matching any of the values. |
status.phase | Array of strings (MultipleSearchFilter) Example: status.phase=PROVISIONING&status.phase=READY Filter the results by exact match for status.phase. Pass multiple times to see results matching any of the values. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
spec.network | Array of strings (MultipleSearchFilter) Example: spec.network=n-00000&spec.network=n-00001 Filter the results by exact match for spec.network. Pass multiple times to see results matching any of the values. |
page_size | integer <= 1000 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/peerings?spec.display_name=prod-peering-uscentral1,prod-peering-use1&status.phase=PROVISIONING,READY&environment=env-00000&spec.network=n-00000,n-00001' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "PeeringList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "Peering",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/peering=p-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-peering-use1",
- "cloud": {
- "kind": "AwsPeering",
- "account": "000000000000",
- "vpc": "vpc-00000000000000000",
- "routes": [
- "10.108.16.0/21"
], - "customer_region": "us-east-1"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
]
}
required | object The desired state of the Peering |
{- "spec": {
- "display_name": "prod-peering-use1",
- "cloud": {
- "kind": "AwsPeering",
- "account": "000000000000",
- "vpc": "vpc-00000000000000000",
- "routes": [
- "10.108.16.0/21"
], - "customer_region": "us-east-1"
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "Peering",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/peering=p-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-peering-use1",
- "cloud": {
- "kind": "AwsPeering",
- "account": "000000000000",
- "vpc": "vpc-00000000000000000",
- "routes": [
- "10.108.16.0/21"
], - "customer_region": "us-east-1"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the peering. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/peerings/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "Peering",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/peering=p-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-peering-use1",
- "cloud": {
- "kind": "AwsPeering",
- "account": "000000000000",
- "vpc": "vpc-00000000000000000",
- "routes": [
- "10.108.16.0/21"
], - "customer_region": "us-east-1"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the peering. |
required | object The desired state of the Peering |
{- "spec": {
- "display_name": "prod-peering-use1",
- "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "Peering",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/peering=p-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-peering-use1",
- "cloud": {
- "kind": "AwsPeering",
- "account": "000000000000",
- "vpc": "vpc-00000000000000000",
- "routes": [
- "10.108.16.0/21"
], - "customer_region": "us-east-1"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the peering. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/networking/v1/peerings/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "TransitGatewayAttachment" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.TransitGatewayAttachmentSpec) The desired state of the Transit Gateway Attachment | |
object (networking.v1.TransitGatewayAttachmentStatus) The status of the Transit Gateway Attachment |
{- "api_version": "networking/v1",
- "kind": "TransitGatewayAttachment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/transit-gateway-attachment=tga-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-tgw-use1",
- "cloud": {
- "kind": "AwsTransitGatewayAttachment",
- "ram_share_arn": "arn:aws:ram:us-west-3:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
- "transit_gateway_id": "tgw-xxxxxxxxxxxxxxxxx",
- "routes": [
- "100.64.0.0/10",
- "10.0.0.0/8",
- "192.168.0.0/16",
- "172.16.0.0/12"
]
}, - "environment": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud": {
- "kind": "AwsTransitGatewayAttachmentStatus",
- "transit_gateway_attachment_id": "tgw-attach-xxxxx"
}
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
tgw_attachments_per_network |
Number of TGW attachments per network |
spec.display_name | Array of strings (MultipleSearchFilter) Example: spec.display_name=prod-tgw-use1&spec.display_name=prod-tgw-usw2 Filter the results by exact match for spec.display_name. Pass multiple times to see results matching any of the values. |
status.phase | Array of strings (MultipleSearchFilter) Example: status.phase=PROVISIONING&status.phase=READY Filter the results by exact match for status.phase. Pass multiple times to see results matching any of the values. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
spec.network | Array of strings (MultipleSearchFilter) Example: spec.network=n-00000&spec.network=n-00001 Filter the results by exact match for spec.network. Pass multiple times to see results matching any of the values. |
page_size | integer <= 1000 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/transit-gateway-attachments?spec.display_name=prod-tgw-use1,prod-tgw-usw2&status.phase=PROVISIONING,READY&environment=env-00000&spec.network=n-00000,n-00001' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "TransitGatewayAttachmentList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "TransitGatewayAttachment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/transit-gateway-attachment=tga-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-tgw-use1",
- "cloud": {
- "kind": "AwsTransitGatewayAttachment",
- "ram_share_arn": "arn:aws:ram:us-west-3:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
- "transit_gateway_id": "tgw-xxxxxxxxxxxxxxxxx",
- "routes": [
- "100.64.0.0/10",
- "10.0.0.0/8",
- "192.168.0.0/16",
- "172.16.0.0/12"
]
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud": {
- "kind": "AwsTransitGatewayAttachmentStatus",
- "transit_gateway_attachment_id": "tgw-attach-xxxxx"
}
}
}
]
}
required | object The desired state of the Transit Gateway Attachment |
{- "spec": {
- "display_name": "prod-tgw-use1",
- "cloud": {
- "kind": "AwsTransitGatewayAttachment",
- "ram_share_arn": "arn:aws:ram:us-west-3:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
- "transit_gateway_id": "tgw-xxxxxxxxxxxxxxxxx",
- "routes": [
- "100.64.0.0/10",
- "10.0.0.0/8",
- "192.168.0.0/16",
- "172.16.0.0/12"
]
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "TransitGatewayAttachment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/transit-gateway-attachment=tga-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-tgw-use1",
- "cloud": {
- "kind": "AwsTransitGatewayAttachment",
- "ram_share_arn": "arn:aws:ram:us-west-3:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
- "transit_gateway_id": "tgw-xxxxxxxxxxxxxxxxx",
- "routes": [
- "100.64.0.0/10",
- "10.0.0.0/8",
- "192.168.0.0/16",
- "172.16.0.0/12"
]
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud": {
- "kind": "AwsTransitGatewayAttachmentStatus",
- "transit_gateway_attachment_id": "tgw-attach-xxxxx"
}
}
}
id required | string The unique identifier for the transit gateway attachment. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/transit-gateway-attachments/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "TransitGatewayAttachment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/transit-gateway-attachment=tga-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-tgw-use1",
- "cloud": {
- "kind": "AwsTransitGatewayAttachment",
- "ram_share_arn": "arn:aws:ram:us-west-3:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
- "transit_gateway_id": "tgw-xxxxxxxxxxxxxxxxx",
- "routes": [
- "100.64.0.0/10",
- "10.0.0.0/8",
- "192.168.0.0/16",
- "172.16.0.0/12"
]
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud": {
- "kind": "AwsTransitGatewayAttachmentStatus",
- "transit_gateway_attachment_id": "tgw-attach-xxxxx"
}
}
}
id required | string The unique identifier for the transit gateway attachment. |
required | object The desired state of the Transit Gateway Attachment |
{- "spec": {
- "display_name": "prod-tgw-use1",
- "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "TransitGatewayAttachment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/transit-gateway-attachment=tga-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-tgw-use1",
- "cloud": {
- "kind": "AwsTransitGatewayAttachment",
- "ram_share_arn": "arn:aws:ram:us-west-3:000000000000:resource-share/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
- "transit_gateway_id": "tgw-xxxxxxxxxxxxxxxxx",
- "routes": [
- "100.64.0.0/10",
- "10.0.0.0/8",
- "192.168.0.0/16",
- "172.16.0.0/12"
]
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud": {
- "kind": "AwsTransitGatewayAttachmentStatus",
- "transit_gateway_attachment_id": "tgw-attach-xxxxx"
}
}
}
id required | string The unique identifier for the transit gateway attachment. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/networking/v1/transit-gateway-attachments/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Add or remove access to PrivateLink endpoints by AWS account, Azure subscription and GCP project ID.
Related guides:
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "PrivateLinkAccess" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.PrivateLinkAccessSpec) The desired state of the Private Link Access | |
object (networking.v1.PrivateLinkAccessStatus) The status of the Private Link Access |
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAccess",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/private-link-access=pla-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-pl-use1",
- "cloud": {
- "kind": "AwsPrivateLinkAccess",
- "account": "000000000000"
}, - "environment": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
private_link_accounts_per_network |
Number of AWS accounts per network |
private_link_subscriptions_per_network |
Number of Azure subscriptions per network |
private_service_connect_projects_per_network |
Number of GCP projects per network |
spec.display_name | Array of strings (MultipleSearchFilter) Example: spec.display_name=prod-pl-use1&spec.display_name=prod-pl-usw2 Filter the results by exact match for spec.display_name. Pass multiple times to see results matching any of the values. |
status.phase | Array of strings (MultipleSearchFilter) Example: status.phase=PROVISIONING&status.phase=READY Filter the results by exact match for status.phase. Pass multiple times to see results matching any of the values. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
spec.network | Array of strings (MultipleSearchFilter) Example: spec.network=n-00000&spec.network=n-00001 Filter the results by exact match for spec.network. Pass multiple times to see results matching any of the values. |
page_size | integer <= 1000 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/private-link-accesses?spec.display_name=prod-pl-use1,prod-pl-usw2&status.phase=PROVISIONING,READY&environment=env-00000&spec.network=n-00000,n-00001' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAccessList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "PrivateLinkAccess",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/private-link-access=pla-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-pl-use1",
- "cloud": {
- "kind": "AwsPrivateLinkAccess",
- "account": "000000000000"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
]
}
required | object The desired state of the Private Link Access |
{- "spec": {
- "display_name": "prod-pl-use1",
- "cloud": {
- "kind": "AwsPrivateLinkAccess",
- "account": "000000000000"
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAccess",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/private-link-access=pla-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-pl-use1",
- "cloud": {
- "kind": "AwsPrivateLinkAccess",
- "account": "000000000000"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the private link access. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/private-link-accesses/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAccess",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/private-link-access=pla-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-pl-use1",
- "cloud": {
- "kind": "AwsPrivateLinkAccess",
- "account": "000000000000"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the private link access. |
required | object The desired state of the Private Link Access |
{- "spec": {
- "display_name": "prod-pl-use1",
- "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAccess",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/private-link-access=pla-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-pl-use1",
- "cloud": {
- "kind": "AwsPrivateLinkAccess",
- "account": "000000000000"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "network": {
- "id": "n-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the private link access. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/networking/v1/private-link-accesses/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Network Link Service is associated with a Private Link Confluent Cloud Network. It enables connectivity from other Private Link Confluent Cloud Networks based on the configured accept policies.
Related guide: Network Linking Overview.
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "NetworkLinkService" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.NetworkLinkServiceSpec) The desired state of the Network Link Service | |
object (networking.v1.NetworkLinkServiceStatus) The status of the Network Link Service |
{- "api_version": "networking/v1",
- "kind": "NetworkLinkService",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-service=nls-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nls",
- "description": "Allow connections from analytics hub",
- "accept": {
- "environments": [
- "string"
], - "networks": [
- "string"
]
}, - "environment": {
- "id": "string",
}, - "network": {
- "id": "string",
- "environment": "string",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
network_link_service_per_network |
Number of network link services per network |
spec.display_name | Array of strings (MultipleSearchFilter) Example: spec.display_name=prod-net-1-nls&spec.display_name=dev-net-1-nls Filter the results by exact match for spec.display_name. Pass multiple times to see results matching any of the values. |
status.phase | Array of strings (MultipleSearchFilter) Example: status.phase=READY Filter the results by exact match for status.phase. Pass multiple times to see results matching any of the values. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
spec.network | Array of strings (MultipleSearchFilter) Example: spec.network=n-00000&spec.network=n-00001 Filter the results by exact match for spec.network. Pass multiple times to see results matching any of the values. |
page_size | integer <= 1000 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/network-link-services?spec.display_name=prod-net-1-nls,dev-net-1-nls&status.phase=READY&environment=env-00000&spec.network=n-00000,n-00001' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "NetworkLinkServiceList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "NetworkLinkService",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-service=nls-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nls",
- "description": "Allow connections from analytics hub",
- "accept": {
- "environments": [
- "string"
], - "networks": [
- "string"
]
}, - "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
]
}
required | object The desired state of the Network Link Service |
{- "spec": {
- "display_name": "prod-net-1-nls",
- "description": "Allow connections from analytics hub",
- "accept": {
- "environments": [
- "string"
], - "networks": [
- "string"
]
}, - "environment": {
- "id": "env-00000"
}, - "network": {
- "id": "n-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "NetworkLinkService",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-service=nls-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nls",
- "description": "Allow connections from analytics hub",
- "accept": {
- "environments": [
- "string"
], - "networks": [
- "string"
]
}, - "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the network link service. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/network-link-services/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "NetworkLinkService",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-service=nls-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nls",
- "description": "Allow connections from analytics hub",
- "accept": {
- "environments": [
- "string"
], - "networks": [
- "string"
]
}, - "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the network link service. |
required | object The desired state of the Network Link Service |
{- "spec": {
- "display_name": "prod-net-1-nls",
- "description": "Allow connections from analytics hub",
- "accept": {
- "environments": [
- "string"
], - "networks": [
- "string"
]
}, - "environment": {
- "id": "env-00000"
}
}
}
{- "api_version": "networking/v1",
- "kind": "NetworkLinkService",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-service=nls-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nls",
- "description": "Allow connections from analytics hub",
- "accept": {
- "environments": [
- "string"
], - "networks": [
- "string"
]
}, - "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the network link service. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/networking/v1/network-link-services/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
A Network Link Enpoint is associated with a Private Link Confluent Cloud Network at the origin and a Network Link Service (associated with another Private Link Confluent Cloud Network) at the target. It enables connectivity between the origin network and the target network. It can only be associated with a Private Link network.
Related guide: Network Linking Overview.
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "NetworkLinkEndpoint" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.NetworkLinkEndpointSpec) The desired state of the Network Link Endpoint | |
object (networking.v1.NetworkLinkEndpointStatus) The status of the Network Link Endpoint |
{- "api_version": "networking/v1",
- "kind": "NetworkLinkEndpoint",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-endpoint=nle-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nle",
- "description": "Connect to Network - analytics hub",
- "environment": {
- "id": "string",
}, - "network": {
- "id": "string",
- "environment": "string",
}, - "network_link_service": {
- "id": "string",
- "environment": "string",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "expires_at": "2024-01-01T00:00:00Z"
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
network_link_endpoints_per_network |
Number of network link endpoints per network |
spec.display_name | Array of strings (MultipleSearchFilter) Example: spec.display_name=prod-net-1-nle&spec.display_name=dev-net-1-nle Filter the results by exact match for spec.display_name. Pass multiple times to see results matching any of the values. |
status.phase | Array of strings (MultipleSearchFilter) Example: status.phase=READY&status.phase=PENDING_ACCEPT Filter the results by exact match for status.phase. Pass multiple times to see results matching any of the values. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
spec.network | Array of strings (MultipleSearchFilter) Example: spec.network=n-00000&spec.network=n-00001 Filter the results by exact match for spec.network. Pass multiple times to see results matching any of the values. |
spec.network_link_service | Array of strings (MultipleSearchFilter) Example: spec.network_link_service=nls-abcde&spec.network_link_service=nls-00000 Filter the results by exact match for spec.network_link_service. Pass multiple times to see results matching any of the values. |
page_size | integer <= 1000 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/network-link-endpoints?spec.display_name=prod-net-1-nle,dev-net-1-nle&status.phase=READY,PENDING_ACCEPT&environment=env-00000&spec.network=n-00000,n-00001&spec.network_link_service=nls-abcde,nls-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "NetworkLinkEndpointList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "NetworkLinkEndpoint",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-endpoint=nle-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nle",
- "description": "Connect to Network - analytics hub",
- "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}, - "network_link_service": {
- "id": "nls-abcde",
- "environment": "string",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "expires_at": "2024-01-01T00:00:00Z"
}
}
]
}
required | object The desired state of the Network Link Endpoint |
{- "spec": {
- "display_name": "prod-net-1-nle",
- "description": "Connect to Network - analytics hub",
- "environment": {
- "id": "env-00000"
}, - "network": {
- "id": "n-00000",
- "environment": "string"
}, - "network_link_service": {
- "id": "nls-abcde",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "NetworkLinkEndpoint",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-endpoint=nle-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nle",
- "description": "Connect to Network - analytics hub",
- "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}, - "network_link_service": {
- "id": "nls-abcde",
- "environment": "string",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "expires_at": "2024-01-01T00:00:00Z"
}
}
id required | string The unique identifier for the network link endpoint. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/network-link-endpoints/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "NetworkLinkEndpoint",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-endpoint=nle-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nle",
- "description": "Connect to Network - analytics hub",
- "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}, - "network_link_service": {
- "id": "nls-abcde",
- "environment": "string",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "expires_at": "2024-01-01T00:00:00Z"
}
}
id required | string The unique identifier for the network link endpoint. |
required | object The desired state of the Network Link Endpoint |
{- "spec": {
- "display_name": "prod-net-1-nle",
- "description": "Connect to Network - analytics hub",
- "environment": {
- "id": "env-00000"
}
}
}
{- "api_version": "networking/v1",
- "kind": "NetworkLinkEndpoint",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-endpoint=nle-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nle",
- "description": "Connect to Network - analytics hub",
- "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}, - "network_link_service": {
- "id": "nls-abcde",
- "environment": "string",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "expires_at": "2024-01-01T00:00:00Z"
}
}
id required | string The unique identifier for the network link endpoint. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/networking/v1/network-link-endpoints/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
List of incoming Network Link Enpoints associated with the Network Link Service.
Related guide: Network Linking Overview.
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "NetworkLinkServiceAssociation" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.NetworkLinkServiceAssociationSpec) The desired state of the Network Link Service Association | |
object (networking.v1.NetworkLinkServiceAssociationStatus) The status of the Network Link Service Association |
{- "api_version": "networking/v1",
- "kind": "NetworkLinkServiceAssociation",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-service=nls-12345/network-link-endpoint=nle-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nle",
- "description": "Connect to Network - analytics hub",
- "network_link_endpoint": "prod-net-1-nle",
- "network_link_service": {
- "id": "string",
- "environment": "string",
}, - "environment": {
- "id": "string",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "expires_at": "2024-01-01T00:00:00Z"
}
}
status.phase | Array of strings (MultipleSearchFilter) Example: status.phase=READY&status.phase=PENDING_ACCEPT Filter the results by exact match for status.phase. Pass multiple times to see results matching any of the values. |
spec.network_link_service required | string (SearchFilter) Example: spec.network_link_service=nls-abcde Filter the results by exact match for spec.network_link_service. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
page_size | integer <= 1000 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/network-link-service-associations?status.phase=READY,PENDING_ACCEPT&spec.network_link_service=nls-abcde&environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "NetworkLinkServiceAssociationList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "NetworkLinkServiceAssociation",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-service=nls-12345/network-link-endpoint=nle-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nle",
- "description": "Connect to Network - analytics hub",
- "network_link_endpoint": "prod-net-1-nle",
- "network_link_service": {
- "id": "nls-abcde",
- "environment": "string",
}, - "environment": {
- "id": "env-00000",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "expires_at": "2024-01-01T00:00:00Z"
}
}
]
}
id required | string The unique identifier for the network link service association. |
spec.network_link_service required | string (SearchFilter) Example: spec.network_link_service=nls-abcde Scope the operation to the given spec.network_link_service. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/network-link-service-associations/{id}?spec.network_link_service=nls-abcde&environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "NetworkLinkServiceAssociation",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/network=n-456xyz/network-link-service=nls-12345/network-link-endpoint=nle-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-net-1-nle",
- "description": "Connect to Network - analytics hub",
- "network_link_endpoint": "prod-net-1-nle",
- "network_link_service": {
- "id": "nls-abcde",
- "environment": "string",
}, - "environment": {
- "id": "env-00000",
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "expires_at": "2024-01-01T00:00:00Z"
}
}
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "IpAddress" Kind defines the object this REST resource represents. |
ip_prefix | string^\d+\.\d+\.\d+\.\d+/\d+$ The IP Address range. |
cloud | string extensible-enum: ["AWS","GCP","AZURE","ANY"] The cloud service provider in which the address exists. |
region | string The region/location where the IP Address is in use. |
services | Array of strings non-empty unique The service types that will use the address. |
address_type | string extensible-enum: ["INGRESS","EGRESS"] Whether the address is used for egress or ingress. |
{- "api_version": "networking/v1",
- "kind": "IpAddress",
- "ip_prefix": "10.200.0.0/28",
- "cloud": "AWS",
- "region": "us-east-1",
- "services": [
- "CONNECT"
], - "address_type": "EGRESS"
}
Related guide: Use Public Egress IP addresses on Confluent Cloud
Retrieve a sorted, filtered, paginated list of all IP Addresses.
cloud | Array of strings (MultipleSearchFilter) Example: cloud=GCP&cloud=AWS Filter the results by exact match for cloud. Pass multiple times to see results matching any of the values. |
region | Array of strings (MultipleSearchFilter) Example: region=us-central1®ion=us-east-1 Filter the results by exact match for region. Pass multiple times to see results matching any of the values. |
services | Array of strings (MultipleSearchFilter) Example: services=KAFKA&services=CONNECT Filter the results by exact match for services. Pass multiple times to see results matching any of the values. |
address_type | Array of strings (MultipleSearchFilter) Example: address_type=INGRESS&address_type=EGRESS Filter the results by exact match for address_type. Pass multiple times to see results matching any of the values. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/ip-addresses?cloud=GCP,AWS®ion=us-central1,us-east-1&services=KAFKA,CONNECT&address_type=INGRESS,EGRESS' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "IpAddressList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "IpAddress",
- "ip_prefix": "10.200.0.0/28",
- "cloud": "AWS",
- "region": "us-east-1",
- "services": [
- "CONNECT"
], - "address_type": "EGRESS"
}
]
}
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "PrivateLinkAttachment" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.PrivateLinkAttachmentSpec) The desired state of the Private Link Attachment | |
object (networking.v1.PrivateLinkAttachmentStatus) The status of the Private Link Attachment |
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAttachment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/private-link-attachment=platt-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-aws-us-east1",
- "cloud": "AWS",
- "region": "us-east-1",
- "environment": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "dns_domain": "us-east-1.aws.private.confluent.cloud",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentStatus",
- "vpc_endpoint_service": {
- "vpc_endpoint_service_name": "string"
}
}
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
private_link_attachments_per_environment |
Number of PrivateLink Attachments per environment |
spec.display_name | Array of strings (MultipleSearchFilter) Example: spec.display_name=prod-gcp-us-central1&spec.display_name=prod-aws-useast1 Filter the results by exact match for spec.display_name. Pass multiple times to see results matching any of the values. |
spec.cloud | Array of strings (MultipleSearchFilter) Example: spec.cloud=GCP&spec.cloud=AWS Filter the results by exact match for spec.cloud. Pass multiple times to see results matching any of the values. |
spec.region | Array of strings (MultipleSearchFilter) Example: spec.region=us-central1&spec.region=us-east-1 Filter the results by exact match for spec.region. Pass multiple times to see results matching any of the values. |
status.phase | Array of strings (MultipleSearchFilter) Example: status.phase=PROVISIONING&status.phase=READY Filter the results by exact match for status.phase. Pass multiple times to see results matching any of the values. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/private-link-attachments?spec.display_name=prod-gcp-us-central1,prod-aws-useast1&spec.cloud=GCP,AWS&spec.region=us-central1,us-east-1&status.phase=PROVISIONING,READY&environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAttachmentList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "PrivateLinkAttachment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/private-link-attachment=platt-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-aws-us-east1",
- "cloud": "AWS",
- "region": "us-east-1",
- "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "dns_domain": "us-east-1.aws.private.confluent.cloud",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentStatus",
- "vpc_endpoint_service": {
- "vpc_endpoint_service_name": "string"
}
}
}
}
]
}
required | object The desired state of the Private Link Attachment |
{- "spec": {
- "display_name": "prod-aws-us-east1",
- "cloud": "AWS",
- "region": "us-east-1",
- "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAttachment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/private-link-attachment=platt-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-aws-us-east1",
- "cloud": "AWS",
- "region": "us-east-1",
- "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "dns_domain": "us-east-1.aws.private.confluent.cloud",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentStatus",
- "vpc_endpoint_service": {
- "vpc_endpoint_service_name": "string"
}
}
}
}
id required | string The unique identifier for the private link attachment. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/private-link-attachments/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAttachment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/private-link-attachment=platt-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-aws-us-east1",
- "cloud": "AWS",
- "region": "us-east-1",
- "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "dns_domain": "us-east-1.aws.private.confluent.cloud",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentStatus",
- "vpc_endpoint_service": {
- "vpc_endpoint_service_name": "string"
}
}
}
}
id required | string The unique identifier for the private link attachment. |
required | object The desired state of the Private Link Attachment |
{- "spec": {
- "display_name": "prod-aws-us-east1",
- "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAttachment",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/private-link-attachment=platt-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-aws-us-east1",
- "cloud": "AWS",
- "region": "us-east-1",
- "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "dns_domain": "us-east-1.aws.private.confluent.cloud",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentStatus",
- "vpc_endpoint_service": {
- "vpc_endpoint_service_name": "string"
}
}
}
}
id required | string The unique identifier for the private link attachment. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/networking/v1/private-link-attachments/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "PrivateLinkAttachmentConnection" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.PrivateLinkAttachmentConnectionSpec) The desired state of the Private Link Attachment Connection | |
object (networking.v1.PrivateLinkAttachmentConnectionStatus) The status of the Private Link Attachment Connection |
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAttachmentConnection",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/private-link-attachment-connection=plattc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-gcp-us-central1-a",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentConnection",
- "vpc_endpoint_id": "vpce-00000000000000000"
}, - "environment": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "private_link_attachment": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentConnectionStatus",
- "vpc_endpoint_service_name": "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
- "vpc_endpoint_id": "vpce-00000000000000000"
}
}
}
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
spec.private_link_attachment | string (SearchFilter) Example: spec.private_link_attachment=platt-00000 Filter the results by exact match for spec.private_link_attachment. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/private-link-attachment-connections?environment=env-00000&spec.private_link_attachment=platt-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAttachmentConnectionList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "PrivateLinkAttachmentConnection",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/private-link-attachment-connection=plattc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-gcp-us-central1-a",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentConnection",
- "vpc_endpoint_id": "vpce-00000000000000000"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "private_link_attachment": {
- "id": "platt-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentConnectionStatus",
- "vpc_endpoint_service_name": "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
- "vpc_endpoint_id": "vpce-00000000000000000"
}
}
}
]
}
required | object The desired state of the Private Link Attachment Connection |
{- "spec": {
- "display_name": "prod-gcp-us-central1-a",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentConnection",
- "vpc_endpoint_id": "vpce-00000000000000000"
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}, - "private_link_attachment": {
- "id": "platt-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAttachmentConnection",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/private-link-attachment-connection=plattc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-gcp-us-central1-a",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentConnection",
- "vpc_endpoint_id": "vpce-00000000000000000"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "private_link_attachment": {
- "id": "platt-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentConnectionStatus",
- "vpc_endpoint_service_name": "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
- "vpc_endpoint_id": "vpce-00000000000000000"
}
}
}
id required | string The unique identifier for the private link attachment connection. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/private-link-attachment-connections/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAttachmentConnection",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/private-link-attachment-connection=plattc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-gcp-us-central1-a",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentConnection",
- "vpc_endpoint_id": "vpce-00000000000000000"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "private_link_attachment": {
- "id": "platt-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentConnectionStatus",
- "vpc_endpoint_service_name": "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
- "vpc_endpoint_id": "vpce-00000000000000000"
}
}
}
id required | string The unique identifier for the private link attachment connection. |
required | object The desired state of the Private Link Attachment Connection |
{- "spec": {
- "display_name": "prod-gcp-us-central1-a",
- "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "PrivateLinkAttachmentConnection",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/private-link-attachment-connection=plattc-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-gcp-us-central1-a",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentConnection",
- "vpc_endpoint_id": "vpce-00000000000000000"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "private_link_attachment": {
- "id": "platt-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud": {
- "kind": "AwsPrivateLinkAttachmentConnectionStatus",
- "vpc_endpoint_service_name": "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
- "vpc_endpoint_id": "vpce-00000000000000000"
}
}
}
id required | string The unique identifier for the private link attachment connection. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/networking/v1/private-link-attachment-connections/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Add, remove, and update DNS forwarder for your gateway.
Related guides:
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "DnsForwarder" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.DnsForwarderSpec) The desired state of the Dns Forwarder | |
object (networking.v1.DnsForwarderStatus) The status of the Dns Forwarder |
{- "api_version": "networking/v1",
- "kind": "DnsForwarder",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/dns-forwarder=df-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-dnsf-1",
- "domains": [
- "example.com",
- "domainname.com"
], - "config": {
- "kind": "ForwardViaIp",
- "dns_server_ips": [
- "10.200.0.0",
- "10.200.0.1"
]
}, - "environment": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/dns-forwarders?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "DnsForwarderList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "DnsForwarder",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/dns-forwarder=df-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-dnsf-1",
- "domains": [
- "example.com",
- "domainname.com"
], - "config": {
- "kind": "ForwardViaIp",
- "dns_server_ips": [
- "10.200.0.0",
- "10.200.0.1"
]
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
]
}
required | object The desired state of the Dns Forwarder |
{- "spec": {
- "display_name": "prod-dnsf-1",
- "domains": [
- "example.com",
- "domainname.com"
], - "config": {
- "kind": "ForwardViaIp",
- "dns_server_ips": [
- "10.200.0.0",
- "10.200.0.1"
]
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "DnsForwarder",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/dns-forwarder=df-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-dnsf-1",
- "domains": [
- "example.com",
- "domainname.com"
], - "config": {
- "kind": "ForwardViaIp",
- "dns_server_ips": [
- "10.200.0.0",
- "10.200.0.1"
]
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the DNS forwarder. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/dns-forwarders/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "DnsForwarder",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/dns-forwarder=df-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-dnsf-1",
- "domains": [
- "example.com",
- "domainname.com"
], - "config": {
- "kind": "ForwardViaIp",
- "dns_server_ips": [
- "10.200.0.0",
- "10.200.0.1"
]
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the DNS forwarder. |
required | object The desired state of the Dns Forwarder |
{- "spec": {
- "display_name": "prod-dnsf-1",
- "domains": [
- "example.com",
- "domainname.com"
], - "config": {
- "kind": "ForwardViaIp",
- "dns_server_ips": [
- "10.200.0.0",
- "10.200.0.1"
]
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "DnsForwarder",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/dns-forwarder=df-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-dnsf-1",
- "domains": [
- "example.com",
- "domainname.com"
], - "config": {
- "kind": "ForwardViaIp",
- "dns_server_ips": [
- "10.200.0.0",
- "10.200.0.1"
]
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the DNS forwarder. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/networking/v1/dns-forwarders/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "AccessPoint" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.AccessPointSpec) The desired state of the Access Point | |
object (networking.v1.AccessPointStatus) The status of the Access Point |
{- "api_version": "networking/v1",
- "kind": "AccessPoint",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/access-point=ap-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-ap-egress-usw2",
- "config": {
- "kind": "AwsEgressPrivateLinkEndpoint",
- "vpc_endpoint_service_name": "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
- "enable_high_availability": false
}, - "environment": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "config": {
- "kind": "AwsEgressPrivateLinkEndpointStatus",
- "vpc_endpoint_id": "vpce-00000000000000000",
- "vpc_endpoint_dns_name": "vpce-00000000000000000-00000000.vpce-svc-00000000000000000.us-west-2.vpce.amazonaws.com"
}
}
}
spec.display_name | Array of strings (MultipleSearchFilter) Example: spec.display_name=prod-ap-egress-use1&spec.display_name=prod-ap-egress-usw2 Filter the results by exact match for spec.display_name. Pass multiple times to see results matching any of the values. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
spec.gateway | Array of strings (MultipleSearchFilter) Example: spec.gateway=gw-00000&spec.gateway=gw-00001 Filter the results by exact match for spec.gateway. Pass multiple times to see results matching any of the values. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/access-points?spec.display_name=prod-ap-egress-use1,prod-ap-egress-usw2&environment=env-00000&spec.gateway=gw-00000,gw-00001' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "AccessPointList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "AccessPoint",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/access-point=ap-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-ap-egress-usw2",
- "config": {
- "kind": "AwsEgressPrivateLinkEndpoint",
- "vpc_endpoint_service_name": "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
- "enable_high_availability": false
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "config": {
- "kind": "AwsEgressPrivateLinkEndpointStatus",
- "vpc_endpoint_id": "vpce-00000000000000000",
- "vpc_endpoint_dns_name": "vpce-00000000000000000-00000000.vpce-svc-00000000000000000.us-west-2.vpce.amazonaws.com"
}
}
}
]
}
required | object The desired state of the Access Point |
{- "spec": {
- "display_name": "prod-ap-egress-usw2",
- "config": {
- "kind": "AwsEgressPrivateLinkEndpoint",
- "vpc_endpoint_service_name": "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
- "enable_high_availability": false
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "AccessPoint",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/access-point=ap-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-ap-egress-usw2",
- "config": {
- "kind": "AwsEgressPrivateLinkEndpoint",
- "vpc_endpoint_service_name": "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
- "enable_high_availability": false
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "config": {
- "kind": "AwsEgressPrivateLinkEndpointStatus",
- "vpc_endpoint_id": "vpce-00000000000000000",
- "vpc_endpoint_dns_name": "vpce-00000000000000000-00000000.vpce-svc-00000000000000000.us-west-2.vpce.amazonaws.com"
}
}
}
id required | string The unique identifier for the access point. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/access-points/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "AccessPoint",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/access-point=ap-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-ap-egress-usw2",
- "config": {
- "kind": "AwsEgressPrivateLinkEndpoint",
- "vpc_endpoint_service_name": "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
- "enable_high_availability": false
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "config": {
- "kind": "AwsEgressPrivateLinkEndpointStatus",
- "vpc_endpoint_id": "vpce-00000000000000000",
- "vpc_endpoint_dns_name": "vpce-00000000000000000-00000000.vpce-svc-00000000000000000.us-west-2.vpce.amazonaws.com"
}
}
}
id required | string The unique identifier for the access point. |
required | object The desired state of the Access Point |
{- "spec": {
- "display_name": "prod-ap-egress-usw2",
- "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "AccessPoint",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/access-point=ap-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-ap-egress-usw2",
- "config": {
- "kind": "AwsEgressPrivateLinkEndpoint",
- "vpc_endpoint_service_name": "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
- "enable_high_availability": false
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "config": {
- "kind": "AwsEgressPrivateLinkEndpointStatus",
- "vpc_endpoint_id": "vpce-00000000000000000",
- "vpc_endpoint_dns_name": "vpce-00000000000000000-00000000.vpce-svc-00000000000000000.us-west-2.vpce.amazonaws.com"
}
}
}
id required | string The unique identifier for the access point. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/networking/v1/access-points/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "DnsRecord" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.DnsRecordSpec) The desired state of the Dns Record | |
object (networking.v1.DnsRecordStatus) The status of the Dns Record |
{- "api_version": "networking/v1",
- "kind": "DnsRecord",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/dns-record=dnsrec-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-dnsrec-1",
- "domain": "example.com",
- "config": {
- "kind": "PrivateLinkAccessPoint",
- "resource_id": "ap-12345"
}, - "environment": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
spec.display_name | Array of strings (MultipleSearchFilter) Example: spec.display_name=prod-dnsrec-1&spec.display_name=prod-dnsrec-2 Filter the results by exact match for spec.display_name. Pass multiple times to see results matching any of the values. |
spec.domain | Array of strings (MultipleSearchFilter) Example: spec.domain=example.com&spec.domain=example2.com Filter the results by exact match for spec.domain. Pass multiple times to see results matching any of the values. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
spec.gateway | Array of strings (MultipleSearchFilter) Example: spec.gateway=gw-00000&spec.gateway=gw-00001 Filter the results by exact match for spec.gateway. Pass multiple times to see results matching any of the values. |
resource | Array of strings (MultipleSearchFilter) Example: resource=ap-11111&resource=ap-22222 Filter the results by exact match for resource. Pass multiple times to see results matching any of the values. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/dns-records?spec.display_name=prod-dnsrec-1,prod-dnsrec-2&spec.domain=example.com,example2.com&environment=env-00000&spec.gateway=gw-00000,gw-00001&resource=ap-11111,ap-22222' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "DnsRecordList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "DnsRecord",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/dns-record=dnsrec-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-dnsrec-1",
- "domain": "example.com",
- "config": {
- "kind": "PrivateLinkAccessPoint",
- "resource_id": "ap-12345"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
]
}
required | object The desired state of the Dns Record |
{- "spec": {
- "display_name": "prod-dnsrec-1",
- "domain": "example.com",
- "config": {
- "kind": "PrivateLinkAccessPoint",
- "resource_id": "ap-12345"
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "DnsRecord",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/dns-record=dnsrec-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-dnsrec-1",
- "domain": "example.com",
- "config": {
- "kind": "PrivateLinkAccessPoint",
- "resource_id": "ap-12345"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the DNS record. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/dns-records/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "DnsRecord",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/dns-record=dnsrec-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-dnsrec-1",
- "domain": "example.com",
- "config": {
- "kind": "PrivateLinkAccessPoint",
- "resource_id": "ap-12345"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the DNS record. |
required | object The desired state of the Dns Record |
{- "spec": {
- "display_name": "prod-dnsrec-1",
- "config": {
- "kind": "PrivateLinkAccessPoint",
- "resource_id": "ap-12345"
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "DnsRecord",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-456xyz/dns-record=dnsrec-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-dnsrec-1",
- "domain": "example.com",
- "config": {
- "kind": "PrivateLinkAccessPoint",
- "resource_id": "ap-12345"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "gateway": {
- "id": "gw-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string"
}
}
id required | string The unique identifier for the DNS record. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/networking/v1/dns-records/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
api_version | string Value: "networking/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Gateway" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (networking.v1.GatewaySpec) The desired state of the Gateway | |
object (networking.v1.GatewayStatus) The status of the Gateway |
{- "api_version": "networking/v1",
- "kind": "Gateway",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-gateway",
- "config": {
- "kind": "AwsEgressPrivateLinkGatewaySpec",
- "region": "string"
}, - "environment": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud_gateway": {
- "kind": "AwsEgressPrivateLinkGatewayStatus",
- "principal_arn": "arn:aws:iam::123456789012:cc-tenant-1-role"
}
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
gateways_per_region_per_environment |
Number of Gateways per region per environment |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
gateway_type | Array of strings (MultipleSearchFilter) Example: gateway_type=AwsEgressPrivateLink&gateway_type=AzureEgressPrivateLink Filter the results by exact match for gateway_type. Pass multiple times to see results matching any of the values. |
id | Array of strings (MultipleSearchFilter) Example: id=gw-1&id=gw-2 Filter the results by exact match for id. Pass multiple times to see results matching any of the values. |
page_size | integer <= 100 Default: 100 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/gateways?environment=env-00000&gateway_type=AwsEgressPrivateLink,AzureEgressPrivateLink&id=gw-1,gw-2' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "GatewayList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "networking/v1",
- "kind": "Gateway",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-gateway",
- "config": {
- "kind": "AwsEgressPrivateLinkGatewaySpec",
- "region": "string"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud_gateway": {
- "kind": "AwsEgressPrivateLinkGatewayStatus",
- "principal_arn": "arn:aws:iam::123456789012:cc-tenant-1-role"
}
}
}
]
}
required | object The desired state of the Gateway |
{- "spec": {
- "display_name": "prod-gateway",
- "config": {
- "kind": "AwsEgressPrivateLinkGatewaySpec",
- "region": "string"
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "Gateway",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-gateway",
- "config": {
- "kind": "AwsEgressPrivateLinkGatewaySpec",
- "region": "string"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud_gateway": {
- "kind": "AwsEgressPrivateLinkGatewayStatus",
- "principal_arn": "arn:aws:iam::123456789012:cc-tenant-1-role"
}
}
}
id required | string The unique identifier for the gateway. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/networking/v1/gateways/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "networking/v1",
- "kind": "Gateway",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-gateway",
- "config": {
- "kind": "AwsEgressPrivateLinkGatewaySpec",
- "region": "string"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud_gateway": {
- "kind": "AwsEgressPrivateLinkGatewayStatus",
- "principal_arn": "arn:aws:iam::123456789012:cc-tenant-1-role"
}
}
}
id required | string The unique identifier for the gateway. |
required | object The desired state of the Gateway |
{- "spec": {
- "display_name": "prod-gateway",
- "environment": {
- "id": "env-00000",
- "environment": "string"
}
}
}
{- "api_version": "networking/v1",
- "kind": "Gateway",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/gateway=gw-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "prod-gateway",
- "config": {
- "kind": "AwsEgressPrivateLinkGatewaySpec",
- "region": "string"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "phase": "READY",
- "error_code": "string",
- "error_message": "string",
- "cloud_gateway": {
- "kind": "AwsEgressPrivateLinkGatewayStatus",
- "principal_arn": "arn:aws:iam::123456789012:cc-tenant-1-role"
}
}
}
id required | string The unique identifier for the gateway. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/networking/v1/gateways/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
OAuth Token is a JSON Web Token (JWT) that enables the use of external identities to access Confluent Cloud APIs
grant_type required | string extensible-enum: ["urn:ietf:params:oauth:grant-type:token-exchange"] The grant type. Must be urn:ietf:params:oauth:grant-type:token-exchange, which indicates a token exchange. |
subject_token required | string Confluent Cloud only accepts JSON Web Token (JWT) access tokens from customer identity provider |
identity_pool_id required | string Identity pool is a group of external identities that are assigned a certain level of access based on policy |
subject_token_type required | string extensible-enum: ["urn:ietf:params:oauth:token-type:jwt"] An identifier for the type of requested security token. Supported values is urn:ietf:params:oauth:token-type:jwt. |
requested_token_type required | string extensible-enum: ["urn:ietf:params:oauth:token-type:access_token"] An identifier for the type of requested security token. Supported values is urn:ietf:params:oauth:token-type:access_token. |
expires_in | integer <int32> <= 900 Default: 900 The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expire |
curl --request POST \ --url https://api.confluent.cloud/sts/v1/oauth2/token \ --header 'content-type: application/x-www-form-urlencoded' \ --data grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange \ --data subject_token=test_jwt_token \ --data identity_pool_id=pool_1 \ --data subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Ajwt \ --data requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token \ --data expires_in=900
{- "access_token": "string",
- "issued_token_type": "urn:ietf:params:oauth:token-type:access_token",
- "token_type": "Bearer",
- "expires_in": 3600
}
ClientQuota
objects represent Client Quotas you can set at the service account level.
The API allows you to list, create, read, update, and delete your client quotas.
Related guide: Client Quotas in Confluent Cloud.
api_version | string Value: "kafka-quotas/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "ClientQuota" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (kafka-quotas.v1.ClientQuotaSpec) The desired state of the Client Quota |
{- "api_version": "kafka-quotas/v1",
- "kind": "ClientQuota",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/client-quota=cq-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "QuotaForSA1",
- "description": "This quota defines limits on how much the target principals can use cluster lkc-xxxxx",
- "throughput": {
- "ingress_byte_rate": "5",
- "egress_byte_rate": "5"
}, - "cluster": {
- "id": "string",
- "environment": "string",
}, - "principals": [
], - "environment": {
- "id": "string",
}
}
}
spec.cluster required | string (SearchFilter) Example: spec.cluster=lkc-xxxxx Filter the results by exact match for spec.cluster. |
environment required | string (SearchFilter) Example: environment=env-xxxxx Filter the results by exact match for environment. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/kafka-quotas/v1/client-quotas?spec.cluster=lkc-xxxxx&environment=env-xxxxx' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "kafka-quotas/v1",
- "kind": "ClientQuotaList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "kafka-quotas/v1",
- "kind": "ClientQuota",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/client-quota=cq-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "QuotaForSA1",
- "description": "This quota defines limits on how much the target principals can use cluster lkc-xxxxx",
- "throughput": {
- "ingress_byte_rate": "5",
- "egress_byte_rate": "5"
}, - "cluster": {
- "id": "lkc-xxxxx",
- "environment": "string",
}, - "principals": [
], - "environment": [
- {
- "id": "env-xxxxx",
}
]
}
}
]
}
{- "spec": {
- "display_name": "QuotaForSA1",
- "description": "This quota defines limits on how much the target principals can use cluster lkc-xxxxx",
- "throughput": {
- "ingress_byte_rate": "5",
- "egress_byte_rate": "5"
}, - "cluster": {
- "id": "lkc-xxxxx"
}, - "principals": [
- {
- "id": "sa-xxxxx"
}
], - "environment": {
- "id": "env-xxxxx"
}
}
}
{- "api_version": "kafka-quotas/v1",
- "kind": "ClientQuota",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/client-quota=cq-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "QuotaForSA1",
- "description": "This quota defines limits on how much the target principals can use cluster lkc-xxxxx",
- "throughput": {
- "ingress_byte_rate": "5",
- "egress_byte_rate": "5"
}, - "cluster": {
- "id": "lkc-xxxxx",
- "environment": "string",
}, - "principals": [
], - "environment": [
- {
- "id": "env-xxxxx",
}
]
}
}
id required | string The unique identifier for the client quota. |
curl --request GET \ --url 'https://api.confluent.cloud/kafka-quotas/v1/client-quotas/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "kafka-quotas/v1",
- "kind": "ClientQuota",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/client-quota=cq-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "QuotaForSA1",
- "description": "This quota defines limits on how much the target principals can use cluster lkc-xxxxx",
- "throughput": {
- "ingress_byte_rate": "5",
- "egress_byte_rate": "5"
}, - "cluster": {
- "id": "lkc-xxxxx",
- "environment": "string",
}, - "principals": [
], - "environment": [
- {
- "id": "env-xxxxx",
}
]
}
}
id required | string The unique identifier for the client quota. |
required | object The desired state of the Client Quota |
{- "spec": {
- "display_name": "QuotaForSA1",
- "description": "This quota defines limits on how much the target principals can use cluster lkc-xxxxx",
- "throughput": {
- "ingress_byte_rate": "5",
- "egress_byte_rate": "5"
}, - "principals": [
- {
- "id": "string"
}
], - "environment": {
- "id": "env-00000"
}
}
}
{- "api_version": "kafka-quotas/v1",
- "kind": "ClientQuota",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/client-quota=cq-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "QuotaForSA1",
- "description": "This quota defines limits on how much the target principals can use cluster lkc-xxxxx",
- "throughput": {
- "ingress_byte_rate": "5",
- "egress_byte_rate": "5"
}, - "cluster": {
- "id": "lkc-xxxxx",
- "environment": "string",
}, - "principals": [
], - "environment": [
- {
- "id": "env-xxxxx",
}
]
}
}
id required | string The unique identifier for the client quota. |
curl --request DELETE \ --url 'https://api.confluent.cloud/kafka-quotas/v1/client-quotas/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Pipeline
objects represent information about a user-defined pipeline of Confluent Cloud components.
The pipeline's content is available separately.
The API allows you to create, retrieve, update, and delete your pipelines, as well as list all of your pipelines for the particular environment and Kafka cluster.
Related guide: Pipelines in Confluent Cloud.
api_version | string Value: "sd/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Pipeline" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (sd.v1.PipelineSpec) The desired state of the Pipeline | |
object (sd.v1.PipelineStatus) The status of the Pipeline |
{- "api_version": "sd/v1",
- "kind": "Pipeline",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/pipeline=pipe-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "MyFirstPipeline",
- "description": "My first pipeline",
- "retained_topic_names": [
- "topic1",
- "topic2"
], - "activated": false,
- "activation_privilege": false,
- "source_code": {
- "sql": "CREATE STREAM `upstream` (id INTEGER, name STRING)\n WITH (kafka_topic = 'topic', partitions=1, value_format='JSON');\nCREATE STREAM `downstream` AS SELECT * FROM upstream;\n"
}, - "secrets": {
- "secret_name_1": "secret1",
- "secret_name_2": "secret2"
}, - "environment": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "kafka_cluster": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "ksql_cluster": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "stream_governance_cluster": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "state": "string",
- "topic_count": 0,
- "connector_count": 0,
- "query_count": 0
}
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
pipelines_per_org |
Pipelines in one Confluent Cloud organization |
pipelines_per_cluster |
Pipelines in one Confluent Cloud Kafka cluster |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
spec.kafka_cluster required | string (SearchFilter) Example: spec.kafka_cluster=lkc-00000 Filter the results by exact match for spec.kafka_cluster. |
page_size | integer <= 100 Default: 100 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/sd/v1/pipelines?environment=env-00000&spec.kafka_cluster=lkc-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "sd/v1",
- "kind": "PipelineList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "sd/v1",
- "kind": "Pipeline",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/pipeline=pipe-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "MyFirstPipeline",
- "description": "My first pipeline",
- "retained_topic_names": [
- "topic1",
- "topic2"
], - "activated": false,
- "activation_privilege": false,
- "source_code": {
- "sql": "CREATE STREAM `upstream` (id INTEGER, name STRING)\n WITH (kafka_topic = 'topic', partitions=1, value_format='JSON');\nCREATE STREAM `downstream` AS SELECT * FROM upstream;\n"
}, - "secrets": {
- "secret_name_1": "secret1",
- "secret_name_2": "secret2"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "kafka_cluster": {
- "id": "lkc-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "ksql_cluster": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "stream_governance_cluster": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "state": "string",
- "topic_count": 0,
- "connector_count": 0,
- "query_count": 0
}
}
]
}
required | object The desired state of the Pipeline |
{- "spec": {
- "display_name": "MyFirstPipeline",
- "description": "My first pipeline",
- "retained_topic_names": [
- "topic1",
- "topic2"
], - "activated": false,
- "activation_privilege": false,
- "source_code": {
- "sql": "CREATE STREAM `upstream` (id INTEGER, name STRING)\n WITH (kafka_topic = 'topic', partitions=1, value_format='JSON');\nCREATE STREAM `downstream` AS SELECT * FROM upstream;\n"
}, - "secrets": {
- "secret_name_1": "secret1",
- "secret_name_2": "secret2"
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}, - "kafka_cluster": {
- "id": "lkc-00000",
- "environment": "string"
}, - "ksql_cluster": {
- "id": "string",
- "environment": "string"
}, - "stream_governance_cluster": {
- "id": "string",
- "environment": "string"
}
}
}
{- "api_version": "sd/v1",
- "kind": "Pipeline",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/pipeline=pipe-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "MyFirstPipeline",
- "description": "My first pipeline",
- "retained_topic_names": [
- "topic1",
- "topic2"
], - "activated": false,
- "activation_privilege": false,
- "source_code": {
- "sql": "CREATE STREAM `upstream` (id INTEGER, name STRING)\n WITH (kafka_topic = 'topic', partitions=1, value_format='JSON');\nCREATE STREAM `downstream` AS SELECT * FROM upstream;\n"
}, - "secrets": {
- "secret_name_1": "secret1",
- "secret_name_2": "secret2"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "kafka_cluster": {
- "id": "lkc-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "ksql_cluster": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "stream_governance_cluster": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "state": "string",
- "topic_count": 0,
- "connector_count": 0,
- "query_count": 0
}
}
id required | string The unique identifier for the pipeline. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
spec.kafka_cluster required | string (SearchFilter) Example: spec.kafka_cluster=lkc-00000 Scope the operation to the given spec.kafka_cluster. |
curl --request GET \ --url 'https://api.confluent.cloud/sd/v1/pipelines/{id}?environment=env-00000&spec.kafka_cluster=lkc-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "sd/v1",
- "kind": "Pipeline",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/pipeline=pipe-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "MyFirstPipeline",
- "description": "My first pipeline",
- "retained_topic_names": [
- "topic1",
- "topic2"
], - "activated": false,
- "activation_privilege": false,
- "source_code": {
- "sql": "CREATE STREAM `upstream` (id INTEGER, name STRING)\n WITH (kafka_topic = 'topic', partitions=1, value_format='JSON');\nCREATE STREAM `downstream` AS SELECT * FROM upstream;\n"
}, - "secrets": {
- "secret_name_1": "secret1",
- "secret_name_2": "secret2"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "kafka_cluster": {
- "id": "lkc-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "ksql_cluster": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "stream_governance_cluster": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "state": "string",
- "topic_count": 0,
- "connector_count": 0,
- "query_count": 0
}
}
id required | string The unique identifier for the pipeline. |
required | object The desired state of the Pipeline |
{- "spec": {
- "display_name": "MyFirstPipeline",
- "description": "My first pipeline",
- "retained_topic_names": [
- "topic1",
- "topic2"
], - "activated": false,
- "activation_privilege": false,
- "source_code": {
- "sql": "CREATE STREAM `upstream` (id INTEGER, name STRING)\n WITH (kafka_topic = 'topic', partitions=1, value_format='JSON');\nCREATE STREAM `downstream` AS SELECT * FROM upstream;\n"
}, - "secrets": {
- "secret_name_1": "secret1",
- "secret_name_2": "secret2"
}, - "environment": {
- "id": "env-00000",
- "environment": "string"
}, - "kafka_cluster": {
- "id": "string",
- "environment": "string"
}, - "ksql_cluster": {
- "id": "string",
- "environment": "string"
}, - "stream_governance_cluster": {
- "id": "string",
- "environment": "string"
}
}
}
{- "api_version": "sd/v1",
- "kind": "Pipeline",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/pipeline=pipe-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "MyFirstPipeline",
- "description": "My first pipeline",
- "retained_topic_names": [
- "topic1",
- "topic2"
], - "activated": false,
- "activation_privilege": false,
- "source_code": {
- "sql": "CREATE STREAM `upstream` (id INTEGER, name STRING)\n WITH (kafka_topic = 'topic', partitions=1, value_format='JSON');\nCREATE STREAM `downstream` AS SELECT * FROM upstream;\n"
}, - "secrets": {
- "secret_name_1": "secret1",
- "secret_name_2": "secret2"
}, - "environment": {
- "id": "env-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "kafka_cluster": {
- "id": "lkc-00000",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "ksql_cluster": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}, - "stream_governance_cluster": {
- "id": "string",
- "environment": "string",
- "api_version": "string",
- "kind": "string"
}
}, - "status": {
- "state": "string",
- "topic_count": 0,
- "connector_count": 0,
- "query_count": 0
}
}
id required | string The unique identifier for the pipeline. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
spec.kafka_cluster required | string (SearchFilter) Example: spec.kafka_cluster=lkc-00000 Scope the operation to the given spec.kafka_cluster. |
curl --request DELETE \ --url 'https://api.confluent.cloud/sd/v1/pipelines/{id}?environment=env-00000&spec.kafka_cluster=lkc-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Key
objects represent customer managed keys on dedicated Confluent Cloud clusters.
Keys are used to protect data at rest stored in your dedicated Confluent Cloud clusters on AWS, Azure, and GCP. This API allows you to upload and retrieve self-managed keys on Confluent Cloud.
Related guide: Confluent Cloud Bring Your Own Key (BYOK) Management API.
api_version | string Value: "byok/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Key" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object The cloud-specific key details. For AWS, provide the corresponding For Azure, provide the corresponding For GCP, provide the corresponding | |
provider | string extensible-enum: ["AWS","AZURE","GCP"] The cloud provider of the Key. |
state | string extensible-enum: ["AVAILABLE","IN_USE"] The state of the key: AVAILABLE: key can be used for a Kafka cluster provisioning IN_USE: key is already in use by a Kafka cluster provisioning |
{- "api_version": "byok/v1",
- "kind": "Key",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/key=cck-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "key": {
- "key_arn": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
- "roles": [
- "arn:aws:iam::123456789876:role/block_storage_manager",
- "arn:aws:iam::987654321234:role/cc-kafka-1111aaaa-11aa-11aa-11aa-111111aaaaaa"
], - "kind": "AwsKey"
}, - "provider": "AWS",
- "state": "IN_USE"
}
This resource is subject to the following quotas:
Quota | Description |
---|---|
byok.max_keys.per_org |
BYOK keys in one Confluent Cloud organisation. |
provider | string (SearchFilter) Example: provider=AWS Filter the results by exact match for provider. |
state | string (SearchFilter) Example: state=IN_USE Filter the results by exact match for state. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/byok/v1/keys?provider=AWS&state=IN_USE' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "byok/v1",
- "kind": "KeyList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "byok/v1",
- "kind": "Key",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/key=cck-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "key": {
- "key_arn": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
- "roles": [
- "arn:aws:iam::123456789876:role/block_storage_manager",
- "arn:aws:iam::987654321234:role/cc-kafka-1111aaaa-11aa-11aa-11aa-111111aaaaaa"
], - "kind": "AwsKey"
}, - "provider": "AWS",
- "state": "IN_USE"
}
]
}
required | object The cloud-specific key details. For AWS, provide the corresponding For Azure, provide the corresponding For GCP, provide the corresponding |
{- "key": {
- "key_arn": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
- "kind": "AwsKey"
}
}
{- "api_version": "byok/v1",
- "kind": "Key",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/key=cck-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "key": {
- "key_arn": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
- "roles": [
- "arn:aws:iam::123456789876:role/block_storage_manager",
- "arn:aws:iam::987654321234:role/cc-kafka-1111aaaa-11aa-11aa-11aa-111111aaaaaa"
], - "kind": "AwsKey"
}, - "provider": "AWS",
- "state": "IN_USE"
}
id required | string The unique identifier for the key. |
curl --request GET \ --url 'https://api.confluent.cloud/byok/v1/keys/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "byok/v1",
- "kind": "Key",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/key=cck-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "key": {
- "key_arn": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
- "roles": [
- "arn:aws:iam::123456789876:role/block_storage_manager",
- "arn:aws:iam::987654321234:role/cc-kafka-1111aaaa-11aa-11aa-11aa-111111aaaaaa"
], - "kind": "AwsKey"
}, - "provider": "AWS",
- "state": "IN_USE"
}
id required | string The unique identifier for the key. |
curl --request DELETE \ --url 'https://api.confluent.cloud/byok/v1/keys/{id}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Cost
objects represent the aggregated billing costs for an organization
Related guide: Retrieve costs for a range of dates.
api_version | string Value: "billing/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Cost" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
start_date | string <date> Start date of time period (inclusive) to retrieve billing costs. It is represented in RFC3339 format and is in UTC. |
end_date | string <date> End date of time period (exclusive) to retrieve billing costs. It is represented in RFC3339 format and is in UTC. |
granularity | string Default: "DAILY" extensible-enum: ["DAILY"] Granularity at which each line item is aggregated. |
network_access_type | string extensible-enum: ["INTERNET","TRANSIT_GATEWAY","PRIVATE_LINK","PEERED_VPC"] Network access type for the cluster. |
product | string extensible-enum: ["KAFKA","CONNECT","KSQL","AUDIT_LOG","STREAM_GOVERNANCE","CLUSTER_LINK","CUSTOM_CONNECT","FLINK","SUPPORT_CLOUD_BASIC","SUPPORT_CLOUD_DEVELOPER","SUPPORT_CLOUD_BUSINESS","SUPPORT_CLOUD_PREMIER"] Product name. |
line_type | string extensible-enum: ["KAFKA_STORAGE","KAFKA_PARTITION","KAFKA_NETWORK_READ","KAFKA_NETWORK_WRITE","KAFKA_BASE","KAFKA_NUM_CKUS","KAFKA_REST_PRODUCE","KSQL_NUM_CSUS","CONNECT_CAPACITY","CONNECT_NUM_TASKS","CONNECT_THROUGHPUT","CONNECT_NUM_RECORDS","SUPPORT","CLUSTER_LINKING_PER_LINK","CLUSTER_LINKING_WRITE","CLUSTER_LINKING_READ","AUDIT_LOG_READ","GOVERNANCE_BASE","SCHEMA_REGISTRY","PROMO_CREDIT","CUSTOM_CONNECT_NUM_TASKS","CUSTOM_CONNECT_THROUGHPUT","NUM_RULES","FLINK_NUM_CFUS"] Type of the line item. |
price | number <double> Price for the line item in dollars. |
unit | string Unit of the line item. |
quantity | number <double> Quantity of the line item. |
original_amount | number <double> Original amount accrued for this line item. |
discount_amount | number <double> Amount discounted from the original amount in dollars. |
amount | number <double> Final amount after deducting discounts. |
object The resource for a given object |
{- "api_version": "billing/v1",
- "kind": "Cost",
- "id": "dlz-f3a90de",
- "start_date": "2022-10-12",
- "end_date": "2022-10-15",
- "granularity": "DAILY",
- "network_access_type": "INTERNET",
- "product": "KAFKA",
- "line_type": "KAFKA_NUM_CKUS",
- "price": 1.5,
- "unit": "GB",
- "quantity": 99.9,
- "original_amount": 149.85,
- "discount_amount": 20.85,
- "amount": 129,
- "resource": {
- "id": "lkc-12345",
- "display_name": "prod-kafka-cluster",
- "environment": {
- "id": "env-123"
}
}
}
start_date required | string (SearchFilter) Example: start_date=2022-10-12 Filter the results by exact match for start_date. |
end_date required | string (SearchFilter) Example: end_date=2022-10-15 Filter the results by exact match for end_date. |
page_size | integer <= 10000 Default: 5000 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/billing/v1/costs?start_date=2022-10-12&end_date=2022-10-15' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "billing/v1",
- "kind": "CostList",
- "metadata": {
}, - "data": [
- {
- "api_version": "billing/v1",
- "kind": "Cost",
- "id": "dlz-f3a90de",
- "start_date": "2022-10-12",
- "end_date": "2022-10-15",
- "granularity": "DAILY",
- "network_access_type": "INTERNET",
- "product": "KAFKA",
- "line_type": "KAFKA_NUM_CKUS",
- "price": 1.5,
- "unit": "GB",
- "quantity": 99.9,
- "original_amount": 149.85,
- "discount_amount": 20.85,
- "amount": 129,
- "resource": {
- "id": "lkc-12345",
- "display_name": "prod-kafka-cluster",
- "environment": {
- "id": "env-123"
}
}
}
]
}
api_version | string Value: "fcpm/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "ComputePool" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (fcpm.v2.ComputePoolSpec) The desired state of the Compute Pool | |
object (fcpm.v2.ComputePoolStatus) The status of the Compute Pool |
{- "api_version": "fcpm/v2",
- "kind": "ComputePool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/flink-region=aws.us-east-2/compute-pool=lfcp-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "flink_compute_pool_0",
- "cloud": "AWS",
- "region": "us-west-1",
- "max_cfu": 5,
- "environment": {
- "id": "string",
}, - "network": {
- "id": "string",
- "environment": "string",
}
}, - "status": {
- "phase": "PROVISIONING",
- "current_cfu": 4
}
}
spec.region | string (SearchFilter) Example: spec.region=us-west-1 Filter the results by exact match for spec.region. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
spec.network | string (SearchFilter) Example: spec.network=n-00000 Filter the results by exact match for spec.network. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/fcpm/v2/compute-pools?spec.region=us-west-1&environment=env-00000&spec.network=n-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "fcpm/v2",
- "kind": "ComputePoolList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "fcpm/v2",
- "kind": "ComputePool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/flink-region=aws.us-east-2/compute-pool=lfcp-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "flink_compute_pool_0",
- "cloud": "AWS",
- "region": "us-west-1",
- "max_cfu": 5,
- "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}
}, - "status": {
- "phase": "PROVISIONING",
- "current_cfu": 4
}
}
]
}
required | object The desired state of the Compute Pool |
{- "spec": {
- "display_name": "flink_compute_pool_0",
- "cloud": "AWS",
- "region": "us-west-1",
- "max_cfu": 5,
- "environment": {
- "id": "env-00000"
}, - "network": {
- "id": "n-00000",
- "environment": "string"
}
}
}
{- "api_version": "fcpm/v2",
- "kind": "ComputePool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/flink-region=aws.us-east-2/compute-pool=lfcp-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "flink_compute_pool_0",
- "cloud": "AWS",
- "region": "us-west-1",
- "max_cfu": 5,
- "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}
}, - "status": {
- "phase": "PROVISIONING",
- "current_cfu": 4
}
}
id required | string The unique identifier for the compute pool. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/fcpm/v2/compute-pools/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "fcpm/v2",
- "kind": "ComputePool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/flink-region=aws.us-east-2/compute-pool=lfcp-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "flink_compute_pool_0",
- "cloud": "AWS",
- "region": "us-west-1",
- "max_cfu": 5,
- "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}
}, - "status": {
- "phase": "PROVISIONING",
- "current_cfu": 4
}
}
id required | string The unique identifier for the compute pool. |
required | object The desired state of the Compute Pool |
{- "spec": {
- "display_name": "flink_compute_pool_0",
- "max_cfu": 5,
- "environment": {
- "id": "env-00000"
}
}
}
{- "api_version": "fcpm/v2",
- "kind": "ComputePool",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-abc123/flink-region=aws.us-east-2/compute-pool=lfcp-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "spec": {
- "display_name": "flink_compute_pool_0",
- "cloud": "AWS",
- "region": "us-west-1",
- "max_cfu": 5,
- "environment": {
- "id": "env-00000",
}, - "network": {
- "id": "n-00000",
- "environment": "string",
}
}, - "status": {
- "phase": "PROVISIONING",
- "current_cfu": 4
}
}
id required | string The unique identifier for the compute pool. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/fcpm/v2/compute-pools/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
api_version | string Value: "fcpm/v2" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Region" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
display_name | string The display name. |
cloud | string extensible-enum: ["AWS","GCP","AZURE"] The cloud service provider that hosts the region. |
region_name | string The region name. |
http_endpoint | string <uri> The regional API endpoint for Flink compute pools. |
private_http_endpoint | string <uri> The private regional API endpoint for Flink compute pools. |
{- "api_version": "fcpm/v2",
- "kind": "Region",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/region=r-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Ohio (us-east-2)",
- "cloud": "AWS",
- "region_name": "us-east-2",
}
cloud | string (SearchFilter) Example: cloud=AWS Filter the results by exact match for cloud. |
region_name | string (SearchFilter) Example: region_name=us-east-2 Filter the results by exact match for region_name. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/fcpm/v2/regions?cloud=AWS®ion_name=us-east-2' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "fcpm/v2",
- "kind": "RegionList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "fcpm/v2",
- "kind": "Region",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/region=r-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "display_name": "Ohio (us-east-2)",
- "cloud": "AWS",
- "region_name": "us-east-2",
}
]
}
api_version | string Value: "sql/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Statement" Kind defines the object this REST resource represents. |
object The metadata of the statement. | |
name | string <= 100 characters [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-... The user provided name of the resource, unique within this environment. |
organization_id | string <uuid> The unique identifier for the organization. |
environment_id | string The unique identifier for the environment. |
object (sql.v1.StatementSpec) The specs of the Statement | |
object (sql.v1.StatementStatus) The status of the Statement | |
object (sql.v1.StatementResult)
|
{- "api_version": "sql/v1",
- "kind": "Statement",
- "metadata": {
- "created_at": "1996-03-19T01:02:03-04:05",
- "updated_at": "2023-03-31T00:00:00-00:00",
- "uid": "12345678-1234-1234-1234-123456789012",
- "resource_version": "a23av",
- "labels": {
- "user.confluent.io/hidden": "true",
- "property1": "string",
- "property2": "string"
}, - "resource_name": ""
}, - "name": "sql123",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "environment_id": "string",
- "spec": {
- "statement": "SELECT * FROM TABLE WHERE VALUE1 = VALUE2;",
- "properties": {
- "sql.current-catalog": "my_environment",
- "sql.current-database": "my_kafka_cluster"
}, - "compute_pool_id": "fcp-00000",
- "principal": "sa-abc123",
- "stopped": false
}, - "status": {
- "phase": "RUNNING",
- "scaling_status": {
- "scaling_state": "OK",
- "last_updated": "1996-03-19T01:02:03-04:05"
}, - "detail": "Statement is running successfully",
- "traits": {
- "sql_kind": "SELECT",
- "is_bounded": true,
- "is_append_only": true,
- "upsert_columns": [
- 0
], - "schema": {
- "columns": [
- {
- "name": "Column_Name",
- "type": {
- "type": "CHAR",
- "nullable": true,
- "length": 8
}
}
]
}
}, - "network_kind": "PUBLIC",
- "latest_offsets": {
- "topic-1": "partition:0,offset:100;partition:1,offset:200",
- "topic-2": "partition:0,offset:50"
}, - "latest_offsets_timestamp": "2023-03-31T00:00:00-00:00"
}, - "result": {
- "api_version": "sql/v1",
- "kind": "StatementResult",
- "metadata": {
- "created_at": "2006-01-02T15:04:05-07:00"
}, - "results": {
- "data": [
- {
- "op": 0,
- "row": [
- "101",
- "Jay",
- [
- null,
- "abc"
], - [
- null,
- "456"
], - "1990-01-12 12:00.12",
- [
- [
- null,
- "Alice"
], - [
- "42",
- "Bob"
]
]
]
}
]
}
}
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
spec.compute_pool_id | string Example: spec.compute_pool_id=lfcp-00000 Filter the results by exact match for spec.compute_pool. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
label_selector | string A comma-separated label selector to filter the statements. |
curl --request GET \ --url 'https://flink.region.provider.confluent.cloud/sql/v1/organizations/{organization_id}/environments/{environment_id}/statements' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "sql/v1",
- "kind": "StatementList",
- "metadata": {
- "last": "",
- "prev": "",
- "total_size": 123,
}, - "data": [
- {
- "api_version": "sql/v1",
- "kind": "Statement",
- "metadata": {
- "created_at": "1996-03-19T01:02:03-04:05",
- "updated_at": "2023-03-31T00:00:00-00:00",
- "uid": "12345678-1234-1234-1234-123456789012",
- "resource_version": "a23av",
- "labels": {
- "user.confluent.io/hidden": "true",
- "property1": "string",
- "property2": "string"
}, - "resource_name": ""
}, - "name": "sql123",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "environment_id": "string",
- "spec": {
- "statement": "SELECT * FROM TABLE WHERE VALUE1 = VALUE2;",
- "properties": {
- "sql.current-catalog": "my_environment",
- "sql.current-database": "my_kafka_cluster"
}, - "compute_pool_id": "fcp-00000",
- "principal": "sa-abc123",
- "stopped": false
}, - "status": {
- "phase": "RUNNING",
- "scaling_status": {
- "scaling_state": "OK",
- "last_updated": "1996-03-19T01:02:03-04:05"
}, - "detail": "Statement is running successfully",
- "traits": {
- "sql_kind": "SELECT",
- "is_bounded": true,
- "is_append_only": true,
- "upsert_columns": [
- 0
], - "schema": {
- "columns": [
- {
- "name": "Column_Name",
- "type": {
- "type": "CHAR",
- "nullable": true,
- "length": 8
}
}
]
}
}, - "network_kind": "PUBLIC",
- "latest_offsets": {
- "topic-1": "partition:0,offset:100;partition:1,offset:200",
- "topic-2": "partition:0,offset:50"
}, - "latest_offsets_timestamp": "2023-03-31T00:00:00-00:00"
}, - "result": {
- "api_version": "sql/v1",
- "kind": "StatementResult",
- "metadata": {
- "created_at": "2006-01-02T15:04:05-07:00"
}, - "results": {
- "data": [
- {
- "op": 0,
- "row": [
- "101",
- "Jay",
- [
- null,
- "abc"
], - [
- null,
- "456"
], - "1990-01-12 12:00.12",
- [
- [
- null,
- "Alice"
], - [
- "42",
- "Bob"
]
]
]
}
]
}
}
}
]
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
name required | string <= 100 characters [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-... The user provided name of the resource, unique within this environment. |
organization_id | string <uuid> The unique identifier for the organization. |
environment_id | string The unique identifier for the environment. |
required | object The specs of the Statement |
object (sql.v1.StatementResult)
|
{- "name": "sql123",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "environment_id": "string",
- "spec": {
- "statement": "SELECT * FROM TABLE WHERE VALUE1 = VALUE2;",
- "properties": {
- "sql.current-catalog": "my_environment",
- "sql.current-database": "my_kafka_cluster"
}, - "compute_pool_id": "fcp-00000",
- "principal": "sa-abc123",
- "stopped": false
}, - "result": {
- "api_version": "sql/v1",
- "kind": "StatementResult",
- "results": {
- "data": [
- {
- "op": 0,
- "row": [
- "101",
- "Jay",
- [
- null,
- "abc"
], - [
- null,
- "456"
], - "1990-01-12 12:00.12",
- [
- [
- null,
- "Alice"
], - [
- "42",
- "Bob"
]
]
]
}
]
}
}
}
{- "api_version": "sql/v1",
- "kind": "Statement",
- "metadata": {
- "created_at": "1996-03-19T01:02:03-04:05",
- "updated_at": "2023-03-31T00:00:00-00:00",
- "uid": "12345678-1234-1234-1234-123456789012",
- "resource_version": "a23av",
- "labels": {
- "user.confluent.io/hidden": "true",
- "property1": "string",
- "property2": "string"
}, - "resource_name": ""
}, - "name": "sql123",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "environment_id": "string",
- "spec": {
- "statement": "SELECT * FROM TABLE WHERE VALUE1 = VALUE2;",
- "properties": {
- "sql.current-catalog": "my_environment",
- "sql.current-database": "my_kafka_cluster"
}, - "compute_pool_id": "fcp-00000",
- "principal": "sa-abc123",
- "stopped": false
}, - "status": {
- "phase": "RUNNING",
- "scaling_status": {
- "scaling_state": "OK",
- "last_updated": "1996-03-19T01:02:03-04:05"
}, - "detail": "Statement is running successfully",
- "traits": {
- "sql_kind": "SELECT",
- "is_bounded": true,
- "is_append_only": true,
- "upsert_columns": [
- 0
], - "schema": {
- "columns": [
- {
- "name": "Column_Name",
- "type": {
- "type": "CHAR",
- "nullable": true,
- "length": 8
}
}
]
}
}, - "network_kind": "PUBLIC",
- "latest_offsets": {
- "topic-1": "partition:0,offset:100;partition:1,offset:200",
- "topic-2": "partition:0,offset:50"
}, - "latest_offsets_timestamp": "2023-03-31T00:00:00-00:00"
}, - "result": {
- "api_version": "sql/v1",
- "kind": "StatementResult",
- "metadata": {
- "created_at": "2006-01-02T15:04:05-07:00"
}, - "results": {
- "data": [
- {
- "op": 0,
- "row": [
- "101",
- "Jay",
- [
- null,
- "abc"
], - [
- null,
- "456"
], - "1990-01-12 12:00.12",
- [
- [
- null,
- "Alice"
], - [
- "42",
- "Bob"
]
]
]
}
]
}
}
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
statement_name required | string The unique identifier for the statement. |
curl --request GET \ --url 'https://flink.region.provider.confluent.cloud/sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "sql/v1",
- "kind": "Statement",
- "metadata": {
- "created_at": "1996-03-19T01:02:03-04:05",
- "updated_at": "2023-03-31T00:00:00-00:00",
- "uid": "12345678-1234-1234-1234-123456789012",
- "resource_version": "a23av",
- "labels": {
- "user.confluent.io/hidden": "true",
- "property1": "string",
- "property2": "string"
}, - "resource_name": ""
}, - "name": "sql123",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "environment_id": "string",
- "spec": {
- "statement": "SELECT * FROM TABLE WHERE VALUE1 = VALUE2;",
- "properties": {
- "sql.current-catalog": "my_environment",
- "sql.current-database": "my_kafka_cluster"
}, - "compute_pool_id": "fcp-00000",
- "principal": "sa-abc123",
- "stopped": false
}, - "status": {
- "phase": "RUNNING",
- "scaling_status": {
- "scaling_state": "OK",
- "last_updated": "1996-03-19T01:02:03-04:05"
}, - "detail": "Statement is running successfully",
- "traits": {
- "sql_kind": "SELECT",
- "is_bounded": true,
- "is_append_only": true,
- "upsert_columns": [
- 0
], - "schema": {
- "columns": [
- {
- "name": "Column_Name",
- "type": {
- "type": "CHAR",
- "nullable": true,
- "length": 8
}
}
]
}
}, - "network_kind": "PUBLIC",
- "latest_offsets": {
- "topic-1": "partition:0,offset:100;partition:1,offset:200",
- "topic-2": "partition:0,offset:50"
}, - "latest_offsets_timestamp": "2023-03-31T00:00:00-00:00"
}, - "result": {
- "api_version": "sql/v1",
- "kind": "StatementResult",
- "metadata": {
- "created_at": "2006-01-02T15:04:05-07:00"
}, - "results": {
- "data": [
- {
- "op": 0,
- "row": [
- "101",
- "Jay",
- [
- null,
- "abc"
], - [
- null,
- "456"
], - "1990-01-12 12:00.12",
- [
- [
- null,
- "Alice"
], - [
- "42",
- "Bob"
]
]
]
}
]
}
}
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
statement_name required | string The unique identifier for the statement. |
curl --request DELETE \ --url 'https://flink.region.provider.confluent.cloud/sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
statement_name required | string The unique identifier for the statement. |
name required | string <= 100 characters [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-... The user provided name of the resource, unique within this environment. |
organization_id | string <uuid> The unique identifier for the organization. |
environment_id | string The unique identifier for the environment. |
required | object The specs of the Statement |
object (sql.v1.StatementResult)
|
{- "name": "sql123",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "environment_id": "string",
- "spec": {
- "statement": "SELECT * FROM TABLE WHERE VALUE1 = VALUE2;",
- "properties": {
- "sql.current-catalog": "my_environment",
- "sql.current-database": "my_kafka_cluster"
}, - "compute_pool_id": "fcp-00000",
- "principal": "sa-abc123",
- "stopped": false
}, - "result": {
- "api_version": "sql/v1",
- "kind": "StatementResult",
- "results": {
- "data": [
- {
- "op": 0,
- "row": [
- "101",
- "Jay",
- [
- null,
- "abc"
], - [
- null,
- "456"
], - "1990-01-12 12:00.12",
- [
- [
- null,
- "Alice"
], - [
- "42",
- "Bob"
]
]
]
}
]
}
}, - "metadata": { }
}
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
statement_name required | string The unique identifier for the statement. |
path required | string A JSON Pointer path. |
value required | any The value to add, replace or test. |
op required | string Enum: "ADD" "REPLACE" "TEST" The operation to perform. |
[- {
- "path": "string",
- "value": null,
- "op": "ADD"
}
]
{- "api_version": "sql/v1",
- "kind": "Statement",
- "metadata": {
- "created_at": "1996-03-19T01:02:03-04:05",
- "updated_at": "2023-03-31T00:00:00-00:00",
- "uid": "12345678-1234-1234-1234-123456789012",
- "resource_version": "a23av",
- "labels": {
- "user.confluent.io/hidden": "true",
- "property1": "string",
- "property2": "string"
}, - "resource_name": ""
}, - "name": "sql123",
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "environment_id": "string",
- "spec": {
- "statement": "SELECT * FROM TABLE WHERE VALUE1 = VALUE2;",
- "properties": {
- "sql.current-catalog": "my_environment",
- "sql.current-database": "my_kafka_cluster"
}, - "compute_pool_id": "fcp-00000",
- "principal": "sa-abc123",
- "stopped": false
}, - "status": {
- "phase": "RUNNING",
- "scaling_status": {
- "scaling_state": "OK",
- "last_updated": "1996-03-19T01:02:03-04:05"
}, - "detail": "Statement is running successfully",
- "traits": {
- "sql_kind": "SELECT",
- "is_bounded": true,
- "is_append_only": true,
- "upsert_columns": [
- 0
], - "schema": {
- "columns": [
- {
- "name": "Column_Name",
- "type": {
- "type": "CHAR",
- "nullable": true,
- "length": 8
}
}
]
}
}, - "network_kind": "PUBLIC",
- "latest_offsets": {
- "topic-1": "partition:0,offset:100;partition:1,offset:200",
- "topic-2": "partition:0,offset:50"
}, - "latest_offsets_timestamp": "2023-03-31T00:00:00-00:00"
}, - "result": {
- "api_version": "sql/v1",
- "kind": "StatementResult",
- "metadata": {
- "created_at": "2006-01-02T15:04:05-07:00"
}, - "results": {
- "data": [
- {
- "op": 0,
- "row": [
- "101",
- "Jay",
- [
- null,
- "abc"
], - [
- null,
- "456"
], - "1990-01-12 12:00.12",
- [
- [
- null,
- "Alice"
], - [
- "42",
- "Bob"
]
]
]
}
]
}
}
}
api_version required | string Value: "sql/v1" APIVersion defines the schema version of this representation of a resource. |
kind required | string Value: "StatementResult" Kind defines the object this REST resource represents. |
required | object ListMeta describes metadata that resource collections may have |
object A results property that contains a data property that contains an array of results. |
{- "api_version": "sql/v1",
- "kind": "StatementResult",
- "metadata": {
- "created_at": "2006-01-02T15:04:05-07:00"
}, - "results": {
- "data": [
- {
- "op": 0,
- "row": [
- "101",
- "Jay",
- [
- null,
- "abc"
], - [
- null,
- "456"
], - "1990-01-12 12:00.12",
- [
- [
- null,
- "Alice"
], - [
- "42",
- "Bob"
]
]
]
}
]
}
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
name required | string The unique identifier for the statement. |
page_token | string <= 255 characters It contains the field offset in the CollectSinkFunction protocol. On the first request, it should be unset. The offset is assumed to start at 0. |
curl --request GET \ --url 'https://flink.region.provider.confluent.cloud/sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{name}/results' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "sql/v1",
- "kind": "StatementResult",
- "metadata": {
- "created_at": "2006-01-02T15:04:05-07:00"
}, - "results": {
- "data": [
- {
- "op": 0,
- "row": [
- "101",
- "Jay",
- [
- null,
- "abc"
], - [
- null,
- "456"
], - "1990-01-12 12:00.12",
- [
- [
- null,
- "Alice"
], - [
- "42",
- "Bob"
]
]
]
}
]
}
}
kind | string Value: "StatementException" Kind defines the object this REST resource represents. |
name | string Name of the SQL statement exception. |
message | string Error message of the statement exception. |
timestamp | string <date-time> The date and time at which the exception occurred. It is represented in RFC3339 format and is in UTC. |
{- "kind": "StatementException",
- "name": "java.lang.RuntimeException",
- "message": "java.lang.RuntimeException: An error occurred",
- "timestamp": "2023-03-31T00:00:00-00:00"
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
statement_name required | string The unique identifier for the statement. |
curl --request GET \ --url 'https://flink.region.provider.confluent.cloud/sql/v1/organizations/{organization_id}/environments/{environment_id}/statements/{statement_name}/exceptions' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "sql/v1",
- "kind": "StatementExceptionList",
- "metadata": {
}, - "data": [
- {
- "kind": "StatementException",
- "name": "java.lang.RuntimeException",
- "message": "java.lang.RuntimeException: An error occurred",
- "timestamp": "2023-03-31T00:00:00-00:00"
}
]
}
api_version | string Value: "sql/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Connection" Kind defines the object this REST resource represents. |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
name | string <= 100 characters [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-... The user provided name of the resource, unique within this environment. |
object (sql.v1.ConnectionSpec) Encapsulates the model provider access details | |
object (sql.v1.ConnectionStatus) The status of the Connection |
{- "api_version": "sql/v1",
- "kind": "Connection",
- "metadata": {
- "resource_name": "",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00",
- "uid": "12345678-1234-1234-1234-123456789012",
- "resource_version": "a23av"
}, - "name": "my-openai-connection",
- "spec": {
- "connection_type": "OPENAI",
- "auth_data": {
- "kind": "PlaintextProvider",
- "data": "string"
}
}, - "status": {
- "phase": "READY",
- "detail": "Lookup failed: ai.openai.com"
}
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
spec.connection_type | string extensible-enum: ["OPENAI","AZUREML","AZUREOPENAI","BEDROCK","SAGEMAKER","GOOGLEAI","VERTEXAI","MONGODB","PINECONE","ELASTIC"] Filter the results by exact match for spec.connection_type |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://flink.region.provider.confluent.cloud/sql/v1/organizations/{organization_id}/environments/{environment_id}/connections' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "sql/v1",
- "kind": "ConnectionList",
- "metadata": {
- "last": "",
- "prev": "",
- "total_size": 123,
}, - "data": [
- {
- "api_version": "sql/v1",
- "kind": "Connection",
- "metadata": {
- "resource_name": "",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00",
- "uid": "12345678-1234-1234-1234-123456789012",
- "resource_version": "a23av"
}, - "name": "my-openai-connection",
- "spec": {
- "connection_type": "OPENAI",
- "auth_data": {
- "kind": "PlaintextProvider",
- "data": "string"
}
}, - "status": {
- "phase": "READY",
- "detail": "Lookup failed: ai.openai.com"
}
}
]
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
name required | string <= 100 characters [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-... The user provided name of the resource, unique within this environment. |
required | object Encapsulates the model provider access details |
{- "name": "my-openai-connection",
- "spec": {
- "connection_type": "OPENAI",
- "auth_data": {
- "kind": "PlaintextProvider",
- "data": "string"
}
}
}
{- "api_version": "sql/v1",
- "kind": "Connection",
- "metadata": {
- "resource_name": "",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00",
- "uid": "12345678-1234-1234-1234-123456789012",
- "resource_version": "a23av"
}, - "name": "my-openai-connection",
- "spec": {
- "connection_type": "OPENAI",
- "auth_data": {
- "kind": "PlaintextProvider",
- "data": "string"
}
}, - "status": {
- "phase": "READY",
- "detail": "Lookup failed: ai.openai.com"
}
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
connection_name required | string The user provided name of the Connection. Unique within a region within an org and env. |
curl --request GET \ --url 'https://flink.region.provider.confluent.cloud/sql/v1/organizations/{organization_id}/environments/{environment_id}/connections/{connection_name}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "sql/v1",
- "kind": "Connection",
- "metadata": {
- "resource_name": "",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00",
- "uid": "12345678-1234-1234-1234-123456789012",
- "resource_version": "a23av"
}, - "name": "my-openai-connection",
- "spec": {
- "connection_type": "OPENAI",
- "auth_data": {
- "kind": "PlaintextProvider",
- "data": "string"
}
}, - "status": {
- "phase": "READY",
- "detail": "Lookup failed: ai.openai.com"
}
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
connection_name required | string The unique identifier for the connection. |
curl --request DELETE \ --url 'https://flink.region.provider.confluent.cloud/sql/v1/organizations/{organization_id}/environments/{environment_id}/connections/{connection_name}' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
organization_id required | string <uuid> The unique identifier for the organization. |
environment_id required | string The unique identifier for the environment. |
connection_name required | string The unique identifier for the connection. |
name required | string <= 100 characters [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-... The user provided name of the resource, unique within this environment. |
required | object Encapsulates the model provider access details |
{- "name": "my-openai-connection",
- "spec": {
- "connection_type": "OPENAI",
- "auth_data": {
- "kind": "PlaintextProvider",
- "data": "string"
}
}, - "metadata": { }
}
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
Provider Integration
objects represent access to public cloud service provider (CSP) resources
that may be accessed by Confluent resources (for example, connectors).
The API allows you to create, retrieve, and delete individual integrations, and also obtain a list of all your provider integrations.
Related guide: Provider Integration in Confluent Cloud.
api_version | string Value: "pim/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "Integration" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
display_name | string <= 60 characters Display name of Provider Integration. |
provider | string Default: "AWS" extensible-enum: ["AWS"] Cloud provider to which access is provided through provider integration. |
object Cloud provider specific configs for provider integration | |
usages | Array of strings <uri> >= 0 items List of resource crns where this integration is being used. |
object The environment to which this belongs. |
{- "api_version": "pim/v1",
- "kind": "Integration",
- "id": "dlz-f3a90de",
- "display_name": "s3_provider_integration",
- "provider": "AWS",
- "config": {
- "iam_role_arn": "arn:aws:iam::000000000000:role/my-test-aws-role",
- "external_id": "95c35493-41aa-44f8-9154-5a25cbbc1865",
- "customer_iam_role_arn": "arn:aws:iam::000000000000:role/my-test-aws-role",
- "kind": "AwsIntegrationConfig"
}, - "usages": [
- "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/cloud-cluster=lkc-123abc/connector=my_datagen_connector"
], - "environment": {
- "id": "string",
}
}
provider | string (SearchFilter) Example: provider=AWS Filter the results by exact match for provider. |
environment required | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/pim/v1/integrations?provider=AWS&environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "pim/v1",
- "kind": "IntegrationList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "pim/v1",
- "kind": "Integration",
- "id": "dlz-f3a90de",
- "display_name": "s3_provider_integration",
- "provider": "AWS",
- "config": {
- "iam_role_arn": "arn:aws:iam::000000000000:role/my-test-aws-role",
- "external_id": "95c35493-41aa-44f8-9154-5a25cbbc1865",
- "customer_iam_role_arn": "arn:aws:iam::000000000000:role/my-test-aws-role",
- "kind": "AwsIntegrationConfig"
}, - "usages": [
- "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/cloud-cluster=lkc-123abc/connector=my_datagen_connector"
], - "environment": {
- "id": "env-00000",
}
}
]
}
display_name | string <= 60 characters Display name of Provider Integration. |
provider | string Default: "AWS" extensible-enum: ["AWS"] Cloud provider to which access is provided through provider integration. |
required | object Cloud provider specific configs for provider integration |
required | object The environment to which this belongs. |
{- "display_name": "s3_provider_integration",
- "provider": "AWS",
- "config": {
- "customer_iam_role_arn": "arn:aws:iam::000000000000:role/my-test-aws-role",
- "kind": "AwsIntegrationConfig"
}, - "environment": {
- "id": "env-00000"
}
}
{- "api_version": "pim/v1",
- "kind": "Integration",
- "id": "dlz-f3a90de",
- "display_name": "s3_provider_integration",
- "provider": "AWS",
- "config": {
- "iam_role_arn": "arn:aws:iam::000000000000:role/my-test-aws-role",
- "external_id": "95c35493-41aa-44f8-9154-5a25cbbc1865",
- "customer_iam_role_arn": "arn:aws:iam::000000000000:role/my-test-aws-role",
- "kind": "AwsIntegrationConfig"
}, - "usages": [
- "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/cloud-cluster=lkc-123abc/connector=my_datagen_connector"
], - "environment": {
- "id": "env-00000",
}
}
id required | string The unique identifier for the integration. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request GET \ --url 'https://api.confluent.cloud/pim/v1/integrations/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "pim/v1",
- "kind": "Integration",
- "id": "dlz-f3a90de",
- "display_name": "s3_provider_integration",
- "provider": "AWS",
- "config": {
- "iam_role_arn": "arn:aws:iam::000000000000:role/my-test-aws-role",
- "external_id": "95c35493-41aa-44f8-9154-5a25cbbc1865",
- "customer_iam_role_arn": "arn:aws:iam::000000000000:role/my-test-aws-role",
- "kind": "AwsIntegrationConfig"
}, - "usages": [
- "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/cloud-cluster=lkc-123abc/connector=my_datagen_connector"
], - "environment": {
- "id": "env-00000",
}
}
id required | string The unique identifier for the integration. |
environment required | string (SearchFilter) Example: environment=env-00000 Scope the operation to the given environment. |
curl --request DELETE \ --url 'https://api.confluent.cloud/pim/v1/integrations/{id}?environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
api_version | string Value: "artifact/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "FlinkArtifact" Kind defines the object this REST resource represents. |
id | string <= 255 characters ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object |
object ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
cloud | string <= 60 characters extensible-enum: ["AWS","GCP","AZURE"] Cloud provider where the Flink Artifact archive is uploaded. |
region | string <= 60 characters The Cloud provider region the Flink Artifact archive is uploaded. |
environment | string <= 255 characters Environment the Flink Artifact belongs to. |
display_name | string <= 60 characters Display name of the Flink Artifact. |
class | string <= 150 characters ^(([a-zA-Z][a-zA-Z_$0-9]*(\.[a-zA-Z][a-zA-Z_$... Java class or alias for the artifact as provided by developer. |
content_format | string extensible-enum: ["ZIP","JAR"] Archive format of the Flink Artifact. |
description | string <= 256 characters Description of the Flink Artifact. |
documentation_link | string <= 512 characters ^$|^(http://|https://).+ Document link of the Flink Artifact. |
runtime_language | string Default: "JAVA" extensible-enum: ["JAVA","PYTHON"] Runtime language of the Flink Artifact. |
Array of objects (artifact.v1.FlinkArtifactVersion) Versions associated with this Flink Artifact. |
{- "api_version": "artifact/v1",
- "kind": "FlinkArtifact",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/flink-artifact=fa-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "cloud": "AWS",
- "region": "us-east-1",
- "environment": "env-00000",
- "display_name": "string",
- "class": "io.confluent.example.SumScalarFunction",
- "content_format": "JAR",
- "description": "string",
- "documentation_link": "string",
- "runtime_language": "JAVA",
- "versions": [
- {
- "version": "cfa-ver-001",
- "release_notes": "string",
- "is_beta": true,
- "artifact_id": { },
- "upload_source": {
- "api_version": "artifact.v1/UploadSource",
- "kind": "PresignedUrl",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/presigned-url=pu-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
]
}
cloud required | string (SearchFilter) Example: cloud=AWS Filter the results by exact match for cloud. |
region required | string (SearchFilter) Example: region=us-east-1 Filter the results by exact match for region. |
environment | string (SearchFilter) Example: environment=env-00000 Filter the results by exact match for environment. |
page_size | integer <= 100 Default: 10 A pagination size for collection requests. |
page_token | string <= 255 characters An opaque pagination token for collection requests. |
curl --request GET \ --url 'https://api.confluent.cloud/artifact/v1/flink-artifacts?cloud=AWS®ion=us-east-1&environment=env-00000' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "artifact/v1",
- "kind": "FlinkArtifactList",
- "metadata": {
- "total_size": 123
}, - "data": [
- {
- "api_version": "artifact/v1",
- "kind": "FlinkArtifact",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/flink-artifact=fa-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "cloud": "AWS",
- "region": "us-east-1",
- "environment": "env-00000",
- "display_name": "string",
- "class": "io.confluent.example.SumScalarFunction",
- "content_format": "JAR",
- "description": "string",
- "documentation_link": "string",
- "runtime_language": "JAVA",
- "versions": [
- {
- "version": "cfa-ver-001",
- "release_notes": "string",
- "is_beta": true,
- "artifact_id": { },
- "upload_source": {
- "api_version": "artifact.v1/UploadSource",
- "kind": "PresignedUrl",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/presigned-url=pu-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
]
}
]
}
cloud required | string (SearchFilter) Example: cloud=AWS Scope the operation to the given cloud. |
region required | string (SearchFilter) Example: region=us-east-1 Scope the operation to the given region. |
cloud required | string <= 60 characters extensible-enum: ["AWS","GCP","AZURE"] Cloud provider where the Flink Artifact archive is uploaded. |
region required | string <= 60 characters The Cloud provider region the Flink Artifact archive is uploaded. |
environment required | string <= 255 characters Environment the Flink Artifact belongs to. |
display_name required | string <= 60 characters Display name of the Flink Artifact. |
class required | string <= 150 characters ^(([a-zA-Z][a-zA-Z_$0-9]*(\.[a-zA-Z][a-zA-Z_$... Java class or alias for the artifact as provided by developer. |
content_format | string extensible-enum: ["ZIP","JAR"] Archive format of the Flink Artifact. |
description | string <= 256 characters Description of the Flink Artifact. |
documentation_link | string <= 512 characters ^$|^(http://|https://).+ Document link of the Flink Artifact. |
runtime_language | string Default: "JAVA" extensible-enum: ["JAVA","PYTHON"] Runtime language of the Flink Artifact. |
required | object Upload source of the Flink Artifact source. |
{- "cloud": "AWS",
- "region": "us-east-1",
- "environment": "env-00000",
- "display_name": "string",
- "class": "io.confluent.example.SumScalarFunction",
- "content_format": "JAR",
- "description": "string",
- "documentation_link": "string",
- "runtime_language": "JAVA",
- "upload_source": {
- "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
{- "api_version": "artifact/v1",
- "kind": "FlinkArtifact",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/flink-artifact=fa-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "cloud": "AWS",
- "region": "us-east-1",
- "environment": "env-00000",
- "display_name": "string",
- "class": "io.confluent.example.SumScalarFunction",
- "content_format": "JAR",
- "description": "string",
- "documentation_link": "string",
- "runtime_language": "JAVA",
- "versions": [
- {
- "version": "cfa-ver-001",
- "release_notes": "string",
- "is_beta": true,
- "artifact_id": { },
- "upload_source": {
- "api_version": "artifact.v1/UploadSource",
- "kind": "PresignedUrl",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/presigned-url=pu-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
]
}
id required | string The unique identifier for the flink artifact. |
cloud required | string (SearchFilter) Example: cloud=AWS Scope the operation to the given cloud. |
region required | string (SearchFilter) Example: region=us-east-1 Scope the operation to the given region. |
curl --request GET \ --url 'https://api.confluent.cloud/artifact/v1/flink-artifacts/{id}?cloud=AWS®ion=us-east-1' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "api_version": "artifact/v1",
- "kind": "FlinkArtifact",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/flink-artifact=fa-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "cloud": "AWS",
- "region": "us-east-1",
- "environment": "env-00000",
- "display_name": "string",
- "class": "io.confluent.example.SumScalarFunction",
- "content_format": "JAR",
- "description": "string",
- "documentation_link": "string",
- "runtime_language": "JAVA",
- "versions": [
- {
- "version": "cfa-ver-001",
- "release_notes": "string",
- "is_beta": true,
- "artifact_id": { },
- "upload_source": {
- "api_version": "artifact.v1/UploadSource",
- "kind": "PresignedUrl",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/presigned-url=pu-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
]
}
id required | string The unique identifier for the flink artifact. |
cloud required | string (SearchFilter) Example: cloud=AWS Scope the operation to the given cloud. |
region required | string (SearchFilter) Example: region=us-east-1 Scope the operation to the given region. |
cloud | string <= 60 characters extensible-enum: ["AWS","GCP","AZURE"] Cloud provider where the Flink Artifact archive is uploaded. |
region | string <= 60 characters The Cloud provider region the Flink Artifact archive is uploaded. |
environment | string <= 255 characters Environment the Flink Artifact belongs to. |
display_name | string <= 60 characters Display name of the Flink Artifact. |
content_format | string extensible-enum: ["ZIP","JAR"] Archive format of the Flink Artifact. |
description | string <= 256 characters Description of the Flink Artifact. |
documentation_link | string <= 512 characters ^$|^(http://|https://).+ Document link of the Flink Artifact. |
runtime_language | string Default: "JAVA" extensible-enum: ["JAVA","PYTHON"] Runtime language of the Flink Artifact. |
Array of objects (artifact.v1.FlinkArtifactVersion) Versions associated with this Flink Artifact. |
{- "cloud": "AWS",
- "region": "us-east-1",
- "environment": "env-00000",
- "display_name": "string",
- "content_format": "JAR",
- "description": "string",
- "documentation_link": "string",
- "runtime_language": "JAVA",
- "versions": [
- {
- "version": "cfa-ver-001",
- "release_notes": "string",
- "is_beta": true,
- "artifact_id": {
- "cloud": "AWS",
- "region": "us-east-1",
- "environment": "env-00000",
- "display_name": "string",
- "class": "io.confluent.example.SumScalarFunction",
- "content_format": "JAR",
- "description": "string",
- "documentation_link": "string",
- "runtime_language": "JAVA",
- "versions": [
- { }
]
}, - "upload_source": {
- "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
]
}
{- "api_version": "artifact/v1",
- "kind": "FlinkArtifact",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/flink-artifact=fa-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "cloud": "AWS",
- "region": "us-east-1",
- "environment": "env-00000",
- "display_name": "string",
- "class": "io.confluent.example.SumScalarFunction",
- "content_format": "JAR",
- "description": "string",
- "documentation_link": "string",
- "runtime_language": "JAVA",
- "versions": [
- {
- "version": "cfa-ver-001",
- "release_notes": "string",
- "is_beta": true,
- "artifact_id": { },
- "upload_source": {
- "api_version": "artifact.v1/UploadSource",
- "kind": "PresignedUrl",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/presigned-url=pu-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}
]
}
id required | string The unique identifier for the flink artifact. |
cloud required | string (SearchFilter) Example: cloud=AWS Scope the operation to the given cloud. |
region required | string (SearchFilter) Example: region=us-east-1 Scope the operation to the given region. |
curl --request DELETE \ --url 'https://api.confluent.cloud/artifact/v1/flink-artifacts/{id}?cloud=AWS®ion=us-east-1' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH'
{- "errors": [
- {
- "id": "ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d",
- "status": "400",
- "code": "invalid_filter",
- "title": "Invalid Filter",
- "detail": "The 'delorean' resource can't be filtered by 'num_doors'",
- "source": {
- "parameter": "num_doors"
}
}
]
}
api_version | string Value: "artifact/v1" APIVersion defines the schema version of this representation of a resource. |
kind | string Value: "PresignedUrl" Kind defines the object this REST resource represents. |
content_format | string extensible-enum: ["ZIP","JAR"] Content format of the Flink Artifact archive. |
cloud | string extensible-enum: ["AWS","GCP","AZURE"] Cloud provider where the Flink Artifact archive is uploaded. |
region | string The Cloud provider region the Flink Artifact archive is uploaded. |
upload_id | string Unique identifier of this upload. |
upload_url | string <uri> Upload URL for the Flink Artifact archive. |
upload_form_data | object Upload form data of the Flink Artifact. All values should be strings. |
{- "api_version": "artifact/v1",
- "kind": "PresignedUrl",
- "content_format": "JAR",
- "cloud": "AWS",
- "region": "us-east-1",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66",
- "upload_form_data": {
- "bucket": "confluent-flink-artifacts-stag-us-west-2",
- "key": "staging/flink-artifact/2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/flink-e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66/artifact.jar",
- "policy": "string",
- "x-amz-algorithm": "AWS4-HMAC-SHA256",
- "x-amz-credential": "string",
- "x-amz-date": "20230725T013857Z",
- "x-amz-security-token": "string",
- "x-amz-signature": "string"
}
}
content_format required | string extensible-enum: ["JAR","ZIP"] Archive format of the Flink Artifact. |
cloud required | string extensible-enum: ["AWS","GCP","AZURE"] Cloud provider where the Flink Artifact archive is uploaded. |
region required | string <= 60 characters The Cloud provider region the Flink Artifact archive is uploaded. |
{- "content_format": "JAR",
- "cloud": "AWS",
- "region": "us-east-1"
}
{- "api_version": "artifact/v1",
- "kind": "PresignedUrl",
- "content_format": "JAR",
- "cloud": "AWS",
- "region": "us-east-1",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66",
- "upload_form_data": {
- "bucket": "confluent-flink-artifacts-stag-us-west-2",
- "key": "staging/flink-artifact/2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/flink-e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66/artifact.jar",
- "policy": "string",
- "x-amz-algorithm": "AWS4-HMAC-SHA256",
- "x-amz-credential": "string",
- "x-amz-date": "20230725T013857Z",
- "x-amz-security-token": "string",
- "x-amz-signature": "string"
}
}
version required | string <= 60 characters Version id of the Flink Artifact. |
release_notes | string <= 256 characters Release Notes of the Flink Artifact version. |
is_beta | boolean Flag to specify stability of the version |
required | object The Flink Artifact this version belongs to. |
required | object Upload source of the Flink Artifact Version. |
{- "version": "cfa-ver-001",
- "release_notes": "string",
- "is_beta": true,
- "artifact_id": {
- "api_version": "artifact/v1",
- "kind": "FlinkArtifact",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/flink-artifact=fa-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "cloud": "AWS",
- "region": "us-east-1",
- "environment": "env-00000",
- "display_name": "string",
- "class": "io.confluent.example.SumScalarFunction",
- "content_format": "JAR",
- "description": "string",
- "documentation_link": "string",
- "runtime_language": "JAVA",
- "versions": [
- { }
]
}, - "upload_source": {
- "api_version": "artifact.v1/UploadSource",
- "kind": "PresignedUrl",
- "id": "dlz-f3a90de",
- "metadata": {
- "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/presigned-url=pu-12345",
- "created_at": "2006-01-02T15:04:05-07:00",
- "updated_at": "2006-01-02T15:04:05-07:00",
- "deleted_at": "2006-01-02T15:04:05-07:00"
}, - "location": "PRESIGNED_URL_LOCATION",
- "upload_id": "e53bb2e8-8de3-49fa-9fb1-4e3fd9a16b66"
}
}