clusters_token_auth_user
Creates, updates, deletes, gets or lists a clusters_token_auth_user resource.
Overview
| Name | clusters_token_auth_user |
| Type | Resource |
| Id | google.redis.clusters_token_auth_user |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
add_token_auth_user | insert | projectsId, locationsId, clustersId | Adds a token auth user for a token based auth enabled cluster. |
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.
| Name | Datatype | Description |
|---|---|---|
clustersId | string | |
locationsId | string | |
projectsId | string |
INSERT examples
- add_token_auth_user
- Manifest
Adds a token auth user for a token based auth enabled cluster.
INSERT INTO google.redis.clusters_token_auth_user (
data__tokenAuthUser,
projectsId,
locationsId,
clustersId
)
SELECT
'{{ tokenAuthUser }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ clustersId }}'
RETURNING
name,
done,
error,
metadata,
response
;
# Description fields are for documentation purposes
- name: clusters_token_auth_user
props:
- name: projectsId
value: "{{ projectsId }}"
description: Required parameter for the clusters_token_auth_user resource.
- name: locationsId
value: "{{ locationsId }}"
description: Required parameter for the clusters_token_auth_user resource.
- name: clustersId
value: "{{ clustersId }}"
description: Required parameter for the clusters_token_auth_user resource.
- name: tokenAuthUser
value: "{{ tokenAuthUser }}"
description: |
Required. The id of the token auth user to add.