Scaleway · Schema

scaleway.vpc.v2.AclRule

AICloud ComputingContainersDatabaseEuropean CloudInfrastructureKubernetesServerlessStorage

Properties

Name Type Description
protocol string Protocol to which this rule applies.
source string Source IP range to which this rule applies (CIDR notation with subnet mask). (IP network)
src_port_low integer Starting port of the source port range to which this rule applies (inclusive).
src_port_high integer Ending port of the source port range to which this rule applies (inclusive).
destination string Destination IP range to which this rule applies (CIDR notation with subnet mask). (IP network)
dst_port_low integer Starting port of the destination port range to which this rule applies (inclusive).
dst_port_high integer Ending port of the destination port range to which this rule applies (inclusive).
action string Policy to apply to the packet.
description string Rule description.
View JSON Schema on GitHub

JSON Schema

scaleway-scalewayvpcv2aclrule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/scaleway.vpc.v2.AclRule",
  "title": "scaleway.vpc.v2.AclRule",
  "type": "object",
  "properties": {
    "protocol": {
      "type": "string",
      "description": "Protocol to which this rule applies.",
      "enum": [
        "ANY",
        "TCP",
        "UDP",
        "ICMP"
      ],
      "default": "ANY"
    },
    "source": {
      "type": "string",
      "description": "Source IP range to which this rule applies (CIDR notation with subnet mask). (IP network)",
      "example": "1.2.3.4/32"
    },
    "src_port_low": {
      "type": "integer",
      "description": "Starting port of the source port range to which this rule applies (inclusive).",
      "format": "uint32"
    },
    "src_port_high": {
      "type": "integer",
      "description": "Ending port of the source port range to which this rule applies (inclusive).",
      "format": "uint32"
    },
    "destination": {
      "type": "string",
      "description": "Destination IP range to which this rule applies (CIDR notation with subnet mask). (IP network)",
      "example": "1.2.3.4/32"
    },
    "dst_port_low": {
      "type": "integer",
      "description": "Starting port of the destination port range to which this rule applies (inclusive).",
      "format": "uint32"
    },
    "dst_port_high": {
      "type": "integer",
      "description": "Ending port of the destination port range to which this rule applies (inclusive).",
      "format": "uint32"
    },
    "action": {
      "type": "string",
      "description": "Policy to apply to the packet.",
      "enum": [
        "unknown_action",
        "accept",
        "drop"
      ],
      "default": "unknown_action"
    },
    "description": {
      "type": "string",
      "description": "Rule description.",
      "nullable": true
    }
  },
  "required": [
    "protocol",
    "source",
    "src_port_low",
    "src_port_high",
    "destination",
    "dst_port_low",
    "dst_port_high",
    "action",
    "description"
  ],
  "x-properties-order": [
    "protocol",
    "source",
    "src_port_low",
    "src_port_high",
    "destination",
    "dst_port_low",
    "dst_port_high",
    "action",
    "description"
  ]
}