alloydb-list-instances

The “alloydb-list-instances” tool lists the AlloyDB instances for a given project, cluster and location.

About

The alloydb-list-instances tool retrieves AlloyDB instance information for all or specified clusters and locations in a given project. It is compatible with alloydb-admin source.

alloydb-list-instances tool lists the detailed information of AlloyDB instances (instance name, type, IP address, state, configuration, etc) for a given project, cluster and location. The tool takes the following input parameters:

ParameterTypeDescriptionRequired
projectstringThe GCP project ID to list instances for.Yes
clusterstringThe ID of the cluster to list instances from. Use ‘-’ to get results for all clusters. Default: -.No
locationstringThe location of the cluster (e.g., ‘us-central1’). Use ‘-’ to get results for all locations. Default: -.No

Example

kind: tools
name: list_instances
type: alloydb-list-instances
source: alloydb-admin-source
description: Use this tool to list all AlloyDB instances for a given project, cluster and location.

Reference

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