---
title: Lister les cartes réseau
slug: lister-les-cartes-reseau
docTags: 
createdAt: 2026-06-04T15:50:56.155Z
---

{
  "id": "wkCz6H4yX5NuhcaBOErhb",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers/{serverId}/nics",
    "servers": [
      {
        "url": "https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers/{serverId}/nics"
      }
    ],
    "name": "List NICs",
    "description": "<p>List all NICs, attached to the specified server.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "datacenterId",
          "type": "string",
          "description": "The unique ID of the data center."
        },
        {
          "kind": "required",
          "name": "serverId",
          "type": "string",
          "description": "The unique ID of the server."
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        },
        {
          "kind": "optional",
          "name": "X-Contract-Number",
          "type": "integer<int32>",
          "description": "<p>Users with multiple contracts must provide the contract number, for which all API requests are to be executed.</p>",
          "format": "int32"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "pretty",
          "type": "boolean",
          "description": "<p>Controls whether the response is pretty-printed (with indentations and new lines).</p>",
          "default": true
        },
        {
          "kind": "optional",
          "name": "depth",
          "type": "integer<int32>",
          "description": "<p>Controls the detail depth of the response objects.\nGET /datacenters/[ID]\n- depth=0: Only direct properties are included; children (servers and other elements) are not included.\n- depth=1: Direct properties and children references are included.\n- depth=2: Direct properties and children properties are included.\n- depth=3: Direct properties and children properties and children's children are included.\n- depth=... and so on</p>",
          "default": 0,
          "format": "int32",
          "minimum": 0,
          "maximum": 10
        },
        {
          "kind": "optional",
          "name": "offset",
          "type": "integer<int32>",
          "description": "<p>The first element (from the complete list of the elements) to include in the response (used together with limit for pagination).</p>",
          "default": 0,
          "format": "int32",
          "minimum": 0
        },
        {
          "kind": "optional",
          "name": "limit",
          "type": "integer<int32>",
          "description": "<p>The maximum number of elements to return (use together with offset for pagination).</p>",
          "default": 1000,
          "format": "int32",
          "minimum": 1,
          "maximum": 10000
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "BasicAuthentication",
          "name": "BasicAuthentication",
          "kind": "optional",
          "type": "http",
          "description": "<p>You will need to base64 encode the string containing your credentials. \nNote:\n\n</p>",
          "scheme": "basic"
        },
        {
          "id": "TokenAuthentication",
          "name": "Authorization",
          "kind": "optional",
          "type": "apiKey",
          "description": "<p>Please provide header value as 'Bearer ' and don't forget to add 'Bearer' HTTP Authorization Scheme before the token.</p>",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful operation",
        "jsonExample": "",
        "isExpanded": true,
        "headers": [
          {
            "kind": "optional",
            "name": "X-RateLimit-Remaining",
            "type": "integer<int32>",
            "description": "The number of requests that can still be made without triggering a failure response.",
            "format": "int32"
          },
          {
            "kind": "optional",
            "name": "X-RateLimit-Limit",
            "type": "integer<int32>",
            "description": "The average number of requests per minute allowed.",
            "format": "int32"
          },
          {
            "kind": "optional",
            "name": "X-RateLimit-Burst",
            "type": "integer<int32>",
            "description": "The maximum number of concurrent API requests allowed.",
            "format": "int32"
          }
        ],
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Nics",
            "schema": [
              {
                "name": "id",
                "kind": "optional",
                "type": "string",
                "readOnly": true,
                "description": "The resource's unique identifier.",
                "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
              },
              {
                "name": "type",
                "kind": "optional",
                "type": "object",
                "description": "",
                "complexType": "allOf",
                "complexItems": [
                  {
                    "name": "Type",
                    "description": "",
                    "modelRef": "#/components/schemas/Type",
                    "schema": []
                  }
                ],
                "schema": []
              },
              {
                "name": "href",
                "kind": "optional",
                "type": "string<uri>",
                "readOnly": true,
                "description": "<p>URL to the object representation (absolute path).</p>",
                "example": "<RESOURCE-URI>",
                "format": "uri"
              },
              {
                "name": "items",
                "kind": "optional",
                "type": "array",
                "description": "Array of items in the collection.",
                "modelRef": "#/components/schemas/Nic",
                "customType": "Nic[]",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "The resource's unique identifier.",
                    "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "complexType": "allOf",
                    "complexItems": [
                      {
                        "name": "Type",
                        "description": "",
                        "modelRef": "#/components/schemas/Type",
                        "schema": []
                      }
                    ],
                    "schema": []
                  },
                  {
                    "name": "href",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL to the object representation (absolute path).</p>",
                    "example": "<RESOURCE-URI>",
                    "format": "uri"
                  },
                  {
                    "name": "metadata",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/DatacenterElementMetadata",
                    "customType": "DatacenterElementMetadata",
                    "schema": [
                      {
                        "name": "etag",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "<p>Resource's Entity Tag as defined in <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11\" target=\"_blank\">http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11</a>  Entity Tag is also added as an 'ETag response header to requests which don't use 'depth' parameter.</p>",
                        "example": "45480eb3fbfc31f1d916c1eaa4abdcc3"
                      },
                      {
                        "name": "createdDate",
                        "kind": "optional",
                        "type": "string<date-time>",
                        "readOnly": true,
                        "description": "The last time the resource was created.",
                        "example": "2015-12-04T14:34:09.809Z",
                        "format": "date-time"
                      },
                      {
                        "name": "createdBy",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The user who created the resource.",
                        "example": "user@example.com"
                      },
                      {
                        "name": "createdByUserId",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The unique ID of the user who created the resource.",
                        "example": "user@example.com"
                      },
                      {
                        "name": "lastModifiedDate",
                        "kind": "optional",
                        "type": "string<date-time>",
                        "readOnly": true,
                        "description": "The last time the resource was modified.",
                        "example": "2015-12-04T14:34:09.809Z",
                        "format": "date-time"
                      },
                      {
                        "name": "lastModifiedBy",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The user who last modified the resource.",
                        "example": "user@example.com"
                      },
                      {
                        "name": "lastModifiedByUserId",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The unique ID of the user who last modified the resource.",
                        "example": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
                      },
                      {
                        "name": "state",
                        "kind": "optional",
                        "type": "string<AVAILABLE | INACTIVE | BUSY | DEPLOYING | ACTIVE | FAILED | SUSPENDED | FAILED_SUSPENDED | UPDATING | FAILED_UPDATING | DESTROYING | FAILED_DESTROYING | TERMINATED | HIBERNATING | FAILED_HIBERNATING | MAINTENANCE | FAILED_MAINTENANCE | UNKNOWN>",
                        "readOnly": true,
                        "description": "<p>State of the resource. <em>AVAILABLE</em> There are no pending modification requests for this item; <em>BUSY</em> There is at least one modification request pending and all following requests will be queued; <em>INACTIVE</em> Resource has been de-provisioned; <em>DEPLOYING</em> Resource state DEPLOYING - relevant for Kubernetes cluster/nodepool; <em>ACTIVE</em> Resource state ACTIVE - relevant for Kubernetes cluster/nodepool; <em>FAILED</em> Resource state FAILED - relevant for Kubernetes cluster/nodepool; <em>SUSPENDED</em> Resource state SUSPENDED - relevant for Kubernetes cluster/nodepool; <em>FAILED_SUSPENDED</em> Resource state FAILED_SUSPENDED - relevant for Kubernetes cluster; <em>UPDATING</em> Resource state UPDATING - relevant for Kubernetes cluster/nodepool; <em>FAILED_UPDATING</em> Resource state FAILED_UPDATING - relevant for Kubernetes cluster/nodepool; <em>DESTROYING</em> Resource state DESTROYING - relevant for Kubernetes cluster; <em>FAILED_DESTROYING</em> Resource state FAILED_DESTROYING - relevant for Kubernetes cluster/nodepool; <em>TERMINATED</em> Resource state TERMINATED - relevant for Kubernetes cluster/nodepool; <em>HIBERNATING</em> Resource state HIBERNATING - relevant for Kubernetes cluster/nodepool; <em>FAILED_HIBERNATING</em> Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool; <em>MAINTENANCE</em> Resource state MAINTENANCE - relevant for Kubernetes cluster/nodepool; <em>FAILED_HIBERNATING</em> Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool.</p>",
                        "example": "AVAILABLE",
                        "enum": [
                          "AVAILABLE",
                          "INACTIVE",
                          "BUSY",
                          "DEPLOYING",
                          "ACTIVE",
                          "FAILED",
                          "SUSPENDED",
                          "FAILED_SUSPENDED",
                          "UPDATING",
                          "FAILED_UPDATING",
                          "DESTROYING",
                          "FAILED_DESTROYING",
                          "TERMINATED",
                          "HIBERNATING",
                          "FAILED_HIBERNATING",
                          "MAINTENANCE",
                          "FAILED_MAINTENANCE",
                          "UNKNOWN"
                        ]
                      }
                    ]
                  },
                  {
                    "name": "properties",
                    "kind": "required",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/NicProperties",
                    "customType": "NicProperties",
                    "schema": [
                      {
                        "name": "name",
                        "kind": "optional",
                        "type": "string",
                        "description": "The name of the  resource.",
                        "example": "My resource"
                      },
                      {
                        "name": "mac",
                        "kind": "optional",
                        "type": "string",
                        "description": "The MAC address of the NIC.",
                        "example": "00:0a:95:9d:68:16"
                      },
                      {
                        "name": "ips",
                        "kind": "optional",
                        "type": "array",
                        "nullable": true,
                        "description": "<p>Collection of IP addresses, assigned to the NIC. Explicitly assigned public IPs need to come from reserved IP blocks. Passing value null or empty array will assign an IP address automatically.</p>",
                        "example": "[\"10.160.12.12\"]",
                        "itemType": "string",
                        "customType": "string[]",
                        "itemExample": "",
                        "itemDefault": ""
                      },
                      {
                        "name": "dhcp",
                        "kind": "optional",
                        "type": "boolean",
                        "description": "Indicates if the NIC will reserve an IP using DHCP.",
                        "example": true,
                        "default": true
                      },
                      {
                        "name": "ipv6Ips",
                        "kind": "optional",
                        "type": "array",
                        "nullable": true,
                        "description": "<p>If this NIC is connected to an IPv6 enabled LAN then this property contains the IPv6 IP addresses of the NIC. The maximum number of IPv6 IP addresses per NIC is 50, if you need more, contact support. If you leave this property 'null' when adding a NIC, when changing the NIC's IPv6 CIDR block, when changing the LAN's IPv6 CIDR block or when moving the NIC to a different IPv6 enabled LAN, then we will automatically assign the same number of IPv6 addresses which you had before from the NICs new CIDR block. If you leave this property 'null' while not changing the CIDR block, the IPv6 IP addresses won't be changed either. You can also provide your own self choosen IPv6 addresses, which then must be inside the IPv6 CIDR block of this NIC.</p>",
                        "example": "[\"2001:db8:b06d:8f5a:0609::1\"]",
                        "itemType": "string",
                        "customType": "string[]",
                        "itemExample": "",
                        "itemDefault": ""
                      },
                      {
                        "name": "ipv6CidrBlock",
                        "kind": "optional",
                        "type": "string",
                        "nullable": true,
                        "description": "<p>If this NIC is connected to an IPv6 enabled LAN then this property contains the /80 IPv6 CIDR block of the NIC. If you leave this property 'null' when adding a NIC to an IPv6-enabled LAN, then an IPv6 CIDR block will automatically be assigned to the NIC, but you can also specify an /80 IPv6 CIDR block for the NIC on your own, which must be inside the /64 IPv6 CIDR block of the LAN and unique. This value can only be set, if the LAN already has an IPv6 CIDR block assigned. An IPv6-enabled LAN is limited to a maximum of 65,536 NICs.</p>",
                        "example": "2001:db8:b06d:8f5a:0609::/80"
                      },
                      {
                        "name": "dhcpv6",
                        "kind": "optional",
                        "type": "boolean",
                        "nullable": true,
                        "description": "Indicates if the NIC will receive an IPv6 using DHCP. It can be set to 'true' or 'false' only if this NIC is connected to an IPv6 enabled LAN.",
                        "example": true,
                        "default": true
                      },
                      {
                        "name": "lan",
                        "kind": "required",
                        "type": "integer<int32>",
                        "description": "<p>The LAN ID the NIC will be on. If the LAN ID does not exist, it will be implicitly created.</p>",
                        "example": 2,
                        "format": "int32"
                      },
                      {
                        "name": "firewallActive",
                        "kind": "optional",
                        "type": "boolean",
                        "description": "<p>Activate or deactivate the firewall. By default, an active firewall without any defined rules will block all incoming network traffic except for the firewall rules that explicitly allows certain protocols, IP addresses and ports.</p>",
                        "example": false
                      },
                      {
                        "name": "firewallType",
                        "kind": "optional",
                        "type": "string<INGRESS | EGRESS | BIDIRECTIONAL>",
                        "description": "<p>The type of firewall rules that will be allowed on the NIC. If not specified, the default INGRESS value is used.</p>",
                        "example": "INGRESS",
                        "enum": [
                          "INGRESS",
                          "EGRESS",
                          "BIDIRECTIONAL"
                        ]
                      },
                      {
                        "name": "deviceNumber",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "readOnly": true,
                        "description": "<p>The Logical Unit Number (LUN) of the storage volume. Null if this NIC was created using Cloud API and no DCD changes were performed on the Datacenter.</p>",
                        "example": 3,
                        "format": "int32"
                      },
                      {
                        "name": "pciSlot",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "readOnly": true,
                        "description": "The PCI slot number for the NIC.",
                        "example": 7,
                        "format": "int32"
                      },
                      {
                        "name": "vnet",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>The vnet ID that belongs to this NIC; Requires system privileges, for internal usage only</p>",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "entities",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/NicEntities",
                    "customType": "NicEntities",
                    "schema": [
                      {
                        "name": "flowlogs",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "modelRef": "#/components/schemas/FlowLogs",
                        "customType": "FlowLogs",
                        "schema": [
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "description": "The resource's unique identifier.",
                            "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
                          },
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "complexType": "allOf",
                            "complexItems": [
                              {
                                "name": "Type",
                                "description": "",
                                "modelRef": "#/components/schemas/Type",
                                "schema": []
                              }
                            ],
                            "schema": []
                          },
                          {
                            "name": "href",
                            "kind": "optional",
                            "type": "string<uri>",
                            "readOnly": true,
                            "description": "<p>The URL to the object representation (absolute path).</p>",
                            "example": "<RESOURCE-URI>",
                            "format": "uri"
                          },
                          {
                            "name": "items",
                            "kind": "optional",
                            "type": "array",
                            "readOnly": true,
                            "description": "Array of items in the collection.",
                            "modelRef": "#/components/schemas/FlowLog",
                            "customType": "FlowLog[]",
                            "schema": [
                              {
                                "name": "id",
                                "kind": "optional",
                                "type": "string",
                                "readOnly": true,
                                "description": "The resource's unique identifier.",
                                "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
                              },
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "object",
                                "description": "",
                                "complexType": "allOf",
                                "complexItems": [
                                  {
                                    "name": "Type",
                                    "description": "",
                                    "modelRef": "#/components/schemas/Type",
                                    "schema": []
                                  }
                                ],
                                "schema": []
                              },
                              {
                                "name": "href",
                                "kind": "optional",
                                "type": "string<uri>",
                                "readOnly": true,
                                "description": "<p>The URL to the object representation (absolute path).</p>",
                                "example": "<RESOURCE-URI>",
                                "format": "uri"
                              },
                              {
                                "name": "metadata",
                                "kind": "optional",
                                "type": "object",
                                "description": "",
                                "modelRef": "#/components/schemas/DatacenterElementMetadata",
                                "customType": "DatacenterElementMetadata",
                                "schema": [
                                  {
                                    "name": "etag",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "<p>Resource's Entity Tag as defined in <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11\" target=\"_blank\">http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11</a>  Entity Tag is also added as an 'ETag response header to requests which don't use 'depth' parameter.</p>",
                                    "example": "45480eb3fbfc31f1d916c1eaa4abdcc3"
                                  },
                                  {
                                    "name": "createdDate",
                                    "kind": "optional",
                                    "type": "string<date-time>",
                                    "readOnly": true,
                                    "description": "The last time the resource was created.",
                                    "example": "2015-12-04T14:34:09.809Z",
                                    "format": "date-time"
                                  },
                                  {
                                    "name": "createdBy",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "The user who created the resource.",
                                    "example": "user@example.com"
                                  },
                                  {
                                    "name": "createdByUserId",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "The unique ID of the user who created the resource.",
                                    "example": "user@example.com"
                                  },
                                  {
                                    "name": "lastModifiedDate",
                                    "kind": "optional",
                                    "type": "string<date-time>",
                                    "readOnly": true,
                                    "description": "The last time the resource was modified.",
                                    "example": "2015-12-04T14:34:09.809Z",
                                    "format": "date-time"
                                  },
                                  {
                                    "name": "lastModifiedBy",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "The user who last modified the resource.",
                                    "example": "user@example.com"
                                  },
                                  {
                                    "name": "lastModifiedByUserId",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "The unique ID of the user who last modified the resource.",
                                    "example": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
                                  },
                                  {
                                    "name": "state",
                                    "kind": "optional",
                                    "type": "string<AVAILABLE | INACTIVE | BUSY | DEPLOYING | ACTIVE | FAILED | SUSPENDED | FAILED_SUSPENDED | UPDATING | FAILED_UPDATING | DESTROYING | FAILED_DESTROYING | TERMINATED | HIBERNATING | FAILED_HIBERNATING | MAINTENANCE | FAILED_MAINTENANCE | UNKNOWN>",
                                    "readOnly": true,
                                    "description": "<p>State of the resource. <em>AVAILABLE</em> There are no pending modification requests for this item; <em>BUSY</em> There is at least one modification request pending and all following requests will be queued; <em>INACTIVE</em> Resource has been de-provisioned; <em>DEPLOYING</em> Resource state DEPLOYING - relevant for Kubernetes cluster/nodepool; <em>ACTIVE</em> Resource state ACTIVE - relevant for Kubernetes cluster/nodepool; <em>FAILED</em> Resource state FAILED - relevant for Kubernetes cluster/nodepool; <em>SUSPENDED</em> Resource state SUSPENDED - relevant for Kubernetes cluster/nodepool; <em>FAILED_SUSPENDED</em> Resource state FAILED_SUSPENDED - relevant for Kubernetes cluster; <em>UPDATING</em> Resource state UPDATING - relevant for Kubernetes cluster/nodepool; <em>FAILED_UPDATING</em> Resource state FAILED_UPDATING - relevant for Kubernetes cluster/nodepool; <em>DESTROYING</em> Resource state DESTROYING - relevant for Kubernetes cluster; <em>FAILED_DESTROYING</em> Resource state FAILED_DESTROYING - relevant for Kubernetes cluster/nodepool; <em>TERMINATED</em> Resource state TERMINATED - relevant for Kubernetes cluster/nodepool; <em>HIBERNATING</em> Resource state HIBERNATING - relevant for Kubernetes cluster/nodepool; <em>FAILED_HIBERNATING</em> Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool; <em>MAINTENANCE</em> Resource state MAINTENANCE - relevant for Kubernetes cluster/nodepool; <em>FAILED_HIBERNATING</em> Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool.</p>",
                                    "example": "AVAILABLE",
                                    "enum": [
                                      "AVAILABLE",
                                      "INACTIVE",
                                      "BUSY",
                                      "DEPLOYING",
                                      "ACTIVE",
                                      "FAILED",
                                      "SUSPENDED",
                                      "FAILED_SUSPENDED",
                                      "UPDATING",
                                      "FAILED_UPDATING",
                                      "DESTROYING",
                                      "FAILED_DESTROYING",
                                      "TERMINATED",
                                      "HIBERNATING",
                                      "FAILED_HIBERNATING",
                                      "MAINTENANCE",
                                      "FAILED_MAINTENANCE",
                                      "UNKNOWN"
                                    ]
                                  }
                                ]
                              },
                              {
                                "name": "properties",
                                "kind": "required",
                                "type": "object",
                                "description": "",
                                "modelRef": "#/components/schemas/FlowLogProperties",
                                "customType": "FlowLogProperties",
                                "schema": [
                                  {
                                    "name": "name",
                                    "kind": "required",
                                    "type": "string",
                                    "description": "The resource name.",
                                    "example": "My resource"
                                  },
                                  {
                                    "name": "action",
                                    "kind": "required",
                                    "type": "string<ACCEPTED | REJECTED | ALL>",
                                    "description": "Specifies the traffic action pattern.",
                                    "example": "ACCEPTED",
                                    "enum": [
                                      "ACCEPTED",
                                      "REJECTED",
                                      "ALL"
                                    ]
                                  },
                                  {
                                    "name": "direction",
                                    "kind": "required",
                                    "type": "string<INGRESS | EGRESS | BIDIRECTIONAL>",
                                    "description": "Specifies the traffic direction pattern.",
                                    "example": "INGRESS",
                                    "enum": [
                                      "INGRESS",
                                      "EGRESS",
                                      "BIDIRECTIONAL"
                                    ]
                                  },
                                  {
                                    "name": "bucket",
                                    "kind": "required",
                                    "type": "string",
                                    "description": "The bucket name of an existing IONOS Cloud Object storage bucket.",
                                    "example": "bucketName/key"
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "name": "offset",
                            "kind": "optional",
                            "type": "number",
                            "description": "<p>The offset (if specified in the request).</p>",
                            "modelRef": "#/components/schemas/PaginationOffsetOptional",
                            "customType": "PaginationOffsetOptional",
                            "schema": []
                          },
                          {
                            "name": "limit",
                            "kind": "optional",
                            "type": "number",
                            "description": "<p>The limit (if specified in the request).</p>",
                            "example": 1000,
                            "modelRef": "#/components/schemas/PaginationLimitOptional",
                            "customType": "PaginationLimitOptional",
                            "schema": []
                          },
                          {
                            "name": "_links",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/PaginationLinks",
                            "customType": "PaginationLinks",
                            "schema": [
                              {
                                "name": "prev",
                                "kind": "optional",
                                "type": "string<uri>",
                                "readOnly": true,
                                "description": "<p>URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0.</p>",
                                "example": "<PREVIOUS-PAGE-URI>",
                                "format": "uri"
                              },
                              {
                                "name": "self",
                                "kind": "optional",
                                "type": "string<uri>",
                                "readOnly": true,
                                "description": "<p>URL (with offset and limit parameters) of the current page.</p>",
                                "example": "<THIS-PAGE-URI>",
                                "format": "uri"
                              },
                              {
                                "name": "next",
                                "kind": "optional",
                                "type": "string<uri>",
                                "readOnly": true,
                                "description": "<p>URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements.</p>",
                                "example": "<NEXT-PAGE-URI>",
                                "format": "uri"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "name": "firewallrules",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "modelRef": "#/components/schemas/FirewallRules",
                        "customType": "FirewallRules",
                        "schema": [
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "description": "The resource's unique identifier.",
                            "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
                          },
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "complexType": "allOf",
                            "complexItems": [
                              {
                                "name": "Type",
                                "description": "",
                                "modelRef": "#/components/schemas/Type",
                                "schema": []
                              }
                            ],
                            "schema": []
                          },
                          {
                            "name": "href",
                            "kind": "optional",
                            "type": "string<uri>",
                            "readOnly": true,
                            "description": "<p>URL to the object representation (absolute path).</p>",
                            "example": "<RESOURCE-URI>",
                            "format": "uri"
                          },
                          {
                            "name": "items",
                            "kind": "optional",
                            "type": "array",
                            "readOnly": true,
                            "description": "Array of items in the collection.",
                            "modelRef": "#/components/schemas/FirewallRule",
                            "customType": "FirewallRule[]",
                            "schema": [
                              {
                                "name": "id",
                                "kind": "optional",
                                "type": "string",
                                "readOnly": true,
                                "description": "The resource's unique identifier.",
                                "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
                              },
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "object",
                                "description": "",
                                "complexType": "allOf",
                                "complexItems": [
                                  {
                                    "name": "Type",
                                    "description": "",
                                    "modelRef": "#/components/schemas/Type",
                                    "schema": []
                                  }
                                ],
                                "schema": []
                              },
                              {
                                "name": "href",
                                "kind": "optional",
                                "type": "string<uri>",
                                "readOnly": true,
                                "description": "<p>URL to the object representation (absolute path).</p>",
                                "example": "<RESOURCE-URI>",
                                "format": "uri"
                              },
                              {
                                "name": "metadata",
                                "kind": "optional",
                                "type": "object",
                                "description": "",
                                "modelRef": "#/components/schemas/DatacenterElementMetadata",
                                "customType": "DatacenterElementMetadata",
                                "schema": [
                                  {
                                    "name": "etag",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "<p>Resource's Entity Tag as defined in <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11\" target=\"_blank\">http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11</a>  Entity Tag is also added as an 'ETag response header to requests which don't use 'depth' parameter.</p>",
                                    "example": "45480eb3fbfc31f1d916c1eaa4abdcc3"
                                  },
                                  {
                                    "name": "createdDate",
                                    "kind": "optional",
                                    "type": "string<date-time>",
                                    "readOnly": true,
                                    "description": "The last time the resource was created.",
                                    "example": "2015-12-04T14:34:09.809Z",
                                    "format": "date-time"
                                  },
                                  {
                                    "name": "createdBy",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "The user who created the resource.",
                                    "example": "user@example.com"
                                  },
                                  {
                                    "name": "createdByUserId",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "The unique ID of the user who created the resource.",
                                    "example": "user@example.com"
                                  },
                                  {
                                    "name": "lastModifiedDate",
                                    "kind": "optional",
                                    "type": "string<date-time>",
                                    "readOnly": true,
                                    "description": "The last time the resource was modified.",
                                    "example": "2015-12-04T14:34:09.809Z",
                                    "format": "date-time"
                                  },
                                  {
                                    "name": "lastModifiedBy",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "The user who last modified the resource.",
                                    "example": "user@example.com"
                                  },
                                  {
                                    "name": "lastModifiedByUserId",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "The unique ID of the user who last modified the resource.",
                                    "example": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
                                  },
                                  {
                                    "name": "state",
                                    "kind": "optional",
                                    "type": "string<AVAILABLE | INACTIVE | BUSY | DEPLOYING | ACTIVE | FAILED | SUSPENDED | FAILED_SUSPENDED | UPDATING | FAILED_UPDATING | DESTROYING | FAILED_DESTROYING | TERMINATED | HIBERNATING | FAILED_HIBERNATING | MAINTENANCE | FAILED_MAINTENANCE | UNKNOWN>",
                                    "readOnly": true,
                                    "description": "<p>State of the resource. <em>AVAILABLE</em> There are no pending modification requests for this item; <em>BUSY</em> There is at least one modification request pending and all following requests will be queued; <em>INACTIVE</em> Resource has been de-provisioned; <em>DEPLOYING</em> Resource state DEPLOYING - relevant for Kubernetes cluster/nodepool; <em>ACTIVE</em> Resource state ACTIVE - relevant for Kubernetes cluster/nodepool; <em>FAILED</em> Resource state FAILED - relevant for Kubernetes cluster/nodepool; <em>SUSPENDED</em> Resource state SUSPENDED - relevant for Kubernetes cluster/nodepool; <em>FAILED_SUSPENDED</em> Resource state FAILED_SUSPENDED - relevant for Kubernetes cluster; <em>UPDATING</em> Resource state UPDATING - relevant for Kubernetes cluster/nodepool; <em>FAILED_UPDATING</em> Resource state FAILED_UPDATING - relevant for Kubernetes cluster/nodepool; <em>DESTROYING</em> Resource state DESTROYING - relevant for Kubernetes cluster; <em>FAILED_DESTROYING</em> Resource state FAILED_DESTROYING - relevant for Kubernetes cluster/nodepool; <em>TERMINATED</em> Resource state TERMINATED - relevant for Kubernetes cluster/nodepool; <em>HIBERNATING</em> Resource state HIBERNATING - relevant for Kubernetes cluster/nodepool; <em>FAILED_HIBERNATING</em> Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool; <em>MAINTENANCE</em> Resource state MAINTENANCE - relevant for Kubernetes cluster/nodepool; <em>FAILED_HIBERNATING</em> Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool.</p>",
                                    "example": "AVAILABLE",
                                    "enum": [
                                      "AVAILABLE",
                                      "INACTIVE",
                                      "BUSY",
                                      "DEPLOYING",
                                      "ACTIVE",
                                      "FAILED",
                                      "SUSPENDED",
                                      "FAILED_SUSPENDED",
                                      "UPDATING",
                                      "FAILED_UPDATING",
                                      "DESTROYING",
                                      "FAILED_DESTROYING",
                                      "TERMINATED",
                                      "HIBERNATING",
                                      "FAILED_HIBERNATING",
                                      "MAINTENANCE",
                                      "FAILED_MAINTENANCE",
                                      "UNKNOWN"
                                    ]
                                  }
                                ]
                              },
                              {
                                "name": "properties",
                                "kind": "required",
                                "type": "object",
                                "description": "",
                                "modelRef": "#/components/schemas/FirewallruleProperties",
                                "customType": "FirewallruleProperties",
                                "schema": [
                                  {
                                    "name": "name",
                                    "kind": "optional",
                                    "type": "string",
                                    "description": "The name of the  resource.",
                                    "example": "My resource"
                                  },
                                  {
                                    "name": "protocol",
                                    "kind": "required",
                                    "type": "string<TCP | UDP | ICMP | ICMPv6 | GRE | VRRP | ESP | AH | ANY>",
                                    "description": "<p>The protocol for the rule. Property cannot be modified after it is created (disallowed in update requests).</p>",
                                    "example": "TCP",
                                    "enum": [
                                      "TCP",
                                      "UDP",
                                      "ICMP",
                                      "ICMPv6",
                                      "GRE",
                                      "VRRP",
                                      "ESP",
                                      "AH",
                                      "ANY"
                                    ]
                                  },
                                  {
                                    "name": "sourceMac",
                                    "kind": "optional",
                                    "type": "string",
                                    "nullable": true,
                                    "description": "<p>Only traffic originating from the respective MAC address is allowed. Valid format: aa:bb:cc:dd:ee</p><div></div>. Value null allows traffic from any MAC address.<p></p>",
                                    "example": "00:0a:95:9d:68:16"
                                  },
                                  {
                                    "name": "ipVersion",
                                    "kind": "optional",
                                    "type": "string<IPv4 | IPv6>",
                                    "nullable": true,
                                    "description": "<p>The IP version for this rule. If sourceIp or targetIp are specified, you can omit this value - the IP version will then be deduced from the IP address(es) used; if you specify it anyway, it must match the specified IP address(es). If neither sourceIp nor targetIp are specified, this rule allows traffic only for the specified IP version. If neither sourceIp, targetIp nor ipVersion are specified, this rule will only allow IPv4 traffic.</p>",
                                    "example": "IPv4",
                                    "enum": [
                                      "IPv4",
                                      "IPv6"
                                    ]
                                  },
                                  {
                                    "name": "sourceIp",
                                    "kind": "optional",
                                    "type": "string",
                                    "nullable": true,
                                    "description": "<p>Only traffic originating from the respective IP address (or CIDR block) is allowed. Value null allows traffic from any IP address (according to the selected ipVersion).</p>",
                                    "example": "22.231.113.64"
                                  },
                                  {
                                    "name": "targetIp",
                                    "kind": "optional",
                                    "type": "string",
                                    "nullable": true,
                                    "description": "<p>If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address (or CIDR block) of the NIC is allowed. Value null allows traffic to any target IP address (according to the selected ipVersion).</p>",
                                    "example": "22.231.113.64"
                                  },
                                  {
                                    "name": "icmpCode",
                                    "kind": "optional",
                                    "type": "integer<int32>",
                                    "nullable": true,
                                    "description": "<p>Defines the allowed code (from 0 to 254) if protocol ICMP or ICMPv6 is chosen. Value null allows all codes.</p>",
                                    "example": 0,
                                    "format": "int32",
                                    "minimum": 0,
                                    "maximum": 254
                                  },
                                  {
                                    "name": "icmpType",
                                    "kind": "optional",
                                    "type": "integer<int32>",
                                    "nullable": true,
                                    "description": "<p>Defines the allowed type (from 0 to 254) if the protocol ICMP or ICMPv6 is chosen. Value null allows all types.</p>",
                                    "example": 8,
                                    "format": "int32",
                                    "minimum": 0,
                                    "maximum": 254
                                  },
                                  {
                                    "name": "portRangeStart",
                                    "kind": "optional",
                                    "type": "integer<int32>",
                                    "description": "<p>Defines the start range of the allowed port (from 1 to 65535) if protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd value null to allow all ports.</p>",
                                    "example": 8,
                                    "format": "int32",
                                    "minimum": 1,
                                    "maximum": 65535
                                  },
                                  {
                                    "name": "portRangeEnd",
                                    "kind": "optional",
                                    "type": "integer<int32>",
                                    "description": "<p>Defines the end range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd null to allow all ports.</p>",
                                    "example": 8,
                                    "format": "int32",
                                    "minimum": 1,
                                    "maximum": 65535
                                  },
                                  {
                                    "name": "type",
                                    "kind": "optional",
                                    "type": "string<INGRESS | EGRESS>",
                                    "description": "<p>The type of the firewall rule. If not specified, the default INGRESS value is used.</p>",
                                    "example": "INGRESS",
                                    "enum": [
                                      "INGRESS",
                                      "EGRESS"
                                    ]
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "name": "offset",
                            "kind": "optional",
                            "type": "number",
                            "description": "<p>The offset (if specified in the request).</p>",
                            "modelRef": "#/components/schemas/PaginationOffsetOptional",
                            "customType": "PaginationOffsetOptional",
                            "schema": []
                          },
                          {
                            "name": "limit",
                            "kind": "optional",
                            "type": "number",
                            "description": "<p>The limit (if specified in the request).</p>",
                            "example": 1000,
                            "modelRef": "#/components/schemas/PaginationLimitOptional",
                            "customType": "PaginationLimitOptional",
                            "schema": []
                          },
                          {
                            "name": "_links",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/PaginationLinks",
                            "customType": "PaginationLinks",
                            "schema": [
                              {
                                "name": "prev",
                                "kind": "optional",
                                "type": "string<uri>",
                                "readOnly": true,
                                "description": "<p>URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0.</p>",
                                "example": "<PREVIOUS-PAGE-URI>",
                                "format": "uri"
                              },
                              {
                                "name": "self",
                                "kind": "optional",
                                "type": "string<uri>",
                                "readOnly": true,
                                "description": "<p>URL (with offset and limit parameters) of the current page.</p>",
                                "example": "<THIS-PAGE-URI>",
                                "format": "uri"
                              },
                              {
                                "name": "next",
                                "kind": "optional",
                                "type": "string<uri>",
                                "readOnly": true,
                                "description": "<p>URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements.</p>",
                                "example": "<NEXT-PAGE-URI>",
                                "format": "uri"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "name": "securitygroups",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "modelRef": "#/components/schemas/SecurityGroups",
                        "customType": "SecurityGroups",
                        "schema": [
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "description": "The resource's unique identifier.",
                            "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
                          },
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "complexType": "allOf",
                            "complexItems": [
                              {
                                "name": "Type",
                                "description": "",
                                "modelRef": "#/components/schemas/Type",
                                "schema": []
                              }
                            ],
                            "schema": []
                          },
                          {
                            "name": "href",
                            "kind": "optional",
                            "type": "string<uri>",
                            "readOnly": true,
                            "description": "<p>The URL to the object representation (absolute path).</p>",
                            "example": "<RESOURCE-URI>",
                            "format": "uri"
                          },
                          {
                            "name": "items",
                            "kind": "optional",
                            "type": "array",
                            "readOnly": true,
                            "description": "Array of items in the collection.",
                            "modelRef": "#/components/schemas/SecurityGroup",
                            "customType": "SecurityGroup[]",
                            "schema": [
                              {
                                "name": "id",
                                "kind": "optional",
                                "type": "string",
                                "readOnly": true,
                                "description": "The resource's unique identifier.",
                                "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
                              },
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "object",
                                "description": "",
                                "complexType": "allOf",
                                "complexItems": [
                                  {
                                    "name": "Type",
                                    "description": "",
                                    "modelRef": "#/components/schemas/Type",
                                    "schema": []
                                  }
                                ],
                                "schema": []
                              },
                              {
                                "name": "href",
                                "kind": "optional",
                                "type": "string<uri>",
                                "readOnly": true,
                                "description": "<p>The URL to the object representation (absolute path).</p>",
                                "example": "<RESOURCE-URI>",
                                "format": "uri"
                              },
                              {
                                "name": "metadata",
                                "kind": "optional",
                                "type": "object",
                                "description": "",
                                "modelRef": "#/components/schemas/DatacenterElementMetadata",
                                "customType": "DatacenterElementMetadata",
                                "schema": [
                                  {
                                    "name": "etag",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "<p>Resource's Entity Tag as defined in <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11\" target=\"_blank\">http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11</a>  Entity Tag is also added as an 'ETag response header to requests which don't use 'depth' parameter.</p>",
                                    "example": "45480eb3fbfc31f1d916c1eaa4abdcc3"
                                  },
                                  {
                                    "name": "createdDate",
                                    "kind": "optional",
                                    "type": "string<date-time>",
                                    "readOnly": true,
                                    "description": "The last time the resource was created.",
                                    "example": "2015-12-04T14:34:09.809Z",
                                    "format": "date-time"
                                  },
                                  {
                                    "name": "createdBy",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "The user who created the resource.",
                                    "example": "user@example.com"
                                  },
                                  {
                                    "name": "createdByUserId",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "The unique ID of the user who created the resource.",
                                    "example": "user@example.com"
                                  },
                                  {
                                    "name": "lastModifiedDate",
                                    "kind": "optional",
                                    "type": "string<date-time>",
                                    "readOnly": true,
                                    "description": "The last time the resource was modified.",
                                    "example": "2015-12-04T14:34:09.809Z",
                                    "format": "date-time"
                                  },
                                  {
                                    "name": "lastModifiedBy",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "The user who last modified the resource.",
                                    "example": "user@example.com"
                                  },
                                  {
                                    "name": "lastModifiedByUserId",
                                    "kind": "optional",
                                    "type": "string",
                                    "readOnly": true,
                                    "description": "The unique ID of the user who last modified the resource.",
                                    "example": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
                                  },
                                  {
                                    "name": "state",
                                    "kind": "optional",
                                    "type": "string<AVAILABLE | INACTIVE | BUSY | DEPLOYING | ACTIVE | FAILED | SUSPENDED | FAILED_SUSPENDED | UPDATING | FAILED_UPDATING | DESTROYING | FAILED_DESTROYING | TERMINATED | HIBERNATING | FAILED_HIBERNATING | MAINTENANCE | FAILED_MAINTENANCE | UNKNOWN>",
                                    "readOnly": true,
                                    "description": "<p>State of the resource. <em>AVAILABLE</em> There are no pending modification requests for this item; <em>BUSY</em> There is at least one modification request pending and all following requests will be queued; <em>INACTIVE</em> Resource has been de-provisioned; <em>DEPLOYING</em> Resource state DEPLOYING - relevant for Kubernetes cluster/nodepool; <em>ACTIVE</em> Resource state ACTIVE - relevant for Kubernetes cluster/nodepool; <em>FAILED</em> Resource state FAILED - relevant for Kubernetes cluster/nodepool; <em>SUSPENDED</em> Resource state SUSPENDED - relevant for Kubernetes cluster/nodepool; <em>FAILED_SUSPENDED</em> Resource state FAILED_SUSPENDED - relevant for Kubernetes cluster; <em>UPDATING</em> Resource state UPDATING - relevant for Kubernetes cluster/nodepool; <em>FAILED_UPDATING</em> Resource state FAILED_UPDATING - relevant for Kubernetes cluster/nodepool; <em>DESTROYING</em> Resource state DESTROYING - relevant for Kubernetes cluster; <em>FAILED_DESTROYING</em> Resource state FAILED_DESTROYING - relevant for Kubernetes cluster/nodepool; <em>TERMINATED</em> Resource state TERMINATED - relevant for Kubernetes cluster/nodepool; <em>HIBERNATING</em> Resource state HIBERNATING - relevant for Kubernetes cluster/nodepool; <em>FAILED_HIBERNATING</em> Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool; <em>MAINTENANCE</em> Resource state MAINTENANCE - relevant for Kubernetes cluster/nodepool; <em>FAILED_HIBERNATING</em> Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool.</p>",
                                    "example": "AVAILABLE",
                                    "enum": [
                                      "AVAILABLE",
                                      "INACTIVE",
                                      "BUSY",
                                      "DEPLOYING",
                                      "ACTIVE",
                                      "FAILED",
                                      "SUSPENDED",
                                      "FAILED_SUSPENDED",
                                      "UPDATING",
                                      "FAILED_UPDATING",
                                      "DESTROYING",
                                      "FAILED_DESTROYING",
                                      "TERMINATED",
                                      "HIBERNATING",
                                      "FAILED_HIBERNATING",
                                      "MAINTENANCE",
                                      "FAILED_MAINTENANCE",
                                      "UNKNOWN"
                                    ]
                                  }
                                ]
                              },
                              {
                                "name": "properties",
                                "kind": "required",
                                "type": "object",
                                "description": "",
                                "modelRef": "#/components/schemas/SecurityGroupProperties",
                                "customType": "SecurityGroupProperties",
                                "schema": [
                                  {
                                    "name": "name",
                                    "kind": "required",
                                    "type": "string",
                                    "description": "The name of the security group.",
                                    "example": "My security group",
                                    "maxLength": 60
                                  },
                                  {
                                    "name": "description",
                                    "kind": "optional",
                                    "type": "string",
                                    "description": "The description of the security group.",
                                    "example": "My security group description",
                                    "maxLength": 300
                                  }
                                ]
                              },
                              {
                                "name": "entities",
                                "kind": "optional",
                                "type": "object",
                                "description": "",
                                "modelRef": "#/components/schemas/SecurityGroupEntities",
                                "customType": "SecurityGroupEntities",
                                "schema": [
                                  {
                                    "name": "rules",
                                    "kind": "optional",
                                    "type": "object",
                                    "description": "",
                                    "modelRef": "#/components/schemas/FirewallRules",
                                    "customType": "FirewallRules",
                                    "schema": [
                                      {
                                        "name": "",
                                        "description": "",
                                        "customType": "Max depth limit reached"
                                      }
                                    ]
                                  },
                                  {
                                    "name": "nics",
                                    "kind": "optional",
                                    "type": "object",
                                    "description": "",
                                    "modelRef": "#/components/schemas/Nics",
                                    "customType": "Nics",
                                    "schema": [
                                      {
                                        "name": "",
                                        "description": "",
                                        "customType": "Max depth limit reached"
                                      }
                                    ]
                                  },
                                  {
                                    "name": "servers",
                                    "kind": "optional",
                                    "type": "object",
                                    "description": "",
                                    "modelRef": "#/components/schemas/Servers",
                                    "customType": "Servers",
                                    "schema": [
                                      {
                                        "name": "",
                                        "description": "",
                                        "customType": "Max depth limit reached"
                                      }
                                    ]
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "name": "offset",
                            "kind": "optional",
                            "type": "number",
                            "description": "<p>The offset (if specified in the request).</p>",
                            "modelRef": "#/components/schemas/PaginationOffsetOptional",
                            "customType": "PaginationOffsetOptional",
                            "schema": []
                          },
                          {
                            "name": "limit",
                            "kind": "optional",
                            "type": "number",
                            "description": "<p>The limit (if specified in the request).</p>",
                            "example": 1000,
                            "modelRef": "#/components/schemas/PaginationLimitOptional",
                            "customType": "PaginationLimitOptional",
                            "schema": []
                          },
                          {
                            "name": "_links",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/PaginationLinks",
                            "customType": "PaginationLinks",
                            "schema": [
                              {
                                "name": "prev",
                                "kind": "optional",
                                "type": "string<uri>",
                                "readOnly": true,
                                "description": "<p>URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0.</p>",
                                "example": "<PREVIOUS-PAGE-URI>",
                                "format": "uri"
                              },
                              {
                                "name": "self",
                                "kind": "optional",
                                "type": "string<uri>",
                                "readOnly": true,
                                "description": "<p>URL (with offset and limit parameters) of the current page.</p>",
                                "example": "<THIS-PAGE-URI>",
                                "format": "uri"
                              },
                              {
                                "name": "next",
                                "kind": "optional",
                                "type": "string<uri>",
                                "readOnly": true,
                                "description": "<p>URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements.</p>",
                                "example": "<NEXT-PAGE-URI>",
                                "format": "uri"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "name": "offset",
                "kind": "optional",
                "type": "number",
                "description": "<p>The offset (if specified in the request).</p>",
                "modelRef": "#/components/schemas/PaginationOffsetOptional",
                "customType": "PaginationOffsetOptional",
                "schema": []
              },
              {
                "name": "limit",
                "kind": "optional",
                "type": "number",
                "description": "<p>The limit (if specified in the request).</p>",
                "example": 1000,
                "modelRef": "#/components/schemas/PaginationLimitOptional",
                "customType": "PaginationLimitOptional",
                "schema": []
              },
              {
                "name": "_links",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/PaginationLinks",
                "customType": "PaginationLinks",
                "schema": [
                  {
                    "name": "prev",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0.</p>",
                    "example": "<PREVIOUS-PAGE-URI>",
                    "format": "uri"
                  },
                  {
                    "name": "self",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL (with offset and limit parameters) of the current page.</p>",
                    "example": "<THIS-PAGE-URI>",
                    "format": "uri"
                  },
                  {
                    "name": "next",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements.</p>",
                    "example": "<NEXT-PAGE-URI>",
                    "format": "uri"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/Nics",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "default",
        "description": "<p>Any erroneous status code: 400 (parse error), 401 (auth error), 402 (trial access), 403 (insufficient privileges), 404 (not found), 405 (unsupported HTTP method), 415 (unsupported content type, 422 (validation error), 429 (request rate limit exceeded), 500 (server error), or 503 (maintenance).</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Error",
            "schema": [
              {
                "name": "httpStatus",
                "kind": "optional",
                "type": "integer<int32>",
                "readOnly": true,
                "description": "HTTP status code of the operation.",
                "example": 400,
                "format": "int32"
              },
              {
                "name": "messages",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/ErrorMessage",
                "customType": "ErrorMessage[]",
                "schema": [
                  {
                    "name": "errorCode",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "Application internal error code.",
                    "example": "123"
                  },
                  {
                    "name": "message",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "<p>A human-readable message.</p>",
                    "example": "Error message example."
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/Error",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "04HVp-pFluzmh0JggQALn",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 'https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers/{serverId}/nics?pretty=true&depth=integer%3Cint32%3E&offset=integer%3Cint32%3E&limit=1000' \\\n     --header 'accept: application/json'"
        },
        {
          "id": "qoBD9_e6cCpvHc1VitM0b",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers/{serverId}/nics?pretty=true&depth=integer<int32>&offset=integer<int32>&limit=1000\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "JBIIjA6yZZ-1lAOlNCgaX",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers/{serverId}/nics?pretty=true&depth=integer<int32>&offset=integer<int32>&limit=1000\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "3m1xmUu94EpLkI2VXzgLr",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/servers/{serverId}/nics?pretty=true&depth=integer<int32>&offset=integer<int32>&limit=1000\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "04HVp-pFluzmh0JggQALn"
    },
    "results": {
      "languages": [
        {
          "id": "2OkZ5Px8wygkRY0yghciP",
          "language": "200",
          "code": "// Successful operation\n{\n  \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n  \"type\": {},\n  \"href\": \"<RESOURCE-URI>\",\n  \"items\": [\n    {\n      \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n      \"type\": {},\n      \"href\": \"<RESOURCE-URI>\",\n      \"metadata\": {\n        \"etag\": \"45480eb3fbfc31f1d916c1eaa4abdcc3\",\n        \"createdDate\": \"2015-12-04T14:34:09.809Z\",\n        \"createdBy\": \"user@example.com\",\n        \"createdByUserId\": \"user@example.com\",\n        \"lastModifiedDate\": \"2015-12-04T14:34:09.809Z\",\n        \"lastModifiedBy\": \"user@example.com\",\n        \"lastModifiedByUserId\": \"63cef532-26fe-4a64-a4e0-de7c8a506c90\",\n        \"state\": \"AVAILABLE\"\n      },\n      \"properties\": {\n        \"name\": \"My resource\",\n        \"mac\": \"00:0a:95:9d:68:16\",\n        \"ips\": [\n          \"\"\n        ],\n        \"dhcp\": true,\n        \"ipv6Ips\": [\n          \"\"\n        ],\n        \"ipv6CidrBlock\": \"2001:db8:b06d:8f5a:0609::/80\",\n        \"dhcpv6\": true,\n        \"lan\": 2,\n        \"firewallActive\": false,\n        \"firewallType\": \"INGRESS\",\n        \"deviceNumber\": 3,\n        \"pciSlot\": 7,\n        \"vnet\": \"\"\n      },\n      \"entities\": {\n        \"flowlogs\": {\n          \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n          \"type\": {},\n          \"href\": \"<RESOURCE-URI>\",\n          \"items\": [\n            {\n              \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n              \"type\": {},\n              \"href\": \"<RESOURCE-URI>\",\n              \"metadata\": {\n                \"etag\": \"45480eb3fbfc31f1d916c1eaa4abdcc3\",\n                \"createdDate\": \"2015-12-04T14:34:09.809Z\",\n                \"createdBy\": \"user@example.com\",\n                \"createdByUserId\": \"user@example.com\",\n                \"lastModifiedDate\": \"2015-12-04T14:34:09.809Z\",\n                \"lastModifiedBy\": \"user@example.com\",\n                \"lastModifiedByUserId\": \"63cef532-26fe-4a64-a4e0-de7c8a506c90\",\n                \"state\": \"AVAILABLE\"\n              },\n              \"properties\": {\n                \"name\": \"My resource\",\n                \"action\": \"ACCEPTED\",\n                \"direction\": \"INGRESS\",\n                \"bucket\": \"bucketName/key\"\n              }\n            }\n          ],\n          \"offset\": 0,\n          \"limit\": 1000,\n          \"_links\": {\n            \"prev\": \"<PREVIOUS-PAGE-URI>\",\n            \"self\": \"<THIS-PAGE-URI>\",\n            \"next\": \"<NEXT-PAGE-URI>\"\n          }\n        },\n        \"firewallrules\": {\n          \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n          \"type\": {},\n          \"href\": \"<RESOURCE-URI>\",\n          \"items\": [\n            {\n              \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n              \"type\": {},\n              \"href\": \"<RESOURCE-URI>\",\n              \"metadata\": {\n                \"etag\": \"45480eb3fbfc31f1d916c1eaa4abdcc3\",\n                \"createdDate\": \"2015-12-04T14:34:09.809Z\",\n                \"createdBy\": \"user@example.com\",\n                \"createdByUserId\": \"user@example.com\",\n                \"lastModifiedDate\": \"2015-12-04T14:34:09.809Z\",\n                \"lastModifiedBy\": \"user@example.com\",\n                \"lastModifiedByUserId\": \"63cef532-26fe-4a64-a4e0-de7c8a506c90\",\n                \"state\": \"AVAILABLE\"\n              },\n              \"properties\": {\n                \"name\": \"My resource\",\n                \"protocol\": \"TCP\",\n                \"sourceMac\": \"00:0a:95:9d:68:16\",\n                \"ipVersion\": \"IPv4\",\n                \"sourceIp\": \"22.231.113.64\",\n                \"targetIp\": \"22.231.113.64\",\n                \"icmpCode\": \"\",\n                \"icmpType\": 8,\n                \"portRangeStart\": 8,\n                \"portRangeEnd\": 8,\n                \"type\": \"INGRESS\"\n              }\n            }\n          ],\n          \"offset\": 0,\n          \"limit\": 1000,\n          \"_links\": {\n            \"prev\": \"<PREVIOUS-PAGE-URI>\",\n            \"self\": \"<THIS-PAGE-URI>\",\n            \"next\": \"<NEXT-PAGE-URI>\"\n          }\n        },\n        \"securitygroups\": {\n          \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n          \"type\": {},\n          \"href\": \"<RESOURCE-URI>\",\n          \"items\": [\n            {\n              \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n              \"type\": {},\n              \"href\": \"<RESOURCE-URI>\",\n              \"metadata\": {\n                \"etag\": \"45480eb3fbfc31f1d916c1eaa4abdcc3\",\n                \"createdDate\": \"2015-12-04T14:34:09.809Z\",\n                \"createdBy\": \"user@example.com\",\n                \"createdByUserId\": \"user@example.com\",\n                \"lastModifiedDate\": \"2015-12-04T14:34:09.809Z\",\n                \"lastModifiedBy\": \"user@example.com\",\n                \"lastModifiedByUserId\": \"63cef532-26fe-4a64-a4e0-de7c8a506c90\",\n                \"state\": \"AVAILABLE\"\n              },\n              \"properties\": {\n                \"name\": \"My security group\",\n                \"description\": \"My security group description\"\n              },\n              \"entities\": {\n                \"rules\": {\n                  \"\": \"\"\n                },\n                \"nics\": {\n                  \"\": \"\"\n                },\n                \"servers\": {\n                  \"\": \"\"\n                }\n              }\n            }\n          ],\n          \"offset\": 0,\n          \"limit\": 1000,\n          \"_links\": {\n            \"prev\": \"<PREVIOUS-PAGE-URI>\",\n            \"self\": \"<THIS-PAGE-URI>\",\n            \"next\": \"<NEXT-PAGE-URI>\"\n          }\n        }\n      }\n    }\n  ],\n  \"offset\": 0,\n  \"limit\": 1000,\n  \"_links\": {\n    \"prev\": \"<PREVIOUS-PAGE-URI>\",\n    \"self\": \"<THIS-PAGE-URI>\",\n    \"next\": \"<NEXT-PAGE-URI>\"\n  }\n}"
        },
        {
          "id": "E4hfTvzSd1qpdEhz-on5x",
          "language": "default",
          "code": "// Any erroneous status code: 400 (parse error), 401 (auth error), 402 (trial access), 403 (insufficient privileges), 404 (not found), 405 (unsupported HTTP method), 415 (unsupported content type, 422 (validation error), 429 (request rate limit exceeded), 500 (server error), or 503 (maintenance).\n{\n  \"httpStatus\": 400,\n  \"messages\": [\n    {\n      \"errorCode\": \"123\",\n      \"message\": \"Error message example.\"\n    }\n  ]\n}"
        }
      ],
      "selectedLanguageId": "2OkZ5Px8wygkRY0yghciP"
    }
  },
  "children": [
    {
      "text": "",
      "id": "i-5P8mOD0WAIFSIWKXsJD"
    }
  ]
}