Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Melihat profil jaringan
Halaman ini menjelaskan cara melihat profil jaringan di Google Cloud.
Peran yang diperlukan
Untuk mendapatkan izin yang diperlukan untuk melihat profil jaringan, minta administrator untuk memberi Anda peran IAM Compute Network Viewer (roles/compute.networkViewer) di project Anda.
Untuk mengetahui informasi selengkapnya tentang cara memberikan peran, lihat Mengelola akses ke project, folder, dan organisasi.
Peran bawaan ini berisi
izin yang diperlukan untuk melihat profil jaringan. Untuk melihat izin yang benar-benar diperlukan, luaskan bagian Izin yang diperlukan:
Izin yang diperlukan
Izin berikut diperlukan untuk melihat profil jaringan:
Bagian ini menjelaskan cara mencantumkan profil jaringan menggunakan Google Cloud CLI dan API. Ada instance unik dari profil jaringan tertentu untuk setiap
lokasi tempat profil tersebut tersedia.
Jika menggunakan konsol Google Cloud , Anda dapat melihat daftar profil jaringan menurut lokasi sebagai bagian dari konfigurasi profil jaringan saat membuat jaringan VPC. Untuk mengetahui informasi selengkapnya, lihat
Membuat jaringan VPC untuk NIC RDMA.
GET https://compute.googleapis.com/compute/projects/PROJECT_ID/global/networkProfiles
Ganti PROJECT_ID dengan project ID Anda.
Melihat detail profil jaringan
Bagian ini menjelaskan cara melihat detail profil jaringan menggunakan
Google Cloud CLI atau API.
Jika menggunakan konsol Google Cloud , Anda dapat melihat detail profil jaringan
sebagai bagian dari konfigurasi profil jaringan saat membuat jaringan VPC,
atau saat melihat jaringan yang ada
yang telah dikonfigurasi dengan profil jaringan.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)"]]