1. Packages
  2. Volcengine
  3. API Docs
  4. nat
  5. DnatEntries
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

volcengine.nat.DnatEntries

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

    Use this data source to query detailed information of dnat entries

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var fooZones = Volcengine.Ecs.Zones.Invoke();
    
        var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
        {
            VpcName = "acc-test-vpc",
            CidrBlock = "172.16.0.0/16",
        });
    
        var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
        {
            SubnetName = "acc-test-subnet",
            CidrBlock = "172.16.0.0/24",
            ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
            VpcId = fooVpc.Id,
        });
    
        var fooGateway = new Volcengine.Nat.Gateway("fooGateway", new()
        {
            VpcId = fooVpc.Id,
            SubnetId = fooSubnet.Id,
            Spec = "Small",
            NatGatewayName = "acc-test-ng",
            Description = "acc-test",
            BillingType = "PostPaid",
            ProjectName = "default",
            Tags = new[]
            {
                new Volcengine.Nat.Inputs.GatewayTagArgs
                {
                    Key = "k1",
                    Value = "v1",
                },
            },
        });
    
        var fooAddress = new Volcengine.Eip.Address("fooAddress", new()
        {
            Description = "acc-test",
            Bandwidth = 1,
            BillingType = "PostPaidByBandwidth",
            Isp = "BGP",
        });
    
        var fooAssociate = new Volcengine.Eip.Associate("fooAssociate", new()
        {
            AllocationId = fooAddress.Id,
            InstanceId = fooGateway.Id,
            InstanceType = "Nat",
        });
    
        var fooDnatEntry = new Volcengine.Nat.DnatEntry("fooDnatEntry", new()
        {
            DnatEntryName = "acc-test-dnat-entry",
            ExternalIp = fooAddress.EipAddress,
            ExternalPort = "80",
            InternalIp = "172.16.0.10",
            InternalPort = "80",
            NatGatewayId = fooGateway.Id,
            Protocol = "tcp",
        }, new CustomResourceOptions
        {
            DependsOn = new[]
            {
                fooAssociate,
            },
        });
    
        var fooDnatEntries = Volcengine.Nat.DnatEntries.Invoke(new()
        {
            Ids = new[]
            {
                fooDnatEntry.Id,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/nat"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		fooZones, err := ecs.Zones(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
    			VpcName:   pulumi.String("acc-test-vpc"),
    			CidrBlock: pulumi.String("172.16.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
    			SubnetName: pulumi.String("acc-test-subnet"),
    			CidrBlock:  pulumi.String("172.16.0.0/24"),
    			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
    			VpcId:      fooVpc.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		fooGateway, err := nat.NewGateway(ctx, "fooGateway", &nat.GatewayArgs{
    			VpcId:          fooVpc.ID(),
    			SubnetId:       fooSubnet.ID(),
    			Spec:           pulumi.String("Small"),
    			NatGatewayName: pulumi.String("acc-test-ng"),
    			Description:    pulumi.String("acc-test"),
    			BillingType:    pulumi.String("PostPaid"),
    			ProjectName:    pulumi.String("default"),
    			Tags: nat.GatewayTagArray{
    				&nat.GatewayTagArgs{
    					Key:   pulumi.String("k1"),
    					Value: pulumi.String("v1"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		fooAddress, err := eip.NewAddress(ctx, "fooAddress", &eip.AddressArgs{
    			Description: pulumi.String("acc-test"),
    			Bandwidth:   pulumi.Int(1),
    			BillingType: pulumi.String("PostPaidByBandwidth"),
    			Isp:         pulumi.String("BGP"),
    		})
    		if err != nil {
    			return err
    		}
    		fooAssociate, err := eip.NewAssociate(ctx, "fooAssociate", &eip.AssociateArgs{
    			AllocationId: fooAddress.ID(),
    			InstanceId:   fooGateway.ID(),
    			InstanceType: pulumi.String("Nat"),
    		})
    		if err != nil {
    			return err
    		}
    		fooDnatEntry, err := nat.NewDnatEntry(ctx, "fooDnatEntry", &nat.DnatEntryArgs{
    			DnatEntryName: pulumi.String("acc-test-dnat-entry"),
    			ExternalIp:    fooAddress.EipAddress,
    			ExternalPort:  pulumi.String("80"),
    			InternalIp:    pulumi.String("172.16.0.10"),
    			InternalPort:  pulumi.String("80"),
    			NatGatewayId:  fooGateway.ID(),
    			Protocol:      pulumi.String("tcp"),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			fooAssociate,
    		}))
    		if err != nil {
    			return err
    		}
    		_ = nat.DnatEntriesOutput(ctx, nat.DnatEntriesOutputArgs{
    			Ids: pulumi.StringArray{
    				fooDnatEntry.ID(),
    			},
    		}, nil)
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.ecs.EcsFunctions;
    import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
    import com.pulumi.volcengine.vpc.Vpc;
    import com.pulumi.volcengine.vpc.VpcArgs;
    import com.pulumi.volcengine.vpc.Subnet;
    import com.pulumi.volcengine.vpc.SubnetArgs;
    import com.pulumi.volcengine.nat.Gateway;
    import com.pulumi.volcengine.nat.GatewayArgs;
    import com.pulumi.volcengine.nat.inputs.GatewayTagArgs;
    import com.pulumi.volcengine.eip.Address;
    import com.pulumi.volcengine.eip.AddressArgs;
    import com.pulumi.volcengine.eip.Associate;
    import com.pulumi.volcengine.eip.AssociateArgs;
    import com.pulumi.volcengine.nat.DnatEntry;
    import com.pulumi.volcengine.nat.DnatEntryArgs;
    import com.pulumi.volcengine.nat.NatFunctions;
    import com.pulumi.volcengine.nat.inputs.DnatEntriesArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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 fooZones = EcsFunctions.Zones();
    
            var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
                .vpcName("acc-test-vpc")
                .cidrBlock("172.16.0.0/16")
                .build());
    
            var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
                .subnetName("acc-test-subnet")
                .cidrBlock("172.16.0.0/24")
                .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
                .vpcId(fooVpc.id())
                .build());
    
            var fooGateway = new Gateway("fooGateway", GatewayArgs.builder()        
                .vpcId(fooVpc.id())
                .subnetId(fooSubnet.id())
                .spec("Small")
                .natGatewayName("acc-test-ng")
                .description("acc-test")
                .billingType("PostPaid")
                .projectName("default")
                .tags(GatewayTagArgs.builder()
                    .key("k1")
                    .value("v1")
                    .build())
                .build());
    
            var fooAddress = new Address("fooAddress", AddressArgs.builder()        
                .description("acc-test")
                .bandwidth(1)
                .billingType("PostPaidByBandwidth")
                .isp("BGP")
                .build());
    
            var fooAssociate = new Associate("fooAssociate", AssociateArgs.builder()        
                .allocationId(fooAddress.id())
                .instanceId(fooGateway.id())
                .instanceType("Nat")
                .build());
    
            var fooDnatEntry = new DnatEntry("fooDnatEntry", DnatEntryArgs.builder()        
                .dnatEntryName("acc-test-dnat-entry")
                .externalIp(fooAddress.eipAddress())
                .externalPort(80)
                .internalIp("172.16.0.10")
                .internalPort(80)
                .natGatewayId(fooGateway.id())
                .protocol("tcp")
                .build(), CustomResourceOptions.builder()
                    .dependsOn(fooAssociate)
                    .build());
    
            final var fooDnatEntries = NatFunctions.DnatEntries(DnatEntriesArgs.builder()
                .ids(fooDnatEntry.id())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo_zones = volcengine.ecs.zones()
    foo_vpc = volcengine.vpc.Vpc("fooVpc",
        vpc_name="acc-test-vpc",
        cidr_block="172.16.0.0/16")
    foo_subnet = volcengine.vpc.Subnet("fooSubnet",
        subnet_name="acc-test-subnet",
        cidr_block="172.16.0.0/24",
        zone_id=foo_zones.zones[0].id,
        vpc_id=foo_vpc.id)
    foo_gateway = volcengine.nat.Gateway("fooGateway",
        vpc_id=foo_vpc.id,
        subnet_id=foo_subnet.id,
        spec="Small",
        nat_gateway_name="acc-test-ng",
        description="acc-test",
        billing_type="PostPaid",
        project_name="default",
        tags=[volcengine.nat.GatewayTagArgs(
            key="k1",
            value="v1",
        )])
    foo_address = volcengine.eip.Address("fooAddress",
        description="acc-test",
        bandwidth=1,
        billing_type="PostPaidByBandwidth",
        isp="BGP")
    foo_associate = volcengine.eip.Associate("fooAssociate",
        allocation_id=foo_address.id,
        instance_id=foo_gateway.id,
        instance_type="Nat")
    foo_dnat_entry = volcengine.nat.DnatEntry("fooDnatEntry",
        dnat_entry_name="acc-test-dnat-entry",
        external_ip=foo_address.eip_address,
        external_port="80",
        internal_ip="172.16.0.10",
        internal_port="80",
        nat_gateway_id=foo_gateway.id,
        protocol="tcp",
        opts=pulumi.ResourceOptions(depends_on=[foo_associate]))
    foo_dnat_entries = volcengine.nat.dnat_entries_output(ids=[foo_dnat_entry.id])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    import * as volcengine from "@volcengine/pulumi";
    
    const fooZones = volcengine.ecs.Zones({});
    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],
    });
    const fooDnatEntries = volcengine.nat.DnatEntriesOutput({
        ids: [fooDnatEntry.id],
    });
    
    resources:
      fooVpc:
        type: volcengine:vpc:Vpc
        properties:
          vpcName: acc-test-vpc
          cidrBlock: 172.16.0.0/16
      fooSubnet:
        type: volcengine:vpc:Subnet
        properties:
          subnetName: acc-test-subnet
          cidrBlock: 172.16.0.0/24
          zoneId: ${fooZones.zones[0].id}
          vpcId: ${fooVpc.id}
      fooGateway:
        type: volcengine:nat:Gateway
        properties:
          vpcId: ${fooVpc.id}
          subnetId: ${fooSubnet.id}
          spec: Small
          natGatewayName: acc-test-ng
          description: acc-test
          billingType: PostPaid
          projectName: default
          tags:
            - key: k1
              value: v1
      fooAddress:
        type: volcengine:eip:Address
        properties:
          description: acc-test
          bandwidth: 1
          billingType: PostPaidByBandwidth
          isp: BGP
      fooAssociate:
        type: volcengine:eip:Associate
        properties:
          allocationId: ${fooAddress.id}
          instanceId: ${fooGateway.id}
          instanceType: Nat
      fooDnatEntry:
        type: volcengine:nat:DnatEntry
        properties:
          dnatEntryName: acc-test-dnat-entry
          externalIp: ${fooAddress.eipAddress}
          externalPort: 80
          internalIp: 172.16.0.10
          internalPort: 80
          natGatewayId: ${fooGateway.id}
          protocol: tcp
        options:
          dependson:
            - ${fooAssociate}
    variables:
      fooZones:
        fn::invoke:
          Function: volcengine:ecs:Zones
          Arguments: {}
      fooDnatEntries:
        fn::invoke:
          Function: volcengine:nat:DnatEntries
          Arguments:
            ids:
              - ${fooDnatEntry.id}
    

    Using DnatEntries

    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 dnatEntries(args: DnatEntriesArgs, opts?: InvokeOptions): Promise<DnatEntriesResult>
    function dnatEntriesOutput(args: DnatEntriesOutputArgs, opts?: InvokeOptions): Output<DnatEntriesResult>
    def dnat_entries(dnat_entry_name: Optional[str] = None,
                     external_ip: Optional[str] = None,
                     external_port: Optional[str] = None,
                     ids: Optional[Sequence[str]] = None,
                     internal_ip: Optional[str] = None,
                     internal_port: Optional[str] = None,
                     nat_gateway_id: Optional[str] = None,
                     output_file: Optional[str] = None,
                     protocol: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> DnatEntriesResult
    def dnat_entries_output(dnat_entry_name: Optional[pulumi.Input[str]] = None,
                     external_ip: Optional[pulumi.Input[str]] = None,
                     external_port: Optional[pulumi.Input[str]] = None,
                     ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     internal_ip: Optional[pulumi.Input[str]] = None,
                     internal_port: Optional[pulumi.Input[str]] = None,
                     nat_gateway_id: Optional[pulumi.Input[str]] = None,
                     output_file: Optional[pulumi.Input[str]] = None,
                     protocol: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[DnatEntriesResult]
    func DnatEntries(ctx *Context, args *DnatEntriesArgs, opts ...InvokeOption) (*DnatEntriesResult, error)
    func DnatEntriesOutput(ctx *Context, args *DnatEntriesOutputArgs, opts ...InvokeOption) DnatEntriesResultOutput
    public static class DnatEntries 
    {
        public static Task<DnatEntriesResult> InvokeAsync(DnatEntriesArgs args, InvokeOptions? opts = null)
        public static Output<DnatEntriesResult> Invoke(DnatEntriesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<DnatEntriesResult> dnatEntries(DnatEntriesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:nat:DnatEntries
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DnatEntryName string
    The name of the DNAT entry.
    ExternalIp string
    Provides the public IP address for public network access.
    ExternalPort 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.
    Ids List<string>
    A list of DNAT entry ids.
    InternalIp string
    Provides the internal IP address.
    InternalPort string
    The port or port segment on which the cloud server instance provides services to the public network.
    NatGatewayId string
    The id of the NAT gateway.
    OutputFile string
    File name where to save data source results.
    Protocol string
    The network protocol.
    DnatEntryName string
    The name of the DNAT entry.
    ExternalIp string
    Provides the public IP address for public network access.
    ExternalPort 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.
    Ids []string
    A list of DNAT entry ids.
    InternalIp string
    Provides the internal IP address.
    InternalPort string
    The port or port segment on which the cloud server instance provides services to the public network.
    NatGatewayId string
    The id of the NAT gateway.
    OutputFile string
    File name where to save data source results.
    Protocol string
    The network protocol.
    dnatEntryName String
    The name of the DNAT entry.
    externalIp String
    Provides the public IP address for public network access.
    externalPort 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.
    ids List<String>
    A list of DNAT entry ids.
    internalIp String
    Provides the internal IP address.
    internalPort String
    The port or port segment on which the cloud server instance provides services to the public network.
    natGatewayId String
    The id of the NAT gateway.
    outputFile String
    File name where to save data source results.
    protocol String
    The network protocol.
    dnatEntryName string
    The name of the DNAT entry.
    externalIp string
    Provides the public IP address for public network access.
    externalPort 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.
    ids string[]
    A list of DNAT entry ids.
    internalIp string
    Provides the internal IP address.
    internalPort string
    The port or port segment on which the cloud server instance provides services to the public network.
    natGatewayId string
    The id of the NAT gateway.
    outputFile string
    File name where to save data source results.
    protocol string
    The network protocol.
    dnat_entry_name str
    The name of the DNAT entry.
    external_ip str
    Provides the public IP address for public network access.
    external_port str
    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.
    ids Sequence[str]
    A list of DNAT entry ids.
    internal_ip str
    Provides the internal IP address.
    internal_port str
    The port or port segment on which the cloud server instance provides services to the public network.
    nat_gateway_id str
    The id of the NAT gateway.
    output_file str
    File name where to save data source results.
    protocol str
    The network protocol.
    dnatEntryName String
    The name of the DNAT entry.
    externalIp String
    Provides the public IP address for public network access.
    externalPort 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.
    ids List<String>
    A list of DNAT entry ids.
    internalIp String
    Provides the internal IP address.
    internalPort String
    The port or port segment on which the cloud server instance provides services to the public network.
    natGatewayId String
    The id of the NAT gateway.
    outputFile String
    File name where to save data source results.
    protocol String
    The network protocol.

    DnatEntries Result

    The following output properties are available:

    DnatEntries List<DnatEntriesDnatEntry>
    List of DNAT entries.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of snat entries query.
    DnatEntryName string
    The name of the DNAT entry.
    ExternalIp string
    Provides the public IP address for public network access.
    ExternalPort 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.
    Ids List<string>
    InternalIp string
    Provides the internal IP address.
    InternalPort string
    The port or port segment on which the cloud server instance provides services to the public network.
    NatGatewayId string
    The ID of the NAT gateway.
    OutputFile string
    Protocol string
    The network protocol.
    DnatEntries []DnatEntriesDnatEntry
    List of DNAT entries.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of snat entries query.
    DnatEntryName string
    The name of the DNAT entry.
    ExternalIp string
    Provides the public IP address for public network access.
    ExternalPort 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.
    Ids []string
    InternalIp string
    Provides the internal IP address.
    InternalPort string
    The port or port segment on which the cloud server instance provides services to the public network.
    NatGatewayId string
    The ID of the NAT gateway.
    OutputFile string
    Protocol string
    The network protocol.
    dnatEntries List<DEntriesDEntry>
    List of DNAT entries.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of snat entries query.
    dnatEntryName String
    The name of the DNAT entry.
    externalIp String
    Provides the public IP address for public network access.
    externalPort 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.
    ids List<String>
    internalIp String
    Provides the internal IP address.
    internalPort String
    The port or port segment on which the cloud server instance provides services to the public network.
    natGatewayId String
    The ID of the NAT gateway.
    outputFile String
    protocol String
    The network protocol.
    dnatEntries DnatEntriesDnatEntry[]
    List of DNAT entries.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of snat entries query.
    dnatEntryName string
    The name of the DNAT entry.
    externalIp string
    Provides the public IP address for public network access.
    externalPort 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.
    ids string[]
    internalIp string
    Provides the internal IP address.
    internalPort string
    The port or port segment on which the cloud server instance provides services to the public network.
    natGatewayId string
    The ID of the NAT gateway.
    outputFile string
    protocol string
    The network protocol.
    dnat_entries Sequence[DnatEntriesDnatEntry]
    List of DNAT entries.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of snat entries query.
    dnat_entry_name str
    The name of the DNAT entry.
    external_ip str
    Provides the public IP address for public network access.
    external_port str
    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.
    ids Sequence[str]
    internal_ip str
    Provides the internal IP address.
    internal_port str
    The port or port segment on which the cloud server instance provides services to the public network.
    nat_gateway_id str
    The ID of the NAT gateway.
    output_file str
    protocol str
    The network protocol.
    dnatEntries List<Property Map>
    List of DNAT entries.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of snat entries query.
    dnatEntryName String
    The name of the DNAT entry.
    externalIp String
    Provides the public IP address for public network access.
    externalPort 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.
    ids List<String>
    internalIp String
    Provides the internal IP address.
    internalPort String
    The port or port segment on which the cloud server instance provides services to the public network.
    natGatewayId String
    The ID of the NAT gateway.
    outputFile String
    protocol String
    The network protocol.

    Supporting Types

    DnatEntriesDnatEntry

    DnatEntryId string
    The ID of the DNAT entry.
    DnatEntryName string
    The name of the DNAT entry.
    ExternalIp string
    Provides the public IP address for public network access.
    ExternalPort 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.
    InternalIp string
    Provides the internal IP address.
    InternalPort string
    The port or port segment on which the cloud server instance provides services to the public network.
    NatGatewayId string
    The id of the NAT gateway.
    Protocol string
    The network protocol.
    Status string
    The network status.
    DnatEntryId string
    The ID of the DNAT entry.
    DnatEntryName string
    The name of the DNAT entry.
    ExternalIp string
    Provides the public IP address for public network access.
    ExternalPort 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.
    InternalIp string
    Provides the internal IP address.
    InternalPort string
    The port or port segment on which the cloud server instance provides services to the public network.
    NatGatewayId string
    The id of the NAT gateway.
    Protocol string
    The network protocol.
    Status string
    The network status.
    dnatEntryId String
    The ID of the DNAT entry.
    dnatEntryName String
    The name of the DNAT entry.
    externalIp String
    Provides the public IP address for public network access.
    externalPort 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.
    internalIp String
    Provides the internal IP address.
    internalPort String
    The port or port segment on which the cloud server instance provides services to the public network.
    natGatewayId String
    The id of the NAT gateway.
    protocol String
    The network protocol.
    status String
    The network status.
    dnatEntryId string
    The ID of the DNAT entry.
    dnatEntryName string
    The name of the DNAT entry.
    externalIp string
    Provides the public IP address for public network access.
    externalPort 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.
    internalIp string
    Provides the internal IP address.
    internalPort string
    The port or port segment on which the cloud server instance provides services to the public network.
    natGatewayId string
    The id of the NAT gateway.
    protocol string
    The network protocol.
    status string
    The network status.
    dnat_entry_id str
    The ID of the DNAT entry.
    dnat_entry_name str
    The name of the DNAT entry.
    external_ip str
    Provides the public IP address for public network access.
    external_port str
    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.
    internal_ip str
    Provides the internal IP address.
    internal_port str
    The port or port segment on which the cloud server instance provides services to the public network.
    nat_gateway_id str
    The id of the NAT gateway.
    protocol str
    The network protocol.
    status str
    The network status.
    dnatEntryId String
    The ID of the DNAT entry.
    dnatEntryName String
    The name of the DNAT entry.
    externalIp String
    Provides the public IP address for public network access.
    externalPort 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.
    internalIp String
    Provides the internal IP address.
    internalPort String
    The port or port segment on which the cloud server instance provides services to the public network.
    natGatewayId String
    The id of the NAT gateway.
    protocol String
    The network protocol.
    status String
    The network status.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine