Package | Description |
---|---|
com.tencentcloudapi.clb.v20180317 | |
com.tencentcloudapi.clb.v20180317.models |
Modifier and Type | Method and Description |
---|---|
AssociateTargetGroupsResponse |
ClbClient.AssociateTargetGroups(AssociateTargetGroupsRequest req)
本接口(AssociateTargetGroups)用来将目标组绑定到负载均衡的监听器(四层协议)或转发规则(七层协议)上。
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
限制说明:
- 四层监听器绑定旧版目标组需要监听器开启后端目标组。
- 七层绑定目标组,数据结构 TargetGroupAssociation 中 LocationId 为必填项。
- 负载均衡的 VPC 需要和目标组的 VPC 一致。
|
Constructor and Description |
---|
AssociateTargetGroupsRequest(AssociateTargetGroupsRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2025. All rights reserved.