1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. Ga2EndpointGroup
Viewing docs for tencentcloud 1.83.38
published on Friday, Oct 23, 2026 by tencentcloudstack
tencentcloud
Viewing docs for tencentcloud 1.83.38
published on Friday, Oct 23, 2026 by tencentcloudstack

    Provides a resource to create a GA2 (Global Accelerator 2) endpoint group.

    Example Usage

    If listener protocol is TCP

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.Ga2GlobalAccelerator("example", {
        name: "tf-example",
        instanceChargeType: "POSTPAID",
        description: "tf example global accelerator",
        tags: {
            createdBy: "Terraform",
        },
    });
    const exampleGa2AccelerateArea = new tencentcloud.Ga2AccelerateArea("example", {
        globalAcceleratorId: example.ga2GlobalAcceleratorId,
        accelerateRegion: "ap-guangzhou",
        bandwidth: 10,
        ispType: "BGP",
        ipVersion: "IPv4",
    });
    const exampleGa2Listener = new tencentcloud.Ga2Listener("example", {
        globalAcceleratorId: exampleGa2AccelerateArea.globalAcceleratorId,
        name: "tf-example-tcp",
        protocol: "TCP",
        portRanges: {
            fromPort: 80,
            toPort: 80,
        },
        description: "tf example listener",
        getRealIpType: "ProxyProtocol",
        clientAffinity: "Open",
        listenerType: "Standard",
        idleTimeout: 900,
    });
    const exampleGa2EndpointGroup = new tencentcloud.Ga2EndpointGroup("example", {
        globalAcceleratorId: example.ga2GlobalAcceleratorId,
        listenerId: exampleGa2Listener.listenerId,
        endpointGroupType: "DEFAULT",
        endpointGroupConfiguration: {
            name: "tf-example",
            endpointGroupRegion: "ap-guangzhou",
            description: "tf example endpoint group",
            enableHealthCheck: true,
            checkType: "TCP",
            connectTimeout: 2,
            healthCheckInterval: 30,
            healthyThreshold: 3,
            unhealthyThreshold: 3,
            endpointConfigurations: [
                {
                    endpointType: "CustomPublicIp",
                    endpointService: "1.1.1.1",
                    weight: 50,
                },
                {
                    endpointType: "CustomDomain",
                    endpointService: "example.com",
                    weight: 90,
                },
            ],
            portOverrides: [{
                listenerPort: 80,
                endpointPort: 90,
            }],
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.Ga2GlobalAccelerator("example",
        name="tf-example",
        instance_charge_type="POSTPAID",
        description="tf example global accelerator",
        tags={
            "createdBy": "Terraform",
        })
    example_ga2_accelerate_area = tencentcloud.Ga2AccelerateArea("example",
        global_accelerator_id=example.ga2_global_accelerator_id,
        accelerate_region="ap-guangzhou",
        bandwidth=10,
        isp_type="BGP",
        ip_version="IPv4")
    example_ga2_listener = tencentcloud.Ga2Listener("example",
        global_accelerator_id=example_ga2_accelerate_area.global_accelerator_id,
        name="tf-example-tcp",
        protocol="TCP",
        port_ranges={
            "from_port": 80,
            "to_port": 80,
        },
        description="tf example listener",
        get_real_ip_type="ProxyProtocol",
        client_affinity="Open",
        listener_type="Standard",
        idle_timeout=900)
    example_ga2_endpoint_group = tencentcloud.Ga2EndpointGroup("example",
        global_accelerator_id=example.ga2_global_accelerator_id,
        listener_id=example_ga2_listener.listener_id,
        endpoint_group_type="DEFAULT",
        endpoint_group_configuration={
            "name": "tf-example",
            "endpoint_group_region": "ap-guangzhou",
            "description": "tf example endpoint group",
            "enable_health_check": True,
            "check_type": "TCP",
            "connect_timeout": 2,
            "health_check_interval": 30,
            "healthy_threshold": 3,
            "unhealthy_threshold": 3,
            "endpoint_configurations": [
                {
                    "endpoint_type": "CustomPublicIp",
                    "endpoint_service": "1.1.1.1",
                    "weight": 50,
                },
                {
                    "endpoint_type": "CustomDomain",
                    "endpoint_service": "example.com",
                    "weight": 90,
                },
            ],
            "port_overrides": [{
                "listener_port": 80,
                "endpoint_port": 90,
            }],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := tencentcloud.NewGa2GlobalAccelerator(ctx, "example", &tencentcloud.Ga2GlobalAcceleratorArgs{
    			Name:               pulumi.String("tf-example"),
    			InstanceChargeType: pulumi.String("POSTPAID"),
    			Description:        pulumi.String("tf example global accelerator"),
    			Tags: pulumi.StringMap{
    				"createdBy": pulumi.String("Terraform"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleGa2AccelerateArea, err := tencentcloud.NewGa2AccelerateArea(ctx, "example", &tencentcloud.Ga2AccelerateAreaArgs{
    			GlobalAcceleratorId: example.Ga2GlobalAcceleratorId,
    			AccelerateRegion:    pulumi.String("ap-guangzhou"),
    			Bandwidth:           pulumi.Float64(10),
    			IspType:             pulumi.String("BGP"),
    			IpVersion:           pulumi.String("IPv4"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleGa2Listener, err := tencentcloud.NewGa2Listener(ctx, "example", &tencentcloud.Ga2ListenerArgs{
    			GlobalAcceleratorId: exampleGa2AccelerateArea.GlobalAcceleratorId,
    			Name:                pulumi.String("tf-example-tcp"),
    			Protocol:            pulumi.String("TCP"),
    			PortRanges: &tencentcloud.Ga2ListenerPortRangesArgs{
    				FromPort: pulumi.Float64(80),
    				ToPort:   pulumi.Float64(80),
    			},
    			Description:    pulumi.String("tf example listener"),
    			GetRealIpType:  pulumi.String("ProxyProtocol"),
    			ClientAffinity: pulumi.String("Open"),
    			ListenerType:   pulumi.String("Standard"),
    			IdleTimeout:    pulumi.Float64(900),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewGa2EndpointGroup(ctx, "example", &tencentcloud.Ga2EndpointGroupArgs{
    			GlobalAcceleratorId: example.Ga2GlobalAcceleratorId,
    			ListenerId:          exampleGa2Listener.ListenerId,
    			EndpointGroupType:   pulumi.String("DEFAULT"),
    			EndpointGroupConfiguration: &tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationArgs{
    				Name:                pulumi.String("tf-example"),
    				EndpointGroupRegion: pulumi.String("ap-guangzhou"),
    				Description:         pulumi.String("tf example endpoint group"),
    				EnableHealthCheck:   pulumi.Bool(true),
    				CheckType:           pulumi.String("TCP"),
    				ConnectTimeout:      pulumi.Float64(2),
    				HealthCheckInterval: pulumi.Float64(30),
    				HealthyThreshold:    pulumi.Float64(3),
    				UnhealthyThreshold:  pulumi.Float64(3),
    				EndpointConfigurations: tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArray{
    					&tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs{
    						EndpointType:    pulumi.String("CustomPublicIp"),
    						EndpointService: pulumi.String("1.1.1.1"),
    						Weight:          pulumi.Float64(50),
    					},
    					&tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs{
    						EndpointType:    pulumi.String("CustomDomain"),
    						EndpointService: pulumi.String("example.com"),
    						Weight:          pulumi.Float64(90),
    					},
    				},
    				PortOverrides: tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArray{
    					&tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs{
    						ListenerPort: pulumi.Float64(80),
    						EndpointPort: pulumi.Float64(90),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.Ga2GlobalAccelerator("example", new()
        {
            Name = "tf-example",
            InstanceChargeType = "POSTPAID",
            Description = "tf example global accelerator",
            Tags = 
            {
                { "createdBy", "Terraform" },
            },
        });
    
        var exampleGa2AccelerateArea = new Tencentcloud.Ga2AccelerateArea("example", new()
        {
            GlobalAcceleratorId = example.Ga2GlobalAcceleratorId,
            AccelerateRegion = "ap-guangzhou",
            Bandwidth = 10,
            IspType = "BGP",
            IpVersion = "IPv4",
        });
    
        var exampleGa2Listener = new Tencentcloud.Ga2Listener("example", new()
        {
            GlobalAcceleratorId = exampleGa2AccelerateArea.GlobalAcceleratorId,
            Name = "tf-example-tcp",
            Protocol = "TCP",
            PortRanges = new Tencentcloud.Inputs.Ga2ListenerPortRangesArgs
            {
                FromPort = 80,
                ToPort = 80,
            },
            Description = "tf example listener",
            GetRealIpType = "ProxyProtocol",
            ClientAffinity = "Open",
            ListenerType = "Standard",
            IdleTimeout = 900,
        });
    
        var exampleGa2EndpointGroup = new Tencentcloud.Ga2EndpointGroup("example", new()
        {
            GlobalAcceleratorId = example.Ga2GlobalAcceleratorId,
            ListenerId = exampleGa2Listener.ListenerId,
            EndpointGroupType = "DEFAULT",
            EndpointGroupConfiguration = new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationArgs
            {
                Name = "tf-example",
                EndpointGroupRegion = "ap-guangzhou",
                Description = "tf example endpoint group",
                EnableHealthCheck = true,
                CheckType = "TCP",
                ConnectTimeout = 2,
                HealthCheckInterval = 30,
                HealthyThreshold = 3,
                UnhealthyThreshold = 3,
                EndpointConfigurations = new[]
                {
                    new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs
                    {
                        EndpointType = "CustomPublicIp",
                        EndpointService = "1.1.1.1",
                        Weight = 50,
                    },
                    new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs
                    {
                        EndpointType = "CustomDomain",
                        EndpointService = "example.com",
                        Weight = 90,
                    },
                },
                PortOverrides = new[]
                {
                    new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs
                    {
                        ListenerPort = 80,
                        EndpointPort = 90,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Ga2GlobalAccelerator;
    import com.pulumi.tencentcloud.Ga2GlobalAcceleratorArgs;
    import com.pulumi.tencentcloud.Ga2AccelerateArea;
    import com.pulumi.tencentcloud.Ga2AccelerateAreaArgs;
    import com.pulumi.tencentcloud.Ga2Listener;
    import com.pulumi.tencentcloud.Ga2ListenerArgs;
    import com.pulumi.tencentcloud.inputs.Ga2ListenerPortRangesArgs;
    import com.pulumi.tencentcloud.Ga2EndpointGroup;
    import com.pulumi.tencentcloud.Ga2EndpointGroupArgs;
    import com.pulumi.tencentcloud.inputs.Ga2EndpointGroupEndpointGroupConfigurationArgs;
    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) {
            var example = new Ga2GlobalAccelerator("example", Ga2GlobalAcceleratorArgs.builder()
                .name("tf-example")
                .instanceChargeType("POSTPAID")
                .description("tf example global accelerator")
                .tags(Map.of("createdBy", "Terraform"))
                .build());
    
            var exampleGa2AccelerateArea = new Ga2AccelerateArea("exampleGa2AccelerateArea", Ga2AccelerateAreaArgs.builder()
                .globalAcceleratorId(example.ga2GlobalAcceleratorId())
                .accelerateRegion("ap-guangzhou")
                .bandwidth(10.0)
                .ispType("BGP")
                .ipVersion("IPv4")
                .build());
    
            var exampleGa2Listener = new Ga2Listener("exampleGa2Listener", Ga2ListenerArgs.builder()
                .globalAcceleratorId(exampleGa2AccelerateArea.globalAcceleratorId())
                .name("tf-example-tcp")
                .protocol("TCP")
                .portRanges(Ga2ListenerPortRangesArgs.builder()
                    .fromPort(80.0)
                    .toPort(80.0)
                    .build())
                .description("tf example listener")
                .getRealIpType("ProxyProtocol")
                .clientAffinity("Open")
                .listenerType("Standard")
                .idleTimeout(900.0)
                .build());
    
            var exampleGa2EndpointGroup = new Ga2EndpointGroup("exampleGa2EndpointGroup", Ga2EndpointGroupArgs.builder()
                .globalAcceleratorId(example.ga2GlobalAcceleratorId())
                .listenerId(exampleGa2Listener.listenerId())
                .endpointGroupType("DEFAULT")
                .endpointGroupConfiguration(Ga2EndpointGroupEndpointGroupConfigurationArgs.builder()
                    .name("tf-example")
                    .endpointGroupRegion("ap-guangzhou")
                    .description("tf example endpoint group")
                    .enableHealthCheck(true)
                    .checkType("TCP")
                    .connectTimeout(2.0)
                    .healthCheckInterval(30.0)
                    .healthyThreshold(3.0)
                    .unhealthyThreshold(3.0)
                    .endpointConfigurations(                
                        Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs.builder()
                            .endpointType("CustomPublicIp")
                            .endpointService("1.1.1.1")
                            .weight(50.0)
                            .build(),
                        Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs.builder()
                            .endpointType("CustomDomain")
                            .endpointService("example.com")
                            .weight(90.0)
                            .build())
                    .portOverrides(Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs.builder()
                        .listenerPort(80.0)
                        .endpointPort(90.0)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:Ga2GlobalAccelerator
        properties:
          name: tf-example
          instanceChargeType: POSTPAID
          description: tf example global accelerator
          tags:
            createdBy: Terraform
      exampleGa2AccelerateArea:
        type: tencentcloud:Ga2AccelerateArea
        name: example
        properties:
          globalAcceleratorId: ${example.ga2GlobalAcceleratorId}
          accelerateRegion: ap-guangzhou
          bandwidth: 10
          ispType: BGP
          ipVersion: IPv4
      exampleGa2Listener:
        type: tencentcloud:Ga2Listener
        name: example
        properties:
          globalAcceleratorId: ${exampleGa2AccelerateArea.globalAcceleratorId}
          name: tf-example-tcp
          protocol: TCP
          portRanges:
            fromPort: 80
            toPort: 80
          description: tf example listener
          getRealIpType: ProxyProtocol
          clientAffinity: Open
          listenerType: Standard
          idleTimeout: 900
      exampleGa2EndpointGroup:
        type: tencentcloud:Ga2EndpointGroup
        name: example
        properties:
          globalAcceleratorId: ${example.ga2GlobalAcceleratorId}
          listenerId: ${exampleGa2Listener.listenerId}
          endpointGroupType: DEFAULT
          endpointGroupConfiguration:
            name: tf-example
            endpointGroupRegion: ap-guangzhou
            description: tf example endpoint group
            enableHealthCheck: true
            checkType: TCP
            connectTimeout: 2
            healthCheckInterval: 30
            healthyThreshold: 3
            unhealthyThreshold: 3
            endpointConfigurations:
              - endpointType: CustomPublicIp
                endpointService: 1.1.1.1
                weight: 50
              - endpointType: CustomDomain
                endpointService: example.com
                weight: 90
            portOverrides:
              - listenerPort: 80
                endpointPort: 90
    
    Example coming soon!
    

    If listener protocol is UDP

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.Ga2GlobalAccelerator("example", {
        name: "tf-example",
        instanceChargeType: "POSTPAID",
        description: "tf example global accelerator",
        tags: {
            createdBy: "Terraform",
        },
    });
    const exampleGa2AccelerateArea = new tencentcloud.Ga2AccelerateArea("example", {
        globalAcceleratorId: example.ga2GlobalAcceleratorId,
        accelerateRegion: "ap-guangzhou",
        bandwidth: 10,
        ispType: "BGP",
        ipVersion: "IPv4",
    });
    const exampleGa2Listener = new tencentcloud.Ga2Listener("example", {
        globalAcceleratorId: exampleGa2AccelerateArea.globalAcceleratorId,
        name: "tf-example-udp",
        protocol: "UDP",
        portRanges: {
            fromPort: 70,
            toPort: 70,
        },
        description: "tf example listener",
        clientAffinity: "Open",
        listenerType: "Standard",
        idleTimeout: 20,
    });
    const exampleGa2EndpointGroup = new tencentcloud.Ga2EndpointGroup("example", {
        globalAcceleratorId: example.ga2GlobalAcceleratorId,
        listenerId: exampleGa2Listener.listenerId,
        endpointGroupType: "DEFAULT",
        endpointGroupConfiguration: {
            name: "tf-example",
            endpointGroupRegion: "ap-guangzhou",
            description: "tf example endpoint group",
            enableHealthCheck: false,
            checkType: "PING",
            connectTimeout: 2,
            healthCheckInterval: 30,
            healthyThreshold: 3,
            unhealthyThreshold: 3,
            endpointConfigurations: [{
                endpointType: "CustomDomain",
                endpointService: "example.com",
                weight: 100,
            }],
            portOverrides: [{
                listenerPort: 70,
                endpointPort: 9090,
            }],
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.Ga2GlobalAccelerator("example",
        name="tf-example",
        instance_charge_type="POSTPAID",
        description="tf example global accelerator",
        tags={
            "createdBy": "Terraform",
        })
    example_ga2_accelerate_area = tencentcloud.Ga2AccelerateArea("example",
        global_accelerator_id=example.ga2_global_accelerator_id,
        accelerate_region="ap-guangzhou",
        bandwidth=10,
        isp_type="BGP",
        ip_version="IPv4")
    example_ga2_listener = tencentcloud.Ga2Listener("example",
        global_accelerator_id=example_ga2_accelerate_area.global_accelerator_id,
        name="tf-example-udp",
        protocol="UDP",
        port_ranges={
            "from_port": 70,
            "to_port": 70,
        },
        description="tf example listener",
        client_affinity="Open",
        listener_type="Standard",
        idle_timeout=20)
    example_ga2_endpoint_group = tencentcloud.Ga2EndpointGroup("example",
        global_accelerator_id=example.ga2_global_accelerator_id,
        listener_id=example_ga2_listener.listener_id,
        endpoint_group_type="DEFAULT",
        endpoint_group_configuration={
            "name": "tf-example",
            "endpoint_group_region": "ap-guangzhou",
            "description": "tf example endpoint group",
            "enable_health_check": False,
            "check_type": "PING",
            "connect_timeout": 2,
            "health_check_interval": 30,
            "healthy_threshold": 3,
            "unhealthy_threshold": 3,
            "endpoint_configurations": [{
                "endpoint_type": "CustomDomain",
                "endpoint_service": "example.com",
                "weight": 100,
            }],
            "port_overrides": [{
                "listener_port": 70,
                "endpoint_port": 9090,
            }],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := tencentcloud.NewGa2GlobalAccelerator(ctx, "example", &tencentcloud.Ga2GlobalAcceleratorArgs{
    			Name:               pulumi.String("tf-example"),
    			InstanceChargeType: pulumi.String("POSTPAID"),
    			Description:        pulumi.String("tf example global accelerator"),
    			Tags: pulumi.StringMap{
    				"createdBy": pulumi.String("Terraform"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleGa2AccelerateArea, err := tencentcloud.NewGa2AccelerateArea(ctx, "example", &tencentcloud.Ga2AccelerateAreaArgs{
    			GlobalAcceleratorId: example.Ga2GlobalAcceleratorId,
    			AccelerateRegion:    pulumi.String("ap-guangzhou"),
    			Bandwidth:           pulumi.Float64(10),
    			IspType:             pulumi.String("BGP"),
    			IpVersion:           pulumi.String("IPv4"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleGa2Listener, err := tencentcloud.NewGa2Listener(ctx, "example", &tencentcloud.Ga2ListenerArgs{
    			GlobalAcceleratorId: exampleGa2AccelerateArea.GlobalAcceleratorId,
    			Name:                pulumi.String("tf-example-udp"),
    			Protocol:            pulumi.String("UDP"),
    			PortRanges: &tencentcloud.Ga2ListenerPortRangesArgs{
    				FromPort: pulumi.Float64(70),
    				ToPort:   pulumi.Float64(70),
    			},
    			Description:    pulumi.String("tf example listener"),
    			ClientAffinity: pulumi.String("Open"),
    			ListenerType:   pulumi.String("Standard"),
    			IdleTimeout:    pulumi.Float64(20),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewGa2EndpointGroup(ctx, "example", &tencentcloud.Ga2EndpointGroupArgs{
    			GlobalAcceleratorId: example.Ga2GlobalAcceleratorId,
    			ListenerId:          exampleGa2Listener.ListenerId,
    			EndpointGroupType:   pulumi.String("DEFAULT"),
    			EndpointGroupConfiguration: &tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationArgs{
    				Name:                pulumi.String("tf-example"),
    				EndpointGroupRegion: pulumi.String("ap-guangzhou"),
    				Description:         pulumi.String("tf example endpoint group"),
    				EnableHealthCheck:   pulumi.Bool(false),
    				CheckType:           pulumi.String("PING"),
    				ConnectTimeout:      pulumi.Float64(2),
    				HealthCheckInterval: pulumi.Float64(30),
    				HealthyThreshold:    pulumi.Float64(3),
    				UnhealthyThreshold:  pulumi.Float64(3),
    				EndpointConfigurations: tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArray{
    					&tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs{
    						EndpointType:    pulumi.String("CustomDomain"),
    						EndpointService: pulumi.String("example.com"),
    						Weight:          pulumi.Float64(100),
    					},
    				},
    				PortOverrides: tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArray{
    					&tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs{
    						ListenerPort: pulumi.Float64(70),
    						EndpointPort: pulumi.Float64(9090),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.Ga2GlobalAccelerator("example", new()
        {
            Name = "tf-example",
            InstanceChargeType = "POSTPAID",
            Description = "tf example global accelerator",
            Tags = 
            {
                { "createdBy", "Terraform" },
            },
        });
    
        var exampleGa2AccelerateArea = new Tencentcloud.Ga2AccelerateArea("example", new()
        {
            GlobalAcceleratorId = example.Ga2GlobalAcceleratorId,
            AccelerateRegion = "ap-guangzhou",
            Bandwidth = 10,
            IspType = "BGP",
            IpVersion = "IPv4",
        });
    
        var exampleGa2Listener = new Tencentcloud.Ga2Listener("example", new()
        {
            GlobalAcceleratorId = exampleGa2AccelerateArea.GlobalAcceleratorId,
            Name = "tf-example-udp",
            Protocol = "UDP",
            PortRanges = new Tencentcloud.Inputs.Ga2ListenerPortRangesArgs
            {
                FromPort = 70,
                ToPort = 70,
            },
            Description = "tf example listener",
            ClientAffinity = "Open",
            ListenerType = "Standard",
            IdleTimeout = 20,
        });
    
        var exampleGa2EndpointGroup = new Tencentcloud.Ga2EndpointGroup("example", new()
        {
            GlobalAcceleratorId = example.Ga2GlobalAcceleratorId,
            ListenerId = exampleGa2Listener.ListenerId,
            EndpointGroupType = "DEFAULT",
            EndpointGroupConfiguration = new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationArgs
            {
                Name = "tf-example",
                EndpointGroupRegion = "ap-guangzhou",
                Description = "tf example endpoint group",
                EnableHealthCheck = false,
                CheckType = "PING",
                ConnectTimeout = 2,
                HealthCheckInterval = 30,
                HealthyThreshold = 3,
                UnhealthyThreshold = 3,
                EndpointConfigurations = new[]
                {
                    new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs
                    {
                        EndpointType = "CustomDomain",
                        EndpointService = "example.com",
                        Weight = 100,
                    },
                },
                PortOverrides = new[]
                {
                    new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs
                    {
                        ListenerPort = 70,
                        EndpointPort = 9090,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Ga2GlobalAccelerator;
    import com.pulumi.tencentcloud.Ga2GlobalAcceleratorArgs;
    import com.pulumi.tencentcloud.Ga2AccelerateArea;
    import com.pulumi.tencentcloud.Ga2AccelerateAreaArgs;
    import com.pulumi.tencentcloud.Ga2Listener;
    import com.pulumi.tencentcloud.Ga2ListenerArgs;
    import com.pulumi.tencentcloud.inputs.Ga2ListenerPortRangesArgs;
    import com.pulumi.tencentcloud.Ga2EndpointGroup;
    import com.pulumi.tencentcloud.Ga2EndpointGroupArgs;
    import com.pulumi.tencentcloud.inputs.Ga2EndpointGroupEndpointGroupConfigurationArgs;
    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) {
            var example = new Ga2GlobalAccelerator("example", Ga2GlobalAcceleratorArgs.builder()
                .name("tf-example")
                .instanceChargeType("POSTPAID")
                .description("tf example global accelerator")
                .tags(Map.of("createdBy", "Terraform"))
                .build());
    
            var exampleGa2AccelerateArea = new Ga2AccelerateArea("exampleGa2AccelerateArea", Ga2AccelerateAreaArgs.builder()
                .globalAcceleratorId(example.ga2GlobalAcceleratorId())
                .accelerateRegion("ap-guangzhou")
                .bandwidth(10.0)
                .ispType("BGP")
                .ipVersion("IPv4")
                .build());
    
            var exampleGa2Listener = new Ga2Listener("exampleGa2Listener", Ga2ListenerArgs.builder()
                .globalAcceleratorId(exampleGa2AccelerateArea.globalAcceleratorId())
                .name("tf-example-udp")
                .protocol("UDP")
                .portRanges(Ga2ListenerPortRangesArgs.builder()
                    .fromPort(70.0)
                    .toPort(70.0)
                    .build())
                .description("tf example listener")
                .clientAffinity("Open")
                .listenerType("Standard")
                .idleTimeout(20.0)
                .build());
    
            var exampleGa2EndpointGroup = new Ga2EndpointGroup("exampleGa2EndpointGroup", Ga2EndpointGroupArgs.builder()
                .globalAcceleratorId(example.ga2GlobalAcceleratorId())
                .listenerId(exampleGa2Listener.listenerId())
                .endpointGroupType("DEFAULT")
                .endpointGroupConfiguration(Ga2EndpointGroupEndpointGroupConfigurationArgs.builder()
                    .name("tf-example")
                    .endpointGroupRegion("ap-guangzhou")
                    .description("tf example endpoint group")
                    .enableHealthCheck(false)
                    .checkType("PING")
                    .connectTimeout(2.0)
                    .healthCheckInterval(30.0)
                    .healthyThreshold(3.0)
                    .unhealthyThreshold(3.0)
                    .endpointConfigurations(Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs.builder()
                        .endpointType("CustomDomain")
                        .endpointService("example.com")
                        .weight(100.0)
                        .build())
                    .portOverrides(Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs.builder()
                        .listenerPort(70.0)
                        .endpointPort(9090.0)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:Ga2GlobalAccelerator
        properties:
          name: tf-example
          instanceChargeType: POSTPAID
          description: tf example global accelerator
          tags:
            createdBy: Terraform
      exampleGa2AccelerateArea:
        type: tencentcloud:Ga2AccelerateArea
        name: example
        properties:
          globalAcceleratorId: ${example.ga2GlobalAcceleratorId}
          accelerateRegion: ap-guangzhou
          bandwidth: 10
          ispType: BGP
          ipVersion: IPv4
      exampleGa2Listener:
        type: tencentcloud:Ga2Listener
        name: example
        properties:
          globalAcceleratorId: ${exampleGa2AccelerateArea.globalAcceleratorId}
          name: tf-example-udp
          protocol: UDP
          portRanges:
            fromPort: 70
            toPort: 70
          description: tf example listener
          clientAffinity: Open
          listenerType: Standard
          idleTimeout: 20
      exampleGa2EndpointGroup:
        type: tencentcloud:Ga2EndpointGroup
        name: example
        properties:
          globalAcceleratorId: ${example.ga2GlobalAcceleratorId}
          listenerId: ${exampleGa2Listener.listenerId}
          endpointGroupType: DEFAULT
          endpointGroupConfiguration:
            name: tf-example
            endpointGroupRegion: ap-guangzhou
            description: tf example endpoint group
            enableHealthCheck: false
            checkType: PING
            connectTimeout: 2
            healthCheckInterval: 30
            healthyThreshold: 3
            unhealthyThreshold: 3
            endpointConfigurations:
              - endpointType: CustomDomain
                endpointService: example.com
                weight: 100
            portOverrides:
              - listenerPort: 70
                endpointPort: 9090
    
    Example coming soon!
    

    If listener protocol is HTTP

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.Ga2GlobalAccelerator("example", {
        name: "tf-example",
        instanceChargeType: "POSTPAID",
        description: "tf example global accelerator",
        tags: {
            createdBy: "Terraform",
        },
    });
    const exampleGa2AccelerateArea = new tencentcloud.Ga2AccelerateArea("example", {
        globalAcceleratorId: example.ga2GlobalAcceleratorId,
        accelerateRegion: "ap-guangzhou",
        bandwidth: 10,
        ispType: "BGP",
        ipVersion: "IPv4",
    });
    const exampleGa2Listener = new tencentcloud.Ga2Listener("example", {
        globalAcceleratorId: exampleGa2AccelerateArea.globalAcceleratorId,
        name: "tf-example-http",
        protocol: "HTTP",
        portRanges: {
            fromPort: 90,
            toPort: 90,
        },
        description: "tf example listener",
        idleTimeout: 15,
        requestTimeout: 60,
        listenerType: "Standard",
        xForwardedForRealIp: true,
    });
    const exampleGa2EndpointGroup = new tencentcloud.Ga2EndpointGroup("example", {
        globalAcceleratorId: example.ga2GlobalAcceleratorId,
        listenerId: exampleGa2Listener.listenerId,
        endpointGroupType: "VIRTUAL",
        endpointGroupConfiguration: {
            name: "tf-example",
            endpointGroupRegion: "ap-guangzhou",
            description: "tf example endpoint group",
            enableHealthCheck: true,
            forwardProtocol: "HTTP",
            checkType: "HTTP",
            checkDomain: "check.com",
            checkMethod: "GET",
            checkPath: "/path",
            connectTimeout: 2,
            healthCheckInterval: 30,
            healthyThreshold: 3,
            unhealthyThreshold: 3,
            statusMasks: [
                "http_2xx",
                "http_3xx",
                "http_4xx",
            ],
            endpointConfigurations: [
                {
                    endpointType: "CustomPublicIp",
                    endpointService: "1.1.1.1",
                    weight: 10,
                },
                {
                    endpointType: "CustomDomain",
                    endpointService: "example.com",
                    weight: 20,
                },
            ],
            portOverrides: [{
                listenerPort: 90,
                endpointPort: 9090,
            }],
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.Ga2GlobalAccelerator("example",
        name="tf-example",
        instance_charge_type="POSTPAID",
        description="tf example global accelerator",
        tags={
            "createdBy": "Terraform",
        })
    example_ga2_accelerate_area = tencentcloud.Ga2AccelerateArea("example",
        global_accelerator_id=example.ga2_global_accelerator_id,
        accelerate_region="ap-guangzhou",
        bandwidth=10,
        isp_type="BGP",
        ip_version="IPv4")
    example_ga2_listener = tencentcloud.Ga2Listener("example",
        global_accelerator_id=example_ga2_accelerate_area.global_accelerator_id,
        name="tf-example-http",
        protocol="HTTP",
        port_ranges={
            "from_port": 90,
            "to_port": 90,
        },
        description="tf example listener",
        idle_timeout=15,
        request_timeout=60,
        listener_type="Standard",
        x_forwarded_for_real_ip=True)
    example_ga2_endpoint_group = tencentcloud.Ga2EndpointGroup("example",
        global_accelerator_id=example.ga2_global_accelerator_id,
        listener_id=example_ga2_listener.listener_id,
        endpoint_group_type="VIRTUAL",
        endpoint_group_configuration={
            "name": "tf-example",
            "endpoint_group_region": "ap-guangzhou",
            "description": "tf example endpoint group",
            "enable_health_check": True,
            "forward_protocol": "HTTP",
            "check_type": "HTTP",
            "check_domain": "check.com",
            "check_method": "GET",
            "check_path": "/path",
            "connect_timeout": 2,
            "health_check_interval": 30,
            "healthy_threshold": 3,
            "unhealthy_threshold": 3,
            "status_masks": [
                "http_2xx",
                "http_3xx",
                "http_4xx",
            ],
            "endpoint_configurations": [
                {
                    "endpoint_type": "CustomPublicIp",
                    "endpoint_service": "1.1.1.1",
                    "weight": 10,
                },
                {
                    "endpoint_type": "CustomDomain",
                    "endpoint_service": "example.com",
                    "weight": 20,
                },
            ],
            "port_overrides": [{
                "listener_port": 90,
                "endpoint_port": 9090,
            }],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := tencentcloud.NewGa2GlobalAccelerator(ctx, "example", &tencentcloud.Ga2GlobalAcceleratorArgs{
    			Name:               pulumi.String("tf-example"),
    			InstanceChargeType: pulumi.String("POSTPAID"),
    			Description:        pulumi.String("tf example global accelerator"),
    			Tags: pulumi.StringMap{
    				"createdBy": pulumi.String("Terraform"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleGa2AccelerateArea, err := tencentcloud.NewGa2AccelerateArea(ctx, "example", &tencentcloud.Ga2AccelerateAreaArgs{
    			GlobalAcceleratorId: example.Ga2GlobalAcceleratorId,
    			AccelerateRegion:    pulumi.String("ap-guangzhou"),
    			Bandwidth:           pulumi.Float64(10),
    			IspType:             pulumi.String("BGP"),
    			IpVersion:           pulumi.String("IPv4"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleGa2Listener, err := tencentcloud.NewGa2Listener(ctx, "example", &tencentcloud.Ga2ListenerArgs{
    			GlobalAcceleratorId: exampleGa2AccelerateArea.GlobalAcceleratorId,
    			Name:                pulumi.String("tf-example-http"),
    			Protocol:            pulumi.String("HTTP"),
    			PortRanges: &tencentcloud.Ga2ListenerPortRangesArgs{
    				FromPort: pulumi.Float64(90),
    				ToPort:   pulumi.Float64(90),
    			},
    			Description:         pulumi.String("tf example listener"),
    			IdleTimeout:         pulumi.Float64(15),
    			RequestTimeout:      pulumi.Float64(60),
    			ListenerType:        pulumi.String("Standard"),
    			XForwardedForRealIp: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewGa2EndpointGroup(ctx, "example", &tencentcloud.Ga2EndpointGroupArgs{
    			GlobalAcceleratorId: example.Ga2GlobalAcceleratorId,
    			ListenerId:          exampleGa2Listener.ListenerId,
    			EndpointGroupType:   pulumi.String("VIRTUAL"),
    			EndpointGroupConfiguration: &tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationArgs{
    				Name:                pulumi.String("tf-example"),
    				EndpointGroupRegion: pulumi.String("ap-guangzhou"),
    				Description:         pulumi.String("tf example endpoint group"),
    				EnableHealthCheck:   pulumi.Bool(true),
    				ForwardProtocol:     pulumi.String("HTTP"),
    				CheckType:           pulumi.String("HTTP"),
    				CheckDomain:         pulumi.String("check.com"),
    				CheckMethod:         pulumi.String("GET"),
    				CheckPath:           pulumi.String("/path"),
    				ConnectTimeout:      pulumi.Float64(2),
    				HealthCheckInterval: pulumi.Float64(30),
    				HealthyThreshold:    pulumi.Float64(3),
    				UnhealthyThreshold:  pulumi.Float64(3),
    				StatusMasks: pulumi.StringArray{
    					pulumi.String("http_2xx"),
    					pulumi.String("http_3xx"),
    					pulumi.String("http_4xx"),
    				},
    				EndpointConfigurations: tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArray{
    					&tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs{
    						EndpointType:    pulumi.String("CustomPublicIp"),
    						EndpointService: pulumi.String("1.1.1.1"),
    						Weight:          pulumi.Float64(10),
    					},
    					&tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs{
    						EndpointType:    pulumi.String("CustomDomain"),
    						EndpointService: pulumi.String("example.com"),
    						Weight:          pulumi.Float64(20),
    					},
    				},
    				PortOverrides: tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArray{
    					&tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs{
    						ListenerPort: pulumi.Float64(90),
    						EndpointPort: pulumi.Float64(9090),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.Ga2GlobalAccelerator("example", new()
        {
            Name = "tf-example",
            InstanceChargeType = "POSTPAID",
            Description = "tf example global accelerator",
            Tags = 
            {
                { "createdBy", "Terraform" },
            },
        });
    
        var exampleGa2AccelerateArea = new Tencentcloud.Ga2AccelerateArea("example", new()
        {
            GlobalAcceleratorId = example.Ga2GlobalAcceleratorId,
            AccelerateRegion = "ap-guangzhou",
            Bandwidth = 10,
            IspType = "BGP",
            IpVersion = "IPv4",
        });
    
        var exampleGa2Listener = new Tencentcloud.Ga2Listener("example", new()
        {
            GlobalAcceleratorId = exampleGa2AccelerateArea.GlobalAcceleratorId,
            Name = "tf-example-http",
            Protocol = "HTTP",
            PortRanges = new Tencentcloud.Inputs.Ga2ListenerPortRangesArgs
            {
                FromPort = 90,
                ToPort = 90,
            },
            Description = "tf example listener",
            IdleTimeout = 15,
            RequestTimeout = 60,
            ListenerType = "Standard",
            XForwardedForRealIp = true,
        });
    
        var exampleGa2EndpointGroup = new Tencentcloud.Ga2EndpointGroup("example", new()
        {
            GlobalAcceleratorId = example.Ga2GlobalAcceleratorId,
            ListenerId = exampleGa2Listener.ListenerId,
            EndpointGroupType = "VIRTUAL",
            EndpointGroupConfiguration = new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationArgs
            {
                Name = "tf-example",
                EndpointGroupRegion = "ap-guangzhou",
                Description = "tf example endpoint group",
                EnableHealthCheck = true,
                ForwardProtocol = "HTTP",
                CheckType = "HTTP",
                CheckDomain = "check.com",
                CheckMethod = "GET",
                CheckPath = "/path",
                ConnectTimeout = 2,
                HealthCheckInterval = 30,
                HealthyThreshold = 3,
                UnhealthyThreshold = 3,
                StatusMasks = new[]
                {
                    "http_2xx",
                    "http_3xx",
                    "http_4xx",
                },
                EndpointConfigurations = new[]
                {
                    new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs
                    {
                        EndpointType = "CustomPublicIp",
                        EndpointService = "1.1.1.1",
                        Weight = 10,
                    },
                    new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs
                    {
                        EndpointType = "CustomDomain",
                        EndpointService = "example.com",
                        Weight = 20,
                    },
                },
                PortOverrides = new[]
                {
                    new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs
                    {
                        ListenerPort = 90,
                        EndpointPort = 9090,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Ga2GlobalAccelerator;
    import com.pulumi.tencentcloud.Ga2GlobalAcceleratorArgs;
    import com.pulumi.tencentcloud.Ga2AccelerateArea;
    import com.pulumi.tencentcloud.Ga2AccelerateAreaArgs;
    import com.pulumi.tencentcloud.Ga2Listener;
    import com.pulumi.tencentcloud.Ga2ListenerArgs;
    import com.pulumi.tencentcloud.inputs.Ga2ListenerPortRangesArgs;
    import com.pulumi.tencentcloud.Ga2EndpointGroup;
    import com.pulumi.tencentcloud.Ga2EndpointGroupArgs;
    import com.pulumi.tencentcloud.inputs.Ga2EndpointGroupEndpointGroupConfigurationArgs;
    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) {
            var example = new Ga2GlobalAccelerator("example", Ga2GlobalAcceleratorArgs.builder()
                .name("tf-example")
                .instanceChargeType("POSTPAID")
                .description("tf example global accelerator")
                .tags(Map.of("createdBy", "Terraform"))
                .build());
    
            var exampleGa2AccelerateArea = new Ga2AccelerateArea("exampleGa2AccelerateArea", Ga2AccelerateAreaArgs.builder()
                .globalAcceleratorId(example.ga2GlobalAcceleratorId())
                .accelerateRegion("ap-guangzhou")
                .bandwidth(10.0)
                .ispType("BGP")
                .ipVersion("IPv4")
                .build());
    
            var exampleGa2Listener = new Ga2Listener("exampleGa2Listener", Ga2ListenerArgs.builder()
                .globalAcceleratorId(exampleGa2AccelerateArea.globalAcceleratorId())
                .name("tf-example-http")
                .protocol("HTTP")
                .portRanges(Ga2ListenerPortRangesArgs.builder()
                    .fromPort(90.0)
                    .toPort(90.0)
                    .build())
                .description("tf example listener")
                .idleTimeout(15.0)
                .requestTimeout(60.0)
                .listenerType("Standard")
                .xForwardedForRealIp(true)
                .build());
    
            var exampleGa2EndpointGroup = new Ga2EndpointGroup("exampleGa2EndpointGroup", Ga2EndpointGroupArgs.builder()
                .globalAcceleratorId(example.ga2GlobalAcceleratorId())
                .listenerId(exampleGa2Listener.listenerId())
                .endpointGroupType("VIRTUAL")
                .endpointGroupConfiguration(Ga2EndpointGroupEndpointGroupConfigurationArgs.builder()
                    .name("tf-example")
                    .endpointGroupRegion("ap-guangzhou")
                    .description("tf example endpoint group")
                    .enableHealthCheck(true)
                    .forwardProtocol("HTTP")
                    .checkType("HTTP")
                    .checkDomain("check.com")
                    .checkMethod("GET")
                    .checkPath("/path")
                    .connectTimeout(2.0)
                    .healthCheckInterval(30.0)
                    .healthyThreshold(3.0)
                    .unhealthyThreshold(3.0)
                    .statusMasks(                
                        "http_2xx",
                        "http_3xx",
                        "http_4xx")
                    .endpointConfigurations(                
                        Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs.builder()
                            .endpointType("CustomPublicIp")
                            .endpointService("1.1.1.1")
                            .weight(10.0)
                            .build(),
                        Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs.builder()
                            .endpointType("CustomDomain")
                            .endpointService("example.com")
                            .weight(20.0)
                            .build())
                    .portOverrides(Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs.builder()
                        .listenerPort(90.0)
                        .endpointPort(9090.0)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:Ga2GlobalAccelerator
        properties:
          name: tf-example
          instanceChargeType: POSTPAID
          description: tf example global accelerator
          tags:
            createdBy: Terraform
      exampleGa2AccelerateArea:
        type: tencentcloud:Ga2AccelerateArea
        name: example
        properties:
          globalAcceleratorId: ${example.ga2GlobalAcceleratorId}
          accelerateRegion: ap-guangzhou
          bandwidth: 10
          ispType: BGP
          ipVersion: IPv4
      exampleGa2Listener:
        type: tencentcloud:Ga2Listener
        name: example
        properties:
          globalAcceleratorId: ${exampleGa2AccelerateArea.globalAcceleratorId}
          name: tf-example-http
          protocol: HTTP
          portRanges:
            fromPort: 90
            toPort: 90
          description: tf example listener
          idleTimeout: 15
          requestTimeout: 60
          listenerType: Standard
          xForwardedForRealIp: true
      exampleGa2EndpointGroup:
        type: tencentcloud:Ga2EndpointGroup
        name: example
        properties:
          globalAcceleratorId: ${example.ga2GlobalAcceleratorId}
          listenerId: ${exampleGa2Listener.listenerId}
          endpointGroupType: VIRTUAL
          endpointGroupConfiguration:
            name: tf-example
            endpointGroupRegion: ap-guangzhou
            description: tf example endpoint group
            enableHealthCheck: true
            forwardProtocol: HTTP
            checkType: HTTP
            checkDomain: check.com
            checkMethod: GET
            checkPath: /path
            connectTimeout: 2
            healthCheckInterval: 30
            healthyThreshold: 3
            unhealthyThreshold: 3
            statusMasks:
              - http_2xx
              - http_3xx
              - http_4xx
            endpointConfigurations:
              - endpointType: CustomPublicIp
                endpointService: 1.1.1.1
                weight: 10
              - endpointType: CustomDomain
                endpointService: example.com
                weight: 20
            portOverrides:
              - listenerPort: 90
                endpointPort: 9090
    
    Example coming soon!
    

    If listener protocol is HTTPS

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.Ga2GlobalAccelerator("example", {
        name: "tf-example",
        instanceChargeType: "POSTPAID",
        description: "tf example global accelerator",
        tags: {
            createdBy: "Terraform",
        },
    });
    const exampleGa2AccelerateArea = new tencentcloud.Ga2AccelerateArea("example", {
        globalAcceleratorId: example.ga2GlobalAcceleratorId,
        accelerateRegion: "ap-guangzhou",
        bandwidth: 10,
        ispType: "BGP",
        ipVersion: "IPv4",
    });
    const exampleGa2Listener = new tencentcloud.Ga2Listener("example", {
        globalAcceleratorId: exampleGa2AccelerateArea.globalAcceleratorId,
        name: "tf-example-https",
        protocol: "HTTPS",
        portRanges: {
            fromPort: 9090,
            toPort: 9090,
        },
        listenerType: "Standard",
        idleTimeout: 38,
        requestTimeout: 60,
        xForwardedForRealIp: true,
        certificationType: "MUTUAL",
        cipherPolicyId: "tls_policy_1.2_strict-1.3",
        serverCertificates: ["ZDxux2I9"],
        clientCaCertificates: ["UL45hi9B"],
        httpVersion: "HTTP/2",
    });
    const exampleGa2EndpointGroup = new tencentcloud.Ga2EndpointGroup("example", {
        globalAcceleratorId: example.ga2GlobalAcceleratorId,
        listenerId: exampleGa2Listener.listenerId,
        endpointGroupType: "VIRTUAL",
        endpointGroupConfiguration: {
            name: "tf-example",
            endpointGroupRegion: "ap-guangzhou",
            enableHealthCheck: true,
            forwardProtocol: "HTTPS",
            checkType: "HTTP",
            checkPort: "8080",
            checkDomain: "www.tencent.com",
            checkPath: "/path",
            checkMethod: "GET",
            connectTimeout: 2,
            healthCheckInterval: 30,
            healthyThreshold: 3,
            unhealthyThreshold: 3,
            cipherPolicyId: "tls_policy_1.2_strict-1.3",
            httpVersion: "HTTP/1.1",
            statusMasks: [
                "http_2xx",
                "http_3xx",
                "http_4xx",
                "http_5xx",
            ],
            endpointConfigurations: [{
                endpointType: "CustomPublicIp",
                endpointService: "12.15.13.16",
                weight: 100,
            }],
            portOverrides: [{
                listenerPort: 9090,
                endpointPort: 80,
            }],
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.Ga2GlobalAccelerator("example",
        name="tf-example",
        instance_charge_type="POSTPAID",
        description="tf example global accelerator",
        tags={
            "createdBy": "Terraform",
        })
    example_ga2_accelerate_area = tencentcloud.Ga2AccelerateArea("example",
        global_accelerator_id=example.ga2_global_accelerator_id,
        accelerate_region="ap-guangzhou",
        bandwidth=10,
        isp_type="BGP",
        ip_version="IPv4")
    example_ga2_listener = tencentcloud.Ga2Listener("example",
        global_accelerator_id=example_ga2_accelerate_area.global_accelerator_id,
        name="tf-example-https",
        protocol="HTTPS",
        port_ranges={
            "from_port": 9090,
            "to_port": 9090,
        },
        listener_type="Standard",
        idle_timeout=38,
        request_timeout=60,
        x_forwarded_for_real_ip=True,
        certification_type="MUTUAL",
        cipher_policy_id="tls_policy_1.2_strict-1.3",
        server_certificates=["ZDxux2I9"],
        client_ca_certificates=["UL45hi9B"],
        http_version="HTTP/2")
    example_ga2_endpoint_group = tencentcloud.Ga2EndpointGroup("example",
        global_accelerator_id=example.ga2_global_accelerator_id,
        listener_id=example_ga2_listener.listener_id,
        endpoint_group_type="VIRTUAL",
        endpoint_group_configuration={
            "name": "tf-example",
            "endpoint_group_region": "ap-guangzhou",
            "enable_health_check": True,
            "forward_protocol": "HTTPS",
            "check_type": "HTTP",
            "check_port": "8080",
            "check_domain": "www.tencent.com",
            "check_path": "/path",
            "check_method": "GET",
            "connect_timeout": 2,
            "health_check_interval": 30,
            "healthy_threshold": 3,
            "unhealthy_threshold": 3,
            "cipher_policy_id": "tls_policy_1.2_strict-1.3",
            "http_version": "HTTP/1.1",
            "status_masks": [
                "http_2xx",
                "http_3xx",
                "http_4xx",
                "http_5xx",
            ],
            "endpoint_configurations": [{
                "endpoint_type": "CustomPublicIp",
                "endpoint_service": "12.15.13.16",
                "weight": 100,
            }],
            "port_overrides": [{
                "listener_port": 9090,
                "endpoint_port": 80,
            }],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := tencentcloud.NewGa2GlobalAccelerator(ctx, "example", &tencentcloud.Ga2GlobalAcceleratorArgs{
    			Name:               pulumi.String("tf-example"),
    			InstanceChargeType: pulumi.String("POSTPAID"),
    			Description:        pulumi.String("tf example global accelerator"),
    			Tags: pulumi.StringMap{
    				"createdBy": pulumi.String("Terraform"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleGa2AccelerateArea, err := tencentcloud.NewGa2AccelerateArea(ctx, "example", &tencentcloud.Ga2AccelerateAreaArgs{
    			GlobalAcceleratorId: example.Ga2GlobalAcceleratorId,
    			AccelerateRegion:    pulumi.String("ap-guangzhou"),
    			Bandwidth:           pulumi.Float64(10),
    			IspType:             pulumi.String("BGP"),
    			IpVersion:           pulumi.String("IPv4"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleGa2Listener, err := tencentcloud.NewGa2Listener(ctx, "example", &tencentcloud.Ga2ListenerArgs{
    			GlobalAcceleratorId: exampleGa2AccelerateArea.GlobalAcceleratorId,
    			Name:                pulumi.String("tf-example-https"),
    			Protocol:            pulumi.String("HTTPS"),
    			PortRanges: &tencentcloud.Ga2ListenerPortRangesArgs{
    				FromPort: pulumi.Float64(9090),
    				ToPort:   pulumi.Float64(9090),
    			},
    			ListenerType:        pulumi.String("Standard"),
    			IdleTimeout:         pulumi.Float64(38),
    			RequestTimeout:      pulumi.Float64(60),
    			XForwardedForRealIp: pulumi.Bool(true),
    			CertificationType:   pulumi.String("MUTUAL"),
    			CipherPolicyId:      pulumi.String("tls_policy_1.2_strict-1.3"),
    			ServerCertificates: pulumi.StringArray{
    				pulumi.String("ZDxux2I9"),
    			},
    			ClientCaCertificates: pulumi.StringArray{
    				pulumi.String("UL45hi9B"),
    			},
    			HttpVersion: pulumi.String("HTTP/2"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewGa2EndpointGroup(ctx, "example", &tencentcloud.Ga2EndpointGroupArgs{
    			GlobalAcceleratorId: example.Ga2GlobalAcceleratorId,
    			ListenerId:          exampleGa2Listener.ListenerId,
    			EndpointGroupType:   pulumi.String("VIRTUAL"),
    			EndpointGroupConfiguration: &tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationArgs{
    				Name:                pulumi.String("tf-example"),
    				EndpointGroupRegion: pulumi.String("ap-guangzhou"),
    				EnableHealthCheck:   pulumi.Bool(true),
    				ForwardProtocol:     pulumi.String("HTTPS"),
    				CheckType:           pulumi.String("HTTP"),
    				CheckPort:           pulumi.String("8080"),
    				CheckDomain:         pulumi.String("www.tencent.com"),
    				CheckPath:           pulumi.String("/path"),
    				CheckMethod:         pulumi.String("GET"),
    				ConnectTimeout:      pulumi.Float64(2),
    				HealthCheckInterval: pulumi.Float64(30),
    				HealthyThreshold:    pulumi.Float64(3),
    				UnhealthyThreshold:  pulumi.Float64(3),
    				CipherPolicyId:      pulumi.String("tls_policy_1.2_strict-1.3"),
    				HttpVersion:         pulumi.String("HTTP/1.1"),
    				StatusMasks: pulumi.StringArray{
    					pulumi.String("http_2xx"),
    					pulumi.String("http_3xx"),
    					pulumi.String("http_4xx"),
    					pulumi.String("http_5xx"),
    				},
    				EndpointConfigurations: tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArray{
    					&tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs{
    						EndpointType:    pulumi.String("CustomPublicIp"),
    						EndpointService: pulumi.String("12.15.13.16"),
    						Weight:          pulumi.Float64(100),
    					},
    				},
    				PortOverrides: tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArray{
    					&tencentcloud.Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs{
    						ListenerPort: pulumi.Float64(9090),
    						EndpointPort: pulumi.Float64(80),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.Ga2GlobalAccelerator("example", new()
        {
            Name = "tf-example",
            InstanceChargeType = "POSTPAID",
            Description = "tf example global accelerator",
            Tags = 
            {
                { "createdBy", "Terraform" },
            },
        });
    
        var exampleGa2AccelerateArea = new Tencentcloud.Ga2AccelerateArea("example", new()
        {
            GlobalAcceleratorId = example.Ga2GlobalAcceleratorId,
            AccelerateRegion = "ap-guangzhou",
            Bandwidth = 10,
            IspType = "BGP",
            IpVersion = "IPv4",
        });
    
        var exampleGa2Listener = new Tencentcloud.Ga2Listener("example", new()
        {
            GlobalAcceleratorId = exampleGa2AccelerateArea.GlobalAcceleratorId,
            Name = "tf-example-https",
            Protocol = "HTTPS",
            PortRanges = new Tencentcloud.Inputs.Ga2ListenerPortRangesArgs
            {
                FromPort = 9090,
                ToPort = 9090,
            },
            ListenerType = "Standard",
            IdleTimeout = 38,
            RequestTimeout = 60,
            XForwardedForRealIp = true,
            CertificationType = "MUTUAL",
            CipherPolicyId = "tls_policy_1.2_strict-1.3",
            ServerCertificates = new[]
            {
                "ZDxux2I9",
            },
            ClientCaCertificates = new[]
            {
                "UL45hi9B",
            },
            HttpVersion = "HTTP/2",
        });
    
        var exampleGa2EndpointGroup = new Tencentcloud.Ga2EndpointGroup("example", new()
        {
            GlobalAcceleratorId = example.Ga2GlobalAcceleratorId,
            ListenerId = exampleGa2Listener.ListenerId,
            EndpointGroupType = "VIRTUAL",
            EndpointGroupConfiguration = new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationArgs
            {
                Name = "tf-example",
                EndpointGroupRegion = "ap-guangzhou",
                EnableHealthCheck = true,
                ForwardProtocol = "HTTPS",
                CheckType = "HTTP",
                CheckPort = "8080",
                CheckDomain = "www.tencent.com",
                CheckPath = "/path",
                CheckMethod = "GET",
                ConnectTimeout = 2,
                HealthCheckInterval = 30,
                HealthyThreshold = 3,
                UnhealthyThreshold = 3,
                CipherPolicyId = "tls_policy_1.2_strict-1.3",
                HttpVersion = "HTTP/1.1",
                StatusMasks = new[]
                {
                    "http_2xx",
                    "http_3xx",
                    "http_4xx",
                    "http_5xx",
                },
                EndpointConfigurations = new[]
                {
                    new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs
                    {
                        EndpointType = "CustomPublicIp",
                        EndpointService = "12.15.13.16",
                        Weight = 100,
                    },
                },
                PortOverrides = new[]
                {
                    new Tencentcloud.Inputs.Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs
                    {
                        ListenerPort = 9090,
                        EndpointPort = 80,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Ga2GlobalAccelerator;
    import com.pulumi.tencentcloud.Ga2GlobalAcceleratorArgs;
    import com.pulumi.tencentcloud.Ga2AccelerateArea;
    import com.pulumi.tencentcloud.Ga2AccelerateAreaArgs;
    import com.pulumi.tencentcloud.Ga2Listener;
    import com.pulumi.tencentcloud.Ga2ListenerArgs;
    import com.pulumi.tencentcloud.inputs.Ga2ListenerPortRangesArgs;
    import com.pulumi.tencentcloud.Ga2EndpointGroup;
    import com.pulumi.tencentcloud.Ga2EndpointGroupArgs;
    import com.pulumi.tencentcloud.inputs.Ga2EndpointGroupEndpointGroupConfigurationArgs;
    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) {
            var example = new Ga2GlobalAccelerator("example", Ga2GlobalAcceleratorArgs.builder()
                .name("tf-example")
                .instanceChargeType("POSTPAID")
                .description("tf example global accelerator")
                .tags(Map.of("createdBy", "Terraform"))
                .build());
    
            var exampleGa2AccelerateArea = new Ga2AccelerateArea("exampleGa2AccelerateArea", Ga2AccelerateAreaArgs.builder()
                .globalAcceleratorId(example.ga2GlobalAcceleratorId())
                .accelerateRegion("ap-guangzhou")
                .bandwidth(10.0)
                .ispType("BGP")
                .ipVersion("IPv4")
                .build());
    
            var exampleGa2Listener = new Ga2Listener("exampleGa2Listener", Ga2ListenerArgs.builder()
                .globalAcceleratorId(exampleGa2AccelerateArea.globalAcceleratorId())
                .name("tf-example-https")
                .protocol("HTTPS")
                .portRanges(Ga2ListenerPortRangesArgs.builder()
                    .fromPort(9090.0)
                    .toPort(9090.0)
                    .build())
                .listenerType("Standard")
                .idleTimeout(38.0)
                .requestTimeout(60.0)
                .xForwardedForRealIp(true)
                .certificationType("MUTUAL")
                .cipherPolicyId("tls_policy_1.2_strict-1.3")
                .serverCertificates("ZDxux2I9")
                .clientCaCertificates("UL45hi9B")
                .httpVersion("HTTP/2")
                .build());
    
            var exampleGa2EndpointGroup = new Ga2EndpointGroup("exampleGa2EndpointGroup", Ga2EndpointGroupArgs.builder()
                .globalAcceleratorId(example.ga2GlobalAcceleratorId())
                .listenerId(exampleGa2Listener.listenerId())
                .endpointGroupType("VIRTUAL")
                .endpointGroupConfiguration(Ga2EndpointGroupEndpointGroupConfigurationArgs.builder()
                    .name("tf-example")
                    .endpointGroupRegion("ap-guangzhou")
                    .enableHealthCheck(true)
                    .forwardProtocol("HTTPS")
                    .checkType("HTTP")
                    .checkPort("8080")
                    .checkDomain("www.tencent.com")
                    .checkPath("/path")
                    .checkMethod("GET")
                    .connectTimeout(2.0)
                    .healthCheckInterval(30.0)
                    .healthyThreshold(3.0)
                    .unhealthyThreshold(3.0)
                    .cipherPolicyId("tls_policy_1.2_strict-1.3")
                    .httpVersion("HTTP/1.1")
                    .statusMasks(                
                        "http_2xx",
                        "http_3xx",
                        "http_4xx",
                        "http_5xx")
                    .endpointConfigurations(Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs.builder()
                        .endpointType("CustomPublicIp")
                        .endpointService("12.15.13.16")
                        .weight(100.0)
                        .build())
                    .portOverrides(Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs.builder()
                        .listenerPort(9090.0)
                        .endpointPort(80.0)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:Ga2GlobalAccelerator
        properties:
          name: tf-example
          instanceChargeType: POSTPAID
          description: tf example global accelerator
          tags:
            createdBy: Terraform
      exampleGa2AccelerateArea:
        type: tencentcloud:Ga2AccelerateArea
        name: example
        properties:
          globalAcceleratorId: ${example.ga2GlobalAcceleratorId}
          accelerateRegion: ap-guangzhou
          bandwidth: 10
          ispType: BGP
          ipVersion: IPv4
      exampleGa2Listener:
        type: tencentcloud:Ga2Listener
        name: example
        properties:
          globalAcceleratorId: ${exampleGa2AccelerateArea.globalAcceleratorId}
          name: tf-example-https
          protocol: HTTPS
          portRanges:
            fromPort: 9090
            toPort: 9090
          listenerType: Standard
          idleTimeout: 38
          requestTimeout: 60
          xForwardedForRealIp: true
          certificationType: MUTUAL
          cipherPolicyId: tls_policy_1.2_strict-1.3
          serverCertificates:
            - ZDxux2I9
          clientCaCertificates:
            - UL45hi9B
          httpVersion: HTTP/2
      exampleGa2EndpointGroup:
        type: tencentcloud:Ga2EndpointGroup
        name: example
        properties:
          globalAcceleratorId: ${example.ga2GlobalAcceleratorId}
          listenerId: ${exampleGa2Listener.listenerId}
          endpointGroupType: VIRTUAL
          endpointGroupConfiguration:
            name: tf-example
            endpointGroupRegion: ap-guangzhou
            enableHealthCheck: true
            forwardProtocol: HTTPS
            checkType: HTTP
            checkPort: '8080'
            checkDomain: www.tencent.com
            checkPath: /path
            checkMethod: GET
            connectTimeout: 2
            healthCheckInterval: 30
            healthyThreshold: 3
            unhealthyThreshold: 3
            cipherPolicyId: tls_policy_1.2_strict-1.3
            httpVersion: HTTP/1.1
            statusMasks:
              - http_2xx
              - http_3xx
              - http_4xx
              - http_5xx
            endpointConfigurations:
              - endpointType: CustomPublicIp
                endpointService: 12.15.13.16
                weight: 100
            portOverrides:
              - listenerPort: 9090
                endpointPort: 80
    
    Example coming soon!
    

    API Reference

    This resource interacts with the following TencentCloud APIs:

    Create Ga2EndpointGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Ga2EndpointGroup(name: string, args: Ga2EndpointGroupArgs, opts?: CustomResourceOptions);
    @overload
    def Ga2EndpointGroup(resource_name: str,
                         args: Ga2EndpointGroupArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ga2EndpointGroup(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         endpoint_group_configuration: Optional[Ga2EndpointGroupEndpointGroupConfigurationArgs] = None,
                         endpoint_group_type: Optional[str] = None,
                         global_accelerator_id: Optional[str] = None,
                         listener_id: Optional[str] = None,
                         ga2_endpoint_group_id: Optional[str] = None,
                         timeouts: Optional[Ga2EndpointGroupTimeoutsArgs] = None)
    func NewGa2EndpointGroup(ctx *Context, name string, args Ga2EndpointGroupArgs, opts ...ResourceOption) (*Ga2EndpointGroup, error)
    public Ga2EndpointGroup(string name, Ga2EndpointGroupArgs args, CustomResourceOptions? opts = null)
    public Ga2EndpointGroup(String name, Ga2EndpointGroupArgs args)
    public Ga2EndpointGroup(String name, Ga2EndpointGroupArgs args, CustomResourceOptions options)
    
    type: tencentcloud:Ga2EndpointGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_ga2_endpoint_group" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args Ga2EndpointGroupArgs
    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 Ga2EndpointGroupArgs
    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 Ga2EndpointGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Ga2EndpointGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Ga2EndpointGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Ga2EndpointGroup 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 Ga2EndpointGroup resource accepts the following input properties:

    EndpointGroupConfiguration Ga2EndpointGroupEndpointGroupConfiguration
    Endpoint group configuration.
    EndpointGroupType string
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    GlobalAcceleratorId string
    Global accelerator instance ID.
    ListenerId string
    Listener ID.
    Ga2EndpointGroupId string
    ID of the resource.
    Timeouts Ga2EndpointGroupTimeouts
    EndpointGroupConfiguration Ga2EndpointGroupEndpointGroupConfigurationArgs
    Endpoint group configuration.
    EndpointGroupType string
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    GlobalAcceleratorId string
    Global accelerator instance ID.
    ListenerId string
    Listener ID.
    Ga2EndpointGroupId string
    ID of the resource.
    Timeouts Ga2EndpointGroupTimeoutsArgs
    endpoint_group_configuration object
    Endpoint group configuration.
    endpoint_group_type string
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    global_accelerator_id string
    Global accelerator instance ID.
    listener_id string
    Listener ID.
    ga2_endpoint_group_id string
    ID of the resource.
    timeouts object
    endpointGroupConfiguration Ga2EndpointGroupEndpointGroupConfiguration
    Endpoint group configuration.
    endpointGroupType String
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    globalAcceleratorId String
    Global accelerator instance ID.
    listenerId String
    Listener ID.
    ga2EndpointGroupId String
    ID of the resource.
    timeouts Ga2EndpointGroupTimeouts
    endpointGroupConfiguration Ga2EndpointGroupEndpointGroupConfiguration
    Endpoint group configuration.
    endpointGroupType string
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    globalAcceleratorId string
    Global accelerator instance ID.
    listenerId string
    Listener ID.
    ga2EndpointGroupId string
    ID of the resource.
    timeouts Ga2EndpointGroupTimeouts
    endpoint_group_configuration Ga2EndpointGroupEndpointGroupConfigurationArgs
    Endpoint group configuration.
    endpoint_group_type str
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    global_accelerator_id str
    Global accelerator instance ID.
    listener_id str
    Listener ID.
    ga2_endpoint_group_id str
    ID of the resource.
    timeouts Ga2EndpointGroupTimeoutsArgs
    endpointGroupConfiguration Property Map
    Endpoint group configuration.
    endpointGroupType String
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    globalAcceleratorId String
    Global accelerator instance ID.
    listenerId String
    Listener ID.
    ga2EndpointGroupId String
    ID of the resource.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Ga2EndpointGroup resource produces the following output properties:

    EndpointGroupId string
    Endpoint group instance ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    EndpointGroupId string
    Endpoint group instance ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    endpoint_group_id string
    Endpoint group instance ID.
    id string
    The provider-assigned unique ID for this managed resource.
    endpointGroupId String
    Endpoint group instance ID.
    id String
    The provider-assigned unique ID for this managed resource.
    endpointGroupId string
    Endpoint group instance ID.
    id string
    The provider-assigned unique ID for this managed resource.
    endpoint_group_id str
    Endpoint group instance ID.
    id str
    The provider-assigned unique ID for this managed resource.
    endpointGroupId String
    Endpoint group instance ID.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Ga2EndpointGroup Resource

    Get an existing Ga2EndpointGroup 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?: Ga2EndpointGroupState, opts?: CustomResourceOptions): Ga2EndpointGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            endpoint_group_configuration: Optional[Ga2EndpointGroupEndpointGroupConfigurationArgs] = None,
            endpoint_group_id: Optional[str] = None,
            endpoint_group_type: Optional[str] = None,
            ga2_endpoint_group_id: Optional[str] = None,
            global_accelerator_id: Optional[str] = None,
            listener_id: Optional[str] = None,
            timeouts: Optional[Ga2EndpointGroupTimeoutsArgs] = None) -> Ga2EndpointGroup
    func GetGa2EndpointGroup(ctx *Context, name string, id IDInput, state *Ga2EndpointGroupState, opts ...ResourceOption) (*Ga2EndpointGroup, error)
    public static Ga2EndpointGroup Get(string name, Input<string> id, Ga2EndpointGroupState? state, CustomResourceOptions? opts = null)
    public static Ga2EndpointGroup get(String name, Output<String> id, Ga2EndpointGroupState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:Ga2EndpointGroup    get:      id: ${id}
    import {
      to = tencentcloud_ga2_endpoint_group.example
      id = "${id}"
    }
    
    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.
    The following state arguments are supported:
    EndpointGroupConfiguration Ga2EndpointGroupEndpointGroupConfiguration
    Endpoint group configuration.
    EndpointGroupId string
    Endpoint group instance ID.
    EndpointGroupType string
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    Ga2EndpointGroupId string
    ID of the resource.
    GlobalAcceleratorId string
    Global accelerator instance ID.
    ListenerId string
    Listener ID.
    Timeouts Ga2EndpointGroupTimeouts
    EndpointGroupConfiguration Ga2EndpointGroupEndpointGroupConfigurationArgs
    Endpoint group configuration.
    EndpointGroupId string
    Endpoint group instance ID.
    EndpointGroupType string
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    Ga2EndpointGroupId string
    ID of the resource.
    GlobalAcceleratorId string
    Global accelerator instance ID.
    ListenerId string
    Listener ID.
    Timeouts Ga2EndpointGroupTimeoutsArgs
    endpoint_group_configuration object
    Endpoint group configuration.
    endpoint_group_id string
    Endpoint group instance ID.
    endpoint_group_type string
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    ga2_endpoint_group_id string
    ID of the resource.
    global_accelerator_id string
    Global accelerator instance ID.
    listener_id string
    Listener ID.
    timeouts object
    endpointGroupConfiguration Ga2EndpointGroupEndpointGroupConfiguration
    Endpoint group configuration.
    endpointGroupId String
    Endpoint group instance ID.
    endpointGroupType String
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    ga2EndpointGroupId String
    ID of the resource.
    globalAcceleratorId String
    Global accelerator instance ID.
    listenerId String
    Listener ID.
    timeouts Ga2EndpointGroupTimeouts
    endpointGroupConfiguration Ga2EndpointGroupEndpointGroupConfiguration
    Endpoint group configuration.
    endpointGroupId string
    Endpoint group instance ID.
    endpointGroupType string
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    ga2EndpointGroupId string
    ID of the resource.
    globalAcceleratorId string
    Global accelerator instance ID.
    listenerId string
    Listener ID.
    timeouts Ga2EndpointGroupTimeouts
    endpoint_group_configuration Ga2EndpointGroupEndpointGroupConfigurationArgs
    Endpoint group configuration.
    endpoint_group_id str
    Endpoint group instance ID.
    endpoint_group_type str
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    ga2_endpoint_group_id str
    ID of the resource.
    global_accelerator_id str
    Global accelerator instance ID.
    listener_id str
    Listener ID.
    timeouts Ga2EndpointGroupTimeoutsArgs
    endpointGroupConfiguration Property Map
    Endpoint group configuration.
    endpointGroupId String
    Endpoint group instance ID.
    endpointGroupType String
    Endpoint group type. Valid values: VIRTUAL, DEFAULT.
    ga2EndpointGroupId String
    ID of the resource.
    globalAcceleratorId String
    Global accelerator instance ID.
    listenerId String
    Listener ID.
    timeouts Property Map

    Supporting Types

    Ga2EndpointGroupEndpointGroupConfiguration, Ga2EndpointGroupEndpointGroupConfigurationArgs

    CheckDomain string
    Health check domain. Length must be between 3 and 80 bytes. Required when check_type is HTTP.
    CheckMethod string
    Health check request method. Valid values: GET, HEAD. Required when check_type is HTTP.
    CheckPath string
    Health check URL path. Must match the regular expression ^[a-zA-Z0-9_.-/]{1,80}$. Required when check_type is HTTP.
    CheckPort string
    Health check port. Valid range: [1, 65535]. Required when check_type is CUSTOM.
    CheckRecvContext string
    Expected health check response content. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    CheckSendContext string
    Health check request payload. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    CheckType string
    Health check protocol. Valid values: TCP (only when the endpoint group's listener protocol is TCP), HTTP (only when the listener protocol is HTTP/HTTPS), PING (only when the listener protocol is UDP), CUSTOM (only when the listener protocol is TCP/UDP). Required when enable_health_check is true.
    CipherPolicyId string
    HTTPS cipher suite policy. Valid values: tls_policy_1.0-2, tls_policy_1.1-2, tls_policy_1.2, tls_policy_1.2_strict, tls_policy_1.2_strict-1.3. Required when forward_protocol is HTTPS.
    ConnectTimeout double
    Response timeout in seconds. Valid range: [1, 100]. Default: 2. Required when enable_health_check is true.
    ContextType string
    Health check content type. Valid values: TEXT (plain text content). Required when check_type is CUSTOM.
    Description string
    Description. Default is empty (no description configured). Maximum length is 100 bytes.
    EnableHealthCheck bool
    Whether to enable health check. Default: false.
    EndpointConfigurations List<Ga2EndpointGroupEndpointGroupConfigurationEndpointConfiguration>
    Endpoint configurations under this group. This is an unordered set; element order in HCL has no semantic meaning.
    EndpointGroupRegion string
    Region where the endpoint group resides.
    ForwardProtocol string
    Protocol used to forward traffic to the origin. Valid values: HTTP (available when the endpoint group's listener protocol is HTTP/HTTPS), HTTPS (available when the listener protocol is HTTPS). Required when the listener protocol is HTTP or HTTPS.
    HealthCheckInterval double
    Health check interval in seconds. Valid range: [5, 300]. Default: 30. Required when enable_health_check is true.
    HealthyThreshold double
    Healthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    HttpVersion string
    Origin-pull protocol. Supports configuration of 'HTTP/1.1' or 'HTTP/2'. Enum values: HTTP/1.1: HTTP/1.1 version, HTTP/2: HTTP/2 version. This field is mandatory when the origin-pull protocol is HTTPS.
    IspType string
    ISP type. Valid values: CMCC (China Mobile), CUCC (China Unicom), CTCC (China Telecom). Required when the endpoint group region is a multi-ISP (three-network) region.
    Name string
    Endpoint group name. Maximum length is 128 bytes. Must start with a letter (a-z, A-Z) or a Chinese character.
    PortOverrides List<Ga2EndpointGroupEndpointGroupConfigurationPortOverride>
    Port mapping rules for the endpoint group. Layer-7 endpoint groups support at most 1 port mapping; layer-4 endpoint groups support at most 30 port mappings.
    StatusMasks List<string>
    Health check status code masks. Valid values: http_2xx, http_3xx, http_4xx, http_5xx. Required when check_type is HTTP.
    UnhealthyThreshold double
    Unhealthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    CheckDomain string
    Health check domain. Length must be between 3 and 80 bytes. Required when check_type is HTTP.
    CheckMethod string
    Health check request method. Valid values: GET, HEAD. Required when check_type is HTTP.
    CheckPath string
    Health check URL path. Must match the regular expression ^[a-zA-Z0-9_.-/]{1,80}$. Required when check_type is HTTP.
    CheckPort string
    Health check port. Valid range: [1, 65535]. Required when check_type is CUSTOM.
    CheckRecvContext string
    Expected health check response content. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    CheckSendContext string
    Health check request payload. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    CheckType string
    Health check protocol. Valid values: TCP (only when the endpoint group's listener protocol is TCP), HTTP (only when the listener protocol is HTTP/HTTPS), PING (only when the listener protocol is UDP), CUSTOM (only when the listener protocol is TCP/UDP). Required when enable_health_check is true.
    CipherPolicyId string
    HTTPS cipher suite policy. Valid values: tls_policy_1.0-2, tls_policy_1.1-2, tls_policy_1.2, tls_policy_1.2_strict, tls_policy_1.2_strict-1.3. Required when forward_protocol is HTTPS.
    ConnectTimeout float64
    Response timeout in seconds. Valid range: [1, 100]. Default: 2. Required when enable_health_check is true.
    ContextType string
    Health check content type. Valid values: TEXT (plain text content). Required when check_type is CUSTOM.
    Description string
    Description. Default is empty (no description configured). Maximum length is 100 bytes.
    EnableHealthCheck bool
    Whether to enable health check. Default: false.
    EndpointConfigurations []Ga2EndpointGroupEndpointGroupConfigurationEndpointConfiguration
    Endpoint configurations under this group. This is an unordered set; element order in HCL has no semantic meaning.
    EndpointGroupRegion string
    Region where the endpoint group resides.
    ForwardProtocol string
    Protocol used to forward traffic to the origin. Valid values: HTTP (available when the endpoint group's listener protocol is HTTP/HTTPS), HTTPS (available when the listener protocol is HTTPS). Required when the listener protocol is HTTP or HTTPS.
    HealthCheckInterval float64
    Health check interval in seconds. Valid range: [5, 300]. Default: 30. Required when enable_health_check is true.
    HealthyThreshold float64
    Healthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    HttpVersion string
    Origin-pull protocol. Supports configuration of 'HTTP/1.1' or 'HTTP/2'. Enum values: HTTP/1.1: HTTP/1.1 version, HTTP/2: HTTP/2 version. This field is mandatory when the origin-pull protocol is HTTPS.
    IspType string
    ISP type. Valid values: CMCC (China Mobile), CUCC (China Unicom), CTCC (China Telecom). Required when the endpoint group region is a multi-ISP (three-network) region.
    Name string
    Endpoint group name. Maximum length is 128 bytes. Must start with a letter (a-z, A-Z) or a Chinese character.
    PortOverrides []Ga2EndpointGroupEndpointGroupConfigurationPortOverride
    Port mapping rules for the endpoint group. Layer-7 endpoint groups support at most 1 port mapping; layer-4 endpoint groups support at most 30 port mappings.
    StatusMasks []string
    Health check status code masks. Valid values: http_2xx, http_3xx, http_4xx, http_5xx. Required when check_type is HTTP.
    UnhealthyThreshold float64
    Unhealthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    check_domain string
    Health check domain. Length must be between 3 and 80 bytes. Required when check_type is HTTP.
    check_method string
    Health check request method. Valid values: GET, HEAD. Required when check_type is HTTP.
    check_path string
    Health check URL path. Must match the regular expression ^[a-zA-Z0-9_.-/]{1,80}$. Required when check_type is HTTP.
    check_port string
    Health check port. Valid range: [1, 65535]. Required when check_type is CUSTOM.
    check_recv_context string
    Expected health check response content. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    check_send_context string
    Health check request payload. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    check_type string
    Health check protocol. Valid values: TCP (only when the endpoint group's listener protocol is TCP), HTTP (only when the listener protocol is HTTP/HTTPS), PING (only when the listener protocol is UDP), CUSTOM (only when the listener protocol is TCP/UDP). Required when enable_health_check is true.
    cipher_policy_id string
    HTTPS cipher suite policy. Valid values: tls_policy_1.0-2, tls_policy_1.1-2, tls_policy_1.2, tls_policy_1.2_strict, tls_policy_1.2_strict-1.3. Required when forward_protocol is HTTPS.
    connect_timeout number
    Response timeout in seconds. Valid range: [1, 100]. Default: 2. Required when enable_health_check is true.
    context_type string
    Health check content type. Valid values: TEXT (plain text content). Required when check_type is CUSTOM.
    description string
    Description. Default is empty (no description configured). Maximum length is 100 bytes.
    enable_health_check bool
    Whether to enable health check. Default: false.
    endpoint_configurations list(object)
    Endpoint configurations under this group. This is an unordered set; element order in HCL has no semantic meaning.
    endpoint_group_region string
    Region where the endpoint group resides.
    forward_protocol string
    Protocol used to forward traffic to the origin. Valid values: HTTP (available when the endpoint group's listener protocol is HTTP/HTTPS), HTTPS (available when the listener protocol is HTTPS). Required when the listener protocol is HTTP or HTTPS.
    health_check_interval number
    Health check interval in seconds. Valid range: [5, 300]. Default: 30. Required when enable_health_check is true.
    healthy_threshold number
    Healthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    http_version string
    Origin-pull protocol. Supports configuration of 'HTTP/1.1' or 'HTTP/2'. Enum values: HTTP/1.1: HTTP/1.1 version, HTTP/2: HTTP/2 version. This field is mandatory when the origin-pull protocol is HTTPS.
    isp_type string
    ISP type. Valid values: CMCC (China Mobile), CUCC (China Unicom), CTCC (China Telecom). Required when the endpoint group region is a multi-ISP (three-network) region.
    name string
    Endpoint group name. Maximum length is 128 bytes. Must start with a letter (a-z, A-Z) or a Chinese character.
    port_overrides list(object)
    Port mapping rules for the endpoint group. Layer-7 endpoint groups support at most 1 port mapping; layer-4 endpoint groups support at most 30 port mappings.
    status_masks list(string)
    Health check status code masks. Valid values: http_2xx, http_3xx, http_4xx, http_5xx. Required when check_type is HTTP.
    unhealthy_threshold number
    Unhealthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    checkDomain String
    Health check domain. Length must be between 3 and 80 bytes. Required when check_type is HTTP.
    checkMethod String
    Health check request method. Valid values: GET, HEAD. Required when check_type is HTTP.
    checkPath String
    Health check URL path. Must match the regular expression ^[a-zA-Z0-9_.-/]{1,80}$. Required when check_type is HTTP.
    checkPort String
    Health check port. Valid range: [1, 65535]. Required when check_type is CUSTOM.
    checkRecvContext String
    Expected health check response content. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    checkSendContext String
    Health check request payload. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    checkType String
    Health check protocol. Valid values: TCP (only when the endpoint group's listener protocol is TCP), HTTP (only when the listener protocol is HTTP/HTTPS), PING (only when the listener protocol is UDP), CUSTOM (only when the listener protocol is TCP/UDP). Required when enable_health_check is true.
    cipherPolicyId String
    HTTPS cipher suite policy. Valid values: tls_policy_1.0-2, tls_policy_1.1-2, tls_policy_1.2, tls_policy_1.2_strict, tls_policy_1.2_strict-1.3. Required when forward_protocol is HTTPS.
    connectTimeout Double
    Response timeout in seconds. Valid range: [1, 100]. Default: 2. Required when enable_health_check is true.
    contextType String
    Health check content type. Valid values: TEXT (plain text content). Required when check_type is CUSTOM.
    description String
    Description. Default is empty (no description configured). Maximum length is 100 bytes.
    enableHealthCheck Boolean
    Whether to enable health check. Default: false.
    endpointConfigurations List<Ga2EndpointGroupEndpointGroupConfigurationEndpointConfiguration>
    Endpoint configurations under this group. This is an unordered set; element order in HCL has no semantic meaning.
    endpointGroupRegion String
    Region where the endpoint group resides.
    forwardProtocol String
    Protocol used to forward traffic to the origin. Valid values: HTTP (available when the endpoint group's listener protocol is HTTP/HTTPS), HTTPS (available when the listener protocol is HTTPS). Required when the listener protocol is HTTP or HTTPS.
    healthCheckInterval Double
    Health check interval in seconds. Valid range: [5, 300]. Default: 30. Required when enable_health_check is true.
    healthyThreshold Double
    Healthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    httpVersion String
    Origin-pull protocol. Supports configuration of 'HTTP/1.1' or 'HTTP/2'. Enum values: HTTP/1.1: HTTP/1.1 version, HTTP/2: HTTP/2 version. This field is mandatory when the origin-pull protocol is HTTPS.
    ispType String
    ISP type. Valid values: CMCC (China Mobile), CUCC (China Unicom), CTCC (China Telecom). Required when the endpoint group region is a multi-ISP (three-network) region.
    name String
    Endpoint group name. Maximum length is 128 bytes. Must start with a letter (a-z, A-Z) or a Chinese character.
    portOverrides List<Ga2EndpointGroupEndpointGroupConfigurationPortOverride>
    Port mapping rules for the endpoint group. Layer-7 endpoint groups support at most 1 port mapping; layer-4 endpoint groups support at most 30 port mappings.
    statusMasks List<String>
    Health check status code masks. Valid values: http_2xx, http_3xx, http_4xx, http_5xx. Required when check_type is HTTP.
    unhealthyThreshold Double
    Unhealthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    checkDomain string
    Health check domain. Length must be between 3 and 80 bytes. Required when check_type is HTTP.
    checkMethod string
    Health check request method. Valid values: GET, HEAD. Required when check_type is HTTP.
    checkPath string
    Health check URL path. Must match the regular expression ^[a-zA-Z0-9_.-/]{1,80}$. Required when check_type is HTTP.
    checkPort string
    Health check port. Valid range: [1, 65535]. Required when check_type is CUSTOM.
    checkRecvContext string
    Expected health check response content. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    checkSendContext string
    Health check request payload. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    checkType string
    Health check protocol. Valid values: TCP (only when the endpoint group's listener protocol is TCP), HTTP (only when the listener protocol is HTTP/HTTPS), PING (only when the listener protocol is UDP), CUSTOM (only when the listener protocol is TCP/UDP). Required when enable_health_check is true.
    cipherPolicyId string
    HTTPS cipher suite policy. Valid values: tls_policy_1.0-2, tls_policy_1.1-2, tls_policy_1.2, tls_policy_1.2_strict, tls_policy_1.2_strict-1.3. Required when forward_protocol is HTTPS.
    connectTimeout number
    Response timeout in seconds. Valid range: [1, 100]. Default: 2. Required when enable_health_check is true.
    contextType string
    Health check content type. Valid values: TEXT (plain text content). Required when check_type is CUSTOM.
    description string
    Description. Default is empty (no description configured). Maximum length is 100 bytes.
    enableHealthCheck boolean
    Whether to enable health check. Default: false.
    endpointConfigurations Ga2EndpointGroupEndpointGroupConfigurationEndpointConfiguration[]
    Endpoint configurations under this group. This is an unordered set; element order in HCL has no semantic meaning.
    endpointGroupRegion string
    Region where the endpoint group resides.
    forwardProtocol string
    Protocol used to forward traffic to the origin. Valid values: HTTP (available when the endpoint group's listener protocol is HTTP/HTTPS), HTTPS (available when the listener protocol is HTTPS). Required when the listener protocol is HTTP or HTTPS.
    healthCheckInterval number
    Health check interval in seconds. Valid range: [5, 300]. Default: 30. Required when enable_health_check is true.
    healthyThreshold number
    Healthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    httpVersion string
    Origin-pull protocol. Supports configuration of 'HTTP/1.1' or 'HTTP/2'. Enum values: HTTP/1.1: HTTP/1.1 version, HTTP/2: HTTP/2 version. This field is mandatory when the origin-pull protocol is HTTPS.
    ispType string
    ISP type. Valid values: CMCC (China Mobile), CUCC (China Unicom), CTCC (China Telecom). Required when the endpoint group region is a multi-ISP (three-network) region.
    name string
    Endpoint group name. Maximum length is 128 bytes. Must start with a letter (a-z, A-Z) or a Chinese character.
    portOverrides Ga2EndpointGroupEndpointGroupConfigurationPortOverride[]
    Port mapping rules for the endpoint group. Layer-7 endpoint groups support at most 1 port mapping; layer-4 endpoint groups support at most 30 port mappings.
    statusMasks string[]
    Health check status code masks. Valid values: http_2xx, http_3xx, http_4xx, http_5xx. Required when check_type is HTTP.
    unhealthyThreshold number
    Unhealthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    check_domain str
    Health check domain. Length must be between 3 and 80 bytes. Required when check_type is HTTP.
    check_method str
    Health check request method. Valid values: GET, HEAD. Required when check_type is HTTP.
    check_path str
    Health check URL path. Must match the regular expression ^[a-zA-Z0-9_.-/]{1,80}$. Required when check_type is HTTP.
    check_port str
    Health check port. Valid range: [1, 65535]. Required when check_type is CUSTOM.
    check_recv_context str
    Expected health check response content. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    check_send_context str
    Health check request payload. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    check_type str
    Health check protocol. Valid values: TCP (only when the endpoint group's listener protocol is TCP), HTTP (only when the listener protocol is HTTP/HTTPS), PING (only when the listener protocol is UDP), CUSTOM (only when the listener protocol is TCP/UDP). Required when enable_health_check is true.
    cipher_policy_id str
    HTTPS cipher suite policy. Valid values: tls_policy_1.0-2, tls_policy_1.1-2, tls_policy_1.2, tls_policy_1.2_strict, tls_policy_1.2_strict-1.3. Required when forward_protocol is HTTPS.
    connect_timeout float
    Response timeout in seconds. Valid range: [1, 100]. Default: 2. Required when enable_health_check is true.
    context_type str
    Health check content type. Valid values: TEXT (plain text content). Required when check_type is CUSTOM.
    description str
    Description. Default is empty (no description configured). Maximum length is 100 bytes.
    enable_health_check bool
    Whether to enable health check. Default: false.
    endpoint_configurations Sequence[Ga2EndpointGroupEndpointGroupConfigurationEndpointConfiguration]
    Endpoint configurations under this group. This is an unordered set; element order in HCL has no semantic meaning.
    endpoint_group_region str
    Region where the endpoint group resides.
    forward_protocol str
    Protocol used to forward traffic to the origin. Valid values: HTTP (available when the endpoint group's listener protocol is HTTP/HTTPS), HTTPS (available when the listener protocol is HTTPS). Required when the listener protocol is HTTP or HTTPS.
    health_check_interval float
    Health check interval in seconds. Valid range: [5, 300]. Default: 30. Required when enable_health_check is true.
    healthy_threshold float
    Healthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    http_version str
    Origin-pull protocol. Supports configuration of 'HTTP/1.1' or 'HTTP/2'. Enum values: HTTP/1.1: HTTP/1.1 version, HTTP/2: HTTP/2 version. This field is mandatory when the origin-pull protocol is HTTPS.
    isp_type str
    ISP type. Valid values: CMCC (China Mobile), CUCC (China Unicom), CTCC (China Telecom). Required when the endpoint group region is a multi-ISP (three-network) region.
    name str
    Endpoint group name. Maximum length is 128 bytes. Must start with a letter (a-z, A-Z) or a Chinese character.
    port_overrides Sequence[Ga2EndpointGroupEndpointGroupConfigurationPortOverride]
    Port mapping rules for the endpoint group. Layer-7 endpoint groups support at most 1 port mapping; layer-4 endpoint groups support at most 30 port mappings.
    status_masks Sequence[str]
    Health check status code masks. Valid values: http_2xx, http_3xx, http_4xx, http_5xx. Required when check_type is HTTP.
    unhealthy_threshold float
    Unhealthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    checkDomain String
    Health check domain. Length must be between 3 and 80 bytes. Required when check_type is HTTP.
    checkMethod String
    Health check request method. Valid values: GET, HEAD. Required when check_type is HTTP.
    checkPath String
    Health check URL path. Must match the regular expression ^[a-zA-Z0-9_.-/]{1,80}$. Required when check_type is HTTP.
    checkPort String
    Health check port. Valid range: [1, 65535]. Required when check_type is CUSTOM.
    checkRecvContext String
    Expected health check response content. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    checkSendContext String
    Health check request payload. Length must be between 1 and 500 bytes. Required when check_type is CUSTOM.
    checkType String
    Health check protocol. Valid values: TCP (only when the endpoint group's listener protocol is TCP), HTTP (only when the listener protocol is HTTP/HTTPS), PING (only when the listener protocol is UDP), CUSTOM (only when the listener protocol is TCP/UDP). Required when enable_health_check is true.
    cipherPolicyId String
    HTTPS cipher suite policy. Valid values: tls_policy_1.0-2, tls_policy_1.1-2, tls_policy_1.2, tls_policy_1.2_strict, tls_policy_1.2_strict-1.3. Required when forward_protocol is HTTPS.
    connectTimeout Number
    Response timeout in seconds. Valid range: [1, 100]. Default: 2. Required when enable_health_check is true.
    contextType String
    Health check content type. Valid values: TEXT (plain text content). Required when check_type is CUSTOM.
    description String
    Description. Default is empty (no description configured). Maximum length is 100 bytes.
    enableHealthCheck Boolean
    Whether to enable health check. Default: false.
    endpointConfigurations List<Property Map>
    Endpoint configurations under this group. This is an unordered set; element order in HCL has no semantic meaning.
    endpointGroupRegion String
    Region where the endpoint group resides.
    forwardProtocol String
    Protocol used to forward traffic to the origin. Valid values: HTTP (available when the endpoint group's listener protocol is HTTP/HTTPS), HTTPS (available when the listener protocol is HTTPS). Required when the listener protocol is HTTP or HTTPS.
    healthCheckInterval Number
    Health check interval in seconds. Valid range: [5, 300]. Default: 30. Required when enable_health_check is true.
    healthyThreshold Number
    Healthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.
    httpVersion String
    Origin-pull protocol. Supports configuration of 'HTTP/1.1' or 'HTTP/2'. Enum values: HTTP/1.1: HTTP/1.1 version, HTTP/2: HTTP/2 version. This field is mandatory when the origin-pull protocol is HTTPS.
    ispType String
    ISP type. Valid values: CMCC (China Mobile), CUCC (China Unicom), CTCC (China Telecom). Required when the endpoint group region is a multi-ISP (three-network) region.
    name String
    Endpoint group name. Maximum length is 128 bytes. Must start with a letter (a-z, A-Z) or a Chinese character.
    portOverrides List<Property Map>
    Port mapping rules for the endpoint group. Layer-7 endpoint groups support at most 1 port mapping; layer-4 endpoint groups support at most 30 port mappings.
    statusMasks List<String>
    Health check status code masks. Valid values: http_2xx, http_3xx, http_4xx, http_5xx. Required when check_type is HTTP.
    unhealthyThreshold Number
    Unhealthy threshold count. Valid range: [1, 10]. Default: 3. Required when enable_health_check is true.

    Ga2EndpointGroupEndpointGroupConfigurationEndpointConfiguration, Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs

    EndpointService string
    Endpoint domain name or IP address.
    EndpointType string
    Endpoint type. Valid values: CustomDomain, CustomPublicIp.
    HealthCheckStatus string
    Health check status. Valid values: HEALTH, UNHEALTH.
    Weight double
    Endpoint weight.
    EndpointService string
    Endpoint domain name or IP address.
    EndpointType string
    Endpoint type. Valid values: CustomDomain, CustomPublicIp.
    HealthCheckStatus string
    Health check status. Valid values: HEALTH, UNHEALTH.
    Weight float64
    Endpoint weight.
    endpoint_service string
    Endpoint domain name or IP address.
    endpoint_type string
    Endpoint type. Valid values: CustomDomain, CustomPublicIp.
    health_check_status string
    Health check status. Valid values: HEALTH, UNHEALTH.
    weight number
    Endpoint weight.
    endpointService String
    Endpoint domain name or IP address.
    endpointType String
    Endpoint type. Valid values: CustomDomain, CustomPublicIp.
    healthCheckStatus String
    Health check status. Valid values: HEALTH, UNHEALTH.
    weight Double
    Endpoint weight.
    endpointService string
    Endpoint domain name or IP address.
    endpointType string
    Endpoint type. Valid values: CustomDomain, CustomPublicIp.
    healthCheckStatus string
    Health check status. Valid values: HEALTH, UNHEALTH.
    weight number
    Endpoint weight.
    endpoint_service str
    Endpoint domain name or IP address.
    endpoint_type str
    Endpoint type. Valid values: CustomDomain, CustomPublicIp.
    health_check_status str
    Health check status. Valid values: HEALTH, UNHEALTH.
    weight float
    Endpoint weight.
    endpointService String
    Endpoint domain name or IP address.
    endpointType String
    Endpoint type. Valid values: CustomDomain, CustomPublicIp.
    healthCheckStatus String
    Health check status. Valid values: HEALTH, UNHEALTH.
    weight Number
    Endpoint weight.

    Ga2EndpointGroupEndpointGroupConfigurationPortOverride, Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs

    EndpointPort double
    Mapped endpoint port.
    ListenerPort double
    Listener port.
    EndpointPort float64
    Mapped endpoint port.
    ListenerPort float64
    Listener port.
    endpoint_port number
    Mapped endpoint port.
    listener_port number
    Listener port.
    endpointPort Double
    Mapped endpoint port.
    listenerPort Double
    Listener port.
    endpointPort number
    Mapped endpoint port.
    listenerPort number
    Listener port.
    endpoint_port float
    Mapped endpoint port.
    listener_port float
    Listener port.
    endpointPort Number
    Mapped endpoint port.
    listenerPort Number
    Listener port.

    Ga2EndpointGroupTimeouts, Ga2EndpointGroupTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create string
    delete string
    update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    GA2 endpoint group can be imported using the composite ID <global_accelerator_id>#<listener_id>#<endpoint_group_id>, e.g.

    $ pulumi import tencentcloud:index/ga2EndpointGroup:Ga2EndpointGroup example ga-4mredmiu#lsr-1vd1fdwf#epg-h0ebutmo
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud
    Viewing docs for tencentcloud 1.83.38
    published on Friday, Oct 23, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial