Oracle Cloud Infrastructure v2.15.0 published on Thursday, Oct 31, 2024 by Pulumi
oci.Core.getCaptureFilters
Explore with Pulumi AI
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: compartmentId,
displayName: captureFilterDisplayName,
filterType: captureFilterFilterType,
state: captureFilterState,
});
import pulumi
import pulumi_oci as oci
test_capture_filters = oci.Core.get_capture_filters(compartment_id=compartment_id,
display_name=capture_filter_display_name,
filter_type=capture_filter_filter_type,
state=capture_filter_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/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: compartmentId,
DisplayName: pulumi.StringRef(captureFilterDisplayName),
FilterType: pulumi.StringRef(captureFilterFilterType),
State: pulumi.StringRef(captureFilterState),
}, 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 = compartmentId,
DisplayName = captureFilterDisplayName,
FilterType = captureFilterFilterType,
State = captureFilterState,
});
});
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(compartmentId)
.displayName(captureFilterDisplayName)
.filterType(captureFilterFilterType)
.state(captureFilterState)
.build());
}
}
variables:
testCaptureFilters:
fn::invoke:
Function: oci:Core:getCaptureFilters
Arguments:
compartmentId: ${compartmentId}
displayName: ${captureFilterDisplayName}
filterType: ${captureFilterFilterType}
state: ${captureFilterState}
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:
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filter
Type 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<Get
Capture Filters Filter> - State string
- A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filter
Type 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
[]Get
Capture Filters Filter - State string
- A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filter
Type 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<Get
Capture Filters Filter> - state String
- A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
- compartment
Id string - The OCID of the compartment.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filter
Type 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
Get
Capture Filters Filter[] - 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.
Get Capture Filters Filter] - state str
- A filter to return only resources that match the given capture filter lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filter
Type 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:
- Capture
Filters List<GetCapture Filters Capture Filter> - The list of capture_filters.
- Compartment
Id string - The OCID of the compartment containing the capture filter.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filter
Type string - Indicates which service will use this capture filter
- Filters
List<Get
Capture Filters Filter> - State string
- The capture filter's current administrative state.
- Capture
Filters []GetCapture Filters Capture Filter - The list of capture_filters.
- Compartment
Id string - The OCID of the compartment containing the capture filter.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filter
Type string - Indicates which service will use this capture filter
- Filters
[]Get
Capture Filters Filter - State string
- The capture filter's current administrative state.
- capture
Filters List<GetCapture Filters Capture Filter> - The list of capture_filters.
- compartment
Id String - The OCID of the compartment containing the capture filter.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filter
Type String - Indicates which service will use this capture filter
- filters
List<Get
Capture Filters Filter> - state String
- The capture filter's current administrative state.
- capture
Filters GetCapture Filters Capture Filter[] - The list of capture_filters.
- compartment
Id string - The OCID of the compartment containing the capture filter.
- id string
- The provider-assigned unique ID for this managed resource.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filter
Type string - Indicates which service will use this capture filter
- filters
Get
Capture Filters Filter[] - state string
- The capture filter's current administrative state.
- capture_
filters Sequence[core.Get Capture Filters Capture Filter] - 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.
Get Capture Filters Filter] - state str
- The capture filter's current administrative state.
- capture
Filters List<Property Map> - The list of capture_filters.
- compartment
Id String - The OCID of the compartment containing the capture filter.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filter
Type 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
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, string>
- 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 string - A filter to return only resources that match the given display name exactly.
- Filter
Type string - 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 List<GetCapture Filter Rules Capture Filters Capture Filter Flow Log Capture Filter Rule> - The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.
- Dictionary<string, string>
- 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.
- Time
Created string - The date and time the capture filter was created, in the format defined by RFC3339. Example:
2021-08-25T21:10:29.600Z
- Vtap
Capture List<GetFilter Rules Capture Filters Capture Filter Vtap Capture Filter Rule> - The set of rules governing what traffic a VTAP mirrors.
- Compartment
Id string - The OCID of the compartment.
- map[string]string
- 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 string - A filter to return only resources that match the given display name exactly.
- Filter
Type string - 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 []GetCapture Filter Rules Capture Filters Capture Filter Flow Log Capture Filter Rule - The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.
- map[string]string
- 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.
- Time
Created string - The date and time the capture filter was created, in the format defined by RFC3339. Example:
2021-08-25T21:10:29.600Z
- Vtap
Capture []GetFilter Rules Capture Filters Capture Filter Vtap Capture Filter Rule - The set of rules governing what traffic a VTAP mirrors.
- compartment
Id String - The OCID of the compartment.
- Map<String,String>
- 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 String - A filter to return only resources that match the given display name exactly.
- filter
Type String - 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 List<GetCapture Filter Rules Capture Filters Capture Filter Flow Log Capture Filter Rule> - The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.
- Map<String,String>
- 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.
- time
Created String - The date and time the capture filter was created, in the format defined by RFC3339. Example:
2021-08-25T21:10:29.600Z
- vtap
Capture List<GetFilter Rules Capture Filters Capture Filter Vtap Capture Filter Rule> - The set of rules governing what traffic a VTAP mirrors.
- compartment
Id string - The OCID of the compartment.
- {[key: string]: string}
- 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 string - A filter to return only resources that match the given display name exactly.
- filter
Type string - 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 GetCapture Filter Rules Capture Filters Capture Filter Flow Log Capture Filter Rule[] - The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.
- {[key: string]: string}
- 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.
- time
Created string - The date and time the capture filter was created, in the format defined by RFC3339. Example:
2021-08-25T21:10:29.600Z
- vtap
Capture GetFilter Rules Capture Filters Capture Filter Vtap Capture Filter Rule[] - The set of rules governing what traffic a VTAP mirrors.
- compartment_
id str - The OCID of the compartment.
- Mapping[str, str]
- 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_ Sequence[core.capture_ filter_ rules Get Capture Filters Capture Filter Flow Log Capture Filter Rule] - The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.
- Mapping[str, str]
- 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_ Sequence[core.filter_ rules Get Capture Filters Capture Filter Vtap Capture Filter Rule] - The set of rules governing what traffic a VTAP mirrors.
- compartment
Id String - The OCID of the compartment.
- Map<String>
- 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 String - A filter to return only resources that match the given display name exactly.
- filter
Type String - 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 List<Property Map>Capture Filter Rules - The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.
- Map<String>
- 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.
- time
Created String - The date and time the capture filter was created, in the format defined by RFC3339. Example:
2021-08-25T21:10:29.600Z
- vtap
Capture List<Property Map>Filter Rules - The set of rules governing what traffic a VTAP mirrors.
GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRule
- Destination
Cidr string - Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- Flow
Log stringType - Type or types of flow logs to store.
ALL
includes records for both accepted traffic and rejected traffic. - Icmp
Options List<GetCapture Filters Capture Filter Flow Log Capture Filter Rule Icmp Option> - 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 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
- Rule
Action string - 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 string - Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- Tcp
Options List<GetCapture Filters Capture Filter Flow Log Capture Filter Rule Tcp Option> - 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 List<GetCapture Filters Capture Filter Flow Log Capture Filter Rule Udp Option> - 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 string - Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- Flow
Log stringType - Type or types of flow logs to store.
ALL
includes records for both accepted traffic and rejected traffic. - Icmp
Options []GetCapture Filters Capture Filter Flow Log Capture Filter Rule Icmp Option - 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 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
- Rule
Action string - 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 string - Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- Tcp
Options []GetCapture Filters Capture Filter Flow Log Capture Filter Rule Tcp Option - 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 []GetCapture Filters Capture Filter Flow Log Capture Filter Rule Udp Option - 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 String - Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- flow
Log StringType - Type or types of flow logs to store.
ALL
includes records for both accepted traffic and rejected traffic. - icmp
Options List<GetCapture Filters Capture Filter Flow Log Capture Filter Rule Icmp Option> - Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- is
Enabled 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
- rule
Action String - Include or exclude packets meeting this definition from mirrored traffic.
- sampling
Rate Integer - Sampling interval as 1 of X, where X is an integer not greater than 100000.
- source
Cidr String - Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- tcp
Options List<GetCapture Filters Capture Filter Flow Log Capture Filter Rule Tcp Option> - 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 List<GetCapture Filters Capture Filter Flow Log Capture Filter Rule Udp Option> - 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 string - Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- flow
Log stringType - Type or types of flow logs to store.
ALL
includes records for both accepted traffic and rejected traffic. - icmp
Options GetCapture Filters Capture Filter Flow Log Capture Filter Rule Icmp Option[] - Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- is
Enabled 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
- rule
Action string - Include or exclude packets meeting this definition from mirrored traffic.
- sampling
Rate number - Sampling interval as 1 of X, where X is an integer not greater than 100000.
- source
Cidr string - Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- tcp
Options GetCapture Filters Capture Filter Flow Log Capture Filter Rule Tcp Option[] - 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 GetCapture Filters Capture Filter Flow Log Capture Filter Rule Udp Option[] - 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_ strtype - Type or types of flow logs to store.
ALL
includes records for both accepted traffic and rejected traffic. - icmp_
options Sequence[core.Get Capture Filters Capture Filter Flow Log Capture Filter Rule Icmp Option] - 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.Get Capture Filters Capture Filter Flow Log Capture Filter Rule Tcp Option] - 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.Get Capture Filters Capture Filter Flow Log Capture Filter Rule Udp Option] - 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 String - Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- flow
Log StringType - Type or types of flow logs to store.
ALL
includes records for both accepted traffic and rejected traffic. - icmp
Options List<Property Map> - Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- is
Enabled 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
- rule
Action String - Include or exclude packets meeting this definition from mirrored traffic.
- sampling
Rate Number - Sampling interval as 1 of X, where X is an integer not greater than 100000.
- source
Cidr String - Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- tcp
Options 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.
- udp
Options 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
GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleTcpOption
GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleTcpOptionDestinationPortRange
GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleTcpOptionSourcePortRange
GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleUdpOption
GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleUdpOptionDestinationPortRange
GetCaptureFiltersCaptureFilterFlowLogCaptureFilterRuleUdpOptionSourcePortRange
GetCaptureFiltersCaptureFilterVtapCaptureFilterRule
- Destination
Cidr string - Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- Icmp
Options List<GetCapture Filters Capture Filter Vtap Capture Filter Rule Icmp Option> - 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
- Rule
Action string - Include or exclude packets meeting this definition from mirrored traffic.
- Source
Cidr string - Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- Tcp
Options List<GetCapture Filters Capture Filter Vtap Capture Filter Rule Tcp Option> - 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 string - The traffic direction the VTAP is configured to mirror.
- Udp
Options List<GetCapture Filters Capture Filter Vtap Capture Filter Rule Udp Option> - 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 string - Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- Icmp
Options []GetCapture Filters Capture Filter Vtap Capture Filter Rule Icmp Option - 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
- Rule
Action string - Include or exclude packets meeting this definition from mirrored traffic.
- Source
Cidr string - Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- Tcp
Options []GetCapture Filters Capture Filter Vtap Capture Filter Rule Tcp Option - 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 string - The traffic direction the VTAP is configured to mirror.
- Udp
Options []GetCapture Filters Capture Filter Vtap Capture Filter Rule Udp Option - 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 String - Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- icmp
Options List<GetCapture Filters Capture Filter Vtap Capture Filter Rule Icmp Option> - 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
- rule
Action String - Include or exclude packets meeting this definition from mirrored traffic.
- source
Cidr String - Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- tcp
Options List<GetCapture Filters Capture Filter Vtap Capture Filter Rule Tcp Option> - 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 String - The traffic direction the VTAP is configured to mirror.
- udp
Options List<GetCapture Filters Capture Filter Vtap Capture Filter Rule Udp Option> - 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 string - Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- icmp
Options GetCapture Filters Capture Filter Vtap Capture Filter Rule Icmp Option[] - 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
- rule
Action string - Include or exclude packets meeting this definition from mirrored traffic.
- source
Cidr string - Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- tcp
Options GetCapture Filters Capture Filter Vtap Capture Filter Rule Tcp Option[] - 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 string - The traffic direction the VTAP is configured to mirror.
- udp
Options GetCapture Filters Capture Filter Vtap Capture Filter Rule Udp Option[] - 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.Get Capture Filters Capture Filter Vtap Capture Filter Rule Icmp Option] - 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.Get Capture Filters Capture Filter Vtap Capture Filter Rule Tcp Option] - 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.Get Capture Filters Capture Filter Vtap Capture Filter Rule Udp Option] - 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 String - Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- icmp
Options 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
- rule
Action String - Include or exclude packets meeting this definition from mirrored traffic.
- source
Cidr String - Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- tcp
Options 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.
- traffic
Direction String - The traffic direction the VTAP is configured to mirror.
- udp
Options 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
GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOption
GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionDestinationPortRange
GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionSourcePortRange
GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOption
GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionDestinationPortRange
GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionSourcePortRange
GetCaptureFiltersFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.