alicloud.ga.CustomRoutingEndpointGroupDestination
Explore with Pulumi AI
Provides a Global Accelerator (GA) Custom Routing Endpoint Group Destination resource.
For information about Global Accelerator (GA) Custom Routing Endpoint Group Destination and how to use it, see What is Custom Routing Endpoint Group Destination.
NOTE: Available since v1.197.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const region = config.get("region") || "cn-hangzhou";
const _default = new alicloud.ga.Accelerator("default", {
duration: 1,
autoUseCoupon: true,
spec: "1",
});
const defaultBandwidthPackage = new alicloud.ga.BandwidthPackage("default", {
bandwidth: 100,
type: "Basic",
bandwidthType: "Basic",
paymentType: "PayAsYouGo",
billingType: "PayBy95",
ratio: 30,
});
const defaultBandwidthPackageAttachment = new alicloud.ga.BandwidthPackageAttachment("default", {
acceleratorId: _default.id,
bandwidthPackageId: defaultBandwidthPackage.id,
});
const defaultListener = new alicloud.ga.Listener("default", {
acceleratorId: defaultBandwidthPackageAttachment.acceleratorId,
listenerType: "CustomRouting",
portRanges: [{
fromPort: 10000,
toPort: 16000,
}],
});
const defaultCustomRoutingEndpointGroup = new alicloud.ga.CustomRoutingEndpointGroup("default", {
acceleratorId: defaultListener.acceleratorId,
listenerId: defaultListener.id,
endpointGroupRegion: region,
customRoutingEndpointGroupName: "terraform-example",
description: "terraform-example",
});
const defaultCustomRoutingEndpointGroupDestination = new alicloud.ga.CustomRoutingEndpointGroupDestination("default", {
endpointGroupId: defaultCustomRoutingEndpointGroup.id,
protocols: ["TCP"],
fromPort: 1,
toPort: 2,
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
region = config.get("region")
if region is None:
region = "cn-hangzhou"
default = alicloud.ga.Accelerator("default",
duration=1,
auto_use_coupon=True,
spec="1")
default_bandwidth_package = alicloud.ga.BandwidthPackage("default",
bandwidth=100,
type="Basic",
bandwidth_type="Basic",
payment_type="PayAsYouGo",
billing_type="PayBy95",
ratio=30)
default_bandwidth_package_attachment = alicloud.ga.BandwidthPackageAttachment("default",
accelerator_id=default.id,
bandwidth_package_id=default_bandwidth_package.id)
default_listener = alicloud.ga.Listener("default",
accelerator_id=default_bandwidth_package_attachment.accelerator_id,
listener_type="CustomRouting",
port_ranges=[{
"from_port": 10000,
"to_port": 16000,
}])
default_custom_routing_endpoint_group = alicloud.ga.CustomRoutingEndpointGroup("default",
accelerator_id=default_listener.accelerator_id,
listener_id=default_listener.id,
endpoint_group_region=region,
custom_routing_endpoint_group_name="terraform-example",
description="terraform-example")
default_custom_routing_endpoint_group_destination = alicloud.ga.CustomRoutingEndpointGroupDestination("default",
endpoint_group_id=default_custom_routing_endpoint_group.id,
protocols=["TCP"],
from_port=1,
to_port=2)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ga"
"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, "")
region := "cn-hangzhou"
if param := cfg.Get("region"); param != "" {
region = param
}
_, err := ga.NewAccelerator(ctx, "default", &ga.AcceleratorArgs{
Duration: pulumi.Int(1),
AutoUseCoupon: pulumi.Bool(true),
Spec: pulumi.String("1"),
})
if err != nil {
return err
}
defaultBandwidthPackage, err := ga.NewBandwidthPackage(ctx, "default", &ga.BandwidthPackageArgs{
Bandwidth: pulumi.Int(100),
Type: pulumi.String("Basic"),
BandwidthType: pulumi.String("Basic"),
PaymentType: pulumi.String("PayAsYouGo"),
BillingType: pulumi.String("PayBy95"),
Ratio: pulumi.Int(30),
})
if err != nil {
return err
}
defaultBandwidthPackageAttachment, err := ga.NewBandwidthPackageAttachment(ctx, "default", &ga.BandwidthPackageAttachmentArgs{
AcceleratorId: _default.ID(),
BandwidthPackageId: defaultBandwidthPackage.ID(),
})
if err != nil {
return err
}
defaultListener, err := ga.NewListener(ctx, "default", &ga.ListenerArgs{
AcceleratorId: defaultBandwidthPackageAttachment.AcceleratorId,
ListenerType: pulumi.String("CustomRouting"),
PortRanges: ga.ListenerPortRangeArray{
&ga.ListenerPortRangeArgs{
FromPort: pulumi.Int(10000),
ToPort: pulumi.Int(16000),
},
},
})
if err != nil {
return err
}
defaultCustomRoutingEndpointGroup, err := ga.NewCustomRoutingEndpointGroup(ctx, "default", &ga.CustomRoutingEndpointGroupArgs{
AcceleratorId: defaultListener.AcceleratorId,
ListenerId: defaultListener.ID(),
EndpointGroupRegion: pulumi.String(region),
CustomRoutingEndpointGroupName: pulumi.String("terraform-example"),
Description: pulumi.String("terraform-example"),
})
if err != nil {
return err
}
_, err = ga.NewCustomRoutingEndpointGroupDestination(ctx, "default", &ga.CustomRoutingEndpointGroupDestinationArgs{
EndpointGroupId: defaultCustomRoutingEndpointGroup.ID(),
Protocols: pulumi.StringArray{
pulumi.String("TCP"),
},
FromPort: pulumi.Int(1),
ToPort: pulumi.Int(2),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var region = config.Get("region") ?? "cn-hangzhou";
var @default = new AliCloud.Ga.Accelerator("default", new()
{
Duration = 1,
AutoUseCoupon = true,
Spec = "1",
});
var defaultBandwidthPackage = new AliCloud.Ga.BandwidthPackage("default", new()
{
Bandwidth = 100,
Type = "Basic",
BandwidthType = "Basic",
PaymentType = "PayAsYouGo",
BillingType = "PayBy95",
Ratio = 30,
});
var defaultBandwidthPackageAttachment = new AliCloud.Ga.BandwidthPackageAttachment("default", new()
{
AcceleratorId = @default.Id,
BandwidthPackageId = defaultBandwidthPackage.Id,
});
var defaultListener = new AliCloud.Ga.Listener("default", new()
{
AcceleratorId = defaultBandwidthPackageAttachment.AcceleratorId,
ListenerType = "CustomRouting",
PortRanges = new[]
{
new AliCloud.Ga.Inputs.ListenerPortRangeArgs
{
FromPort = 10000,
ToPort = 16000,
},
},
});
var defaultCustomRoutingEndpointGroup = new AliCloud.Ga.CustomRoutingEndpointGroup("default", new()
{
AcceleratorId = defaultListener.AcceleratorId,
ListenerId = defaultListener.Id,
EndpointGroupRegion = region,
CustomRoutingEndpointGroupName = "terraform-example",
Description = "terraform-example",
});
var defaultCustomRoutingEndpointGroupDestination = new AliCloud.Ga.CustomRoutingEndpointGroupDestination("default", new()
{
EndpointGroupId = defaultCustomRoutingEndpointGroup.Id,
Protocols = new[]
{
"TCP",
},
FromPort = 1,
ToPort = 2,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ga.Accelerator;
import com.pulumi.alicloud.ga.AcceleratorArgs;
import com.pulumi.alicloud.ga.BandwidthPackage;
import com.pulumi.alicloud.ga.BandwidthPackageArgs;
import com.pulumi.alicloud.ga.BandwidthPackageAttachment;
import com.pulumi.alicloud.ga.BandwidthPackageAttachmentArgs;
import com.pulumi.alicloud.ga.Listener;
import com.pulumi.alicloud.ga.ListenerArgs;
import com.pulumi.alicloud.ga.inputs.ListenerPortRangeArgs;
import com.pulumi.alicloud.ga.CustomRoutingEndpointGroup;
import com.pulumi.alicloud.ga.CustomRoutingEndpointGroupArgs;
import com.pulumi.alicloud.ga.CustomRoutingEndpointGroupDestination;
import com.pulumi.alicloud.ga.CustomRoutingEndpointGroupDestinationArgs;
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 region = config.get("region").orElse("cn-hangzhou");
var default_ = new Accelerator("default", AcceleratorArgs.builder()
.duration(1)
.autoUseCoupon(true)
.spec("1")
.build());
var defaultBandwidthPackage = new BandwidthPackage("defaultBandwidthPackage", BandwidthPackageArgs.builder()
.bandwidth(100)
.type("Basic")
.bandwidthType("Basic")
.paymentType("PayAsYouGo")
.billingType("PayBy95")
.ratio(30)
.build());
var defaultBandwidthPackageAttachment = new BandwidthPackageAttachment("defaultBandwidthPackageAttachment", BandwidthPackageAttachmentArgs.builder()
.acceleratorId(default_.id())
.bandwidthPackageId(defaultBandwidthPackage.id())
.build());
var defaultListener = new Listener("defaultListener", ListenerArgs.builder()
.acceleratorId(defaultBandwidthPackageAttachment.acceleratorId())
.listenerType("CustomRouting")
.portRanges(ListenerPortRangeArgs.builder()
.fromPort(10000)
.toPort(16000)
.build())
.build());
var defaultCustomRoutingEndpointGroup = new CustomRoutingEndpointGroup("defaultCustomRoutingEndpointGroup", CustomRoutingEndpointGroupArgs.builder()
.acceleratorId(defaultListener.acceleratorId())
.listenerId(defaultListener.id())
.endpointGroupRegion(region)
.customRoutingEndpointGroupName("terraform-example")
.description("terraform-example")
.build());
var defaultCustomRoutingEndpointGroupDestination = new CustomRoutingEndpointGroupDestination("defaultCustomRoutingEndpointGroupDestination", CustomRoutingEndpointGroupDestinationArgs.builder()
.endpointGroupId(defaultCustomRoutingEndpointGroup.id())
.protocols("TCP")
.fromPort(1)
.toPort(2)
.build());
}
}
configuration:
region:
type: string
default: cn-hangzhou
resources:
default:
type: alicloud:ga:Accelerator
properties:
duration: 1
autoUseCoupon: true
spec: '1'
defaultBandwidthPackage:
type: alicloud:ga:BandwidthPackage
name: default
properties:
bandwidth: 100
type: Basic
bandwidthType: Basic
paymentType: PayAsYouGo
billingType: PayBy95
ratio: 30
defaultBandwidthPackageAttachment:
type: alicloud:ga:BandwidthPackageAttachment
name: default
properties:
acceleratorId: ${default.id}
bandwidthPackageId: ${defaultBandwidthPackage.id}
defaultListener:
type: alicloud:ga:Listener
name: default
properties:
acceleratorId: ${defaultBandwidthPackageAttachment.acceleratorId}
listenerType: CustomRouting
portRanges:
- fromPort: 10000
toPort: 16000
defaultCustomRoutingEndpointGroup:
type: alicloud:ga:CustomRoutingEndpointGroup
name: default
properties:
acceleratorId: ${defaultListener.acceleratorId}
listenerId: ${defaultListener.id}
endpointGroupRegion: ${region}
customRoutingEndpointGroupName: terraform-example
description: terraform-example
defaultCustomRoutingEndpointGroupDestination:
type: alicloud:ga:CustomRoutingEndpointGroupDestination
name: default
properties:
endpointGroupId: ${defaultCustomRoutingEndpointGroup.id}
protocols:
- TCP
fromPort: 1
toPort: 2
Create CustomRoutingEndpointGroupDestination Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomRoutingEndpointGroupDestination(name: string, args: CustomRoutingEndpointGroupDestinationArgs, opts?: CustomResourceOptions);
@overload
def CustomRoutingEndpointGroupDestination(resource_name: str,
args: CustomRoutingEndpointGroupDestinationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomRoutingEndpointGroupDestination(resource_name: str,
opts: Optional[ResourceOptions] = None,
endpoint_group_id: Optional[str] = None,
from_port: Optional[int] = None,
protocols: Optional[Sequence[str]] = None,
to_port: Optional[int] = None)
func NewCustomRoutingEndpointGroupDestination(ctx *Context, name string, args CustomRoutingEndpointGroupDestinationArgs, opts ...ResourceOption) (*CustomRoutingEndpointGroupDestination, error)
public CustomRoutingEndpointGroupDestination(string name, CustomRoutingEndpointGroupDestinationArgs args, CustomResourceOptions? opts = null)
public CustomRoutingEndpointGroupDestination(String name, CustomRoutingEndpointGroupDestinationArgs args)
public CustomRoutingEndpointGroupDestination(String name, CustomRoutingEndpointGroupDestinationArgs args, CustomResourceOptions options)
type: alicloud:ga:CustomRoutingEndpointGroupDestination
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CustomRoutingEndpointGroupDestinationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CustomRoutingEndpointGroupDestinationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CustomRoutingEndpointGroupDestinationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomRoutingEndpointGroupDestinationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomRoutingEndpointGroupDestinationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var customRoutingEndpointGroupDestinationResource = new AliCloud.Ga.CustomRoutingEndpointGroupDestination("customRoutingEndpointGroupDestinationResource", new()
{
EndpointGroupId = "string",
FromPort = 0,
Protocols = new[]
{
"string",
},
ToPort = 0,
});
example, err := ga.NewCustomRoutingEndpointGroupDestination(ctx, "customRoutingEndpointGroupDestinationResource", &ga.CustomRoutingEndpointGroupDestinationArgs{
EndpointGroupId: pulumi.String("string"),
FromPort: pulumi.Int(0),
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
ToPort: pulumi.Int(0),
})
var customRoutingEndpointGroupDestinationResource = new CustomRoutingEndpointGroupDestination("customRoutingEndpointGroupDestinationResource", CustomRoutingEndpointGroupDestinationArgs.builder()
.endpointGroupId("string")
.fromPort(0)
.protocols("string")
.toPort(0)
.build());
custom_routing_endpoint_group_destination_resource = alicloud.ga.CustomRoutingEndpointGroupDestination("customRoutingEndpointGroupDestinationResource",
endpoint_group_id="string",
from_port=0,
protocols=["string"],
to_port=0)
const customRoutingEndpointGroupDestinationResource = new alicloud.ga.CustomRoutingEndpointGroupDestination("customRoutingEndpointGroupDestinationResource", {
endpointGroupId: "string",
fromPort: 0,
protocols: ["string"],
toPort: 0,
});
type: alicloud:ga:CustomRoutingEndpointGroupDestination
properties:
endpointGroupId: string
fromPort: 0
protocols:
- string
toPort: 0
CustomRoutingEndpointGroupDestination Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CustomRoutingEndpointGroupDestination resource accepts the following input properties:
- Endpoint
Group stringId - The ID of the endpoint group.
- From
Port int - The start port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
. - Protocols List<string>
- 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_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
.
- Endpoint
Group stringId - The ID of the endpoint group.
- From
Port int - The start port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
. - Protocols []string
- 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_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
.
- endpoint
Group StringId - The ID of the endpoint group.
- from
Port Integer - The start port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
. - protocols List<String>
- The backend service protocol of the endpoint group. Valid values:
TCP
,UDP
,TCP, UDP
. - to
Port Integer - The end port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
.
- endpoint
Group stringId - The ID of the endpoint group.
- from
Port number - The start port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
. - protocols string[]
- The backend service protocol of the endpoint group. Valid values:
TCP
,UDP
,TCP, UDP
. - to
Port number - The end port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
.
- 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_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
. - 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_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
.
- endpoint
Group StringId - The ID of the endpoint group.
- from
Port Number - The start port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
. - protocols List<String>
- The backend service protocol of the endpoint group. Valid values:
TCP
,UDP
,TCP, UDP
. - to
Port Number - The end port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
.
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomRoutingEndpointGroupDestination resource produces the following output properties:
- Accelerator
Id string - The ID of the GA instance.
- Custom
Routing stringEndpoint Group Destination Id - The ID of the Custom Routing Endpoint Group Destination.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listener
Id string - The ID of the listener.
- Status string
- The status of the Custom Routing Endpoint Group Destination.
- Accelerator
Id string - The ID of the GA instance.
- Custom
Routing stringEndpoint Group Destination Id - The ID of the Custom Routing Endpoint Group Destination.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listener
Id string - The ID of the listener.
- Status string
- The status of the Custom Routing Endpoint Group Destination.
- accelerator
Id String - The ID of the GA instance.
- custom
Routing StringEndpoint Group Destination Id - The ID of the Custom Routing Endpoint Group Destination.
- id String
- The provider-assigned unique ID for this managed resource.
- listener
Id String - The ID of the listener.
- status String
- The status of the Custom Routing Endpoint Group Destination.
- accelerator
Id string - The ID of the GA instance.
- custom
Routing stringEndpoint Group Destination Id - The ID of the Custom Routing Endpoint Group Destination.
- id string
- The provider-assigned unique ID for this managed resource.
- listener
Id string - The ID of the listener.
- status string
- The status of the Custom Routing Endpoint Group Destination.
- accelerator_
id str - The ID of the GA instance.
- custom_
routing_ strendpoint_ group_ destination_ id - The ID of the Custom Routing Endpoint Group Destination.
- id str
- The provider-assigned unique ID for this managed resource.
- listener_
id str - The ID of the listener.
- status str
- The status of the Custom Routing Endpoint Group Destination.
- accelerator
Id String - The ID of the GA instance.
- custom
Routing StringEndpoint Group Destination Id - The ID of the Custom Routing Endpoint Group Destination.
- id String
- The provider-assigned unique ID for this managed resource.
- listener
Id String - The ID of the listener.
- status String
- The status of the Custom Routing Endpoint Group Destination.
Look up Existing CustomRoutingEndpointGroupDestination Resource
Get an existing CustomRoutingEndpointGroupDestination resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CustomRoutingEndpointGroupDestinationState, opts?: CustomResourceOptions): CustomRoutingEndpointGroupDestination
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accelerator_id: Optional[str] = None,
custom_routing_endpoint_group_destination_id: Optional[str] = None,
endpoint_group_id: Optional[str] = None,
from_port: Optional[int] = None,
listener_id: Optional[str] = None,
protocols: Optional[Sequence[str]] = None,
status: Optional[str] = None,
to_port: Optional[int] = None) -> CustomRoutingEndpointGroupDestination
func GetCustomRoutingEndpointGroupDestination(ctx *Context, name string, id IDInput, state *CustomRoutingEndpointGroupDestinationState, opts ...ResourceOption) (*CustomRoutingEndpointGroupDestination, error)
public static CustomRoutingEndpointGroupDestination Get(string name, Input<string> id, CustomRoutingEndpointGroupDestinationState? state, CustomResourceOptions? opts = null)
public static CustomRoutingEndpointGroupDestination get(String name, Output<String> id, CustomRoutingEndpointGroupDestinationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Accelerator
Id string - The ID of the GA instance.
- Custom
Routing stringEndpoint Group Destination Id - The ID of the Custom Routing Endpoint Group Destination.
- Endpoint
Group stringId - The ID of the endpoint group.
- From
Port int - The start port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
. - Listener
Id string - The ID of the listener.
- Protocols List<string>
- The backend service protocol of the endpoint group. Valid values:
TCP
,UDP
,TCP, UDP
. - Status string
- The status of the Custom Routing Endpoint Group Destination.
- To
Port int - The end port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
.
- Accelerator
Id string - The ID of the GA instance.
- Custom
Routing stringEndpoint Group Destination Id - The ID of the Custom Routing Endpoint Group Destination.
- Endpoint
Group stringId - The ID of the endpoint group.
- From
Port int - The start port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
. - Listener
Id string - The ID of the listener.
- Protocols []string
- The backend service protocol of the endpoint group. Valid values:
TCP
,UDP
,TCP, UDP
. - Status string
- The status of the Custom Routing Endpoint Group Destination.
- To
Port int - The end port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
.
- accelerator
Id String - The ID of the GA instance.
- custom
Routing StringEndpoint Group Destination Id - The ID of the Custom Routing Endpoint Group Destination.
- endpoint
Group StringId - The ID of the endpoint group.
- from
Port Integer - The start port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
. - listener
Id String - The ID of the listener.
- protocols List<String>
- The backend service protocol of the endpoint group. Valid values:
TCP
,UDP
,TCP, UDP
. - status String
- The status of the Custom Routing Endpoint Group Destination.
- to
Port Integer - The end port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
.
- accelerator
Id string - The ID of the GA instance.
- custom
Routing stringEndpoint Group Destination Id - The ID of the Custom Routing Endpoint Group Destination.
- endpoint
Group stringId - The ID of the endpoint group.
- from
Port number - The start port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
. - listener
Id string - The ID of the listener.
- protocols string[]
- The backend service protocol of the endpoint group. Valid values:
TCP
,UDP
,TCP, UDP
. - status string
- The status of the Custom Routing Endpoint Group Destination.
- to
Port number - The end port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
.
- 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_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
. - 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
. - status str
- The status of the Custom Routing Endpoint Group Destination.
- to_
port int - The end port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
.
- accelerator
Id String - The ID of the GA instance.
- custom
Routing StringEndpoint Group Destination Id - The ID of the Custom Routing Endpoint Group Destination.
- endpoint
Group StringId - The ID of the endpoint group.
- from
Port Number - The start port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
. - listener
Id String - The ID of the listener.
- protocols List<String>
- The backend service protocol of the endpoint group. Valid values:
TCP
,UDP
,TCP, UDP
. - status String
- The status of the Custom Routing Endpoint Group Destination.
- to
Port Number - The end port of the backend service port range of the endpoint group. The
from_port
value must be smaller than or equal to theto_port
value. Valid values:1
to65499
.
Import
Global Accelerator (GA) Custom Routing Endpoint Group Destination can be imported using the id, e.g.
$ pulumi import alicloud:ga/customRoutingEndpointGroupDestination:CustomRoutingEndpointGroupDestination example <endpoint_group_id>:<custom_routing_endpoint_group_destination_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.