alloydb-list-clusters
The “alloydb-list-clusters” tool lists the AlloyDB clusters in a given project and location.
About
The alloydb-list-clusters
tool retrieves AlloyDB cluster information for all or specified locations in a given project. It is compatible with alloydb-admin source.
alloydb-list-clusters
tool lists the detailed information of AlloyDB cluster(cluster name, state, configuration, etc) for a given project and location. The tool takes the following input parameters:
Parameter | Type | Description | Required |
---|---|---|---|
projectId | string | The GCP project ID to list clusters for. | Yes |
locationId | string | The location to list clusters in (e.g., ‘us-central1’). Use - for all locations. Default: - . | No |
Note This tool authenticates using the credentials configured in its alloydb-admin source which can be either Application Default Credentials or client-side OAuth.
Example
tools:
list_clusters:
kind: alloydb-list-clusters
source: alloydb-admin-source
description: Use this tool to list all AlloyDB clusters in a given project and location.
Reference
field | type | required | description |
---|---|---|---|
kind | string | true | Must be alloydb-list-clusters. |
source | string | true | The name of an alloydb-admin source. |
description | string | true | Description of the tool that is passed to the agent. |