Loading...
Loading...
Compare original and translation side by side
<param_name><param_value>node <skill_dir>/scripts/<script_name>.js '{"<param_name>": "<param_value>"}'node <skill_dir>/scripts/<script_name>.js '{\"<param_name>\": \"<param_value>\"}'<param_name><param_value>node <skill_dir>/scripts/<script_name>.js '{"<param_name>": "<param_value>"}'node <skill_dir>/scripts/<script_name>.js '{\"<param_name>\": \"<param_value>\"}'| Name | Type | Description | Required | Default |
|---|---|---|---|---|
| project | string | The GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one. | No | |
| location | string | The location of the cluster (e.g., 'us-central1'). | Yes | |
| cluster | string | The ID of the cluster where the user will be created. | Yes | |
| user | string | The name for the new user. Must be unique within the cluster. | Yes | |
| password | string | A secure password for the new user. Required only for ALLOYDB_BUILT_IN userType. | No | |
| databaseRoles | array | Optional. A list of database roles to grant to the new user (e.g., ['pg_read_all_data']). | No | |
| userType | string | The type of user to create. Valid values are: ALLOYDB_BUILT_IN and ALLOYDB_IAM_USER. ALLOYDB_IAM_USER is recommended. | Yes |
| 名称 | 类型 | 描述 | 必填 | 默认值 |
|---|---|---|---|---|
| project | string | GCP项目ID。此参数已预先配置;除非用户明确提供不同的ID,否则无需询问。 | 否 | |
| location | string | 集群所在位置(例如:'us-central1')。 | 是 | |
| cluster | string | 要创建用户的集群ID。 | 是 | |
| user | string | 新用户的名称。必须在集群内唯一。 | 是 | |
| password | string | 新用户的安全密码。仅当userType为ALLOYDB_BUILT_IN时必填。 | 否 | |
| databaseRoles | array | 可选。要授予新用户的数据库角色列表(例如:['pg_read_all_data'])。 | 否 | |
| userType | string | 要创建的用户类型。有效值为:ALLOYDB_BUILT_IN和ALLOYDB_IAM_USER。推荐使用ALLOYDB_IAM_USER。 | 是 |
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
| project | string | The GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one. | No | |
| location | string | The location of the cluster (e.g., 'us-central1'). | Yes | |
| cluster | string | The ID of the cluster. | Yes | |
| user | string | The ID of the user. | Yes |
| 名称 | 类型 | 描述 | 必填 | 默认值 |
|---|---|---|---|---|
| project | string | GCP项目ID。此参数已预先配置;除非用户明确提供不同的ID,否则无需询问。 | 否 | |
| location | string | 集群所在位置(例如:'us-central1')。 | 是 | |
| cluster | string | 集群ID。 | 是 | |
| user | string | 用户ID。 | 是 |
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
| setting_name | string | Optional: A specific configuration parameter name pattern to search for. | No | `` |
| limit | integer | Optional: The maximum number of rows to return. | No | |
| 名称 | 类型 | 描述 | 必填 | 默认值 |
|---|---|---|---|---|
| setting_name | string | 可选:要搜索的特定配置参数名称模式。 | 否 | `` |
| limit | integer | 可选:要返回的最大行数。 | 否 | |
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
| role_name | string | Optional: a text to filter results by role name. The input is used within a LIKE clause. | No | `` |
| limit | integer | Optional: The maximum number of rows to return. Default is 10 | No | |
| 名称 | 类型 | 描述 | 必填 | 默认值 |
|---|---|---|---|---|
| role_name | string | 可选:用于按角色名称过滤结果的文本。输入将用于LIKE子句中。 | 否 | `` |
| limit | integer | 可选:要返回的最大行数。默认值为10 | 否 | |
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
| project | string | The GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one. | No | |
| location | string | The location of the cluster (e.g., 'us-central1'). | Yes | |
| cluster | string | The ID of the cluster to list users from. | Yes |
| 名称 | 类型 | 描述 | 必填 | 默认值 |
|---|---|---|---|---|
| project | string | GCP项目ID。此参数已预先配置;除非用户明确提供不同的ID,否则无需询问。 | 否 | |
| location | string | 集群所在位置(例如:'us-central1')。 | 是 | |
| cluster | string | 要列出用户的集群ID。 | 是 |