Oracle Cloud Infrastructure v2.9.0 published on Wednesday, Aug 28, 2024 by Pulumi
oci.Core.getCaptureFilter
Explore with Pulumi AI
This data source provides details about a specific Capture Filter resource in Oracle Cloud Infrastructure Core service.
Gets information about the specified VTAP capture filter.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCaptureFilter = oci.Core.getCaptureFilter({
captureFilterId: testCaptureFilterOciCoreCaptureFilter.id,
});
import pulumi
import pulumi_oci as oci
test_capture_filter = oci.Core.get_capture_filter(capture_filter_id=test_capture_filter_oci_core_capture_filter["id"])
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.GetCaptureFilter(ctx, &core.GetCaptureFilterArgs{
CaptureFilterId: testCaptureFilterOciCoreCaptureFilter.Id,
}, 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 testCaptureFilter = Oci.Core.GetCaptureFilter.Invoke(new()
{
CaptureFilterId = testCaptureFilterOciCoreCaptureFilter.Id,
});
});
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.GetCaptureFilterArgs;
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 testCaptureFilter = CoreFunctions.getCaptureFilter(GetCaptureFilterArgs.builder()
.captureFilterId(testCaptureFilterOciCoreCaptureFilter.id())
.build());
}
}
variables:
testCaptureFilter:
fn::invoke:
Function: oci:Core:getCaptureFilter
Arguments:
captureFilterId: ${testCaptureFilterOciCoreCaptureFilter.id}
Using getCaptureFilter
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 getCaptureFilter(args: GetCaptureFilterArgs, opts?: InvokeOptions): Promise<GetCaptureFilterResult>
function getCaptureFilterOutput(args: GetCaptureFilterOutputArgs, opts?: InvokeOptions): Output<GetCaptureFilterResult>
def get_capture_filter(capture_filter_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCaptureFilterResult
def get_capture_filter_output(capture_filter_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCaptureFilterResult]
func GetCaptureFilter(ctx *Context, args *GetCaptureFilterArgs, opts ...InvokeOption) (*GetCaptureFilterResult, error)
func GetCaptureFilterOutput(ctx *Context, args *GetCaptureFilterOutputArgs, opts ...InvokeOption) GetCaptureFilterResultOutput
> Note: This function is named GetCaptureFilter
in the Go SDK.
public static class GetCaptureFilter
{
public static Task<GetCaptureFilterResult> InvokeAsync(GetCaptureFilterArgs args, InvokeOptions? opts = null)
public static Output<GetCaptureFilterResult> Invoke(GetCaptureFilterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCaptureFilterResult> getCaptureFilter(GetCaptureFilterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getCaptureFilter:getCaptureFilter
arguments:
# arguments dictionary
The following arguments are supported:
- Capture
Filter stringId - The OCID of the capture filter.
- Capture
Filter stringId - The OCID of the capture filter.
- capture
Filter StringId - The OCID of the capture filter.
- capture
Filter stringId - The OCID of the capture filter.
- capture_
filter_ strid - The OCID of the capture filter.
- capture
Filter StringId - The OCID of the capture filter.
getCaptureFilter Result
The following output properties are available:
- Capture
Filter stringId - Compartment
Id string - The OCID of the compartment containing the capture filter.
- 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 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
- Flow
Log List<GetCapture Filter Rules 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
- The capture filter's current administrative state.
- 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 Filter Vtap Capture Filter Rule> - The set of rules governing what traffic a VTAP mirrors.
- Capture
Filter stringId - Compartment
Id string - The OCID of the compartment containing the capture filter.
- 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 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
- Flow
Log []GetCapture Filter Rules 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
- The capture filter's current administrative state.
- 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 Filter Vtap Capture Filter Rule - The set of rules governing what traffic a VTAP mirrors.
- capture
Filter StringId - compartment
Id String - The OCID of the compartment containing the capture filter.
- 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 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
- flow
Log List<GetCapture Filter Rules 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
- The capture filter's current administrative state.
- 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 Filter Vtap Capture Filter Rule> - The set of rules governing what traffic a VTAP mirrors.
- capture
Filter stringId - compartment
Id string - The OCID of the compartment containing the capture filter.
- {[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 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
- flow
Log GetCapture Filter Rules 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
- The capture filter's current administrative state.
- 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 Filter Vtap Capture Filter Rule[] - The set of rules governing what traffic a VTAP mirrors.
- capture_
filter_ strid - compartment_
id str - The OCID of the compartment containing the capture filter.
- 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 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
- flow_
log_ Sequence[core.capture_ filter_ rules Get 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
- The capture filter's current administrative state.
- 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 Filter Vtap Capture Filter Rule] - The set of rules governing what traffic a VTAP mirrors.
- capture
Filter StringId - compartment
Id String - The OCID of the compartment containing the capture filter.
- 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 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
- 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
- The capture filter's current administrative state.
- 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.
Supporting Types
GetCaptureFilterFlowLogCaptureFilterRule
- 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.
GetCaptureFilterFlowLogCaptureFilterRuleIcmpOption
GetCaptureFilterFlowLogCaptureFilterRuleTcpOption
GetCaptureFilterFlowLogCaptureFilterRuleTcpOptionDestinationPortRange
GetCaptureFilterFlowLogCaptureFilterRuleTcpOptionSourcePortRange
GetCaptureFilterFlowLogCaptureFilterRuleUdpOption
GetCaptureFilterFlowLogCaptureFilterRuleUdpOptionDestinationPortRange
GetCaptureFilterFlowLogCaptureFilterRuleUdpOptionSourcePortRange
GetCaptureFilterVtapCaptureFilterRule
- Destination
Cidr string - Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- Icmp
Options List<GetCapture 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.
GetCaptureFilterVtapCaptureFilterRuleIcmpOption
GetCaptureFilterVtapCaptureFilterRuleTcpOption
GetCaptureFilterVtapCaptureFilterRuleTcpOptionDestinationPortRange
GetCaptureFilterVtapCaptureFilterRuleTcpOptionSourcePortRange
GetCaptureFilterVtapCaptureFilterRuleUdpOption
GetCaptureFilterVtapCaptureFilterRuleUdpOptionDestinationPortRange
GetCaptureFilterVtapCaptureFilterRuleUdpOptionSourcePortRange
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.