cloud-sql-get-instance

Get a Cloud SQL instance resource.

The cloud-sql-get-instance tool retrieves a Cloud SQL instance resource using the Cloud SQL Admin API.

Info

This tool uses a source of kind cloud-sql-admin. The source automatically generates a bearer token on behalf of the user with the https://www.googleapis.com/auth/sqlservice.admin scope to authenticate requests.

Example

tools:
  get-sql-instance:
    kind: cloud-sql-get-instance
    description: "Get a Cloud SQL instance resource."
    source: my-cloud-sql-source

Reference

fieldtyperequireddescription
kindstringtrueMust be “cloud-sql-get-instance”.
descriptionstringtrueA description of the tool.
sourcestringtrueThe name of the cloud-sql-admin source to use.