Skip to main content

scopes

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

Overview

Namescopes
TypeResource
Idconfluent.quotas.scopes

Fields

The following fields are returned by SELECT queries:

Scope.

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. (service-quota/v1)
descriptionstringthe quota scope for listing quotas queries (example: ORGANIZATION scope that quotas would be applied to)
kindstringKind defines the object this REST resource represents. (Scope)
metadataobjectObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_service_quota_v1_scopeselectidMake a request to read a scope.
list_service_quota_v1_scopesselectpage_size, page_tokenRetrieve a sorted, filtered, paginated list of all scopes.

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 scope.
page_sizeintegerA pagination size for collection requests.
page_tokenstringAn opaque pagination token for collection requests.

SELECT examples

Make a request to read a scope.

SELECT
id,
api_version,
description,
kind,
metadata
FROM confluent.quotas.scopes
WHERE id = '{{ id }}' -- required
;