GetRegionSecurityPolicyRuleNetworkMatch constructor

const GetRegionSecurityPolicyRuleNetworkMatch({
  1. required Input<List<String>> destIpRanges,
  2. required Input<List<String>> destPorts,
  3. required Input<List<String>> ipProtocols,
  4. required Input<List<int>> srcAsns,
  5. required Input<List<String>> srcIpRanges,
  6. required Input<List<String>> srcPorts,
  7. required Input<List<String>> srcRegionCodes,
  8. required Input<List<GetRegionSecurityPolicyRuleNetworkMatchUserDefinedField>> userDefinedFields,
})

Creates a new GetRegionSecurityPolicyRuleNetworkMatch. destIpRanges Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format. destPorts Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023"). ipProtocols IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp". srcAsns BGP Autonomous System Number associated with the source IP address. srcIpRanges Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format. srcPorts Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023"). srcRegionCodes Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address. userDefinedFields User-defined fields. Each element names a defined field and lists the matching values for that field.

Implementation

const GetRegionSecurityPolicyRuleNetworkMatch({
  required this.destIpRanges,
  required this.destPorts,
  required this.ipProtocols,
  required this.srcAsns,
  required this.srcIpRanges,
  required this.srcPorts,
  required this.srcRegionCodes,
  required this.userDefinedFields,
});