Skip to content

Files

Latest commit

 

History

History
30 lines (24 loc) · 1.47 KB

PostFirewallsFirewallGroupIdRulesRequest.md

File metadata and controls

30 lines (24 loc) · 1.47 KB

VultrRuby::PostFirewallsFirewallGroupIdRulesRequest

Properties

Name Type Description Notes
ip_type String The type of IP rule. * v4 * v6
protocol String The protocol for this rule. * ICMP * TCP * UDP * GRE * ESP * AH
subnet String IP address representing a subnet. The IP address format must match with the "ip_type" parameter value.
subnet_size Integer The number of bits for the netmask in CIDR notation. Example: 32
port String TCP/UDP only. This field can be a specific port or a colon separated port range. [optional]
source String If the source string is given a value of "cloudflare" subnet and subnet_size will both be ignored. Possible values:
notes String User-supplied notes for this rule. [optional]

Example

require 'vultr_ruby'

instance = VultrRuby::PostFirewallsFirewallGroupIdRulesRequest.new(
  ip_type: null,
  protocol: null,
  subnet: null,
  subnet_size: null,
  port: null,
  source: null,
  notes: null
)