/** * 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. */ /** * A DRG NAT rule specifies the mapping between an original source/destination IP and a translated source/destination IP. The source needs to be described in the context of packet entering the DRG. * */ export interface DrgNatRule { /** * The Oracle-assigned ID of the DRG NAT rule. * */ "id": string; /** * The DRG NAT policy's Oracle ID ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). */ "drgNatPolicyId": string; /** * The priority associated with each DRG NAT rule. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "drgNatRulePriority": number; /** * Represents the range of IP addresses to match against when routing traffic. * Original CIDR range for Source NAT. *

Potential values: * * An IPv4 address range in CIDR notation. For example: {@code 192.168.1.0/24}. * */ "originalSource"?: string; /** * Represents the range of IP addresses to match against when routing traffic. * Translated CIDR range for Source NAT. *

Potential values: * * An IPv4 address range in CIDR notation. For example: {@code 192.168.1.0/24}. * */ "translatedSource"?: string; /** * Represents the range of IP addresses to match against when routing traffic. * Original CIDR range for Destination NAT. *

Potential values: * * An IPv4 address range in CIDR notation. For example: {@code 192.168.1.0/24}. * */ "originalDestination"?: string; /** * Represents the range of IP addresses to match against when routing traffic. * Translated CIDR range for Destination NAT. *

Potential values: * * An IPv4 address range in CIDR notation. For example: {@code 192.168.1.0/24}. * */ "translatedDestination"?: string; } export declare namespace DrgNatRule { function getJsonObj(obj: DrgNatRule): object; function getDeserializedJsonObj(obj: DrgNatRule): object; }