import * as pulumi from "@pulumi/pulumi";
/**
 * Provides a resource to manage dnat entry
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.ecs.getZones({});
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const fooGateway = new volcengine.nat.Gateway("fooGateway", {
 *     vpcId: fooVpc.id,
 *     subnetId: fooSubnet.id,
 *     spec: "Small",
 *     natGatewayName: "acc-test-ng",
 *     description: "acc-test",
 *     billingType: "PostPaid",
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooAddress = new volcengine.eip.Address("fooAddress", {
 *     description: "acc-test",
 *     bandwidth: 1,
 *     billingType: "PostPaidByBandwidth",
 *     isp: "BGP",
 * });
 * const fooAssociate = new volcengine.eip.Associate("fooAssociate", {
 *     allocationId: fooAddress.id,
 *     instanceId: fooGateway.id,
 *     instanceType: "Nat",
 * });
 * const fooDnatEntry = new volcengine.nat.DnatEntry("fooDnatEntry", {
 *     dnatEntryName: "acc-test-dnat-entry",
 *     externalIp: fooAddress.eipAddress,
 *     externalPort: "80",
 *     internalIp: "172.16.0.10",
 *     internalPort: "80",
 *     natGatewayId: fooGateway.id,
 *     protocol: "tcp",
 * }, {
 *     dependsOn: [fooAssociate],
 * });
 * ```
 *
 * ## Import
 *
 * Dnat entry can be imported using the id, e.g.
 *
 * ```sh
 * $ pulumi import volcengine:nat/dnatEntry:DnatEntry default dnat-3fvhk47kf56****
 * ```
 */
export declare class DnatEntry extends pulumi.CustomResource {
    /**
     * Get an existing DnatEntry resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DnatEntryState, opts?: pulumi.CustomResourceOptions): DnatEntry;
    /**
     * Returns true if the given object is an instance of DnatEntry.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is DnatEntry;
    /**
     * The id of the DNAT rule.
     */
    readonly dnatEntryId: pulumi.Output<string>;
    /**
     * The name of the DNAT rule.
     */
    readonly dnatEntryName: pulumi.Output<string | undefined>;
    /**
     * Provides the public IP address for public network access.
     */
    readonly externalIp: pulumi.Output<string>;
    /**
     * The port or port segment that receives requests from the public network. If InternalPort is passed into the port segment, ExternalPort must also be passed into the port segment.
     */
    readonly externalPort: pulumi.Output<string>;
    /**
     * Provides the internal IP address.
     */
    readonly internalIp: pulumi.Output<string>;
    /**
     * The port or port segment on which the cloud server instance provides services to the public network.
     */
    readonly internalPort: pulumi.Output<string>;
    /**
     * The id of the nat gateway to which the entry belongs.
     */
    readonly natGatewayId: pulumi.Output<string>;
    /**
     * The network protocol.
     */
    readonly protocol: pulumi.Output<string>;
    /**
     * Create a DnatEntry resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: DnatEntryArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering DnatEntry resources.
 */
export interface DnatEntryState {
    /**
     * The id of the DNAT rule.
     */
    dnatEntryId?: pulumi.Input<string>;
    /**
     * The name of the DNAT rule.
     */
    dnatEntryName?: pulumi.Input<string>;
    /**
     * Provides the public IP address for public network access.
     */
    externalIp?: pulumi.Input<string>;
    /**
     * The port or port segment that receives requests from the public network. If InternalPort is passed into the port segment, ExternalPort must also be passed into the port segment.
     */
    externalPort?: pulumi.Input<string>;
    /**
     * Provides the internal IP address.
     */
    internalIp?: pulumi.Input<string>;
    /**
     * The port or port segment on which the cloud server instance provides services to the public network.
     */
    internalPort?: pulumi.Input<string>;
    /**
     * The id of the nat gateway to which the entry belongs.
     */
    natGatewayId?: pulumi.Input<string>;
    /**
     * The network protocol.
     */
    protocol?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a DnatEntry resource.
 */
export interface DnatEntryArgs {
    /**
     * The name of the DNAT rule.
     */
    dnatEntryName?: pulumi.Input<string>;
    /**
     * Provides the public IP address for public network access.
     */
    externalIp: pulumi.Input<string>;
    /**
     * The port or port segment that receives requests from the public network. If InternalPort is passed into the port segment, ExternalPort must also be passed into the port segment.
     */
    externalPort: pulumi.Input<string>;
    /**
     * Provides the internal IP address.
     */
    internalIp: pulumi.Input<string>;
    /**
     * The port or port segment on which the cloud server instance provides services to the public network.
     */
    internalPort: pulumi.Input<string>;
    /**
     * The id of the nat gateway to which the entry belongs.
     */
    natGatewayId: pulumi.Input<string>;
    /**
     * The network protocol.
     */
    protocol: pulumi.Input<string>;
}
