Skip to main content

CreateFirewallRule

VCS-wall-1015 Create a firewall rule. Only tenant admin can use

Header Parameters
  • x-api-host string required

    Default value: openstack-taichung-default-2

    Authentication Required Parameters

Request Body required

Post

  • name string required

    Firewall rule name

  • project int32 required

    Project ID

  • protocol string

    Possible values: [icmp, tcp, udp]

    Firewall rule IP protocol

  • action string

    Possible values: [allow, deny, reject]

    The action that the API performs on traffic

  • destination_ip_address string

    The destination IPv4 or IPv6 address or CIDR

  • destination_port string

    The destination port or port range ex: (80:90)

  • source_ip_address string

    The source IPv4 or IPv6 address or CIDR

  • source_port string

    The source port or port range ex: (80:90)

Responses

OK


Schema
  • id int64
  • ip_version int64
  • name string
  • project int64
  • platform string
  • protocol string
  • action string
  • destination_ip_address string
  • destination_port string
  • source_ip_address string
  • source_port string
Loading...