1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. Ga2EndpointGroup
Viewing docs for tencentcloud 1.82.98
published on Friday, May 29, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.98
published on Friday, May 29, 2026 by tencentcloudstack

    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_ga2endpointgroup" "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
    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
    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
    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
    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
    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
    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
    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_ga2endpointgroup.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
    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
    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
    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
    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
    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
    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
    globalAcceleratorId String
    Global accelerator instance ID.
    listenerId String
    Listener ID.
    timeouts Property Map

    Supporting Types

    Ga2EndpointGroupEndpointGroupConfiguration, Ga2EndpointGroupEndpointGroupConfigurationArgs

    CheckDomain string
    Health check domain.
    CheckMethod string
    Health check request method.
    CheckPath string
    Health check URL path.
    CheckPort string
    Health check port.
    CheckRecvContext string
    Health check expected response.
    CheckSendContext string
    Health check request payload.
    CheckType string
    Health check protocol. Valid values: TCP, HTTP, HTTPS, PING, CUSTOM.
    CipherPolicyId string
    HTTPS cipher policy ID.
    ConnectTimeout double
    Response timeout in milliseconds.
    ContextType string
    Health check content type.
    Description string
    Description. Maximum length is 100 bytes.
    EnableHealthCheck bool
    Whether to enable health check.
    EndpointConfigurations List<Ga2EndpointGroupEndpointGroupConfigurationEndpointConfiguration>
    Endpoint configurations under this group.
    EndpointGroupRegion string
    Region of the endpoint group.
    ForwardProtocol string
    Forward protocol back to origin.
    HealthCheckInterval double
    Health check interval in seconds.
    HealthyThreshold double
    Healthy threshold count.
    IspType string
    ISP type.
    Name string
    Name. Maximum length is 60 bytes.
    PortOverrides List<Ga2EndpointGroupEndpointGroupConfigurationPortOverride>
    Port overrides for the endpoint group.
    StatusMasks List<string>
    Status code masks for health check.
    UnhealthyThreshold double
    Unhealthy threshold count.
    CheckDomain string
    Health check domain.
    CheckMethod string
    Health check request method.
    CheckPath string
    Health check URL path.
    CheckPort string
    Health check port.
    CheckRecvContext string
    Health check expected response.
    CheckSendContext string
    Health check request payload.
    CheckType string
    Health check protocol. Valid values: TCP, HTTP, HTTPS, PING, CUSTOM.
    CipherPolicyId string
    HTTPS cipher policy ID.
    ConnectTimeout float64
    Response timeout in milliseconds.
    ContextType string
    Health check content type.
    Description string
    Description. Maximum length is 100 bytes.
    EnableHealthCheck bool
    Whether to enable health check.
    EndpointConfigurations []Ga2EndpointGroupEndpointGroupConfigurationEndpointConfiguration
    Endpoint configurations under this group.
    EndpointGroupRegion string
    Region of the endpoint group.
    ForwardProtocol string
    Forward protocol back to origin.
    HealthCheckInterval float64
    Health check interval in seconds.
    HealthyThreshold float64
    Healthy threshold count.
    IspType string
    ISP type.
    Name string
    Name. Maximum length is 60 bytes.
    PortOverrides []Ga2EndpointGroupEndpointGroupConfigurationPortOverride
    Port overrides for the endpoint group.
    StatusMasks []string
    Status code masks for health check.
    UnhealthyThreshold float64
    Unhealthy threshold count.
    check_domain string
    Health check domain.
    check_method string
    Health check request method.
    check_path string
    Health check URL path.
    check_port string
    Health check port.
    check_recv_context string
    Health check expected response.
    check_send_context string
    Health check request payload.
    check_type string
    Health check protocol. Valid values: TCP, HTTP, HTTPS, PING, CUSTOM.
    cipher_policy_id string
    HTTPS cipher policy ID.
    connect_timeout number
    Response timeout in milliseconds.
    context_type string
    Health check content type.
    description string
    Description. Maximum length is 100 bytes.
    enable_health_check bool
    Whether to enable health check.
    endpoint_configurations list(object)
    Endpoint configurations under this group.
    endpoint_group_region string
    Region of the endpoint group.
    forward_protocol string
    Forward protocol back to origin.
    health_check_interval number
    Health check interval in seconds.
    healthy_threshold number
    Healthy threshold count.
    isp_type string
    ISP type.
    name string
    Name. Maximum length is 60 bytes.
    port_overrides list(object)
    Port overrides for the endpoint group.
    status_masks list(string)
    Status code masks for health check.
    unhealthy_threshold number
    Unhealthy threshold count.
    checkDomain String
    Health check domain.
    checkMethod String
    Health check request method.
    checkPath String
    Health check URL path.
    checkPort String
    Health check port.
    checkRecvContext String
    Health check expected response.
    checkSendContext String
    Health check request payload.
    checkType String
    Health check protocol. Valid values: TCP, HTTP, HTTPS, PING, CUSTOM.
    cipherPolicyId String
    HTTPS cipher policy ID.
    connectTimeout Double
    Response timeout in milliseconds.
    contextType String
    Health check content type.
    description String
    Description. Maximum length is 100 bytes.
    enableHealthCheck Boolean
    Whether to enable health check.
    endpointConfigurations List<Ga2EndpointGroupEndpointGroupConfigurationEndpointConfiguration>
    Endpoint configurations under this group.
    endpointGroupRegion String
    Region of the endpoint group.
    forwardProtocol String
    Forward protocol back to origin.
    healthCheckInterval Double
    Health check interval in seconds.
    healthyThreshold Double
    Healthy threshold count.
    ispType String
    ISP type.
    name String
    Name. Maximum length is 60 bytes.
    portOverrides List<Ga2EndpointGroupEndpointGroupConfigurationPortOverride>
    Port overrides for the endpoint group.
    statusMasks List<String>
    Status code masks for health check.
    unhealthyThreshold Double
    Unhealthy threshold count.
    checkDomain string
    Health check domain.
    checkMethod string
    Health check request method.
    checkPath string
    Health check URL path.
    checkPort string
    Health check port.
    checkRecvContext string
    Health check expected response.
    checkSendContext string
    Health check request payload.
    checkType string
    Health check protocol. Valid values: TCP, HTTP, HTTPS, PING, CUSTOM.
    cipherPolicyId string
    HTTPS cipher policy ID.
    connectTimeout number
    Response timeout in milliseconds.
    contextType string
    Health check content type.
    description string
    Description. Maximum length is 100 bytes.
    enableHealthCheck boolean
    Whether to enable health check.
    endpointConfigurations Ga2EndpointGroupEndpointGroupConfigurationEndpointConfiguration[]
    Endpoint configurations under this group.
    endpointGroupRegion string
    Region of the endpoint group.
    forwardProtocol string
    Forward protocol back to origin.
    healthCheckInterval number
    Health check interval in seconds.
    healthyThreshold number
    Healthy threshold count.
    ispType string
    ISP type.
    name string
    Name. Maximum length is 60 bytes.
    portOverrides Ga2EndpointGroupEndpointGroupConfigurationPortOverride[]
    Port overrides for the endpoint group.
    statusMasks string[]
    Status code masks for health check.
    unhealthyThreshold number
    Unhealthy threshold count.
    check_domain str
    Health check domain.
    check_method str
    Health check request method.
    check_path str
    Health check URL path.
    check_port str
    Health check port.
    check_recv_context str
    Health check expected response.
    check_send_context str
    Health check request payload.
    check_type str
    Health check protocol. Valid values: TCP, HTTP, HTTPS, PING, CUSTOM.
    cipher_policy_id str
    HTTPS cipher policy ID.
    connect_timeout float
    Response timeout in milliseconds.
    context_type str
    Health check content type.
    description str
    Description. Maximum length is 100 bytes.
    enable_health_check bool
    Whether to enable health check.
    endpoint_configurations Sequence[Ga2EndpointGroupEndpointGroupConfigurationEndpointConfiguration]
    Endpoint configurations under this group.
    endpoint_group_region str
    Region of the endpoint group.
    forward_protocol str
    Forward protocol back to origin.
    health_check_interval float
    Health check interval in seconds.
    healthy_threshold float
    Healthy threshold count.
    isp_type str
    ISP type.
    name str
    Name. Maximum length is 60 bytes.
    port_overrides Sequence[Ga2EndpointGroupEndpointGroupConfigurationPortOverride]
    Port overrides for the endpoint group.
    status_masks Sequence[str]
    Status code masks for health check.
    unhealthy_threshold float
    Unhealthy threshold count.
    checkDomain String
    Health check domain.
    checkMethod String
    Health check request method.
    checkPath String
    Health check URL path.
    checkPort String
    Health check port.
    checkRecvContext String
    Health check expected response.
    checkSendContext String
    Health check request payload.
    checkType String
    Health check protocol. Valid values: TCP, HTTP, HTTPS, PING, CUSTOM.
    cipherPolicyId String
    HTTPS cipher policy ID.
    connectTimeout Number
    Response timeout in milliseconds.
    contextType String
    Health check content type.
    description String
    Description. Maximum length is 100 bytes.
    enableHealthCheck Boolean
    Whether to enable health check.
    endpointConfigurations List<Property Map>
    Endpoint configurations under this group.
    endpointGroupRegion String
    Region of the endpoint group.
    forwardProtocol String
    Forward protocol back to origin.
    healthCheckInterval Number
    Health check interval in seconds.
    healthyThreshold Number
    Healthy threshold count.
    ispType String
    ISP type.
    name String
    Name. Maximum length is 60 bytes.
    portOverrides List<Property Map>
    Port overrides for the endpoint group.
    statusMasks List<String>
    Status code masks for health check.
    unhealthyThreshold Number
    Unhealthy threshold count.

    Ga2EndpointGroupEndpointGroupConfigurationEndpointConfiguration, Ga2EndpointGroupEndpointGroupConfigurationEndpointConfigurationArgs

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

    Ga2EndpointGroupEndpointGroupConfigurationPortOverride, Ga2EndpointGroupEndpointGroupConfigurationPortOverrideArgs

    EndpointPort double
    Endpoint port.
    ListenerPort double
    Listener port.
    EndpointPort float64
    Endpoint port.
    ListenerPort float64
    Listener port.
    endpoint_port number
    Endpoint port.
    listener_port number
    Listener port.
    endpointPort Double
    Endpoint port.
    listenerPort Double
    Listener port.
    endpointPort number
    Endpoint port.
    listenerPort number
    Listener port.
    endpoint_port float
    Endpoint port.
    listener_port float
    Listener port.
    endpointPort Number
    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

    Package Details

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

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial