pub struct SecurityPolicyRuleNetworkMatcher {
pub dest_ip_ranges: Option<Vec<String>>,
pub dest_ports: Option<Vec<String>>,
pub ip_protocols: Option<Vec<String>>,
pub src_asns: Option<Vec<u32>>,
pub src_ip_ranges: Option<Vec<String>>,
pub src_ports: Option<Vec<String>>,
pub src_region_codes: Option<Vec<String>>,
pub user_defined_fields: Option<Vec<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch>>,
}
Expand description
Represents a match condition that incoming network traffic is evaluated against.
This type is not used in any activity, and only used as part of another schema.
Fields§
§dest_ip_ranges: Option<Vec<String>>
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
dest_ports: Option<Vec<String>>
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”).
ip_protocols: Option<Vec<String>>
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”.
src_asns: Option<Vec<u32>>
BGP Autonomous System Number associated with the source IP address.
src_ip_ranges: Option<Vec<String>>
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
src_ports: Option<Vec<String>>
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”).
src_region_codes: Option<Vec<String>>
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
user_defined_fields: Option<Vec<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch>>
User-defined fields. Each element names a defined field and lists the matching values for that field.
Trait Implementations§
Source§impl Clone for SecurityPolicyRuleNetworkMatcher
impl Clone for SecurityPolicyRuleNetworkMatcher
Source§fn clone(&self) -> SecurityPolicyRuleNetworkMatcher
fn clone(&self) -> SecurityPolicyRuleNetworkMatcher
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for SecurityPolicyRuleNetworkMatcher
impl Default for SecurityPolicyRuleNetworkMatcher
Source§fn default() -> SecurityPolicyRuleNetworkMatcher
fn default() -> SecurityPolicyRuleNetworkMatcher
Source§impl<'de> Deserialize<'de> for SecurityPolicyRuleNetworkMatcher
impl<'de> Deserialize<'de> for SecurityPolicyRuleNetworkMatcher
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for SecurityPolicyRuleNetworkMatcher
Auto Trait Implementations§
impl Freeze for SecurityPolicyRuleNetworkMatcher
impl RefUnwindSafe for SecurityPolicyRuleNetworkMatcher
impl Send for SecurityPolicyRuleNetworkMatcher
impl Sync for SecurityPolicyRuleNetworkMatcher
impl Unpin for SecurityPolicyRuleNetworkMatcher
impl UnwindSafe for SecurityPolicyRuleNetworkMatcher
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more