1. Packages
  2. Volcengine
  3. API Docs
  4. nat
  5. SnatEntries
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.nat.SnatEntries

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Use this data source to query detailed information of snat 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 foo1 = new Volcengine.Nat.SnatEntry("foo1", new()
        {
            SnatEntryName = "acc-test-snat-entry",
            NatGatewayId = fooGateway.Id,
            EipId = fooAddress.Id,
            SourceCidr = "172.16.0.0/24",
        }, new CustomResourceOptions
        {
            DependsOn = new[]
            {
                "volcengine_eip_associate.foo",
            },
        });
    
        var foo2 = new Volcengine.Nat.SnatEntry("foo2", new()
        {
            SnatEntryName = "acc-test-snat-entry",
            NatGatewayId = fooGateway.Id,
            EipId = fooAddress.Id,
            SourceCidr = "172.16.0.0/16",
        }, new CustomResourceOptions
        {
            DependsOn = new[]
            {
                "volcengine_eip_associate.foo",
            },
        });
    
        var fooSnatEntries = Volcengine.Nat.SnatEntries.Invoke(new()
        {
            Ids = new[]
            {
                foo1.Id,
                foo2.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
    		}
    		_, err = eip.NewAssociate(ctx, "fooAssociate", &eip.AssociateArgs{
    			AllocationId: fooAddress.ID(),
    			InstanceId:   fooGateway.ID(),
    			InstanceType: pulumi.String("Nat"),
    		})
    		if err != nil {
    			return err
    		}
    		foo1, err := nat.NewSnatEntry(ctx, "foo1", &nat.SnatEntryArgs{
    			SnatEntryName: pulumi.String("acc-test-snat-entry"),
    			NatGatewayId:  fooGateway.ID(),
    			EipId:         fooAddress.ID(),
    			SourceCidr:    pulumi.String("172.16.0.0/24"),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			pulumi.Resource("volcengine_eip_associate.foo"),
    		}))
    		if err != nil {
    			return err
    		}
    		foo2, err := nat.NewSnatEntry(ctx, "foo2", &nat.SnatEntryArgs{
    			SnatEntryName: pulumi.String("acc-test-snat-entry"),
    			NatGatewayId:  fooGateway.ID(),
    			EipId:         fooAddress.ID(),
    			SourceCidr:    pulumi.String("172.16.0.0/16"),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			pulumi.Resource("volcengine_eip_associate.foo"),
    		}))
    		if err != nil {
    			return err
    		}
    		_ = nat.SnatEntriesOutput(ctx, nat.SnatEntriesOutputArgs{
    			Ids: pulumi.StringArray{
    				foo1.ID(),
    				foo2.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.SnatEntry;
    import com.pulumi.volcengine.nat.SnatEntryArgs;
    import com.pulumi.volcengine.nat.NatFunctions;
    import com.pulumi.volcengine.nat.inputs.SnatEntriesArgs;
    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 foo1 = new SnatEntry("foo1", SnatEntryArgs.builder()        
                .snatEntryName("acc-test-snat-entry")
                .natGatewayId(fooGateway.id())
                .eipId(fooAddress.id())
                .sourceCidr("172.16.0.0/24")
                .build(), CustomResourceOptions.builder()
                    .dependsOn("volcengine_eip_associate.foo")
                    .build());
    
            var foo2 = new SnatEntry("foo2", SnatEntryArgs.builder()        
                .snatEntryName("acc-test-snat-entry")
                .natGatewayId(fooGateway.id())
                .eipId(fooAddress.id())
                .sourceCidr("172.16.0.0/16")
                .build(), CustomResourceOptions.builder()
                    .dependsOn("volcengine_eip_associate.foo")
                    .build());
    
            final var fooSnatEntries = NatFunctions.SnatEntries(SnatEntriesArgs.builder()
                .ids(            
                    foo1.id(),
                    foo2.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")
    foo1 = volcengine.nat.SnatEntry("foo1",
        snat_entry_name="acc-test-snat-entry",
        nat_gateway_id=foo_gateway.id,
        eip_id=foo_address.id,
        source_cidr="172.16.0.0/24",
        opts=pulumi.ResourceOptions(depends_on=["volcengine_eip_associate.foo"]))
    foo2 = volcengine.nat.SnatEntry("foo2",
        snat_entry_name="acc-test-snat-entry",
        nat_gateway_id=foo_gateway.id,
        eip_id=foo_address.id,
        source_cidr="172.16.0.0/16",
        opts=pulumi.ResourceOptions(depends_on=["volcengine_eip_associate.foo"]))
    foo_snat_entries = volcengine.nat.snat_entries_output(ids=[
        foo1.id,
        foo2.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 foo1 = new volcengine.nat.SnatEntry("foo1", {
        snatEntryName: "acc-test-snat-entry",
        natGatewayId: fooGateway.id,
        eipId: fooAddress.id,
        sourceCidr: "172.16.0.0/24",
    }, {
        dependsOn: ["volcengine_eip_associate.foo"],
    });
    const foo2 = new volcengine.nat.SnatEntry("foo2", {
        snatEntryName: "acc-test-snat-entry",
        natGatewayId: fooGateway.id,
        eipId: fooAddress.id,
        sourceCidr: "172.16.0.0/16",
    }, {
        dependsOn: ["volcengine_eip_associate.foo"],
    });
    const fooSnatEntries = volcengine.nat.SnatEntriesOutput({
        ids: [
            foo1.id,
            foo2.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
      foo1:
        type: volcengine:nat:SnatEntry
        properties:
          snatEntryName: acc-test-snat-entry
          natGatewayId: ${fooGateway.id}
          eipId: ${fooAddress.id}
          sourceCidr: 172.16.0.0/24
        options:
          dependson:
            - volcengine_eip_associate.foo
      foo2:
        type: volcengine:nat:SnatEntry
        properties:
          snatEntryName: acc-test-snat-entry
          natGatewayId: ${fooGateway.id}
          eipId: ${fooAddress.id}
          sourceCidr: 172.16.0.0/16
        options:
          dependson:
            - volcengine_eip_associate.foo
    variables:
      fooZones:
        fn::invoke:
          Function: volcengine:ecs:Zones
          Arguments: {}
      fooSnatEntries:
        fn::invoke:
          Function: volcengine:nat:SnatEntries
          Arguments:
            ids:
              - ${foo1.id}
              - ${foo2.id}
    

    Using SnatEntries

    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 snatEntries(args: SnatEntriesArgs, opts?: InvokeOptions): Promise<SnatEntriesResult>
    function snatEntriesOutput(args: SnatEntriesOutputArgs, opts?: InvokeOptions): Output<SnatEntriesResult>
    def snat_entries(eip_id: Optional[str] = None,
                     ids: Optional[Sequence[str]] = None,
                     nat_gateway_id: Optional[str] = None,
                     output_file: Optional[str] = None,
                     snat_entry_name: Optional[str] = None,
                     source_cidr: Optional[str] = None,
                     subnet_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> SnatEntriesResult
    def snat_entries_output(eip_id: Optional[pulumi.Input[str]] = None,
                     ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     nat_gateway_id: Optional[pulumi.Input[str]] = None,
                     output_file: Optional[pulumi.Input[str]] = None,
                     snat_entry_name: Optional[pulumi.Input[str]] = None,
                     source_cidr: Optional[pulumi.Input[str]] = None,
                     subnet_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[SnatEntriesResult]
    func SnatEntries(ctx *Context, args *SnatEntriesArgs, opts ...InvokeOption) (*SnatEntriesResult, error)
    func SnatEntriesOutput(ctx *Context, args *SnatEntriesOutputArgs, opts ...InvokeOption) SnatEntriesResultOutput
    public static class SnatEntries 
    {
        public static Task<SnatEntriesResult> InvokeAsync(SnatEntriesArgs args, InvokeOptions? opts = null)
        public static Output<SnatEntriesResult> Invoke(SnatEntriesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<SnatEntriesResult> snatEntries(SnatEntriesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:nat:SnatEntries
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EipId string
    An id of the public ip address used by the SNAT entry.
    Ids List<string>
    A list of SNAT entry ids.
    NatGatewayId string
    An id of the nat gateway to which the entry belongs.
    OutputFile string
    File name where to save data source results.
    SnatEntryName string
    A name of SNAT entry.
    SourceCidr string
    The SourceCidr of SNAT entry.
    SubnetId string
    An id of the subnet that is required to access the Internet.
    EipId string
    An id of the public ip address used by the SNAT entry.
    Ids []string
    A list of SNAT entry ids.
    NatGatewayId string
    An id of the nat gateway to which the entry belongs.
    OutputFile string
    File name where to save data source results.
    SnatEntryName string
    A name of SNAT entry.
    SourceCidr string
    The SourceCidr of SNAT entry.
    SubnetId string
    An id of the subnet that is required to access the Internet.
    eipId String
    An id of the public ip address used by the SNAT entry.
    ids List<String>
    A list of SNAT entry ids.
    natGatewayId String
    An id of the nat gateway to which the entry belongs.
    outputFile String
    File name where to save data source results.
    snatEntryName String
    A name of SNAT entry.
    sourceCidr String
    The SourceCidr of SNAT entry.
    subnetId String
    An id of the subnet that is required to access the Internet.
    eipId string
    An id of the public ip address used by the SNAT entry.
    ids string[]
    A list of SNAT entry ids.
    natGatewayId string
    An id of the nat gateway to which the entry belongs.
    outputFile string
    File name where to save data source results.
    snatEntryName string
    A name of SNAT entry.
    sourceCidr string
    The SourceCidr of SNAT entry.
    subnetId string
    An id of the subnet that is required to access the Internet.
    eip_id str
    An id of the public ip address used by the SNAT entry.
    ids Sequence[str]
    A list of SNAT entry ids.
    nat_gateway_id str
    An id of the nat gateway to which the entry belongs.
    output_file str
    File name where to save data source results.
    snat_entry_name str
    A name of SNAT entry.
    source_cidr str
    The SourceCidr of SNAT entry.
    subnet_id str
    An id of the subnet that is required to access the Internet.
    eipId String
    An id of the public ip address used by the SNAT entry.
    ids List<String>
    A list of SNAT entry ids.
    natGatewayId String
    An id of the nat gateway to which the entry belongs.
    outputFile String
    File name where to save data source results.
    snatEntryName String
    A name of SNAT entry.
    sourceCidr String
    The SourceCidr of SNAT entry.
    subnetId String
    An id of the subnet that is required to access the Internet.

    SnatEntries Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    SnatEntries List<SnatEntriesSnatEntry>
    The collection of snat entries.
    TotalCount int
    The total count of snat entries query.
    EipId string
    The id of the public ip address used by the SNAT entry.
    Ids List<string>
    NatGatewayId string
    The id of the nat gateway to which the entry belongs.
    OutputFile string
    SnatEntryName string
    The name of the SNAT entry.
    SourceCidr string
    The SourceCidr of the SNAT entry.
    SubnetId string
    The id of the subnet that is required to access the internet.
    Id string
    The provider-assigned unique ID for this managed resource.
    SnatEntries []SnatEntriesSnatEntry
    The collection of snat entries.
    TotalCount int
    The total count of snat entries query.
    EipId string
    The id of the public ip address used by the SNAT entry.
    Ids []string
    NatGatewayId string
    The id of the nat gateway to which the entry belongs.
    OutputFile string
    SnatEntryName string
    The name of the SNAT entry.
    SourceCidr string
    The SourceCidr of the SNAT entry.
    SubnetId string
    The id of the subnet that is required to access the internet.
    id String
    The provider-assigned unique ID for this managed resource.
    snatEntries List<SEntriesSEntry>
    The collection of snat entries.
    totalCount Integer
    The total count of snat entries query.
    eipId String
    The id of the public ip address used by the SNAT entry.
    ids List<String>
    natGatewayId String
    The id of the nat gateway to which the entry belongs.
    outputFile String
    snatEntryName String
    The name of the SNAT entry.
    sourceCidr String
    The SourceCidr of the SNAT entry.
    subnetId String
    The id of the subnet that is required to access the internet.
    id string
    The provider-assigned unique ID for this managed resource.
    snatEntries SnatEntriesSnatEntry[]
    The collection of snat entries.
    totalCount number
    The total count of snat entries query.
    eipId string
    The id of the public ip address used by the SNAT entry.
    ids string[]
    natGatewayId string
    The id of the nat gateway to which the entry belongs.
    outputFile string
    snatEntryName string
    The name of the SNAT entry.
    sourceCidr string
    The SourceCidr of the SNAT entry.
    subnetId string
    The id of the subnet that is required to access the internet.
    id str
    The provider-assigned unique ID for this managed resource.
    snat_entries Sequence[SnatEntriesSnatEntry]
    The collection of snat entries.
    total_count int
    The total count of snat entries query.
    eip_id str
    The id of the public ip address used by the SNAT entry.
    ids Sequence[str]
    nat_gateway_id str
    The id of the nat gateway to which the entry belongs.
    output_file str
    snat_entry_name str
    The name of the SNAT entry.
    source_cidr str
    The SourceCidr of the SNAT entry.
    subnet_id str
    The id of the subnet that is required to access the internet.
    id String
    The provider-assigned unique ID for this managed resource.
    snatEntries List<Property Map>
    The collection of snat entries.
    totalCount Number
    The total count of snat entries query.
    eipId String
    The id of the public ip address used by the SNAT entry.
    ids List<String>
    natGatewayId String
    The id of the nat gateway to which the entry belongs.
    outputFile String
    snatEntryName String
    The name of the SNAT entry.
    sourceCidr String
    The SourceCidr of the SNAT entry.
    subnetId String
    The id of the subnet that is required to access the internet.

    Supporting Types

    SnatEntriesSnatEntry

    EipAddress string
    The public ip address used by the SNAT entry.
    EipId string
    An id of the public ip address used by the SNAT entry.
    Id string
    The id of the SNAT entry.
    NatGatewayId string
    An id of the nat gateway to which the entry belongs.
    SnatEntryId string
    The id of the SNAT entry.
    SnatEntryName string
    A name of SNAT entry.
    SourceCidr string
    The SourceCidr of SNAT entry.
    Status string
    The status of the SNAT entry.
    SubnetId string
    An id of the subnet that is required to access the Internet.
    EipAddress string
    The public ip address used by the SNAT entry.
    EipId string
    An id of the public ip address used by the SNAT entry.
    Id string
    The id of the SNAT entry.
    NatGatewayId string
    An id of the nat gateway to which the entry belongs.
    SnatEntryId string
    The id of the SNAT entry.
    SnatEntryName string
    A name of SNAT entry.
    SourceCidr string
    The SourceCidr of SNAT entry.
    Status string
    The status of the SNAT entry.
    SubnetId string
    An id of the subnet that is required to access the Internet.
    eipAddress String
    The public ip address used by the SNAT entry.
    eipId String
    An id of the public ip address used by the SNAT entry.
    id String
    The id of the SNAT entry.
    natGatewayId String
    An id of the nat gateway to which the entry belongs.
    snatEntryId String
    The id of the SNAT entry.
    snatEntryName String
    A name of SNAT entry.
    sourceCidr String
    The SourceCidr of SNAT entry.
    status String
    The status of the SNAT entry.
    subnetId String
    An id of the subnet that is required to access the Internet.
    eipAddress string
    The public ip address used by the SNAT entry.
    eipId string
    An id of the public ip address used by the SNAT entry.
    id string
    The id of the SNAT entry.
    natGatewayId string
    An id of the nat gateway to which the entry belongs.
    snatEntryId string
    The id of the SNAT entry.
    snatEntryName string
    A name of SNAT entry.
    sourceCidr string
    The SourceCidr of SNAT entry.
    status string
    The status of the SNAT entry.
    subnetId string
    An id of the subnet that is required to access the Internet.
    eip_address str
    The public ip address used by the SNAT entry.
    eip_id str
    An id of the public ip address used by the SNAT entry.
    id str
    The id of the SNAT entry.
    nat_gateway_id str
    An id of the nat gateway to which the entry belongs.
    snat_entry_id str
    The id of the SNAT entry.
    snat_entry_name str
    A name of SNAT entry.
    source_cidr str
    The SourceCidr of SNAT entry.
    status str
    The status of the SNAT entry.
    subnet_id str
    An id of the subnet that is required to access the Internet.
    eipAddress String
    The public ip address used by the SNAT entry.
    eipId String
    An id of the public ip address used by the SNAT entry.
    id String
    The id of the SNAT entry.
    natGatewayId String
    An id of the nat gateway to which the entry belongs.
    snatEntryId String
    The id of the SNAT entry.
    snatEntryName String
    A name of SNAT entry.
    sourceCidr String
    The SourceCidr of SNAT entry.
    status String
    The status of the SNAT entry.
    subnetId String
    An id of the subnet that is required to access the Internet.

    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.24 published on Tuesday, Jun 25, 2024 by Volcengine