cURL
curl --request GET \ --url https://api.gcore.com/cloud/v1/ai/clusters/{project_id}/{region_id}/{cluster_id}/ports \ --header 'Authorization: <api-key>'
{ "count": 1, "results": [ { "id": "ae74714c-c380-48b4-87f8-758d656cdad6", "name": "name", "security_groups": [ { "id": "4536dba1-93b1-492e-b3df-270b6b9f3650", "name": "name1" }, { "id": "cee2ca1f-507a-4a31-b714-f6c1ffb4bdfa", "name": "name2" } ] } ] }
Retrieve a list of network ports attached to the GPU cluster servers.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project ID
Region ID
Cluster ID
List of ports
Number of objects
Objects
Show child attributes
Port ID
Port name
Security groups applied to port
Name.
ID
Was this page helpful?