Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Netzwerkprofile ansehen
Auf dieser Seite wird beschrieben, wie Sie Netzwerkprofile in Google Cloudaufrufen.
Erforderliche Rollen
Bitten Sie Ihren Administrator, Ihnen die IAM-Rolle Compute-Netzwerkbetrachter (roles/compute.networkViewer) für Ihr Projekt zuzuweisen, um die Berechtigungen zu erhalten, die Sie zum Aufrufen von Netzwerkprofilen benötigen.
Weitere Informationen zum Zuweisen von Rollen finden Sie unter Zugriff auf Projekte, Ordner und Organisationen verwalten.
Diese vordefinierte Rolle enthält die Berechtigungen, die zum Aufrufen von Netzwerkprofilen erforderlich sind. Erweitern Sie den Abschnitt Erforderliche Berechtigungen, um die erforderlichen Berechtigungen anzuzeigen:
Erforderliche Berechtigungen
Die folgenden Berechtigungen sind erforderlich, um Netzwerkprofile aufzurufen:
In diesem Abschnitt wird beschrieben, wie Sie Netzwerkprofile mit der Google Cloud CLI und der API auflisten. Für jeden Standort, an dem ein bestimmtes Netzwerkprofil verfügbar ist, gibt es eine eindeutige Instanz.
Wenn Sie die Google Cloud -Konsole verwenden, können Sie die Liste der Netzwerkprofile nach Standort im Rahmen der Netzwerkprofilkonfiguration einsehen, wenn Sie ein VPC-Netzwerk erstellen. Weitere Informationen finden Sie unter VPC-Netzwerk für RDMA-NICs erstellen.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-19 (UTC)."],[],[],null,["# View network profiles\n=====================\n\nThis page describes how to view network profiles in Google Cloud.\n\nRequired roles\n--------------\n\n\nTo get the permissions that\nyou need to view network profiles,\n\nask your administrator to grant you the\n\n\n[Compute Network Viewer](/iam/docs/roles-permissions/compute#compute.networkViewer) (`roles/compute.networkViewer`)\nIAM role on your project.\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nThis predefined role contains\n\nthe permissions required to view network profiles. To see the exact permissions that are\nrequired, expand the **Required permissions** section:\n\n\n#### Required permissions\n\nThe following permissions are required to view network profiles:\n\n- ` compute.networkProfiles.get `\n- ` compute.networkProfiles.list`\n\n\nYou might also be able to get\nthese permissions\nwith [custom roles](/iam/docs/creating-custom-roles) or\nother [predefined roles](/iam/docs/roles-overview#predefined).\n\nList network profiles\n---------------------\n\nThis section describes how to list network profiles by using the Google Cloud CLI\nand the API. There is a unique instance of a given network profile for each\nlocation in which it is available.\n\nIf you are using the Google Cloud console, you can view the list of network\nprofiles by location as part of the network profile configuration when you\ncreate a VPC network. For more information, see\n[Create a VPC network for RDMA NICs](/vpc/docs/create-vpc-network-rdma). \n\n### gcloud\n\nTo list all network profiles in Google Cloud, use the [`gcloud compute network-profiles list` command](/sdk/gcloud/reference/compute/network-profiles/list). \n\n```\ngcloud compute network-profiles list\n```\n\nTo list the network profiles that are available in a specific zone, use the `location.name` filter. \n\n```\ngcloud compute network-profiles list --filter='location.name=ZONE'\n```\n\nReplace \u003cvar translate=\"no\"\u003eZONE\u003c/var\u003e with the zone for which you want to view\nnetwork profiles, such as `europe-west1-b`.\n\n### API\n\nTo list all network profiles in Google Cloud, use the [`networkProfiles.list` method](/compute/docs/reference/rest/v1/networkProfiles/list). \n\n```\nGET https://compute.googleapis.com/compute/projects/PROJECT_ID/global/networkProfiles\n```\n\nReplace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e with your project ID.\n\nView the details of a network profile\n-------------------------------------\n\nThis section describes how to view the details of a network profile by using the\nGoogle Cloud CLI or the API.\n\nIf you are using the Google Cloud console, you can view the details of a network\nprofile as part of the network profile configuration when you [create a VPC network](/vpc/docs/create-vpc-network-rdma),\nor when [viewing an existing network](/vpc/docs/create-modify-vpc-networks#viewing-networks)\nthat has a network profile configured. \n\n### gcloud\n\nTo view the details of a network profile, use the [`gcloud compute network-profiles describe` command](/sdk/gcloud/reference/compute/network-profiles/describe). \n\n```\ngcloud compute network-profiles describe NETWORK_PROFILE\n```\n\nReplace \u003cvar translate=\"no\"\u003eNETWORK_PROFILE\u003c/var\u003e with the name of the network profile.\n\n### API\n\nTo view the details of a network profile, use the [`networkProfiles.get` method](/compute/docs/reference/rest/v1/networkProfiles/get). \n\n```\nGET https://compute.googleapis.com/compute/projects/PROJECT_ID/global/networkProfiles/NETWORK_PROFILE\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: your project ID.\n- \u003cvar translate=\"no\"\u003eNETWORK_PROFILE\u003c/var\u003e: the name of the network profile.\n\nWhat's next\n-----------\n\n- [Get an overview of network profiles](/vpc/docs/network-profiles)\n- [Learn about the RDMA network profile](/vpc/docs/rdma-network-profiles)\n- [Create a VPC network for RDMA NICs](/vpc/docs/create-vpc-network-rdma)"]]