Skip to main content
GET
/
v1
/
firewalls
/
{id}
Get firewall information by ID
curl --request GET \
  --url https://console.gmicloud.ai/api/v1/firewalls/{id} \
  --header 'Authorization: Bearer <token>'
{
  "description": "<string>",
  "inboundRules": [
    {
      "description": "<string>",
      "portRange": {
        "max": 32768,
        "min": 32768
      },
      "protocol": "tcp",
      "remoteIpPrefix": "237.84.2.178/24"
    }
  ],
  "name": "<string>",
  "idc": "<string>",
  "assoInstances": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "active"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Response

successful

inboundRules
object[]
required
  • Option 1
  • Option 2
name
string
required
Maximum length: 255
idc
string
required
Maximum length: 50
assoInstances
string<uuid>[]
id
string<uuid>
orgId
string<uuid>
status
enum<string>
Available options:
active,
building,
error
description
string
Maximum length: 255