Skip to main content

entitlements

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

Overview

Nameentitlements
TypeResource
Idconfluent.partner.entitlements

Fields

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").
namestringThe name of the entitlement
api_versionstringAPIVersion defines the schema version of this representation of a resource.
external_idstringThe unique external ID of the entitlement (this should be unique to customer)
kindstringKind defines the object this REST resource represents.
metadata``ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
organizationobjectThe organization associated with this object.
plan_idstringThe plan ID the entitlement
product_idstringThe product ID of the entitlement
resource_idstringThe resource ID of the entitlement
usage_reporting_idstringThe usage reporting ID of the entitlement (if usage reporting uses a different ID, otherwise, same as external_id)

Methods

NameAccessible byRequired ParamsDescription
get_partner_v2entitlementSELECTidEarly Access Request Access To Partner v2 Make a request to read an entitlement.
list_partner_v2entitlementsSELECTEarly Access Request Access To Partner v2 Retrieve a sorted, filtered, paginated list of all entitlements.
create_partner_v2entitlementINSERTEarly Access Request Access To Partner v2 Make a request to create an entitlement.

SELECT examples

Early Access Request Access To Partner v2 Retrieve a sorted, filtered, paginated list of all entitlements.

SELECT
id,
name,
api_version,
external_id,
kind,
metadata,
organization,
plan_id,
product_id,
resource_id,
usage_reporting_id
FROM confluent.partner.entitlements
;

INSERT example

Use the following StackQL query and manifest file to create a new entitlements resource.

/*+ create */
INSERT INTO confluent.partner.entitlements (
data__external_id,
data__name,
data__plan_id,
data__product_id,
data__usage_reporting_id,
data__resource_id,
data__organization
)
SELECT
'{{ external_id }}',
'{{ name }}',
'{{ plan_id }}',
'{{ product_id }}',
'{{ usage_reporting_id }}',
'{{ resource_id }}',
'{{ organization }}'
;