Back to Genai Toolbox

alloydb-list-clusters

docs/en/integrations/alloydb-admin/tools/alloydb-list-clusters.md

1.1.01.6 KB
Original Source

About

The alloydb-list-clusters tool retrieves AlloyDB cluster information for all or specified locations in a given project.

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:

ParameterTypeDescriptionRequired
projectstringThe GCP project ID to list clusters for.Yes
locationstringThe location to list clusters in (e.g., 'us-central1'). Use - for all locations. Default: -.No

Compatible Sources

{{< compatible-sources >}}

Example

yaml
kind: tool
name: list_clusters
type: alloydb-list-clusters
source: alloydb-admin-source
description: Use this tool to list all AlloyDB clusters in a given project and location.

Reference

fieldtyperequireddescription
typestringtrueMust be alloydb-list-clusters.
sourcestringtrueThe name of an alloydb-admin source.
descriptionstringfalseDescription of the tool that is passed to the agent.