import * as pulumi from "@pulumi/pulumi"; /** * Data Source schema for Volcengine::VPC::TrafficMirrorFilterRule */ export declare function getTrafficMirrorFilterRule(args: GetTrafficMirrorFilterRuleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTrafficMirrorFilterRule. */ export interface GetTrafficMirrorFilterRuleArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getTrafficMirrorFilterRule. */ export interface GetTrafficMirrorFilterRuleResult { /** * Description of the filtering rule. */ readonly description: string; /** * Destination network segment. */ readonly destinationCidrBlock: string; /** * Destination port range for traffic. When Protocol is all or icmp, this parameter is not required. The default value is -1/-1, which means no port restriction. When Protocol is tcp or udp, this parameter is required. Valid range is 1–65535. Use a forward slash (/) to separate the start and end ports, such as 1/50, 80/80. */ readonly destinationPortRange: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Traffic capture policy. accept: allow. When traffic from the mirror source matches this rule, the traffic is copied to the mirror target for monitoring and analysis. reject: reject. When traffic from the mirror source matches this rule, the traffic is not copied and monitoring and analysis are not performed. */ readonly policy: string; /** * Priority of the filtering rule, ranging from 1 to 1000. The smaller the value, the higher the priority. Default is 1, which is the highest priority. For the same filtering condition and direction, the priority must be unique. */ readonly priority: number; /** * Traffic protocol. Valid values: all: includes TCP, UDP, and ICMP protocols. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. */ readonly protocol: string; /** * Source network segment. */ readonly sourceCidrBlock: string; /** * Source port range for traffic. When Protocol is all or icmp, this parameter is not required. The default value is -1/-1, which means no port restriction. When Protocol is tcp or udp, this parameter is required. Valid range is 1–65535. Use a forward slash (/) to separate the start and end ports, such as 1/50, 80/80. */ readonly sourcePortRange: string; /** * Status of the filtering rule. Available: available. Deleting: deleting. Creating: creating. Pending: modifying. */ readonly status: string; /** * Traffic direction. Valid values: ingress: inbound rule. egress: outbound rule. */ readonly trafficDirection: string; /** * Filtering condition ID. */ readonly trafficMirrorFilterId: string; /** * Filtering rule ID. */ readonly trafficMirrorFilterRuleId: string; } /** * Data Source schema for Volcengine::VPC::TrafficMirrorFilterRule */ export declare function getTrafficMirrorFilterRuleOutput(args: GetTrafficMirrorFilterRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTrafficMirrorFilterRule. */ export interface GetTrafficMirrorFilterRuleOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }