/** * Core Services API * Use the Core Services API to manage resources such as virtual cloud networks (VCNs), compute instances, and block storage volumes. For more information, see the console documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), [Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and [Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. The required permissions are documented in the [Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * The set of rules governing what traffic the VCN flow log collects. * */ export interface FlowLogCaptureFilterRuleDetails { /** * Indicates whether a VCN flow log capture filter rule is enabled. * */ "isEnabled"?: boolean; /** * A lower number indicates a higher priority, range 0-9. Each rule must have a distinct priority. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "priority"?: number; /** * Sampling interval as {@code 1} of {@code X}, where {@code X} is an integer not greater than {@code 100000}. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "samplingRate"?: number; /** * Traffic from this CIDR will be captured in the VCN flow log. * */ "sourceCidr"?: string; /** * Traffic to this CIDR will be captured in the VCN flow log. * */ "destinationCidr"?: string; /** * The transport protocol the filter uses. * */ "protocol"?: string; "icmpOptions"?: model.IcmpOptions; "tcpOptions"?: model.TcpOptions; "udpOptions"?: model.UdpOptions; /** * Type or types of VCN flow logs to store. {@code ALL} includes records for both accepted traffic and * rejected traffic. * */ "flowLogType"?: FlowLogCaptureFilterRuleDetails.FlowLogType; /** * Include or exclude a {@code ruleAction} object. * */ "ruleAction"?: FlowLogCaptureFilterRuleDetails.RuleAction; } export declare namespace FlowLogCaptureFilterRuleDetails { enum FlowLogType { All = "ALL", Reject = "REJECT", Accept = "ACCEPT", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum RuleAction { Include = "INCLUDE", Exclude = "EXCLUDE", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: FlowLogCaptureFilterRuleDetails): object; function getDeserializedJsonObj(obj: FlowLogCaptureFilterRuleDetails): object; }