Scaleway · Schema

scaleway.instance.v1.SetSecurityGroupRulesRequest.Rule

Artificial IntelligenceCloud ComputingContainersDatabaseEuropean CloudInfrastructureKubernetesServerlessStorage

Properties

Name Type Description
id string UUID of the security rule to update. If no value is provided, a new rule will be created.
action string Action to apply when the rule matches a packet.
protocol string Protocol family this rule applies to.
direction string Direction the rule applies to.
ip_range string Range of IP addresses these rules apply to. (IP network)
dest_port_from integer Beginning of the range of ports this rule applies to (inclusive). This value will be set to null if protocol is ICMP or ANY.
dest_port_to integer End of the range of ports this rule applies to (inclusive). This value will be set to null if protocol is ICMP or ANY, or if it is equal to dest_port_from.
position integer Position of this rule in the security group rules list. If several rules are passed with the same position, the resulting order is undefined.
editable boolean Indicates if this rule is editable. Rules with the value false will be ignored.
zone string Zone of the rule. This field is ignored.
View JSON Schema on GitHub

JSON Schema

scaleway-scalewayinstancev1setsecuritygrouprulesrequestrule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/scaleway.instance.v1.SetSecurityGroupRulesRequest.Rule",
  "title": "scaleway.instance.v1.SetSecurityGroupRulesRequest.Rule",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "UUID of the security rule to update. If no value is provided, a new rule will be created.",
      "nullable": true
    },
    "action": {
      "type": "string",
      "description": "Action to apply when the rule matches a packet.",
      "enum": [
        "unknown_action",
        "accept",
        "drop"
      ],
      "default": "unknown_action"
    },
    "protocol": {
      "type": "string",
      "description": "Protocol family this rule applies to.",
      "enum": [
        "unknown_protocol",
        "TCP",
        "UDP",
        "ICMP",
        "ANY"
      ],
      "default": "unknown_protocol"
    },
    "direction": {
      "type": "string",
      "description": "Direction the rule applies to.",
      "enum": [
        "unknown_direction",
        "inbound",
        "outbound"
      ],
      "default": "unknown_direction"
    },
    "ip_range": {
      "type": "string",
      "description": "Range of IP addresses these rules apply to. (IP network)",
      "example": "1.2.3.4/32"
    },
    "dest_port_from": {
      "type": "integer",
      "description": "Beginning of the range of ports this rule applies to (inclusive). This value will be set to null if protocol is ICMP or ANY.",
      "format": "uint32",
      "nullable": true
    },
    "dest_port_to": {
      "type": "integer",
      "description": "End of the range of ports this rule applies to (inclusive). This value will be set to null if protocol is ICMP or ANY, or if it is equal to dest_port_from.",
      "format": "uint32",
      "nullable": true
    },
    "position": {
      "type": "integer",
      "description": "Position of this rule in the security group rules list. If several rules are passed with the same position, the resulting order is undefined.",
      "format": "uint32"
    },
    "editable": {
      "type": "boolean",
      "description": "Indicates if this rule is editable. Rules with the value false will be ignored.",
      "nullable": true
    },
    "zone": {
      "type": "string",
      "description": "Zone of the rule. This field is ignored."
    }
  },
  "x-properties-order": [
    "id",
    "action",
    "protocol",
    "direction",
    "ip_range",
    "dest_port_from",
    "dest_port_to",
    "position",
    "editable",
    "zone"
  ]
}

Work with this as data

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

MCP server

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

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/scaleway-scalewayinstancev1setsecuritygrouprulesrequestrule"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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