NodeRings Inc. Firewall Service API

The FirewallService API from NodeRings Inc. — 7 operation(s) for firewallservice.

GitHub OpenAPI

Operations 16

GET /v1/firewall/address-groups Firewall service list firewall address groups #
POST /v1/firewall/address-groups Firewall service create firewall address group #
GET /v1/firewall/address-groups/{id} Firewall service get firewall address group #
DELETE /v1/firewall/address-groups/{id} Firewall service delete firewall address group #
PATCH /v1/firewall/address-groups/{id} Firewall service update firewall address group #
GET /v1/firewall/rules/{id} Firewall service get firewall rule #
DELETE /v1/firewall/rules/{id} Firewall service delete firewall rule #
PATCH /v1/firewall/rules/{id} Firewall service update firewall rule #
POST /v1/firewall/rules/{id}/move Firewall service move firewall rule #
GET /v1/firewall/rulesets Firewall service list firewall rule sets #
POST /v1/firewall/rulesets Firewall service create firewall rule set #
GET /v1/firewall/rulesets/{id} Firewall service get firewall rule set #
DELETE /v1/firewall/rulesets/{id} Firewall service delete firewall rule set #
PATCH /v1/firewall/rulesets/{id} Firewall service update firewall rule set #
GET /v1/firewall/rulesets/{rulesetId}/rules Firewall service list firewall rules #
POST /v1/firewall/rulesets/{rulesetId}/rules Firewall service create firewall rule #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/noderings-com:noderings-com-firewallservice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

noderings-com-firewallservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NodeRings Firewall Service API
  version: '1.0'
  contact:
    name: NodeRings
    url: https://noderings.com
servers:
- url: https://api.noderings.com
security:
- BearerAuth: []
  OrgIDHeader: []
tags:
- name: FirewallService
paths:
  /v1/firewall/address-groups:
    get:
      operationId: FirewallService_ListFirewallAddressGroups
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1ListFirewallAddressGroupsResponse'
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: name
        description: 'Note: family filter removed as address groups can now contain mixed IPv4/IPv6'
        in: query
        required: false
        schema:
          type: string
      tags:
      - FirewallService
      summary: Firewall service list firewall address groups
      x-summary-source: derived
    post:
      operationId: FirewallService_CreateFirewallAddressGroup
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1CreateFirewallAddressGroupRequest'
        required: true
      tags:
      - FirewallService
      summary: Firewall service create firewall address group
      x-summary-source: derived
  /v1/firewall/address-groups/{id}:
    get:
      operationId: FirewallService_GetFirewallAddressGroup
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1FirewallAddressGroup'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      tags:
      - FirewallService
      summary: Firewall service get firewall address group
      x-summary-source: derived
    delete:
      operationId: FirewallService_DeleteFirewallAddressGroup
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      tags:
      - FirewallService
      summary: Firewall service delete firewall address group
      x-summary-source: derived
    patch:
      operationId: FirewallService_UpdateFirewallAddressGroup
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1FirewallAddressGroup'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FirewallServiceUpdateFirewallAddressGroupBody'
        required: true
      tags:
      - FirewallService
      summary: Firewall service update firewall address group
      x-summary-source: derived
  /v1/firewall/rules/{id}:
    get:
      operationId: FirewallService_GetFirewallRule
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1FirewallRuleResource'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: direction
        description: 'Optional: Filter by direction. If not specified, returns the rule regardless of direction.'
        in: query
        required: false
        schema:
          type: string
          enum:
          - FIREWALL_DIRECTION_UNSPECIFIED
          - FIREWALL_DIRECTION_INGRESS
          - FIREWALL_DIRECTION_EGRESS
          default: FIREWALL_DIRECTION_UNSPECIFIED
      tags:
      - FirewallService
      summary: Firewall service get firewall rule
      x-summary-source: derived
    delete:
      operationId: FirewallService_DeleteFirewallRule
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      tags:
      - FirewallService
      summary: Firewall service delete firewall rule
      x-summary-source: derived
    patch:
      operationId: FirewallService_UpdateFirewallRule
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1FirewallRuleResource'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FirewallServiceUpdateFirewallRuleBody'
        required: true
      tags:
      - FirewallService
      summary: Firewall service update firewall rule
      x-summary-source: derived
  /v1/firewall/rules/{id}/move:
    post:
      operationId: FirewallService_MoveFirewallRule
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1FirewallRuleResource'
      parameters:
      - name: id
        description: ID of the rule to move
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FirewallServiceMoveFirewallRuleBody'
        required: true
      tags:
      - FirewallService
      summary: Firewall service move firewall rule
      x-summary-source: derived
  /v1/firewall/rulesets:
    get:
      operationId: FirewallService_ListFirewallRuleSets
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1ListFirewallRuleSetsResponse'
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: name
        in: query
        required: false
        schema:
          type: string
      - name: filterAttachment
        description: "Optional: Filter by whether any virtual machine is attached to the ruleset.\n\n - FIREWALL_RULESET_ATTACHMENT_FILTER_UNSPECIFIED: All rulesets\n - FIREWALL_RULESET_ATTACHMENT_FILTER_ATTACHED: Rulesets with at least one VM attached\n - FIREWALL_RULESET_ATTACHMENT_FILTER_UNATTACHED: Rulesets with no VMs attached"
        in: query
        required: false
        schema:
          type: string
          enum:
          - FIREWALL_RULESET_ATTACHMENT_FILTER_UNSPECIFIED
          - FIREWALL_RULESET_ATTACHMENT_FILTER_ATTACHED
          - FIREWALL_RULESET_ATTACHMENT_FILTER_UNATTACHED
          default: FIREWALL_RULESET_ATTACHMENT_FILTER_UNSPECIFIED
      tags:
      - FirewallService
      summary: Firewall service list firewall rule sets
      x-summary-source: derived
    post:
      operationId: FirewallService_CreateFirewallRuleSet
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1CreateFirewallRuleSetRequest'
        required: true
      tags:
      - FirewallService
      summary: Firewall service create firewall rule set
      x-summary-source: derived
  /v1/firewall/rulesets/{id}:
    get:
      operationId: FirewallService_GetFirewallRuleSet
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1FirewallRuleSet'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      tags:
      - FirewallService
      summary: Firewall service get firewall rule set
      x-summary-source: derived
    delete:
      operationId: FirewallService_DeleteFirewallRuleSet
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: force
        in: query
        required: false
        schema:
          type: boolean
      tags:
      - FirewallService
      summary: Firewall service delete firewall rule set
      x-summary-source: derived
    patch:
      operationId: FirewallService_UpdateFirewallRuleSet
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1FirewallRuleSet'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FirewallServiceUpdateFirewallRuleSetBody'
        required: true
      tags:
      - FirewallService
      summary: Firewall service update firewall rule set
      x-summary-source: derived
  /v1/firewall/rulesets/{rulesetId}/rules:
    get:
      operationId: FirewallService_ListFirewallRules
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1ListFirewallRulesResponse'
      parameters:
      - name: rulesetId
        in: path
        required: true
        schema:
          type: string
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: direction
        description: 'Optional: Filter by direction. If not specified, returns all rules regardless of direction.'
        in: query
        required: false
        schema:
          type: string
          enum:
          - FIREWALL_DIRECTION_UNSPECIFIED
          - FIREWALL_DIRECTION_INGRESS
          - FIREWALL_DIRECTION_EGRESS
          default: FIREWALL_DIRECTION_UNSPECIFIED
      tags:
      - FirewallService
      summary: Firewall service list firewall rules
      x-summary-source: derived
    post:
      operationId: FirewallService_CreateFirewallRule
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: rulesetId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FirewallServiceCreateFirewallRuleBody'
        required: true
      tags:
      - FirewallService
      summary: Firewall service create firewall rule
      x-summary-source: derived
components:
  schemas:
    v1FirewallRuleVMTags:
      type: object
      properties:
        tags:
          type: array
          items:
            type: string
      description: FirewallRuleVMTags contains VM tags. Can be one or more.
    v1Timestamps:
      type: object
      properties:
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
      title: Object details
    v1FirewallRulePosition:
      type: string
      enum:
      - FIREWALL_RULE_POSITION_UNSPECIFIED
      - FIREWALL_RULE_POSITION_BEFORE
      - FIREWALL_RULE_POSITION_AFTER
      default: FIREWALL_RULE_POSITION_UNSPECIFIED
      title: "- FIREWALL_RULE_POSITION_BEFORE: Move before the target rule (higher priority)\n - FIREWALL_RULE_POSITION_AFTER: Move after the target rule (lower priority)"
    v1FirewallRuleInput:
      type: object
      properties:
        action:
          $ref: '#/components/schemas/v1FirewallAction'
        protocol:
          $ref: '#/components/schemas/v1FirewallProtocol'
        direction:
          $ref: '#/components/schemas/v1FirewallDirection'
        source:
          $ref: '#/components/schemas/v1FirewallRuleSource'
        destination:
          $ref: '#/components/schemas/v1FirewallRuleDestination'
        sourcePorts:
          type: string
          title: 'Optional: single port or range (e.g., "80" or "8000-9000")'
        destinationPorts:
          type: string
          title: 'Optional: single port or range (e.g., "443" or "5000-5010")'
      description: 'FirewallRuleInput is the client-provided rule payload for create/update.

        Clients must not provide id/ruleset_id/timestamps (those are server-controlled).'
    v1FirewallRuleResource:
      type: object
      properties:
        id:
          type: string
          readOnly: true
        rulesetId:
          type: string
          readOnly: true
        rule:
          $ref: '#/components/schemas/v1FirewallRuleInput'
        position:
          type: integer
          format: int64
          description: Position of the rule (0, 1, 2, 3...). Sequential position indicating order. Auto-assigned by the system.
          readOnly: true
        timestamps:
          $ref: '#/components/schemas/v1Timestamps'
      description: FirewallRuleResource is a first-class rule resource that belongs to a FirewallRuleSet.
    v1FirewallRuleSet:
      type: object
      properties:
        id:
          type: string
          readOnly: true
        name:
          type: string
        timestamps:
          $ref: '#/components/schemas/v1Timestamps'
        ruleCount:
          type: integer
          format: int32
          description: Number of rules in this ruleset (ingress and egress combined).
          readOnly: true
        attachedVmCount:
          type: integer
          format: int32
          description: Number of virtual machines currently attached to this ruleset.
          readOnly: true
        attachedVmHostnames:
          type: array
          items:
            type: string
          description: Hostnames of virtual machines attached to this ruleset (sorted).
          readOnly: true
    FirewallServiceUpdateFirewallAddressGroupBody:
      type: object
      properties:
        group:
          $ref: '#/components/schemas/v1FirewallAddressGroupInput'
    v1CreateFirewallAddressGroupRequest:
      type: object
      properties:
        group:
          $ref: '#/components/schemas/v1FirewallAddressGroupInput'
    v1FirewallRuleSource:
      type: object
      properties:
        ips:
          $ref: '#/components/schemas/v1FirewallRuleIPs'
        addressGroupIds:
          $ref: '#/components/schemas/v1FirewallRuleAddressGroups'
        vmTags:
          $ref: '#/components/schemas/v1FirewallRuleVMTags'
      description: 'FirewallRuleSource defines the source specification for a firewall rule.

        All fields are optional, but at least one must be set. Multiple fields can be combined.'
    v1SuccessResponse:
      type: object
      properties:
        success:
          type: boolean
    FirewallServiceMoveFirewallRuleBody:
      type: object
      properties:
        targetRuleId:
          type: string
          title: ID of the target rule to move relative to
        position:
          $ref: '#/components/schemas/v1FirewallRulePosition'
      description: 'MoveFirewallRuleRequest is used to reorder firewall rules via drag-and-drop.

        The rule specified by `id` will be moved to a position relative to `target_rule_id`.

        Rules can only be moved within the same direction (ingress/egress).'
    v1FirewallRuleAddressGroups:
      type: object
      properties:
        addressGroupIds:
          type: array
          items:
            type: string
      description: FirewallRuleAddressGroups contains address group UUIDs. Can be one or more.
    v1ListFirewallRulesResponse:
      type: object
      properties:
        rules:
          type: array
          items:
            $ref: '#/components/schemas/v1FirewallRuleResource'
        totalCount:
          type: integer
          format: int32
    FirewallServiceUpdateFirewallRuleBody:
      type: object
      properties:
        rule:
          $ref: '#/components/schemas/v1FirewallRuleInput'
    v1FirewallIPPrefix:
      type: object
      properties:
        ip:
          type: string
          description: IPv4 or IPv6 address. May be "0.0.0.0" (v4 default route) or "::" (v6 default route).
        prefix:
          type: integer
          format: int64
          description: 'Prefix length. IPv4: 0-32. IPv6: 0-128. Enforced by backend based on derived family.'
      description: 'FirewallIPPrefix represents a single CIDR prefix as separate fields.

        The backend will normalize/store it as a CIDR string (e.g., "10.0.0.0/24", "0.0.0.0/0", "::/0").'
    v1FirewallRuleSetInput:
      type: object
      properties:
        name:
          type: string
    v1FirewallAddressGroup:
      type: object
      properties:
        id:
          type: string
          readOnly: true
        name:
          type: string
        prefixes:
          type: array
          items:
            $ref: '#/components/schemas/v1FirewallIPPrefix'
          description: 'CIDR prefixes. Can contain mixed IPv4 and IPv6 addresses.

            Supports "all IPs" via 0.0.0.0/0 or ::/0.'
        timestamps:
          $ref: '#/components/schemas/v1Timestamps'
    v1FirewallProtocol:
      type: string
      enum:
      - FIREWALL_PROTOCOL_UNSPECIFIED
      - FIREWALL_PROTOCOL_TCP
      - FIREWALL_PROTOCOL_UDP
      - FIREWALL_PROTOCOL_SCTP
      - FIREWALL_PROTOCOL_IPV6
      - FIREWALL_PROTOCOL_ICMP
      - FIREWALL_PROTOCOL_ICMPV6
      - FIREWALL_PROTOCOL_ESP
      - FIREWALL_PROTOCOL_AH
      - FIREWALL_PROTOCOL_IPSEC
      - FIREWALL_PROTOCOL_GRE
      - FIREWALL_PROTOCOL_IPIP
      - FIREWALL_PROTOCOL_VXLAN
      - FIREWALL_PROTOCOL_L2TP
      - FIREWALL_PROTOCOL_GENEVE
      - FIREWALL_PROTOCOL_ANY
      - FIREWALL_PROTOCOL_IGMP
      - FIREWALL_PROTOCOL_GGP
      - FIREWALL_PROTOCOL_IPENCAP
      - FIREWALL_PROTOCOL_ST
      - FIREWALL_PROTOCOL_EGP
      - FIREWALL_PROTOCOL_IGP
      - FIREWALL_PROTOCOL_PUP
      - FIREWALL_PROTOCOL_HMP
      - FIREWALL_PROTOCOL_XNS_IDP
      - FIREWALL_PROTOCOL_RDP
      - FIREWALL_PROTOCOL_ISO_TP4
      - FIREWALL_PROTOCOL_DCCP
      - FIREWALL_PROTOCOL_XTP
      - FIREWALL_PROTOCOL_DDP
      - FIREWALL_PROTOCOL_IDPR_CMTP
      - FIREWALL_PROTOCOL_IPV6_ROUTE
      - FIREWALL_PROTOCOL_IPV6_FRAG
      - FIREWALL_PROTOCOL_IDRP
      - FIREWALL_PROTOCOL_RSVP
      - FIREWALL_PROTOCOL_SKIP
      - FIREWALL_PROTOCOL_IPV6_ICMP
      - FIREWALL_PROTOCOL_IPV6_NONXT
      - FIREWALL_PROTOCOL_IPV6_OPTS
      - FIREWALL_PROTOCOL_VMTP
      - FIREWALL_PROTOCOL_EIGRP
      - FIREWALL_PROTOCOL_OSPF
      - FIREWALL_PROTOCOL_AX_25
      - FIREWALL_PROTOCOL_ETHERIP
      - FIREWALL_PROTOCOL_ENCAP
      - FIREWALL_PROTOCOL_PIM
      - FIREWALL_PROTOCOL_IPCOMP
      - FIREWALL_PROTOCOL_VRRP
      - FIREWALL_PROTOCOL_ISIS
      - FIREWALL_PROTOCOL_FC
      - FIREWALL_PROTOCOL_MOBILITY_HEADER
      - FIREWALL_PROTOCOL_UDPLITE
      - FIREWALL_PROTOCOL_MPLS_IN_IP
      - FIREWALL_PROTOCOL_HIP
      - FIREWALL_PROTOCOL_SHIM6
      - FIREWALL_PROTOCOL_WESP
      - FIREWALL_PROTOCOL_ROHC
      default: FIREWALL_PROTOCOL_UNSPECIFIED
      title: "- FIREWALL_PROTOCOL_ICMPV6: legacy alias; prefer IPV6_ICMP for new rules\n - FIREWALL_PROTOCOL_IPSEC: legacy logical grouping; not a Proxmox /etc/protocols name\n - FIREWALL_PROTOCOL_VXLAN: legacy; not in Proxmox protocol selector\n - FIREWALL_PROTOCOL_GENEVE: legacy; not in Proxmox protocol selector\n - FIREWALL_PROTOCOL_ANY: Match all protocols (Proxmox proto left unset)\n - FIREWALL_PROTOCOL_IGMP: Remaining values mirror Proxmox VE IPProtocolSelector (www/manager6/form/IPProtocolSelector.js)\n - FIREWALL_PROTOCOL_XNS_IDP: xns-idp\n - FIREWALL_PROTOCOL_ISO_TP4: iso-tp4\n - FIREWALL_PROTOCOL_IDPR_CMTP: idpr-cmtp\n - FIREWALL_PROTOCOL_IPV6_ROUTE: ipv6-route\n - FIREWALL_PROTOCOL_IPV6_FRAG: ipv6-frag\n - FIREWALL_PROTOCOL_IPV6_ICMP: ipv6-icmp (Proxmox name for ICMPv6)\n - FIREWALL_PROTOCOL_IPV6_NONXT: ipv6-nonxt\n - FIREWALL_PROTOCOL_IPV6_OPTS: ipv6-opts\n - FIREWALL_PROTOCOL_AX_25: ax.25\n - FIREWALL_PROTOCOL_MOBILITY_HEADER: mobility-header\n - FIREWALL_PROTOCOL_MPLS_IN_IP: mpls-in-ip"
    v1CreateFirewallRuleSetRequest:
      type: object
      properties:
        ruleset:
          $ref: '#/components/schemas/v1FirewallRuleSetInput'
    v1FirewallAction:
      type: string
      enum:
      - FIREWALL_ACTION_UNSPECIFIED
      - FIREWALL_ACTION_ACCEPT
      - FIREWALL_ACTION_DROP
      default: FIREWALL_ACTION_UNSPECIFIED
    FirewallServiceUpdateFirewallRuleSetBody:
      type: object
      properties:
        ruleset:
          $ref: '#/components/schemas/v1FirewallRuleSetInput'
    v1FirewallAddressGroupInput:
      type: object
      properties:
        name:
          type: string
        prefixes:
          type: array
          items:
            $ref: '#/components/schemas/v1FirewallIPPrefix'
          description: 'CIDR prefixes. Can contain mixed IPv4 and IPv6 addresses.

            Supports "all IPs" via 0.0.0.0/0 or ::/0.'
      description: 'FirewallAddressGroupInput is the client-provided payload for create/update.

        Clients must not provide id/timestamps (those are server-controlled).'
    v1FirewallDirection:
      type: string
      enum:
      - FIREWALL_DIRECTION_UNSPECIFIED
      - FIREWALL_DIRECTION_INGRESS
      - FIREWALL_DIRECTION_EGRESS
      default: FIREWALL_DIRECTION_UNSPECIFIED
    FirewallServiceCreateFirewallRuleBody:
      type: object
      properties:
        rule:
          $ref: '#/components/schemas/v1FirewallRuleInput'
    v1ListFirewallAddressGroupsResponse:
      type: object
      properties:
        groups:
          type: array
          items:
            $ref: '#/components/schemas/v1FirewallAddressGroup'
        totalCount:
          type: integer
          format: int32
    v1FirewallRuleDestination:
      type: object
      properties:
        ips:
          $ref: '#/components/schemas/v1FirewallRuleIPs'
        addressGroupIds:
          $ref: '#/components/schemas/v1FirewallRuleAddressGroups'
        vmTags:
          $ref: '#/components/schemas/v1FirewallRuleVMTags'
      description: 'FirewallRuleDestination defines the destination specification for a firewall rule.

        All fields are optional, but at least one must be set. Multiple fields can be combined.'
    v1FirewallRuleIPs:
      type: object
      properties:
        ips:
          type: array
          items:
            type: string
      description: FirewallRuleIPs contains IP addresses in CIDR format. Can be one or more.
    v1ListFirewallRuleSetsResponse:
      type: object
      properties:
        rulesets:
          type: array
          items:
            $ref: '#/components/schemas/v1FirewallRuleSet'
        totalCount:
          type: integer
          format: int32
  securitySchemes:
    BearerAuth:
      type: apiKey
      description: Bearer token
      name: Authorization
      in: header
    OrgIDHeader:
      type: apiKey
      description: Tenant or organization identifier
      name: X-Organization-ID
      in: header