acls
Creates, updates, deletes, gets or lists a acls
resource.
Overview
Name | acls |
Type | Resource |
Id | confluent.kafka.acls |
Fields
Name | Datatype | Description |
---|---|---|
cluster_id | string | |
host | string | |
kind | string | |
metadata | object | |
operation | string | |
pattern_type | string | |
permission | string | |
principal | string | |
resource_name | string | |
resource_type | string |
Methods
SELECT
examples
Return a list of ACLs that match the search criteria.
SELECT
cluster_id,
host,
kind,
metadata,
operation,
pattern_type,
permission,
principal,
resource_name,
resource_type
FROM confluent.kafka.acls
WHERE cluster_id = '{{ cluster_id }}';
INSERT
example
Use the following StackQL query and manifest file to create a new acls
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO confluent.kafka.acls (
data__resource_type,
data__resource_name,
data__pattern_type,
data__principal,
data__host,
data__operation,
data__permission,
cluster_id
)
SELECT
'{{ resource_type }}',
'{{ resource_name }}',
'{{ pattern_type }}',
'{{ principal }}',
'{{ host }}',
'{{ operation }}',
'{{ permission }}',
'{{ cluster_id }}'
;
- name: acls
props:
- name: cluster_id
value: string
- name: data__host
value: string
- name: data__operation
value: string
- name: data__pattern_type
value: string
- name: data__permission
value: string
- name: data__principal
value: string
- name: data__resource_name
value: string
- name: data__resource_type
value: string
- name: resource_type
value: string
- name: resource_name
value: string
- name: pattern_type
value: string
- name: principal
value: string
- name: host
value: string
- name: operation
value: string
- name: permission
value: string
DELETE
example
Deletes the specified acls
resource.
/*+ delete */
DELETE FROM confluent.kafka.acls
WHERE cluster_id = '{{ cluster_id }}';