Cliquez sur le nom à afficher du profil de connexion que vous souhaitez modifier.
Une page de présentation du profil de connexion s'affiche.
Cliquez sur Modifier et mettez à jour votre profil de connexion.
Cliquez sur Enregistrer.
Supprimer un profil de connexion
Vous ne pouvez supprimer un profil de connexion que si aucune tâche de migration ne l'utilise. Si vous souhaitez supprimer un profil de connexion utilisé par un job de migration, commencez par
supprimer tous les jobs de migration associés au profil de connexion.
Pour supprimer un profil de connexion, procédez comme suit :
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/18 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/08/18 (UTC)."],[],[],null,["# Manage connection profiles\n\nThis page describes how to perform view, update, and delete operations\nfor connection profiles.\n\nView a connection profile\n-------------------------\n\nYou can view the following information about your connection profiles:\n\n- All configuration details provided during profile creation. For more\n information, see\n [Connection profiles overview](/database-migration/docs/oracle-to-postgresql/about-connection-profiles).\n\n- Connection profile creation and last modification time.\n\n- A list of migration jobs that use this connection profile.\n\nTo view connection profile details, perform the following steps: \n\n### Console\n\n1. In the Google Cloud console, go to the **Connection profiles** page.\n\n [Go to Connection profiles](https://console.cloud.google.com/dbmigration/connection-profiles)\n2. Click the display name of the connection profile that you want to view. A connection profile overview page appears.\n\n### gcloud\n\n\nBefore using any of the command data below,\nmake the following replacements:\n\n- \u003cvar class=\"edit\" scope=\"REGION\" translate=\"no\"\u003eREGION\u003c/var\u003e with the identifier of the region where your connection profile is saved.\n- \u003cvar class=\"edit\" scope=\"CONNECTION_PROFILE_ID\" translate=\"no\"\u003eCONNECTION_PROFILE_ID\u003c/var\u003e with your connection profile identifier.\n\n If you don't know the identifier, you can use the\n [`gcloud database-migration connection-profiles list`](/sdk/gcloud/reference/database-migration/connection-profiles/list)\n command to list all profiles in a given region and view their identifiers.\n\nFor more information on these values, see [Connection profiles overview](/database-migration/docs/oracle-to-postgresql/about-connection-profiles).\n\n\nExecute the\n\nfollowing\n\ncommand:\n\n#### Linux, macOS, or Cloud Shell\n\n**Note:** Ensure you have initialized the Google Cloud CLI with authentication and a project by running either [gcloud init](/sdk/gcloud/reference/init); or [gcloud auth login](/sdk/gcloud/reference/auth/login) and [gcloud config set project](/sdk/gcloud/reference/config/set). \n\n```bash\ngcloud database-migration connection-profiles \\\ndescribe CONNECTION_PROFILE_ID \\\n --region=REGION\n```\n\n#### Windows (PowerShell)\n\n**Note:** Ensure you have initialized the Google Cloud CLI with authentication and a project by running either [gcloud init](/sdk/gcloud/reference/init); or [gcloud auth login](/sdk/gcloud/reference/auth/login) and [gcloud config set project](/sdk/gcloud/reference/config/set). \n\n```bash\ngcloud database-migration connection-profiles `\ndescribe CONNECTION_PROFILE_ID `\n --region=REGION\n```\n\n#### Windows (cmd.exe)\n\n**Note:** Ensure you have initialized the Google Cloud CLI with authentication and a project by running either [gcloud init](/sdk/gcloud/reference/init); or [gcloud auth login](/sdk/gcloud/reference/auth/login) and [gcloud config set project](/sdk/gcloud/reference/config/set). \n\n```bash\ngcloud database-migration connection-profiles ^\ndescribe CONNECTION_PROFILE_ID ^\n --region=REGION\n```\n\nUpdate a connection profile\n---------------------------\n\nTo update a connection profile, perform the following steps:\n\n1. In the Google Cloud console, go to the **Connection profiles** page.\n\n [Go to Connection profiles](https://console.cloud.google.com/dbmigration/connection-profiles)\n2. Click the display name of the connection profile that you want to modify. An overview page appears for the connection profile.\n\n3. Click **Edit** and update your connection profile.\n4. Click **Save**.\n\nDelete a connection profile\n---------------------------\n\nYou can delete a connection profile only if there are no migration jobs that\nuse that profile. If you want to delete a connection profile that\nis in use by a migration job, first\n[delete all migration jobs](/database-migration/docs/oracle-to-postgresql/manage-migration-jobs#delete) that are linked to the connection profile.\n\nTo delete a connection profile, perform the following steps: \n\n### Console\n\n1. In the Google Cloud console, go to the **Connection profiles** page.\n\n [Go to Connection profiles](https://console.cloud.google.com/dbmigration/connection-profiles)\n2. Click the display name of the connection profile that you want to delete. A connection profile overview page appears.\n\n3. Click **Delete**.\n4. In the dialog, click **Delete**.\n\n### gcloud\n\nThis command returns an interactive confirmation prompt that requires your input to complete.\nYou can skip the confirmation prompt by using the\n[optional `--quiet` flag](/sdk/gcloud/reference#--quiet).\n\n\nBefore using any of the command data below,\nmake the following replacements:\n\n- \u003cvar class=\"edit\" scope=\"REGION\" translate=\"no\"\u003eREGION\u003c/var\u003e with the identifier of the region where your connection profile is saved.\n- \u003cvar class=\"edit\" scope=\"CONNECTION_PROFILE_ID\" translate=\"no\"\u003eCONNECTION_PROFILE_ID\u003c/var\u003e with your connection profile identifier.\n\n If you don't know the identifier, you can use the\n [`gcloud database-migration connection-profiles list`](/sdk/gcloud/reference/database-migration/connection-profiles/list)\n command to list all profiles in a given region and view their identifiers.\n\nFor more information on these values, see [Connection profiles overview](/database-migration/docs/oracle-to-postgresql/about-connection-profiles).\n\n\nExecute the\n\nfollowing\n\ncommand:\n\n#### Linux, macOS, or Cloud Shell\n\n**Note:** Ensure you have initialized the Google Cloud CLI with authentication and a project by running either [gcloud init](/sdk/gcloud/reference/init); or [gcloud auth login](/sdk/gcloud/reference/auth/login) and [gcloud config set project](/sdk/gcloud/reference/config/set). \n\n```bash\ngcloud database-migration connection-profiles \\\ndelete CONNECTION_PROFILE_ID \\\n --region=REGION\n```\n\n#### Windows (PowerShell)\n\n**Note:** Ensure you have initialized the Google Cloud CLI with authentication and a project by running either [gcloud init](/sdk/gcloud/reference/init); or [gcloud auth login](/sdk/gcloud/reference/auth/login) and [gcloud config set project](/sdk/gcloud/reference/config/set). \n\n```bash\ngcloud database-migration connection-profiles `\ndelete CONNECTION_PROFILE_ID `\n --region=REGION\n```\n\n#### Windows (cmd.exe)\n\n**Note:** Ensure you have initialized the Google Cloud CLI with authentication and a project by running either [gcloud init](/sdk/gcloud/reference/init); or [gcloud auth login](/sdk/gcloud/reference/auth/login) and [gcloud config set project](/sdk/gcloud/reference/config/set). \n\n```bash\ngcloud database-migration connection-profiles ^\ndelete CONNECTION_PROFILE_ID ^\n --region=REGION\n```\n**Result**\n\n\nThe `delete` returns an interactive prompt where you confirm\nthe action. Enter `Y` to remove the connection profile:\n\n```\nYou are about to delete connection_profile [CONNECTION_PROFILE_ID]\n\nDo you want to continue (Y/n)?\n```\nYou can skip Google Cloud CLI interactive confirmation prompts by using the [optional `--quiet` flag](/sdk/gcloud/reference#--quiet)."]]