service_accounts
Creates, updates, deletes, gets or lists a service_accounts
resource.
Overview
Name | service_accounts |
Type | Resource |
Id | confluent.iam.service_accounts |
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 | A free-form description of the Service Account |
api_version | string | APIVersion defines the schema version of this representation of a resource. |
display_name | string | A human-readable name for the Service Account |
kind | string | Kind defines the object this REST resource represents. |
metadata | `` | ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. |
Methods
SELECT
examples
Retrieve a sorted, filtered, paginated list of all service accounts.
SELECT
id,
description,
api_version,
display_name,
kind,
metadata
FROM confluent.iam.service_accounts
;
INSERT
example
Use the following StackQL query and manifest file to create a new service_accounts
resource.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO confluent.iam.service_accounts (
data__display_name,
data__description
)
SELECT
'{{ display_name }}',
'{{ description }}'
;
/*+ create */
INSERT INTO confluent.iam.service_accounts (
data__display_name
)
SELECT
'{{ display_name }}'
;
- name: service_accounts
props:
- name: display_name
value: string
- name: description
value: string
UPDATE
example
Updates a service_accounts
resource.
/*+ update */
UPDATE confluent.iam.service_accounts
SET
description = '{{ description }}'
WHERE
id = '{{ id }}';
DELETE
example
Deletes the specified service_accounts
resource.
/*+ delete */
DELETE FROM confluent.iam.service_accounts
WHERE id = '{{ id }}';