Skip to main content

regions

Creates, updates, deletes, gets or lists a regions resource.

Overview

Nameregions
TypeResource
Idconfluent.schema_registry_clusters.regions

Fields

The following fields are returned by SELECT queries:

Region.

NameDatatypeDescription
idstringID 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 kinds or objects of the same kind within a different scope/namespace ("space"). (example: dlz-f3a90de)
api_versionstringAPIVersion defines the schema version of this representation of a resource. (srcm/v2)
kindstringKind defines the object this REST resource represents. (Region)
metadataobjectObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
specobjectThe desired state of the Region

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_srcm_v2_regionselectidMake a request to read a region.
list_srcm_v2_regionsselectspec.cloud, spec.region_name, spec.packages, page_size, page_tokenRetrieve a sorted, filtered, paginated list of all regions.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe unique identifier for the region.
page_sizeintegerA pagination size for collection requests.
page_tokenstringAn opaque pagination token for collection requests.
spec.cloudstringFilter the results by exact match for spec.cloud. (example: AWS)
spec.packagesarrayFilter the results by exact match for spec.packages. Pass multiple times to see results matching any of the values. (example: [ESSENTIALS, ADVANCED])
spec.region_namestringFilter the results by exact match for spec.region_name. (example: us-east-2)

SELECT examples

Make a request to read a region.

SELECT
id,
api_version,
kind,
metadata,
spec
FROM confluent.schema_registry_clusters.regions
WHERE id = '{{ id }}' -- required
;