1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. vpc
  5. getForwardEntries
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

alicloud.vpc.getForwardEntries

Explore with Pulumi AI

Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

This data source provides a list of Forward Entries owned by an Alibaba Cloud account.

NOTE: Available since v1.37.0.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const config = new pulumi.Config();
const name = config.get("name") || "forward-entry-config-example-name";
const _default = alicloud.getZones({
    availableResourceCreation: "VSwitch",
});
const defaultNetwork = new alicloud.vpc.Network("default", {
    vpcName: name,
    cidrBlock: "172.16.0.0/12",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
    vpcId: defaultNetwork.id,
    cidrBlock: "172.16.0.0/21",
    zoneId: _default.then(_default => _default.zones?.[0]?.id),
    vswitchName: name,
});
const defaultNatGateway = new alicloud.vpc.NatGateway("default", {
    vpcId: defaultNetwork.id,
    internetChargeType: "PayByLcu",
    natGatewayName: name,
    natType: "Enhanced",
    vswitchId: defaultSwitch.id,
});
const defaultEipAddress = new alicloud.ecs.EipAddress("default", {addressName: name});
const defaultEipAssociation = new alicloud.ecs.EipAssociation("default", {
    allocationId: defaultEipAddress.id,
    instanceId: defaultNatGateway.id,
});
const defaultForwardEntry = new alicloud.vpc.ForwardEntry("default", {
    forwardTableId: defaultNatGateway.forwardTableIds,
    externalIp: defaultEipAddress.ipAddress,
    externalPort: "80",
    ipProtocol: "tcp",
    internalIp: "172.16.0.3",
    internalPort: "8080",
});
const defaultGetForwardEntries = alicloud.vpc.getForwardEntriesOutput({
    forwardTableId: defaultForwardEntry.forwardTableId,
});
Copy
import pulumi
import pulumi_alicloud as alicloud

config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "forward-entry-config-example-name"
default = alicloud.get_zones(available_resource_creation="VSwitch")
default_network = alicloud.vpc.Network("default",
    vpc_name=name,
    cidr_block="172.16.0.0/12")
default_switch = alicloud.vpc.Switch("default",
    vpc_id=default_network.id,
    cidr_block="172.16.0.0/21",
    zone_id=default.zones[0].id,
    vswitch_name=name)
default_nat_gateway = alicloud.vpc.NatGateway("default",
    vpc_id=default_network.id,
    internet_charge_type="PayByLcu",
    nat_gateway_name=name,
    nat_type="Enhanced",
    vswitch_id=default_switch.id)
default_eip_address = alicloud.ecs.EipAddress("default", address_name=name)
default_eip_association = alicloud.ecs.EipAssociation("default",
    allocation_id=default_eip_address.id,
    instance_id=default_nat_gateway.id)
default_forward_entry = alicloud.vpc.ForwardEntry("default",
    forward_table_id=default_nat_gateway.forward_table_ids,
    external_ip=default_eip_address.ip_address,
    external_port="80",
    ip_protocol="tcp",
    internal_ip="172.16.0.3",
    internal_port="8080")
default_get_forward_entries = alicloud.vpc.get_forward_entries_output(forward_table_id=default_forward_entry.forward_table_id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "forward-entry-config-example-name"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("172.16.0.0/12"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
			VpcId:       defaultNetwork.ID(),
			CidrBlock:   pulumi.String("172.16.0.0/21"),
			ZoneId:      pulumi.String(_default.Zones[0].Id),
			VswitchName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		defaultNatGateway, err := vpc.NewNatGateway(ctx, "default", &vpc.NatGatewayArgs{
			VpcId:              defaultNetwork.ID(),
			InternetChargeType: pulumi.String("PayByLcu"),
			NatGatewayName:     pulumi.String(name),
			NatType:            pulumi.String("Enhanced"),
			VswitchId:          defaultSwitch.ID(),
		})
		if err != nil {
			return err
		}
		defaultEipAddress, err := ecs.NewEipAddress(ctx, "default", &ecs.EipAddressArgs{
			AddressName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		_, err = ecs.NewEipAssociation(ctx, "default", &ecs.EipAssociationArgs{
			AllocationId: defaultEipAddress.ID(),
			InstanceId:   defaultNatGateway.ID(),
		})
		if err != nil {
			return err
		}
		defaultForwardEntry, err := vpc.NewForwardEntry(ctx, "default", &vpc.ForwardEntryArgs{
			ForwardTableId: defaultNatGateway.ForwardTableIds,
			ExternalIp:     defaultEipAddress.IpAddress,
			ExternalPort:   pulumi.String("80"),
			IpProtocol:     pulumi.String("tcp"),
			InternalIp:     pulumi.String("172.16.0.3"),
			InternalPort:   pulumi.String("8080"),
		})
		if err != nil {
			return err
		}
		_ = vpc.GetForwardEntriesOutput(ctx, vpc.GetForwardEntriesOutputArgs{
			ForwardTableId: defaultForwardEntry.ForwardTableId,
		}, nil)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "forward-entry-config-example-name";
    var @default = AliCloud.GetZones.Invoke(new()
    {
        AvailableResourceCreation = "VSwitch",
    });

    var defaultNetwork = new AliCloud.Vpc.Network("default", new()
    {
        VpcName = name,
        CidrBlock = "172.16.0.0/12",
    });

    var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
    {
        VpcId = defaultNetwork.Id,
        CidrBlock = "172.16.0.0/21",
        ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
        VswitchName = name,
    });

    var defaultNatGateway = new AliCloud.Vpc.NatGateway("default", new()
    {
        VpcId = defaultNetwork.Id,
        InternetChargeType = "PayByLcu",
        NatGatewayName = name,
        NatType = "Enhanced",
        VswitchId = defaultSwitch.Id,
    });

    var defaultEipAddress = new AliCloud.Ecs.EipAddress("default", new()
    {
        AddressName = name,
    });

    var defaultEipAssociation = new AliCloud.Ecs.EipAssociation("default", new()
    {
        AllocationId = defaultEipAddress.Id,
        InstanceId = defaultNatGateway.Id,
    });

    var defaultForwardEntry = new AliCloud.Vpc.ForwardEntry("default", new()
    {
        ForwardTableId = defaultNatGateway.ForwardTableIds,
        ExternalIp = defaultEipAddress.IpAddress,
        ExternalPort = "80",
        IpProtocol = "tcp",
        InternalIp = "172.16.0.3",
        InternalPort = "8080",
    });

    var defaultGetForwardEntries = AliCloud.Vpc.GetForwardEntries.Invoke(new()
    {
        ForwardTableId = defaultForwardEntry.ForwardTableId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.vpc.NatGateway;
import com.pulumi.alicloud.vpc.NatGatewayArgs;
import com.pulumi.alicloud.ecs.EipAddress;
import com.pulumi.alicloud.ecs.EipAddressArgs;
import com.pulumi.alicloud.ecs.EipAssociation;
import com.pulumi.alicloud.ecs.EipAssociationArgs;
import com.pulumi.alicloud.vpc.ForwardEntry;
import com.pulumi.alicloud.vpc.ForwardEntryArgs;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetForwardEntriesArgs;
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 config = ctx.config();
        final var name = config.get("name").orElse("forward-entry-config-example-name");
        final var default = AlicloudFunctions.getZones(GetZonesArgs.builder()
            .availableResourceCreation("VSwitch")
            .build());

        var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
            .vpcName(name)
            .cidrBlock("172.16.0.0/12")
            .build());

        var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
            .vpcId(defaultNetwork.id())
            .cidrBlock("172.16.0.0/21")
            .zoneId(default_.zones()[0].id())
            .vswitchName(name)
            .build());

        var defaultNatGateway = new NatGateway("defaultNatGateway", NatGatewayArgs.builder()
            .vpcId(defaultNetwork.id())
            .internetChargeType("PayByLcu")
            .natGatewayName(name)
            .natType("Enhanced")
            .vswitchId(defaultSwitch.id())
            .build());

        var defaultEipAddress = new EipAddress("defaultEipAddress", EipAddressArgs.builder()
            .addressName(name)
            .build());

        var defaultEipAssociation = new EipAssociation("defaultEipAssociation", EipAssociationArgs.builder()
            .allocationId(defaultEipAddress.id())
            .instanceId(defaultNatGateway.id())
            .build());

        var defaultForwardEntry = new ForwardEntry("defaultForwardEntry", ForwardEntryArgs.builder()
            .forwardTableId(defaultNatGateway.forwardTableIds())
            .externalIp(defaultEipAddress.ipAddress())
            .externalPort("80")
            .ipProtocol("tcp")
            .internalIp("172.16.0.3")
            .internalPort("8080")
            .build());

        final var defaultGetForwardEntries = VpcFunctions.getForwardEntries(GetForwardEntriesArgs.builder()
            .forwardTableId(defaultForwardEntry.forwardTableId())
            .build());

    }
}
Copy
configuration:
  name:
    type: string
    default: forward-entry-config-example-name
resources:
  defaultNetwork:
    type: alicloud:vpc:Network
    name: default
    properties:
      vpcName: ${name}
      cidrBlock: 172.16.0.0/12
  defaultSwitch:
    type: alicloud:vpc:Switch
    name: default
    properties:
      vpcId: ${defaultNetwork.id}
      cidrBlock: 172.16.0.0/21
      zoneId: ${default.zones[0].id}
      vswitchName: ${name}
  defaultNatGateway:
    type: alicloud:vpc:NatGateway
    name: default
    properties:
      vpcId: ${defaultNetwork.id}
      internetChargeType: PayByLcu
      natGatewayName: ${name}
      natType: Enhanced
      vswitchId: ${defaultSwitch.id}
  defaultEipAddress:
    type: alicloud:ecs:EipAddress
    name: default
    properties:
      addressName: ${name}
  defaultEipAssociation:
    type: alicloud:ecs:EipAssociation
    name: default
    properties:
      allocationId: ${defaultEipAddress.id}
      instanceId: ${defaultNatGateway.id}
  defaultForwardEntry:
    type: alicloud:vpc:ForwardEntry
    name: default
    properties:
      forwardTableId: ${defaultNatGateway.forwardTableIds}
      externalIp: ${defaultEipAddress.ipAddress}
      externalPort: '80'
      ipProtocol: tcp
      internalIp: 172.16.0.3
      internalPort: '8080'
variables:
  default:
    fn::invoke:
      function: alicloud:getZones
      arguments:
        availableResourceCreation: VSwitch
  defaultGetForwardEntries:
    fn::invoke:
      function: alicloud:vpc:getForwardEntries
      arguments:
        forwardTableId: ${defaultForwardEntry.forwardTableId}
Copy

Using getForwardEntries

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 getForwardEntries(args: GetForwardEntriesArgs, opts?: InvokeOptions): Promise<GetForwardEntriesResult>
function getForwardEntriesOutput(args: GetForwardEntriesOutputArgs, opts?: InvokeOptions): Output<GetForwardEntriesResult>
Copy
def get_forward_entries(external_ip: Optional[str] = None,
                        external_port: Optional[str] = None,
                        forward_entry_name: Optional[str] = None,
                        forward_table_id: Optional[str] = None,
                        ids: Optional[Sequence[str]] = None,
                        internal_ip: Optional[str] = None,
                        internal_port: Optional[str] = None,
                        ip_protocol: Optional[str] = None,
                        name_regex: Optional[str] = None,
                        output_file: Optional[str] = None,
                        status: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetForwardEntriesResult
def get_forward_entries_output(external_ip: Optional[pulumi.Input[str]] = None,
                        external_port: Optional[pulumi.Input[str]] = None,
                        forward_entry_name: Optional[pulumi.Input[str]] = None,
                        forward_table_id: 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,
                        ip_protocol: Optional[pulumi.Input[str]] = None,
                        name_regex: Optional[pulumi.Input[str]] = None,
                        output_file: Optional[pulumi.Input[str]] = None,
                        status: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetForwardEntriesResult]
Copy
func GetForwardEntries(ctx *Context, args *GetForwardEntriesArgs, opts ...InvokeOption) (*GetForwardEntriesResult, error)
func GetForwardEntriesOutput(ctx *Context, args *GetForwardEntriesOutputArgs, opts ...InvokeOption) GetForwardEntriesResultOutput
Copy

> Note: This function is named GetForwardEntries in the Go SDK.

public static class GetForwardEntries 
{
    public static Task<GetForwardEntriesResult> InvokeAsync(GetForwardEntriesArgs args, InvokeOptions? opts = null)
    public static Output<GetForwardEntriesResult> Invoke(GetForwardEntriesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetForwardEntriesResult> getForwardEntries(GetForwardEntriesArgs args, InvokeOptions options)
public static Output<GetForwardEntriesResult> getForwardEntries(GetForwardEntriesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:vpc/getForwardEntries:getForwardEntries
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ForwardTableId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Forward table.
ExternalIp Changes to this property will trigger replacement. string
The public IP address.
ExternalPort Changes to this property will trigger replacement. string
The public port.
ForwardEntryName Changes to this property will trigger replacement. string
The name of forward entry.
Ids Changes to this property will trigger replacement. List<string>
A list of Forward Entries IDs.
InternalIp Changes to this property will trigger replacement. string
The private IP address.
InternalPort Changes to this property will trigger replacement. string
The internal port.
IpProtocol Changes to this property will trigger replacement. string
The ip protocol. Valid values: any,tcp and udp.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by forward entry name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. string
The status of farward entry. Valid value Available, Deleting and Pending.
ForwardTableId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Forward table.
ExternalIp Changes to this property will trigger replacement. string
The public IP address.
ExternalPort Changes to this property will trigger replacement. string
The public port.
ForwardEntryName Changes to this property will trigger replacement. string
The name of forward entry.
Ids Changes to this property will trigger replacement. []string
A list of Forward Entries IDs.
InternalIp Changes to this property will trigger replacement. string
The private IP address.
InternalPort Changes to this property will trigger replacement. string
The internal port.
IpProtocol Changes to this property will trigger replacement. string
The ip protocol. Valid values: any,tcp and udp.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by forward entry name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. string
The status of farward entry. Valid value Available, Deleting and Pending.
forwardTableId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Forward table.
externalIp Changes to this property will trigger replacement. String
The public IP address.
externalPort Changes to this property will trigger replacement. String
The public port.
forwardEntryName Changes to this property will trigger replacement. String
The name of forward entry.
ids Changes to this property will trigger replacement. List<String>
A list of Forward Entries IDs.
internalIp Changes to this property will trigger replacement. String
The private IP address.
internalPort Changes to this property will trigger replacement. String
The internal port.
ipProtocol Changes to this property will trigger replacement. String
The ip protocol. Valid values: any,tcp and udp.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by forward entry name.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. String
The status of farward entry. Valid value Available, Deleting and Pending.
forwardTableId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Forward table.
externalIp Changes to this property will trigger replacement. string
The public IP address.
externalPort Changes to this property will trigger replacement. string
The public port.
forwardEntryName Changes to this property will trigger replacement. string
The name of forward entry.
ids Changes to this property will trigger replacement. string[]
A list of Forward Entries IDs.
internalIp Changes to this property will trigger replacement. string
The private IP address.
internalPort Changes to this property will trigger replacement. string
The internal port.
ipProtocol Changes to this property will trigger replacement. string
The ip protocol. Valid values: any,tcp and udp.
nameRegex Changes to this property will trigger replacement. string
A regex string to filter results by forward entry name.
outputFile string
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. string
The status of farward entry. Valid value Available, Deleting and Pending.
forward_table_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Forward table.
external_ip Changes to this property will trigger replacement. str
The public IP address.
external_port Changes to this property will trigger replacement. str
The public port.
forward_entry_name Changes to this property will trigger replacement. str
The name of forward entry.
ids Changes to this property will trigger replacement. Sequence[str]
A list of Forward Entries IDs.
internal_ip Changes to this property will trigger replacement. str
The private IP address.
internal_port Changes to this property will trigger replacement. str
The internal port.
ip_protocol Changes to this property will trigger replacement. str
The ip protocol. Valid values: any,tcp and udp.
name_regex Changes to this property will trigger replacement. str
A regex string to filter results by forward entry name.
output_file str
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. str
The status of farward entry. Valid value Available, Deleting and Pending.
forwardTableId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Forward table.
externalIp Changes to this property will trigger replacement. String
The public IP address.
externalPort Changes to this property will trigger replacement. String
The public port.
forwardEntryName Changes to this property will trigger replacement. String
The name of forward entry.
ids Changes to this property will trigger replacement. List<String>
A list of Forward Entries IDs.
internalIp Changes to this property will trigger replacement. String
The private IP address.
internalPort Changes to this property will trigger replacement. String
The internal port.
ipProtocol Changes to this property will trigger replacement. String
The ip protocol. Valid values: any,tcp and udp.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by forward entry name.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. String
The status of farward entry. Valid value Available, Deleting and Pending.

getForwardEntries Result

The following output properties are available:

Entries List<Pulumi.AliCloud.Vpc.Outputs.GetForwardEntriesEntry>
A list of Forward Entries. Each element contains the following attributes:
ForwardTableId string
Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
A list of Forward Entries IDs.
Names List<string>
A list of Forward Entries names.
ExternalIp string
The public IP address.
ExternalPort string
The public port.
ForwardEntryName string
The name of forward entry.
InternalIp string
The private IP address.
InternalPort string
The private port.
IpProtocol string
The protocol type.
NameRegex string
OutputFile string
Status string
The status of forward entry.
Entries []GetForwardEntriesEntry
A list of Forward Entries. Each element contains the following attributes:
ForwardTableId string
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
A list of Forward Entries IDs.
Names []string
A list of Forward Entries names.
ExternalIp string
The public IP address.
ExternalPort string
The public port.
ForwardEntryName string
The name of forward entry.
InternalIp string
The private IP address.
InternalPort string
The private port.
IpProtocol string
The protocol type.
NameRegex string
OutputFile string
Status string
The status of forward entry.
entries List<GetForwardEntriesEntry>
A list of Forward Entries. Each element contains the following attributes:
forwardTableId String
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of Forward Entries IDs.
names List<String>
A list of Forward Entries names.
externalIp String
The public IP address.
externalPort String
The public port.
forwardEntryName String
The name of forward entry.
internalIp String
The private IP address.
internalPort String
The private port.
ipProtocol String
The protocol type.
nameRegex String
outputFile String
status String
The status of forward entry.
entries GetForwardEntriesEntry[]
A list of Forward Entries. Each element contains the following attributes:
forwardTableId string
id string
The provider-assigned unique ID for this managed resource.
ids string[]
A list of Forward Entries IDs.
names string[]
A list of Forward Entries names.
externalIp string
The public IP address.
externalPort string
The public port.
forwardEntryName string
The name of forward entry.
internalIp string
The private IP address.
internalPort string
The private port.
ipProtocol string
The protocol type.
nameRegex string
outputFile string
status string
The status of forward entry.
entries Sequence[GetForwardEntriesEntry]
A list of Forward Entries. Each element contains the following attributes:
forward_table_id str
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
A list of Forward Entries IDs.
names Sequence[str]
A list of Forward Entries names.
external_ip str
The public IP address.
external_port str
The public port.
forward_entry_name str
The name of forward entry.
internal_ip str
The private IP address.
internal_port str
The private port.
ip_protocol str
The protocol type.
name_regex str
output_file str
status str
The status of forward entry.
entries List<Property Map>
A list of Forward Entries. Each element contains the following attributes:
forwardTableId String
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of Forward Entries IDs.
names List<String>
A list of Forward Entries names.
externalIp String
The public IP address.
externalPort String
The public port.
forwardEntryName String
The name of forward entry.
internalIp String
The private IP address.
internalPort String
The private port.
ipProtocol String
The protocol type.
nameRegex String
outputFile String
status String
The status of forward entry.

Supporting Types

GetForwardEntriesEntry

ExternalIp This property is required. string
The public IP address.
ExternalPort This property is required. string
The public port.
ForwardEntryId This property is required. string
The forward entry ID.
ForwardEntryName This property is required. string
The name of forward entry.
Id This property is required. string
The ID of the Forward Entry.
InternalIp This property is required. string
The private IP address.
InternalPort This property is required. string
The internal port.
IpProtocol This property is required. string
The ip protocol. Valid values: any,tcp and udp.
Name This property is required. string
The forward entry name.
Status This property is required. string
The status of farward entry. Valid value Available, Deleting and Pending.
ExternalIp This property is required. string
The public IP address.
ExternalPort This property is required. string
The public port.
ForwardEntryId This property is required. string
The forward entry ID.
ForwardEntryName This property is required. string
The name of forward entry.
Id This property is required. string
The ID of the Forward Entry.
InternalIp This property is required. string
The private IP address.
InternalPort This property is required. string
The internal port.
IpProtocol This property is required. string
The ip protocol. Valid values: any,tcp and udp.
Name This property is required. string
The forward entry name.
Status This property is required. string
The status of farward entry. Valid value Available, Deleting and Pending.
externalIp This property is required. String
The public IP address.
externalPort This property is required. String
The public port.
forwardEntryId This property is required. String
The forward entry ID.
forwardEntryName This property is required. String
The name of forward entry.
id This property is required. String
The ID of the Forward Entry.
internalIp This property is required. String
The private IP address.
internalPort This property is required. String
The internal port.
ipProtocol This property is required. String
The ip protocol. Valid values: any,tcp and udp.
name This property is required. String
The forward entry name.
status This property is required. String
The status of farward entry. Valid value Available, Deleting and Pending.
externalIp This property is required. string
The public IP address.
externalPort This property is required. string
The public port.
forwardEntryId This property is required. string
The forward entry ID.
forwardEntryName This property is required. string
The name of forward entry.
id This property is required. string
The ID of the Forward Entry.
internalIp This property is required. string
The private IP address.
internalPort This property is required. string
The internal port.
ipProtocol This property is required. string
The ip protocol. Valid values: any,tcp and udp.
name This property is required. string
The forward entry name.
status This property is required. string
The status of farward entry. Valid value Available, Deleting and Pending.
external_ip This property is required. str
The public IP address.
external_port This property is required. str
The public port.
forward_entry_id This property is required. str
The forward entry ID.
forward_entry_name This property is required. str
The name of forward entry.
id This property is required. str
The ID of the Forward Entry.
internal_ip This property is required. str
The private IP address.
internal_port This property is required. str
The internal port.
ip_protocol This property is required. str
The ip protocol. Valid values: any,tcp and udp.
name This property is required. str
The forward entry name.
status This property is required. str
The status of farward entry. Valid value Available, Deleting and Pending.
externalIp This property is required. String
The public IP address.
externalPort This property is required. String
The public port.
forwardEntryId This property is required. String
The forward entry ID.
forwardEntryName This property is required. String
The name of forward entry.
id This property is required. String
The ID of the Forward Entry.
internalIp This property is required. String
The private IP address.
internalPort This property is required. String
The internal port.
ipProtocol This property is required. String
The ip protocol. Valid values: any,tcp and udp.
name This property is required. String
The forward entry name.
status This property is required. String
The status of farward entry. Valid value Available, Deleting and Pending.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi