Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
En esta página, se describe cómo comenzar a usar
Google Cloud CLI para administrar los perfiles de conexión y los trabajos de migración de Database Migration Service.
Google Cloud CLI proporciona la CLI de Google Cloud para interactuar con Database Migration Service y otros servicios de Google Cloud . Gcloud CLI usa la API para acceder a Database Migration Service, por lo que debes habilitar la API antes de usar la herramienta.
Comienza a usar Google Cloud CLI
Para comenzar a usar gcloud CLI, revisa la
documentación de Google Cloud CLI.
Puedes obtener ayuda para la herramienta, los recursos y los comandos mediante la marca --help:
El primer comando muestra la configuración de gcloud CLI, incluido cualquier proyecto predeterminado que ya hayas configurado. El segundo comando configura el proyecto predeterminado.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-03 (UTC)"],[[["\u003cp\u003eThis page provides instructions on using the Google Cloud CLI to manage Database Migration Service connection profiles and migration jobs.\u003c/p\u003e\n"],["\u003cp\u003eThe gcloud CLI interacts with Database Migration Service via its API, necessitating API enablement before usage.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the \u003ccode\u003e--help\u003c/code\u003e flag to see information on how to use the tool, resources, and commands within the gcloud CLI.\u003c/p\u003e\n"],["\u003cp\u003eTo configure your project, list the current configuration with \u003ccode\u003egcloud config list\u003c/code\u003e and then set your default project with \u003ccode\u003egcloud config set project [PROJECT_ID]\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Use the gcloud CLI\n\n\u003cbr /\u003e\n\nThis page describes how to get started with the\n[Google Cloud CLI](/sdk/docs)\nso you can use it to manage Database Migration Service connection profiles and migration jobs.\n\nThe Google Cloud CLI\nprovides the Google Cloud CLI to interact with\nDatabase Migration Service and other Google Cloud services. The gcloud CLI\nuses the API to access Database Migration Service, so you must enable the API before you\ncan use the tool.\n\nGet started with the Google Cloud CLI\n-------------------------------------\n\nTo start with the gcloud CLI, review the\n[Google Cloud CLI documentation](/sdk/docs).\nYou can get help for the tool, resources, and\ncommands by using the `--help` flag: \n\n```bash\ngcloud database-migration --help\ngcloud database-migration connection-profiles create --help\ngcloud database-migration migration-jobs promote --help\n```\n\n\nFinally, configure a project as your default project with\nthe following commands: \n\n```bash\ngcloud config list\ngcloud config set project [PROJECT_ID]\n```\n\nThe first command lists the\nconfiguration for the gcloud CLI, including any default project that you\nalready set. The second command sets the default project."]]