Oracle Cloud Infrastructure v0.20.0, May 31 23
Oracle Cloud Infrastructure v0.20.0, May 31 23
oci.Core.CaptureFilter
Explore with Pulumi AI
This resource provides the Capture Filter resource in Oracle Cloud Infrastructure Core service.
Creates a virtual test access point (VTAP) capture filter in the specified compartment.
For the purposes of access control, you must provide the OCID of the compartment that contains the VTAP. For more information about compartments and access control, see Overview of the IAM Service. For information about OCIDs, see Resource Identifiers.
You may optionally specify a display name for the VTAP, otherwise a default is provided. It does not have to be unique, and you can change it.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testCaptureFilter = new Oci.Core.CaptureFilter("testCaptureFilter", new()
{
CompartmentId = @var.Compartment_id,
FilterType = @var.Capture_filter_filter_type,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = @var.Capture_filter_display_name,
FreeformTags =
{
{ "Department", "Finance" },
},
VtapCaptureFilterRules = new[]
{
new Oci.Core.Inputs.CaptureFilterVtapCaptureFilterRuleArgs
{
TrafficDirection = @var.Capture_filter_vtap_capture_filter_rules_traffic_direction,
DestinationCidr = @var.Capture_filter_vtap_capture_filter_rules_destination_cidr,
IcmpOptions = new Oci.Core.Inputs.CaptureFilterVtapCaptureFilterRuleIcmpOptionsArgs
{
Type = @var.Capture_filter_vtap_capture_filter_rules_icmp_options_type,
Code = @var.Capture_filter_vtap_capture_filter_rules_icmp_options_code,
},
Protocol = @var.Capture_filter_vtap_capture_filter_rules_protocol,
RuleAction = @var.Capture_filter_vtap_capture_filter_rules_rule_action,
SourceCidr = @var.Capture_filter_vtap_capture_filter_rules_source_cidr,
TcpOptions = new Oci.Core.Inputs.CaptureFilterVtapCaptureFilterRuleTcpOptionsArgs
{
DestinationPortRange = new Oci.Core.Inputs.CaptureFilterVtapCaptureFilterRuleTcpOptionsDestinationPortRangeArgs
{
Max = @var.Capture_filter_vtap_capture_filter_rules_tcp_options_destination_port_range_max,
Min = @var.Capture_filter_vtap_capture_filter_rules_tcp_options_destination_port_range_min,
},
SourcePortRange = new Oci.Core.Inputs.CaptureFilterVtapCaptureFilterRuleTcpOptionsSourcePortRangeArgs
{
Max = @var.Capture_filter_vtap_capture_filter_rules_tcp_options_source_port_range_max,
Min = @var.Capture_filter_vtap_capture_filter_rules_tcp_options_source_port_range_min,
},
},
UdpOptions = new Oci.Core.Inputs.CaptureFilterVtapCaptureFilterRuleUdpOptionsArgs
{
DestinationPortRange = new Oci.Core.Inputs.CaptureFilterVtapCaptureFilterRuleUdpOptionsDestinationPortRangeArgs
{
Max = @var.Capture_filter_vtap_capture_filter_rules_udp_options_destination_port_range_max,
Min = @var.Capture_filter_vtap_capture_filter_rules_udp_options_destination_port_range_min,
},
SourcePortRange = new Oci.Core.Inputs.CaptureFilterVtapCaptureFilterRuleUdpOptionsSourcePortRangeArgs
{
Max = @var.Capture_filter_vtap_capture_filter_rules_udp_options_source_port_range_max,
Min = @var.Capture_filter_vtap_capture_filter_rules_udp_options_source_port_range_min,
},
},
},
},
});
});
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.NewCaptureFilter(ctx, "testCaptureFilter", &Core.CaptureFilterArgs{
CompartmentId: pulumi.Any(_var.Compartment_id),
FilterType: pulumi.Any(_var.Capture_filter_filter_type),
DefinedTags: pulumi.AnyMap{
"Operations.CostCenter": pulumi.Any("42"),
},
DisplayName: pulumi.Any(_var.Capture_filter_display_name),
FreeformTags: pulumi.AnyMap{
"Department": pulumi.Any("Finance"),
},
VtapCaptureFilterRules: core.CaptureFilterVtapCaptureFilterRuleArray{
&core.CaptureFilterVtapCaptureFilterRuleArgs{
TrafficDirection: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_traffic_direction),
DestinationCidr: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_destination_cidr),
IcmpOptions: &core.CaptureFilterVtapCaptureFilterRuleIcmpOptionsArgs{
Type: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_icmp_options_type),
Code: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_icmp_options_code),
},
Protocol: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_protocol),
RuleAction: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_rule_action),
SourceCidr: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_source_cidr),
TcpOptions: &core.CaptureFilterVtapCaptureFilterRuleTcpOptionsArgs{
DestinationPortRange: &core.CaptureFilterVtapCaptureFilterRuleTcpOptionsDestinationPortRangeArgs{
Max: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_tcp_options_destination_port_range_max),
Min: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_tcp_options_destination_port_range_min),
},
SourcePortRange: &core.CaptureFilterVtapCaptureFilterRuleTcpOptionsSourcePortRangeArgs{
Max: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_tcp_options_source_port_range_max),
Min: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_tcp_options_source_port_range_min),
},
},
UdpOptions: &core.CaptureFilterVtapCaptureFilterRuleUdpOptionsArgs{
DestinationPortRange: &core.CaptureFilterVtapCaptureFilterRuleUdpOptionsDestinationPortRangeArgs{
Max: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_udp_options_destination_port_range_max),
Min: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_udp_options_destination_port_range_min),
},
SourcePortRange: &core.CaptureFilterVtapCaptureFilterRuleUdpOptionsSourcePortRangeArgs{
Max: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_udp_options_source_port_range_max),
Min: pulumi.Any(_var.Capture_filter_vtap_capture_filter_rules_udp_options_source_port_range_min),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CaptureFilter;
import com.pulumi.oci.Core.CaptureFilterArgs;
import com.pulumi.oci.Core.inputs.CaptureFilterVtapCaptureFilterRuleArgs;
import com.pulumi.oci.Core.inputs.CaptureFilterVtapCaptureFilterRuleIcmpOptionsArgs;
import com.pulumi.oci.Core.inputs.CaptureFilterVtapCaptureFilterRuleTcpOptionsArgs;
import com.pulumi.oci.Core.inputs.CaptureFilterVtapCaptureFilterRuleTcpOptionsDestinationPortRangeArgs;
import com.pulumi.oci.Core.inputs.CaptureFilterVtapCaptureFilterRuleTcpOptionsSourcePortRangeArgs;
import com.pulumi.oci.Core.inputs.CaptureFilterVtapCaptureFilterRuleUdpOptionsArgs;
import com.pulumi.oci.Core.inputs.CaptureFilterVtapCaptureFilterRuleUdpOptionsDestinationPortRangeArgs;
import com.pulumi.oci.Core.inputs.CaptureFilterVtapCaptureFilterRuleUdpOptionsSourcePortRangeArgs;
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) {
var testCaptureFilter = new CaptureFilter("testCaptureFilter", CaptureFilterArgs.builder()
.compartmentId(var_.compartment_id())
.filterType(var_.capture_filter_filter_type())
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(var_.capture_filter_display_name())
.freeformTags(Map.of("Department", "Finance"))
.vtapCaptureFilterRules(CaptureFilterVtapCaptureFilterRuleArgs.builder()
.trafficDirection(var_.capture_filter_vtap_capture_filter_rules_traffic_direction())
.destinationCidr(var_.capture_filter_vtap_capture_filter_rules_destination_cidr())
.icmpOptions(CaptureFilterVtapCaptureFilterRuleIcmpOptionsArgs.builder()
.type(var_.capture_filter_vtap_capture_filter_rules_icmp_options_type())
.code(var_.capture_filter_vtap_capture_filter_rules_icmp_options_code())
.build())
.protocol(var_.capture_filter_vtap_capture_filter_rules_protocol())
.ruleAction(var_.capture_filter_vtap_capture_filter_rules_rule_action())
.sourceCidr(var_.capture_filter_vtap_capture_filter_rules_source_cidr())
.tcpOptions(CaptureFilterVtapCaptureFilterRuleTcpOptionsArgs.builder()
.destinationPortRange(CaptureFilterVtapCaptureFilterRuleTcpOptionsDestinationPortRangeArgs.builder()
.max(var_.capture_filter_vtap_capture_filter_rules_tcp_options_destination_port_range_max())
.min(var_.capture_filter_vtap_capture_filter_rules_tcp_options_destination_port_range_min())
.build())
.sourcePortRange(CaptureFilterVtapCaptureFilterRuleTcpOptionsSourcePortRangeArgs.builder()
.max(var_.capture_filter_vtap_capture_filter_rules_tcp_options_source_port_range_max())
.min(var_.capture_filter_vtap_capture_filter_rules_tcp_options_source_port_range_min())
.build())
.build())
.udpOptions(CaptureFilterVtapCaptureFilterRuleUdpOptionsArgs.builder()
.destinationPortRange(CaptureFilterVtapCaptureFilterRuleUdpOptionsDestinationPortRangeArgs.builder()
.max(var_.capture_filter_vtap_capture_filter_rules_udp_options_destination_port_range_max())
.min(var_.capture_filter_vtap_capture_filter_rules_udp_options_destination_port_range_min())
.build())
.sourcePortRange(CaptureFilterVtapCaptureFilterRuleUdpOptionsSourcePortRangeArgs.builder()
.max(var_.capture_filter_vtap_capture_filter_rules_udp_options_source_port_range_max())
.min(var_.capture_filter_vtap_capture_filter_rules_udp_options_source_port_range_min())
.build())
.build())
.build())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_capture_filter = oci.core.CaptureFilter("testCaptureFilter",
compartment_id=var["compartment_id"],
filter_type=var["capture_filter_filter_type"],
defined_tags={
"Operations.CostCenter": "42",
},
display_name=var["capture_filter_display_name"],
freeform_tags={
"Department": "Finance",
},
vtap_capture_filter_rules=[oci.core.CaptureFilterVtapCaptureFilterRuleArgs(
traffic_direction=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
destination_cidr=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
icmp_options=oci.core.CaptureFilterVtapCaptureFilterRuleIcmpOptionsArgs(
type=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
code=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
protocol=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
rule_action=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
source_cidr=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
tcp_options=oci.core.CaptureFilterVtapCaptureFilterRuleTcpOptionsArgs(
destination_port_range=oci.core.CaptureFilterVtapCaptureFilterRuleTcpOptionsDestinationPortRangeArgs(
max=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
min=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
source_port_range=oci.core.CaptureFilterVtapCaptureFilterRuleTcpOptionsSourcePortRangeArgs(
max=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
min=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
),
udp_options=oci.core.CaptureFilterVtapCaptureFilterRuleUdpOptionsArgs(
destination_port_range=oci.core.CaptureFilterVtapCaptureFilterRuleUdpOptionsDestinationPortRangeArgs(
max=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
min=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
source_port_range=oci.core.CaptureFilterVtapCaptureFilterRuleUdpOptionsSourcePortRangeArgs(
max=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
min=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
),
)])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCaptureFilter = new oci.core.CaptureFilter("testCaptureFilter", {
compartmentId: _var.compartment_id,
filterType: _var.capture_filter_filter_type,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: _var.capture_filter_display_name,
freeformTags: {
Department: "Finance",
},
vtapCaptureFilterRules: [{
trafficDirection: _var.capture_filter_vtap_capture_filter_rules_traffic_direction,
destinationCidr: _var.capture_filter_vtap_capture_filter_rules_destination_cidr,
icmpOptions: {
type: _var.capture_filter_vtap_capture_filter_rules_icmp_options_type,
code: _var.capture_filter_vtap_capture_filter_rules_icmp_options_code,
},
protocol: _var.capture_filter_vtap_capture_filter_rules_protocol,
ruleAction: _var.capture_filter_vtap_capture_filter_rules_rule_action,
sourceCidr: _var.capture_filter_vtap_capture_filter_rules_source_cidr,
tcpOptions: {
destinationPortRange: {
max: _var.capture_filter_vtap_capture_filter_rules_tcp_options_destination_port_range_max,
min: _var.capture_filter_vtap_capture_filter_rules_tcp_options_destination_port_range_min,
},
sourcePortRange: {
max: _var.capture_filter_vtap_capture_filter_rules_tcp_options_source_port_range_max,
min: _var.capture_filter_vtap_capture_filter_rules_tcp_options_source_port_range_min,
},
},
udpOptions: {
destinationPortRange: {
max: _var.capture_filter_vtap_capture_filter_rules_udp_options_destination_port_range_max,
min: _var.capture_filter_vtap_capture_filter_rules_udp_options_destination_port_range_min,
},
sourcePortRange: {
max: _var.capture_filter_vtap_capture_filter_rules_udp_options_source_port_range_max,
min: _var.capture_filter_vtap_capture_filter_rules_udp_options_source_port_range_min,
},
},
}],
});
resources:
testCaptureFilter:
type: oci:Core:CaptureFilter
properties:
#Required
compartmentId: ${var.compartment_id}
filterType: ${var.capture_filter_filter_type}
#Optional
definedTags:
Operations.CostCenter: '42'
displayName: ${var.capture_filter_display_name}
freeformTags:
Department: Finance
vtapCaptureFilterRules:
- trafficDirection: ${var.capture_filter_vtap_capture_filter_rules_traffic_direction}
destinationCidr: ${var.capture_filter_vtap_capture_filter_rules_destination_cidr}
icmpOptions:
type: ${var.capture_filter_vtap_capture_filter_rules_icmp_options_type}
code: ${var.capture_filter_vtap_capture_filter_rules_icmp_options_code}
protocol: ${var.capture_filter_vtap_capture_filter_rules_protocol}
ruleAction: ${var.capture_filter_vtap_capture_filter_rules_rule_action}
sourceCidr: ${var.capture_filter_vtap_capture_filter_rules_source_cidr}
tcpOptions:
destinationPortRange:
max: ${var.capture_filter_vtap_capture_filter_rules_tcp_options_destination_port_range_max}
min: ${var.capture_filter_vtap_capture_filter_rules_tcp_options_destination_port_range_min}
sourcePortRange:
max: ${var.capture_filter_vtap_capture_filter_rules_tcp_options_source_port_range_max}
min: ${var.capture_filter_vtap_capture_filter_rules_tcp_options_source_port_range_min}
udpOptions:
destinationPortRange:
max: ${var.capture_filter_vtap_capture_filter_rules_udp_options_destination_port_range_max}
min: ${var.capture_filter_vtap_capture_filter_rules_udp_options_destination_port_range_min}
sourcePortRange:
max: ${var.capture_filter_vtap_capture_filter_rules_udp_options_source_port_range_max}
min: ${var.capture_filter_vtap_capture_filter_rules_udp_options_source_port_range_min}
Create CaptureFilter Resource
new CaptureFilter(name: string, args: CaptureFilterArgs, opts?: CustomResourceOptions);
@overload
def CaptureFilter(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
filter_type: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
vtap_capture_filter_rules: Optional[Sequence[_core.CaptureFilterVtapCaptureFilterRuleArgs]] = None)
@overload
def CaptureFilter(resource_name: str,
args: CaptureFilterArgs,
opts: Optional[ResourceOptions] = None)
func NewCaptureFilter(ctx *Context, name string, args CaptureFilterArgs, opts ...ResourceOption) (*CaptureFilter, error)
public CaptureFilter(string name, CaptureFilterArgs args, CustomResourceOptions? opts = null)
public CaptureFilter(String name, CaptureFilterArgs args)
public CaptureFilter(String name, CaptureFilterArgs args, CustomResourceOptions options)
type: oci:Core:CaptureFilter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CaptureFilterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CaptureFilterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CaptureFilterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CaptureFilterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CaptureFilterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CaptureFilter Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CaptureFilter resource accepts the following input properties:
- Compartment
Id string (Updatable) The OCID of the compartment containing the capture filter.
- Filter
Type string Indicates which service will use this capture filter
- Dictionary<string, object>
(Updatable) 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 (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, object>
(Updatable) 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"}
- Vtap
Capture List<CaptureFilter Rules Filter Vtap Capture Filter Rule Args> (Updatable) The set of rules governing what traffic a VTAP mirrors.
- Compartment
Id string (Updatable) The OCID of the compartment containing the capture filter.
- Filter
Type string Indicates which service will use this capture filter
- map[string]interface{}
(Updatable) 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 (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]interface{}
(Updatable) 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"}
- Vtap
Capture []CaptureFilter Rules Filter Vtap Capture Filter Rule Args (Updatable) The set of rules governing what traffic a VTAP mirrors.
- compartment
Id String (Updatable) The OCID of the compartment containing the capture filter.
- filter
Type String Indicates which service will use this capture filter
- Map<String,Object>
(Updatable) 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 (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,Object>
(Updatable) 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"}
- vtap
Capture List<CaptureFilter Rules Filter Vtap Capture Filter Rule Args> (Updatable) The set of rules governing what traffic a VTAP mirrors.
- compartment
Id string (Updatable) The OCID of the compartment containing the capture filter.
- filter
Type string Indicates which service will use this capture filter
- {[key: string]: any}
(Updatable) 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 (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: any}
(Updatable) 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"}
- vtap
Capture CaptureFilter Rules Filter Vtap Capture Filter Rule Args[] (Updatable) The set of rules governing what traffic a VTAP mirrors.
- compartment_
id str (Updatable) The OCID of the compartment containing the capture filter.
- filter_
type str Indicates which service will use this capture filter
- Mapping[str, Any]
(Updatable) 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 (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, Any]
(Updatable) 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"}
- vtap_
capture_ Capturefilter_ rules Filter Vtap Capture Filter Rule Args] (Updatable) The set of rules governing what traffic a VTAP mirrors.
- compartment
Id String (Updatable) The OCID of the compartment containing the capture filter.
- filter
Type String Indicates which service will use this capture filter
- Map<Any>
(Updatable) 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 (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<Any>
(Updatable) 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"}
- vtap
Capture List<Property Map>Filter Rules (Updatable) The set of rules governing what traffic a VTAP mirrors.
Outputs
All input properties are implicitly available as output properties. Additionally, the CaptureFilter resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- 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
- Id string
The provider-assigned unique ID for this managed resource.
- 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
- id String
The provider-assigned unique ID for this managed resource.
- 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
- id string
The provider-assigned unique ID for this managed resource.
- 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
- id str
The provider-assigned unique ID for this managed resource.
- 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
- id String
The provider-assigned unique ID for this managed resource.
- 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
Look up Existing CaptureFilter Resource
Get an existing CaptureFilter resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CaptureFilterState, opts?: CustomResourceOptions): CaptureFilter
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
filter_type: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
state: Optional[str] = None,
time_created: Optional[str] = None,
vtap_capture_filter_rules: Optional[Sequence[_core.CaptureFilterVtapCaptureFilterRuleArgs]] = None) -> CaptureFilter
func GetCaptureFilter(ctx *Context, name string, id IDInput, state *CaptureFilterState, opts ...ResourceOption) (*CaptureFilter, error)
public static CaptureFilter Get(string name, Input<string> id, CaptureFilterState? state, CustomResourceOptions? opts = null)
public static CaptureFilter get(String name, Output<String> id, CaptureFilterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string (Updatable) The OCID of the compartment containing the capture filter.
- Dictionary<string, object>
(Updatable) 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 (Updatable) 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
- Dictionary<string, object>
(Updatable) 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"}
- 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<CaptureFilter Rules Filter Vtap Capture Filter Rule Args> (Updatable) The set of rules governing what traffic a VTAP mirrors.
- Compartment
Id string (Updatable) The OCID of the compartment containing the capture filter.
- map[string]interface{}
(Updatable) 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 (Updatable) 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
- map[string]interface{}
(Updatable) 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"}
- 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 []CaptureFilter Rules Filter Vtap Capture Filter Rule Args (Updatable) The set of rules governing what traffic a VTAP mirrors.
- compartment
Id String (Updatable) The OCID of the compartment containing the capture filter.
- Map<String,Object>
(Updatable) 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 (Updatable) 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
- Map<String,Object>
(Updatable) 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"}
- 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<CaptureFilter Rules Filter Vtap Capture Filter Rule Args> (Updatable) The set of rules governing what traffic a VTAP mirrors.
- compartment
Id string (Updatable) The OCID of the compartment containing the capture filter.
- {[key: string]: any}
(Updatable) 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 (Updatable) 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
- {[key: string]: any}
(Updatable) 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"}
- 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 CaptureFilter Rules Filter Vtap Capture Filter Rule Args[] (Updatable) The set of rules governing what traffic a VTAP mirrors.
- compartment_
id str (Updatable) The OCID of the compartment containing the capture filter.
- Mapping[str, Any]
(Updatable) 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 (Updatable) 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
- Mapping[str, Any]
(Updatable) 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"}
- 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_ Capturefilter_ rules Filter Vtap Capture Filter Rule Args] (Updatable) The set of rules governing what traffic a VTAP mirrors.
- compartment
Id String (Updatable) The OCID of the compartment containing the capture filter.
- Map<Any>
(Updatable) 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 (Updatable) 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
- Map<Any>
(Updatable) 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"}
- 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 (Updatable) The set of rules governing what traffic a VTAP mirrors.
Supporting Types
CaptureFilterVtapCaptureFilterRule
- Traffic
Direction string (Updatable) The traffic direction the VTAP is configured to mirror.
- Destination
Cidr string (Updatable) Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- Icmp
Options CaptureFilter Vtap Capture Filter Rule Icmp Options (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.
- Protocol string
(Updatable) 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 (Updatable) Include or exclude packets meeting this definition from mirrored traffic.
- Source
Cidr string (Updatable) Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- Tcp
Options CaptureFilter Vtap Capture Filter Rule Tcp Options (Updatable) 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 CaptureFilter Vtap Capture Filter Rule Udp Options (Updatable) 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.
- Traffic
Direction string (Updatable) The traffic direction the VTAP is configured to mirror.
- Destination
Cidr string (Updatable) Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- Icmp
Options CaptureFilter Vtap Capture Filter Rule Icmp Options (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.
- Protocol string
(Updatable) 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 (Updatable) Include or exclude packets meeting this definition from mirrored traffic.
- Source
Cidr string (Updatable) Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- Tcp
Options CaptureFilter Vtap Capture Filter Rule Tcp Options (Updatable) 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 CaptureFilter Vtap Capture Filter Rule Udp Options (Updatable) 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.
- traffic
Direction String (Updatable) The traffic direction the VTAP is configured to mirror.
- destination
Cidr String (Updatable) Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- icmp
Options CaptureFilter Vtap Capture Filter Rule Icmp Options (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.
- protocol String
(Updatable) 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 (Updatable) Include or exclude packets meeting this definition from mirrored traffic.
- source
Cidr String (Updatable) Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- tcp
Options CaptureFilter Vtap Capture Filter Rule Tcp Options (Updatable) 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 CaptureFilter Vtap Capture Filter Rule Udp Options (Updatable) 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.
- traffic
Direction string (Updatable) The traffic direction the VTAP is configured to mirror.
- destination
Cidr string (Updatable) Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- icmp
Options CaptureFilter Vtap Capture Filter Rule Icmp Options (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.
- protocol string
(Updatable) 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 (Updatable) Include or exclude packets meeting this definition from mirrored traffic.
- source
Cidr string (Updatable) Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- tcp
Options CaptureFilter Vtap Capture Filter Rule Tcp Options (Updatable) 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 CaptureFilter Vtap Capture Filter Rule Udp Options (Updatable) 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.
- traffic_
direction str (Updatable) The traffic direction the VTAP is configured to mirror.
- destination_
cidr str (Updatable) Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- icmp_
options CaptureFilter Vtap Capture Filter Rule Icmp Options (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.
- protocol str
(Updatable) 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 (Updatable) Include or exclude packets meeting this definition from mirrored traffic.
- source_
cidr str (Updatable) Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- tcp_
options CaptureFilter Vtap Capture Filter Rule Tcp Options (Updatable) 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 CaptureFilter Vtap Capture Filter Rule Udp Options (Updatable) 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.
- traffic
Direction String (Updatable) The traffic direction the VTAP is configured to mirror.
- destination
Cidr String (Updatable) Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
- icmp
Options Property Map (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.
- protocol String
(Updatable) 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 (Updatable) Include or exclude packets meeting this definition from mirrored traffic.
- source
Cidr String (Updatable) Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
- tcp
Options Property Map (Updatable) 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 Property Map (Updatable) 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.
CaptureFilterVtapCaptureFilterRuleIcmpOptions
CaptureFilterVtapCaptureFilterRuleTcpOptions
- destination
Port Property MapRange (Updatable)
- source
Port Property MapRange (Updatable)
CaptureFilterVtapCaptureFilterRuleTcpOptionsDestinationPortRange
- Max int
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Max int
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max Integer
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max number
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max int
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max Number
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
CaptureFilterVtapCaptureFilterRuleTcpOptionsSourcePortRange
- Max int
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Max int
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max Integer
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max number
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max int
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max Number
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
CaptureFilterVtapCaptureFilterRuleUdpOptions
- destination
Port Property MapRange (Updatable)
- source
Port Property MapRange (Updatable)
CaptureFilterVtapCaptureFilterRuleUdpOptionsDestinationPortRange
- Max int
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Max int
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max Integer
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max number
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max int
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max Number
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
CaptureFilterVtapCaptureFilterRuleUdpOptionsSourcePortRange
- Max int
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Max int
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max Integer
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max number
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max int
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- max Number
(Updatable) 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
(Updatable) The minimum port number, which must not be greater than the maximum port number.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Import
CaptureFilters can be imported using the id
, e.g.
$ pulumi import oci:Core/captureFilter:CaptureFilter test_capture_filter "id"
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.