Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
A API Database Service usa recursos personalizados do Kubernetes e depende do
modelo de recursos do Kubernetes (KRM). Ele é usado para criar e gerenciar clusters de banco de dados no Google Distributed Cloud (GDC) isolado por air-gap.
Use a CLI kubectl para as APIs do serviço de banco de dados.
Endpoint de serviço
Os URLs a seguir são os endpoints de API das APIs KRM do serviço de banco de dados:
Substitua MANAGEMENT_API_SERVER_ENDPOINT pelo endpoint do servidor da API Management.
Documento de descoberta
Use o comando kubectl proxy --port=8001 para abrir um proxy para o servidor de API na sua máquina local. Lá, você pode acessar o documento de descoberta em um dos seguintes URLs:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[[["\u003cp\u003eDatabase Service API leverages Kubernetes custom resources and the Kubernetes Resource Model (KRM) for managing database clusters in Google Distributed Cloud (GDC) air-gapped.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekubectl\u003c/code\u003e CLI is the primary tool for interacting with the Database Service APIs.\u003c/p\u003e\n"],["\u003cp\u003eAPI endpoints for Database Service KRM APIs are accessible at URLs beginning with \u003ccode\u003ehttps://<MANAGEMENT_API_SERVER_ENDPOINT>/apis/\u003c/code\u003e, varying by database type.\u003c/p\u003e\n"],["\u003cp\u003eDiscovery documents can be accessed locally through a proxy using \u003ccode\u003ekubectl proxy --port=8001\u003c/code\u003e, at URLs beginning with \u003ccode\u003ehttp://127.0.0.1:8001/apis/\u003c/code\u003e, varying by database type.\u003c/p\u003e\n"]]],[],null,["# Overview of Database Service API\n\nDatabase Service API uses Kubernetes custom resources and relies on\nthe Kubernetes Resource Model (KRM). It is used to create and manage database\nclusters in Google Distributed Cloud (GDC) air-gapped.\n\nUse the `kubectl` CLI for the Database Service APIs.\n\nService endpoint\n----------------\n\nThe following URLs are the API endpoints for the Database Service KRM APIs:\n\n- https://\u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e/apis/fleet.dbadmin.gdc.goog/v1\n- https://\u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e/apis/oracle.dbadmin.gdc.goog/v1\n- https://\u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e/apis/postgresql.dbadmin.gdc.goog/v1\n\nReplace \u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e with the endpoint of the\nManagement API server.\n\nDiscovery document\n------------------\n\nUse the `kubectl proxy --port=8001` command to open a proxy to the API server on\nyour local machine. From there, you can access the discovery document at one of\nthe following URLs:\n\n- http://127.0.0.1:8001/apis/fleet.dbadmin.gdc.goog/v1\n- http://127.0.0.1:8001/apis/oracle.dbadmin.gdc.goog/v1\n- http://127.0.0.1:8001/apis/postgresql.dbadmin.gdc.goog/v1"]]