# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. kind: source name: cloud-sql-admin-source type: cloud-sql-admin defaultProject: ${CLOUD_SQL_POSTGRES_PROJECT:} --- kind: tool name: create_instance type: cloud-sql-postgres-create-instance source: cloud-sql-admin-source --- kind: tool name: get_instance type: cloud-sql-get-instance source: cloud-sql-admin-source --- kind: tool name: list_instances type: cloud-sql-list-instances source: cloud-sql-admin-source --- kind: tool name: create_database type: cloud-sql-create-database source: cloud-sql-admin-source --- kind: tool name: list_databases type: cloud-sql-list-databases source: cloud-sql-admin-source --- kind: tool name: create_user type: cloud-sql-create-users source: cloud-sql-admin-source --- kind: tool name: wait_for_operation type: cloud-sql-wait-for-operation source: cloud-sql-admin-source multiplier: 4 --- kind: tool name: clone_instance type: cloud-sql-clone-instance source: cloud-sql-admin-source --- kind: tool name: postgres_upgrade_precheck type: postgres-upgrade-precheck source: cloud-sql-admin-source --- kind: tool name: create_backup type: cloud-sql-create-backup source: cloud-sql-admin-source --- kind: tool name: restore_backup type: cloud-sql-restore-backup source: cloud-sql-admin-source --- kind: toolset name: cloud_sql_postgres_admin_tools tools: - create_instance - get_instance - list_instances - create_database - list_databases - create_user - wait_for_operation - postgres_upgrade_precheck - clone_instance - create_backup - restore_backup