cURL
curl --request GET \ --url https://console.gmicloud.ai/api/v1/firewalls/{id} \ --header 'Authorization: Bearer <token>'
200
Example
{ "inboundRules": [ { "portRange": { "max": 32768, "min": 32768 }, "protocol": "tcp", "remoteIpPrefix": "237.84.2.178/24", "description": "<string>" } ], "name": "<string>", "idc": "<string>", "description": "<string>", "assoInstances": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ], "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "active" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
successful
Show child attributes
255
50
active
building
error