1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getCaptureFilters
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

oci.Core.getCaptureFilters

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

    This data source provides the list of Capture Filters in Oracle Cloud Infrastructure Core service.

    Lists the capture filters in the specified compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testCaptureFilters = oci.Core.getCaptureFilters({
        compartmentId: _var.compartment_id,
        displayName: _var.capture_filter_display_name,
        filterType: _var.capture_filter_filter_type,
        state: _var.capture_filter_state,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_capture_filters = oci.Core.get_capture_filters(compartment_id=var["compartment_id"],
        display_name=var["capture_filter_display_name"],
        filter_type=var["capture_filter_filter_type"],
        state=var["capture_filter_state"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Core.GetCaptureFilters(ctx, &core.GetCaptureFiltersArgs{
    			CompartmentId: _var.Compartment_id,
    			DisplayName:   pulumi.StringRef(_var.Capture_filter_display_name),
    			FilterType:    pulumi.StringRef(_var.Capture_filter_filter_type),
    			State:         pulumi.StringRef(_var.Capture_filter_state),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testCaptureFilters = Oci.Core.GetCaptureFilters.Invoke(new()
        {
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Capture_filter_display_name,
            FilterType = @var.Capture_filter_filter_type,
            State = @var.Capture_filter_state,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.CoreFunctions;
    import com.pulumi.oci.Core.inputs.GetCaptureFiltersArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testCaptureFilters = CoreFunctions.getCaptureFilters(GetCaptureFiltersArgs.builder()
                .compartmentId(var_.compartment_id())
                .displayName(var_.capture_filter_display_name())
                .filterType(var_.capture_filter_filter_type())
                .state(var_.capture_filter_state())
                .build());
    
        }
    }
    
    variables:
      testCaptureFilters:
        fn::invoke:
          Function: oci:Core:getCaptureFilters
          Arguments:
            compartmentId: ${var.compartment_id}
            displayName: ${var.capture_filter_display_name}
            filterType: ${var.capture_filter_filter_type}
            state: ${var.capture_filter_state}
    

    Using getCaptureFilters

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCaptureFilters(args: GetCaptureFiltersArgs, opts?: InvokeOptions): Promise<GetCaptureFiltersResult>
    function getCaptureFiltersOutput(args: GetCaptureFiltersOutputArgs, opts?: InvokeOptions): Output<GetCaptureFiltersResult>
    def get_capture_filters(compartment_id: Optional[str] = None,
                            display_name: Optional[str] = None,
                            filter_type: Optional[str] = None,
                            filters: Optional[Sequence[_core.GetCaptureFiltersFilter]] = None,
                            state: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetCaptureFiltersResult
    def get_capture_filters_output(compartment_id: Optional[pulumi.Input[str]] = None,
                            display_name: Optional[pulumi.Input[str]] = None,
                            filter_type: Optional[pulumi.Input[str]] = None,
                            filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetCaptureFiltersFilterArgs]]]] = None,
                            state: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetCaptureFiltersResult]
    func GetCaptureFilters(ctx *Context, args *GetCaptureFiltersArgs, opts ...InvokeOption) (*GetCaptureFiltersResult, error)
    func GetCaptureFiltersOutput(ctx *Context, args *GetCaptureFiltersOutputArgs, opts ...InvokeOption) GetCaptureFiltersResultOutput

    > Note: This function is named GetCaptureFilters in the Go SDK.

    public static class GetCaptureFilters 
    {
        public static Task<GetCaptureFiltersResult> InvokeAsync(GetCaptureFiltersArgs args, InvokeOptions? opts = null)
        public static Output<GetCaptureFiltersResult> Invoke(GetCaptureFiltersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCaptureFiltersResult> getCaptureFilters(GetCaptureFiltersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Core/getCaptureFilters:getCaptureFilters
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    FilterType string
    A filter to only return resources that match the given capture filterType. The filterType value is the string representation of enum - VTAP, FLOWLOG.
    Filters List<GetCaptureFiltersFilter>
    State string
    A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    FilterType string
    A filter to only return resources that match the given capture filterType. The filterType value is the string representation of enum - VTAP, FLOWLOG.
    Filters []GetCaptureFiltersFilter
    State string
    A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filterType String
    A filter to only return resources that match the given capture filterType. The filterType value is the string representation of enum - VTAP, FLOWLOG.
    filters List<GetCaptureFiltersFilter>
    state String
    A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
    compartmentId string
    The OCID of the compartment.
    displayName string
    A filter to return only resources that match the given display name exactly.
    filterType string
    A filter to only return resources that match the given capture filterType. The filterType value is the string representation of enum - VTAP, FLOWLOG.
    filters GetCaptureFiltersFilter[]
    state string
    A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
    compartment_id str
    The OCID of the compartment.
    display_name str
    A filter to return only resources that match the given display name exactly.
    filter_type str
    A filter to only return resources that match the given capture filterType. The filterType value is the string representation of enum - VTAP, FLOWLOG.
    filters Sequence[core.GetCaptureFiltersFilter]
    state str
    A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filterType String
    A filter to only return resources that match the given capture filterType. The filterType value is the string representation of enum - VTAP, FLOWLOG.
    filters List<Property Map>
    state String
    A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.

    getCaptureFilters Result

    The following output properties are available:

    CaptureFilters List<GetCaptureFiltersCaptureFilter>
    The list of capture_filters.
    CompartmentId string
    The OCID of the compartment containing the capture filter.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FilterType string
    Indicates which service will use this capture filter
    Filters List<GetCaptureFiltersFilter>
    State string
    The capture filter's current administrative state.
    CaptureFilters []GetCaptureFiltersCaptureFilter
    The list of capture_filters.
    CompartmentId string
    The OCID of the compartment containing the capture filter.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FilterType string
    Indicates which service will use this capture filter
    Filters []GetCaptureFiltersFilter
    State string
    The capture filter's current administrative state.
    captureFilters List<GetCaptureFiltersCaptureFilter>
    The list of capture_filters.
    compartmentId String
    The OCID of the compartment containing the capture filter.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filterType String
    Indicates which service will use this capture filter
    filters List<GetCaptureFiltersFilter>
    state String
    The capture filter's current administrative state.
    captureFilters GetCaptureFiltersCaptureFilter[]
    The list of capture_filters.
    compartmentId string
    The OCID of the compartment containing the capture filter.
    id string
    The provider-assigned unique ID for this managed resource.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filterType string
    Indicates which service will use this capture filter
    filters GetCaptureFiltersFilter[]
    state string
    The capture filter's current administrative state.
    capture_filters Sequence[core.GetCaptureFiltersCaptureFilter]
    The list of capture_filters.
    compartment_id str
    The OCID of the compartment containing the capture filter.
    id str
    The provider-assigned unique ID for this managed resource.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filter_type str
    Indicates which service will use this capture filter
    filters Sequence[core.GetCaptureFiltersFilter]
    state str
    The capture filter's current administrative state.
    captureFilters List<Property Map>
    The list of capture_filters.
    compartmentId String
    The OCID of the compartment containing the capture filter.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filterType String
    Indicates which service will use this capture filter
    filters List<Property Map>
    state String
    The capture filter's current administrative state.

    Supporting Types

    GetCaptureFiltersCaptureFilter

    CompartmentId string
    The OCID of the compartment.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    FilterType string
    A filter to only return resources that match the given capture filterType. The filterType value is the string representation of enum - VTAP, FLOWLOG.
    FlowLogCaptureFilterRules List<GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRule>
    The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.
    FreeformTags Dictionary<string, object>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The capture filter's Oracle ID (OCID).
    State string
    A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
    TimeCreated string
    The date and time the capture filter was created, in the format defined by RFC3339. Example: 2021-08-25T21:10:29.600Z
    VtapCaptureFilterRules List<GetCaptureFiltersCaptureFilterVtapCaptureFilterRule>
    The set of rules governing what traffic a VTAP mirrors.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    FilterType string
    A filter to only return resources that match the given capture filterType. The filterType value is the string representation of enum - VTAP, FLOWLOG.
    FlowLogCaptureFilterRules []GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRule
    The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.
    FreeformTags map[string]interface{}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The capture filter's Oracle ID (OCID).
    State string
    A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
    TimeCreated string
    The date and time the capture filter was created, in the format defined by RFC3339. Example: 2021-08-25T21:10:29.600Z
    VtapCaptureFilterRules []GetCaptureFiltersCaptureFilterVtapCaptureFilterRule
    The set of rules governing what traffic a VTAP mirrors.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A filter to return only resources that match the given display name exactly.
    filterType String
    A filter to only return resources that match the given capture filterType. The filterType value is the string representation of enum - VTAP, FLOWLOG.
    flowLogCaptureFilterRules List<GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRule>
    The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.
    freeformTags Map<String,Object>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The capture filter's Oracle ID (OCID).
    state String
    A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
    timeCreated String
    The date and time the capture filter was created, in the format defined by RFC3339. Example: 2021-08-25T21:10:29.600Z
    vtapCaptureFilterRules List<GetCaptureFiltersCaptureFilterVtapCaptureFilterRule>
    The set of rules governing what traffic a VTAP mirrors.
    compartmentId string
    The OCID of the compartment.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    A filter to return only resources that match the given display name exactly.
    filterType string
    A filter to only return resources that match the given capture filterType. The filterType value is the string representation of enum - VTAP, FLOWLOG.
    flowLogCaptureFilterRules GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRule[]
    The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.
    freeformTags {[key: string]: any}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The capture filter's Oracle ID (OCID).
    state string
    A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
    timeCreated string
    The date and time the capture filter was created, in the format defined by RFC3339. Example: 2021-08-25T21:10:29.600Z
    vtapCaptureFilterRules GetCaptureFiltersCaptureFilterVtapCaptureFilterRule[]
    The set of rules governing what traffic a VTAP mirrors.
    compartment_id str
    The OCID of the compartment.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    A filter to return only resources that match the given display name exactly.
    filter_type str
    A filter to only return resources that match the given capture filterType. The filterType value is the string representation of enum - VTAP, FLOWLOG.
    flow_log_capture_filter_rules Sequence[core.GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRule]
    The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.
    freeform_tags Mapping[str, Any]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    The capture filter's Oracle ID (OCID).
    state str
    A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
    time_created str
    The date and time the capture filter was created, in the format defined by RFC3339. Example: 2021-08-25T21:10:29.600Z
    vtap_capture_filter_rules Sequence[core.GetCaptureFiltersCaptureFilterVtapCaptureFilterRule]
    The set of rules governing what traffic a VTAP mirrors.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A filter to return only resources that match the given display name exactly.
    filterType String
    A filter to only return resources that match the given capture filterType. The filterType value is the string representation of enum - VTAP, FLOWLOG.
    flowLogCaptureFilterRules List<Property Map>
    The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.
    freeformTags Map<Any>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The capture filter's Oracle ID (OCID).
    state String
    A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
    timeCreated String
    The date and time the capture filter was created, in the format defined by RFC3339. Example: 2021-08-25T21:10:29.600Z
    vtapCaptureFilterRules List<Property Map>
    The set of rules governing what traffic a VTAP mirrors.

    GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRule

    DestinationCidr string
    Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
    FlowLogType string
    Type or types of flow logs to store. ALL includes records for both accepted traffic and rejected traffic.
    IcmpOptions List<GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleIcmpOption>
    Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    IsEnabled bool
    Indicates whether a flow log capture filter rule is enabled.
    Priority int
    A lower number indicates a higher priority, range 0-9. Each rule must have a distinct priority.
    Protocol string
    The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:

    • 1 = ICMP
    • 6 = TCP
    • 17 = UDP
    RuleAction string
    Include or exclude packets meeting this definition from mirrored traffic.
    SamplingRate int
    Sampling interval as 1 of X, where X is an integer not greater than 100000.
    SourceCidr string
    Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
    TcpOptions List<GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleTcpOption>
    Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    UdpOptions List<GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleUdpOption>
    Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.
    DestinationCidr string
    Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
    FlowLogType string
    Type or types of flow logs to store. ALL includes records for both accepted traffic and rejected traffic.
    IcmpOptions []GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleIcmpOption
    Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    IsEnabled bool
    Indicates whether a flow log capture filter rule is enabled.
    Priority int
    A lower number indicates a higher priority, range 0-9. Each rule must have a distinct priority.
    Protocol string
    The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:

    • 1 = ICMP
    • 6 = TCP
    • 17 = UDP
    RuleAction string
    Include or exclude packets meeting this definition from mirrored traffic.
    SamplingRate int
    Sampling interval as 1 of X, where X is an integer not greater than 100000.
    SourceCidr string
    Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
    TcpOptions []GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleTcpOption
    Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    UdpOptions []GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleUdpOption
    Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.
    destinationCidr String
    Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
    flowLogType String
    Type or types of flow logs to store. ALL includes records for both accepted traffic and rejected traffic.
    icmpOptions List<GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleIcmpOption>
    Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    isEnabled Boolean
    Indicates whether a flow log capture filter rule is enabled.
    priority Integer
    A lower number indicates a higher priority, range 0-9. Each rule must have a distinct priority.
    protocol String
    The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:

    • 1 = ICMP
    • 6 = TCP
    • 17 = UDP
    ruleAction String
    Include or exclude packets meeting this definition from mirrored traffic.
    samplingRate Integer
    Sampling interval as 1 of X, where X is an integer not greater than 100000.
    sourceCidr String
    Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
    tcpOptions List<GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleTcpOption>
    Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    udpOptions List<GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleUdpOption>
    Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.
    destinationCidr string
    Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
    flowLogType string
    Type or types of flow logs to store. ALL includes records for both accepted traffic and rejected traffic.
    icmpOptions GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleIcmpOption[]
    Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    isEnabled boolean
    Indicates whether a flow log capture filter rule is enabled.
    priority number
    A lower number indicates a higher priority, range 0-9. Each rule must have a distinct priority.
    protocol string
    The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:

    • 1 = ICMP
    • 6 = TCP
    • 17 = UDP
    ruleAction string
    Include or exclude packets meeting this definition from mirrored traffic.
    samplingRate number
    Sampling interval as 1 of X, where X is an integer not greater than 100000.
    sourceCidr string
    Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
    tcpOptions GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleTcpOption[]
    Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    udpOptions GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleUdpOption[]
    Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.
    destination_cidr str
    Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
    flow_log_type str
    Type or types of flow logs to store. ALL includes records for both accepted traffic and rejected traffic.
    icmp_options Sequence[core.GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleIcmpOption]
    Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    is_enabled bool
    Indicates whether a flow log capture filter rule is enabled.
    priority int
    A lower number indicates a higher priority, range 0-9. Each rule must have a distinct priority.
    protocol str
    The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:

    • 1 = ICMP
    • 6 = TCP
    • 17 = UDP
    rule_action str
    Include or exclude packets meeting this definition from mirrored traffic.
    sampling_rate int
    Sampling interval as 1 of X, where X is an integer not greater than 100000.
    source_cidr str
    Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
    tcp_options Sequence[core.GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleTcpOption]
    Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    udp_options Sequence[core.GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleUdpOption]
    Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.
    destinationCidr String
    Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
    flowLogType String
    Type or types of flow logs to store. ALL includes records for both accepted traffic and rejected traffic.
    icmpOptions List<Property Map>
    Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    isEnabled Boolean
    Indicates whether a flow log capture filter rule is enabled.
    priority Number
    A lower number indicates a higher priority, range 0-9. Each rule must have a distinct priority.
    protocol String
    The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:

    • 1 = ICMP
    • 6 = TCP
    • 17 = UDP
    ruleAction String
    Include or exclude packets meeting this definition from mirrored traffic.
    samplingRate Number
    Sampling interval as 1 of X, where X is an integer not greater than 100000.
    sourceCidr String
    Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
    tcpOptions List<Property Map>
    Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    udpOptions List<Property Map>
    Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.

    GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleIcmpOption

    Code int
    The ICMP code (optional).
    Type int
    The ICMP type.
    Code int
    The ICMP code (optional).
    Type int
    The ICMP type.
    code Integer
    The ICMP code (optional).
    type Integer
    The ICMP type.
    code number
    The ICMP code (optional).
    type number
    The ICMP type.
    code int
    The ICMP code (optional).
    type int
    The ICMP type.
    code Number
    The ICMP code (optional).
    type Number
    The ICMP type.

    GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleTcpOption

    GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleTcpOptionDestinationPortRange

    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    max Integer
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    The minimum port number, which must not be greater than the maximum port number.
    max number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    The minimum port number, which must not be greater than the maximum port number.
    max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    The minimum port number, which must not be greater than the maximum port number.
    max Number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    The minimum port number, which must not be greater than the maximum port number.

    GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleTcpOptionSourcePortRange

    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    max Integer
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    The minimum port number, which must not be greater than the maximum port number.
    max number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    The minimum port number, which must not be greater than the maximum port number.
    max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    The minimum port number, which must not be greater than the maximum port number.
    max Number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    The minimum port number, which must not be greater than the maximum port number.

    GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleUdpOption

    GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleUdpOptionDestinationPortRange

    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    max Integer
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    The minimum port number, which must not be greater than the maximum port number.
    max number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    The minimum port number, which must not be greater than the maximum port number.
    max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    The minimum port number, which must not be greater than the maximum port number.
    max Number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    The minimum port number, which must not be greater than the maximum port number.

    GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleUdpOptionSourcePortRange

    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    max Integer
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    The minimum port number, which must not be greater than the maximum port number.
    max number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    The minimum port number, which must not be greater than the maximum port number.
    max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    The minimum port number, which must not be greater than the maximum port number.
    max Number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    The minimum port number, which must not be greater than the maximum port number.

    GetCaptureFiltersCaptureFilterVtapCaptureFilterRule

    DestinationCidr string
    Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
    IcmpOptions List<GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleIcmpOption>
    Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    Protocol string
    The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:

    • 1 = ICMP
    • 6 = TCP
    • 17 = UDP
    RuleAction string
    Include or exclude packets meeting this definition from mirrored traffic.
    SourceCidr string
    Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
    TcpOptions List<GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOption>
    Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    TrafficDirection string
    The traffic direction the VTAP is configured to mirror.
    UdpOptions List<GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOption>
    Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.
    DestinationCidr string
    Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
    IcmpOptions []GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleIcmpOption
    Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    Protocol string
    The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:

    • 1 = ICMP
    • 6 = TCP
    • 17 = UDP
    RuleAction string
    Include or exclude packets meeting this definition from mirrored traffic.
    SourceCidr string
    Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
    TcpOptions []GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOption
    Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    TrafficDirection string
    The traffic direction the VTAP is configured to mirror.
    UdpOptions []GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOption
    Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.
    destinationCidr String
    Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
    icmpOptions List<GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleIcmpOption>
    Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    protocol String
    The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:

    • 1 = ICMP
    • 6 = TCP
    • 17 = UDP
    ruleAction String
    Include or exclude packets meeting this definition from mirrored traffic.
    sourceCidr String
    Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
    tcpOptions List<GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOption>
    Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    trafficDirection String
    The traffic direction the VTAP is configured to mirror.
    udpOptions List<GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOption>
    Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.
    destinationCidr string
    Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
    icmpOptions GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleIcmpOption[]
    Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    protocol string
    The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:

    • 1 = ICMP
    • 6 = TCP
    • 17 = UDP
    ruleAction string
    Include or exclude packets meeting this definition from mirrored traffic.
    sourceCidr string
    Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
    tcpOptions GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOption[]
    Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    trafficDirection string
    The traffic direction the VTAP is configured to mirror.
    udpOptions GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOption[]
    Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.
    destination_cidr str
    Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
    icmp_options Sequence[core.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleIcmpOption]
    Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    protocol str
    The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:

    • 1 = ICMP
    • 6 = TCP
    • 17 = UDP
    rule_action str
    Include or exclude packets meeting this definition from mirrored traffic.
    source_cidr str
    Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
    tcp_options Sequence[core.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOption]
    Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    traffic_direction str
    The traffic direction the VTAP is configured to mirror.
    udp_options Sequence[core.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOption]
    Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.
    destinationCidr String
    Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
    icmpOptions List<Property Map>
    Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    protocol String
    The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:

    • 1 = ICMP
    • 6 = TCP
    • 17 = UDP
    ruleAction String
    Include or exclude packets meeting this definition from mirrored traffic.
    sourceCidr String
    Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
    tcpOptions List<Property Map>
    Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
    trafficDirection String
    The traffic direction the VTAP is configured to mirror.
    udpOptions List<Property Map>
    Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.

    GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleIcmpOption

    Code int
    The ICMP code (optional).
    Type int
    The ICMP type.
    Code int
    The ICMP code (optional).
    Type int
    The ICMP type.
    code Integer
    The ICMP code (optional).
    type Integer
    The ICMP type.
    code number
    The ICMP code (optional).
    type number
    The ICMP type.
    code int
    The ICMP code (optional).
    type int
    The ICMP type.
    code Number
    The ICMP code (optional).
    type Number
    The ICMP type.

    GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOption

    GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionDestinationPortRange

    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    max Integer
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    The minimum port number, which must not be greater than the maximum port number.
    max number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    The minimum port number, which must not be greater than the maximum port number.
    max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    The minimum port number, which must not be greater than the maximum port number.
    max Number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    The minimum port number, which must not be greater than the maximum port number.

    GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionSourcePortRange

    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    max Integer
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    The minimum port number, which must not be greater than the maximum port number.
    max number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    The minimum port number, which must not be greater than the maximum port number.
    max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    The minimum port number, which must not be greater than the maximum port number.
    max Number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    The minimum port number, which must not be greater than the maximum port number.

    GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOption

    GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionDestinationPortRange

    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    max Integer
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    The minimum port number, which must not be greater than the maximum port number.
    max number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    The minimum port number, which must not be greater than the maximum port number.
    max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    The minimum port number, which must not be greater than the maximum port number.
    max Number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    The minimum port number, which must not be greater than the maximum port number.

    GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionSourcePortRange

    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    Max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    The minimum port number, which must not be greater than the maximum port number.
    max Integer
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    The minimum port number, which must not be greater than the maximum port number.
    max number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    The minimum port number, which must not be greater than the maximum port number.
    max int
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    The minimum port number, which must not be greater than the maximum port number.
    max Number
    The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    The minimum port number, which must not be greater than the maximum port number.

    GetCaptureFiltersFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi