Alibaba Cloud v3.77.0 published on Friday, May 2, 2025 by Pulumi
alicloud.ga.getCustomRoutingEndpointGroupDestinations
Explore with Pulumi AI
This data source provides the Global Accelerator (GA) Custom Routing Endpoint Group Destinations of the current Alibaba Cloud user.
NOTE: Available since v1.197.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.ga.getCustomRoutingEndpointGroupDestinations({
    ids: ["example_id"],
    acceleratorId: "your_accelerator_id",
});
export const gaCustomRoutingEndpointGroupDestinationsId1 = ids.then(ids => ids.customRoutingEndpointGroupDestinations?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.ga.get_custom_routing_endpoint_group_destinations(ids=["example_id"],
    accelerator_id="your_accelerator_id")
pulumi.export("gaCustomRoutingEndpointGroupDestinationsId1", ids.custom_routing_endpoint_group_destinations[0].id)
package main
import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ga"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := ga.GetCustomRoutingEndpointGroupDestinations(ctx, &ga.GetCustomRoutingEndpointGroupDestinationsArgs{
			Ids: []string{
				"example_id",
			},
			AcceleratorId: "your_accelerator_id",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("gaCustomRoutingEndpointGroupDestinationsId1", ids.CustomRoutingEndpointGroupDestinations[0].Id)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() => 
{
    var ids = AliCloud.Ga.GetCustomRoutingEndpointGroupDestinations.Invoke(new()
    {
        Ids = new[]
        {
            "example_id",
        },
        AcceleratorId = "your_accelerator_id",
    });
    return new Dictionary<string, object?>
    {
        ["gaCustomRoutingEndpointGroupDestinationsId1"] = ids.Apply(getCustomRoutingEndpointGroupDestinationsResult => getCustomRoutingEndpointGroupDestinationsResult.CustomRoutingEndpointGroupDestinations[0]?.Id),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ga.GaFunctions;
import com.pulumi.alicloud.ga.inputs.GetCustomRoutingEndpointGroupDestinationsArgs;
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 ids = GaFunctions.getCustomRoutingEndpointGroupDestinations(GetCustomRoutingEndpointGroupDestinationsArgs.builder()
            .ids("example_id")
            .acceleratorId("your_accelerator_id")
            .build());
        ctx.export("gaCustomRoutingEndpointGroupDestinationsId1", ids.customRoutingEndpointGroupDestinations()[0].id());
    }
}
variables:
  ids:
    fn::invoke:
      function: alicloud:ga:getCustomRoutingEndpointGroupDestinations
      arguments:
        ids:
          - example_id
        acceleratorId: your_accelerator_id
outputs:
  gaCustomRoutingEndpointGroupDestinationsId1: ${ids.customRoutingEndpointGroupDestinations[0].id}
Using getCustomRoutingEndpointGroupDestinations
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 getCustomRoutingEndpointGroupDestinations(args: GetCustomRoutingEndpointGroupDestinationsArgs, opts?: InvokeOptions): Promise<GetCustomRoutingEndpointGroupDestinationsResult>
function getCustomRoutingEndpointGroupDestinationsOutput(args: GetCustomRoutingEndpointGroupDestinationsOutputArgs, opts?: InvokeOptions): Output<GetCustomRoutingEndpointGroupDestinationsResult>def get_custom_routing_endpoint_group_destinations(accelerator_id: Optional[str] = None,
                                                   endpoint_group_id: Optional[str] = None,
                                                   from_port: Optional[int] = None,
                                                   ids: Optional[Sequence[str]] = None,
                                                   listener_id: Optional[str] = None,
                                                   output_file: Optional[str] = None,
                                                   page_number: Optional[int] = None,
                                                   page_size: Optional[int] = None,
                                                   protocols: Optional[Sequence[str]] = None,
                                                   to_port: Optional[int] = None,
                                                   opts: Optional[InvokeOptions] = None) -> GetCustomRoutingEndpointGroupDestinationsResult
def get_custom_routing_endpoint_group_destinations_output(accelerator_id: Optional[pulumi.Input[str]] = None,
                                                   endpoint_group_id: Optional[pulumi.Input[str]] = None,
                                                   from_port: Optional[pulumi.Input[int]] = None,
                                                   ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                   listener_id: Optional[pulumi.Input[str]] = None,
                                                   output_file: Optional[pulumi.Input[str]] = None,
                                                   page_number: Optional[pulumi.Input[int]] = None,
                                                   page_size: Optional[pulumi.Input[int]] = None,
                                                   protocols: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                   to_port: Optional[pulumi.Input[int]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[GetCustomRoutingEndpointGroupDestinationsResult]func GetCustomRoutingEndpointGroupDestinations(ctx *Context, args *GetCustomRoutingEndpointGroupDestinationsArgs, opts ...InvokeOption) (*GetCustomRoutingEndpointGroupDestinationsResult, error)
func GetCustomRoutingEndpointGroupDestinationsOutput(ctx *Context, args *GetCustomRoutingEndpointGroupDestinationsOutputArgs, opts ...InvokeOption) GetCustomRoutingEndpointGroupDestinationsResultOutput> Note: This function is named GetCustomRoutingEndpointGroupDestinations in the Go SDK.
public static class GetCustomRoutingEndpointGroupDestinations 
{
    public static Task<GetCustomRoutingEndpointGroupDestinationsResult> InvokeAsync(GetCustomRoutingEndpointGroupDestinationsArgs args, InvokeOptions? opts = null)
    public static Output<GetCustomRoutingEndpointGroupDestinationsResult> Invoke(GetCustomRoutingEndpointGroupDestinationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCustomRoutingEndpointGroupDestinationsResult> getCustomRoutingEndpointGroupDestinations(GetCustomRoutingEndpointGroupDestinationsArgs args, InvokeOptions options)
public static Output<GetCustomRoutingEndpointGroupDestinationsResult> getCustomRoutingEndpointGroupDestinations(GetCustomRoutingEndpointGroupDestinationsArgs args, InvokeOptions options)
fn::invoke:
  function: alicloud:ga/getCustomRoutingEndpointGroupDestinations:getCustomRoutingEndpointGroupDestinations
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AcceleratorId string
- The ID of the GA instance.
- EndpointGroup stringId 
- The ID of the endpoint group.
- FromPort int
- The start port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- Ids List<string>
- A list of Custom Routing Endpoint Group Destination IDs.
- ListenerId string
- The ID of the listener.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- PageNumber int
- PageSize int
- Protocols List<string>
- The backend service protocol of the endpoint group. Valid values: TCP,UDP,TCP, UDP.
- ToPort int
- The end port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- AcceleratorId string
- The ID of the GA instance.
- EndpointGroup stringId 
- The ID of the endpoint group.
- FromPort int
- The start port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- Ids []string
- A list of Custom Routing Endpoint Group Destination IDs.
- ListenerId string
- The ID of the listener.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- PageNumber int
- PageSize int
- Protocols []string
- The backend service protocol of the endpoint group. Valid values: TCP,UDP,TCP, UDP.
- ToPort int
- The end port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- acceleratorId String
- The ID of the GA instance.
- endpointGroup StringId 
- The ID of the endpoint group.
- fromPort Integer
- The start port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- ids List<String>
- A list of Custom Routing Endpoint Group Destination IDs.
- listenerId String
- The ID of the listener.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- pageNumber Integer
- pageSize Integer
- protocols List<String>
- The backend service protocol of the endpoint group. Valid values: TCP,UDP,TCP, UDP.
- toPort Integer
- The end port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- acceleratorId string
- The ID of the GA instance.
- endpointGroup stringId 
- The ID of the endpoint group.
- fromPort number
- The start port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- ids string[]
- A list of Custom Routing Endpoint Group Destination IDs.
- listenerId string
- The ID of the listener.
- outputFile string
- File name where to save data source results (after running pulumi preview).
- pageNumber number
- pageSize number
- protocols string[]
- The backend service protocol of the endpoint group. Valid values: TCP,UDP,TCP, UDP.
- toPort number
- The end port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- accelerator_id str
- The ID of the GA instance.
- endpoint_group_ strid 
- The ID of the endpoint group.
- from_port int
- The start port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- ids Sequence[str]
- A list of Custom Routing Endpoint Group Destination IDs.
- listener_id str
- The ID of the listener.
- output_file str
- File name where to save data source results (after running pulumi preview).
- page_number int
- page_size int
- protocols Sequence[str]
- The backend service protocol of the endpoint group. Valid values: TCP,UDP,TCP, UDP.
- to_port int
- The end port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- acceleratorId String
- The ID of the GA instance.
- endpointGroup StringId 
- The ID of the endpoint group.
- fromPort Number
- The start port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- ids List<String>
- A list of Custom Routing Endpoint Group Destination IDs.
- listenerId String
- The ID of the listener.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- pageNumber Number
- pageSize Number
- protocols List<String>
- The backend service protocol of the endpoint group. Valid values: TCP,UDP,TCP, UDP.
- toPort Number
- The end port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
getCustomRoutingEndpointGroupDestinations Result
The following output properties are available:
- AcceleratorId string
- The ID of the GA instance.
- CustomRouting List<Pulumi.Endpoint Group Destinations Ali Cloud. Ga. Outputs. Get Custom Routing Endpoint Group Destinations Custom Routing Endpoint Group Destination> 
- A list of Custom Routing Endpoint Group Destinations. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- EndpointGroup stringId 
- The ID of the Custom Routing Endpoint Group.
- FromPort int
- The start port of the backend service port range of the endpoint group.
- ListenerId string
- The ID of the listener.
- OutputFile string
- PageNumber int
- PageSize int
- Protocols List<string>
- The backend service protocol of the endpoint group.
- ToPort int
- The end port of the backend service port range of the endpoint group.
- AcceleratorId string
- The ID of the GA instance.
- CustomRouting []GetEndpoint Group Destinations Custom Routing Endpoint Group Destinations Custom Routing Endpoint Group Destination 
- A list of Custom Routing Endpoint Group Destinations. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- EndpointGroup stringId 
- The ID of the Custom Routing Endpoint Group.
- FromPort int
- The start port of the backend service port range of the endpoint group.
- ListenerId string
- The ID of the listener.
- OutputFile string
- PageNumber int
- PageSize int
- Protocols []string
- The backend service protocol of the endpoint group.
- ToPort int
- The end port of the backend service port range of the endpoint group.
- acceleratorId String
- The ID of the GA instance.
- customRouting List<GetEndpoint Group Destinations Custom Routing Endpoint Group Destinations Custom Routing Endpoint Group Destination> 
- A list of Custom Routing Endpoint Group Destinations. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- endpointGroup StringId 
- The ID of the Custom Routing Endpoint Group.
- fromPort Integer
- The start port of the backend service port range of the endpoint group.
- listenerId String
- The ID of the listener.
- outputFile String
- pageNumber Integer
- pageSize Integer
- protocols List<String>
- The backend service protocol of the endpoint group.
- toPort Integer
- The end port of the backend service port range of the endpoint group.
- acceleratorId string
- The ID of the GA instance.
- customRouting GetEndpoint Group Destinations Custom Routing Endpoint Group Destinations Custom Routing Endpoint Group Destination[] 
- A list of Custom Routing Endpoint Group Destinations. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- endpointGroup stringId 
- The ID of the Custom Routing Endpoint Group.
- fromPort number
- The start port of the backend service port range of the endpoint group.
- listenerId string
- The ID of the listener.
- outputFile string
- pageNumber number
- pageSize number
- protocols string[]
- The backend service protocol of the endpoint group.
- toPort number
- The end port of the backend service port range of the endpoint group.
- accelerator_id str
- The ID of the GA instance.
- custom_routing_ Sequence[Getendpoint_ group_ destinations Custom Routing Endpoint Group Destinations Custom Routing Endpoint Group Destination] 
- A list of Custom Routing Endpoint Group Destinations. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- endpoint_group_ strid 
- The ID of the Custom Routing Endpoint Group.
- from_port int
- The start port of the backend service port range of the endpoint group.
- listener_id str
- The ID of the listener.
- output_file str
- page_number int
- page_size int
- protocols Sequence[str]
- The backend service protocol of the endpoint group.
- to_port int
- The end port of the backend service port range of the endpoint group.
- acceleratorId String
- The ID of the GA instance.
- customRouting List<Property Map>Endpoint Group Destinations 
- A list of Custom Routing Endpoint Group Destinations. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- endpointGroup StringId 
- The ID of the Custom Routing Endpoint Group.
- fromPort Number
- The start port of the backend service port range of the endpoint group.
- listenerId String
- The ID of the listener.
- outputFile String
- pageNumber Number
- pageSize Number
- protocols List<String>
- The backend service protocol of the endpoint group.
- toPort Number
- The end port of the backend service port range of the endpoint group.
Supporting Types
GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination          
- AcceleratorId string
- The ID of the GA instance.
- CustomRouting stringEndpoint Group Destination Id 
- The ID of the Custom Routing Endpoint Group Destination.
- EndpointGroup stringId 
- The ID of the endpoint group.
- FromPort int
- The start port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- Id string
- The id of the Global Accelerator Custom Routing Endpoint Group Destination. It formats as <endpoint_group_id>:<custom_routing_endpoint_group_destination_id>.
- ListenerId string
- The ID of the listener.
- Protocols List<string>
- The backend service protocol of the endpoint group. Valid values: TCP,UDP,TCP, UDP.
- ToPort int
- The end port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- AcceleratorId string
- The ID of the GA instance.
- CustomRouting stringEndpoint Group Destination Id 
- The ID of the Custom Routing Endpoint Group Destination.
- EndpointGroup stringId 
- The ID of the endpoint group.
- FromPort int
- The start port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- Id string
- The id of the Global Accelerator Custom Routing Endpoint Group Destination. It formats as <endpoint_group_id>:<custom_routing_endpoint_group_destination_id>.
- ListenerId string
- The ID of the listener.
- Protocols []string
- The backend service protocol of the endpoint group. Valid values: TCP,UDP,TCP, UDP.
- ToPort int
- The end port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- acceleratorId String
- The ID of the GA instance.
- customRouting StringEndpoint Group Destination Id 
- The ID of the Custom Routing Endpoint Group Destination.
- endpointGroup StringId 
- The ID of the endpoint group.
- fromPort Integer
- The start port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- id String
- The id of the Global Accelerator Custom Routing Endpoint Group Destination. It formats as <endpoint_group_id>:<custom_routing_endpoint_group_destination_id>.
- listenerId String
- The ID of the listener.
- protocols List<String>
- The backend service protocol of the endpoint group. Valid values: TCP,UDP,TCP, UDP.
- toPort Integer
- The end port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- acceleratorId string
- The ID of the GA instance.
- customRouting stringEndpoint Group Destination Id 
- The ID of the Custom Routing Endpoint Group Destination.
- endpointGroup stringId 
- The ID of the endpoint group.
- fromPort number
- The start port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- id string
- The id of the Global Accelerator Custom Routing Endpoint Group Destination. It formats as <endpoint_group_id>:<custom_routing_endpoint_group_destination_id>.
- listenerId string
- The ID of the listener.
- protocols string[]
- The backend service protocol of the endpoint group. Valid values: TCP,UDP,TCP, UDP.
- toPort number
- The end port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- accelerator_id str
- The ID of the GA instance.
- custom_routing_ strendpoint_ group_ destination_ id 
- The ID of the Custom Routing Endpoint Group Destination.
- endpoint_group_ strid 
- The ID of the endpoint group.
- from_port int
- The start port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- id str
- The id of the Global Accelerator Custom Routing Endpoint Group Destination. It formats as <endpoint_group_id>:<custom_routing_endpoint_group_destination_id>.
- listener_id str
- The ID of the listener.
- protocols Sequence[str]
- The backend service protocol of the endpoint group. Valid values: TCP,UDP,TCP, UDP.
- to_port int
- The end port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- acceleratorId String
- The ID of the GA instance.
- customRouting StringEndpoint Group Destination Id 
- The ID of the Custom Routing Endpoint Group Destination.
- endpointGroup StringId 
- The ID of the endpoint group.
- fromPort Number
- The start port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
- id String
- The id of the Global Accelerator Custom Routing Endpoint Group Destination. It formats as <endpoint_group_id>:<custom_routing_endpoint_group_destination_id>.
- listenerId String
- The ID of the listener.
- protocols List<String>
- The backend service protocol of the endpoint group. Valid values: TCP,UDP,TCP, UDP.
- toPort Number
- The end port of the backend service port range of the endpoint group. The from_portvalue must be smaller than or equal to theto_portvalue. Valid values:1to65499.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the alicloudTerraform Provider.