[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-03 (世界標準時間)。"],[],[],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)."]]