Struct google_compute1::api::PacketMirroringFilter
source · pub struct PacketMirroringFilter {
pub ip_protocols: Option<Vec<String>>,
pub cidr_ranges: Option<Vec<String>>,
pub direction: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ip_protocols: Option<Vec<String>>
Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored.
cidr_ranges: Option<Vec<String>>
One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use “0.0.0.0/0,::/0”. Note: Support for IPv6 traffic is in preview.
direction: Option<String>
Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
Trait Implementations§
source§impl Clone for PacketMirroringFilter
impl Clone for PacketMirroringFilter
source§fn clone(&self) -> PacketMirroringFilter
fn clone(&self) -> PacketMirroringFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more