provider_shared_resources
Creates, updates, deletes, gets or lists a provider_shared_resources
resource.
Overview
Name | provider_shared_resources |
Type | Resource |
Id | confluent.stream_sharing.provider_shared_resources |
Fields
Name | Datatype | Description |
---|---|---|
id | string | 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 kinds or objects of the same kind within a different scope/namespace ("space"). |
description | string | Description of shared resource |
_cloud_cluster | `` | |
api_version | string | APIVersion defines the schema version of this representation of a resource. |
cloud_cluster | object | The cloud cluster to which this belongs. |
cluster_name | string | The cluster display name of the shared resource. Deprecated |
crn | string | Deprecated please use resources attribute. |
display_name | string | Shared resource display name |
environment_name | string | The environment name of the shared resource. Deprecated |
kind | string | Kind defines the object this REST resource represents. |
logo_url | string | Resource logo url |
metadata | `` | ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. |
organization_contact | string | Email of contact person from the organization |
organization_description | string | Shared resource's organization description |
organization_name | `` | Organization to which the shared resource belongs. Deprecated |
resources | array | List of resource crns that are shared together |
schemas | array | List of schemas in JSON format. This field is work in progress and subject to changes. |
tags | array | list of tags |
Methods
SELECT
examples
Retrieve a sorted, filtered, paginated list of all provider shared resources.
SELECT
id,
description,
_cloud_cluster,
api_version,
cloud_cluster,
cluster_name,
crn,
display_name,
environment_name,
kind,
logo_url,
metadata,
organization_contact,
organization_description,
organization_name,
resources,
schemas,
tags
FROM confluent.stream_sharing.provider_shared_resources
;
UPDATE
example
Updates a provider_shared_resources
resource.
/*+ update */
UPDATE confluent.stream_sharing.provider_shared_resources
SET
resources = '{{ resources }}',
display_name = '{{ display_name }}',
organization_description = '{{ organization_description }}',
organization_contact = '{{ organization_contact }}'
WHERE
id = '{{ id }}';
DELETE
example
Deletes the specified provider_shared_resources
resource.
/*+ delete */
DELETE FROM confluent.stream_sharing.provider_shared_resources
WHERE file_name = '{{ file_name }}'
AND id = '{{ id }}';