Skip to content

Commit f7eeaf5

Browse files
committed
feat(clb): ipv6
1 parent eb70294 commit f7eeaf5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tencentcloud/services/clb/resource_tc_clb_instance.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,16 @@ func ResourceTencentCloudClbInstance() *schema.Resource {
216216
Computed: true,
217217
Description: "Domain name of the CLB instance.",
218218
},
219+
"ipv6_mode": {
220+
Type: schema.TypeString,
221+
Computed: true,
222+
Description: "This field is meaningful when the IP address version is ipv6, `IPv6Nat64` | `IPv6FullChain`.",
223+
},
224+
"address_ipv6": {
225+
Type: schema.TypeString,
226+
Computed: true,
227+
Description: "The IPv6 address of the load balancing instance.",
228+
},
219229
},
220230
}
221231
}
@@ -575,6 +585,8 @@ func resourceTencentCloudClbInstanceRead(d *schema.ResourceData, meta interface{
575585
_ = d.Set("project_id", instance.ProjectId)
576586
_ = d.Set("security_groups", helper.StringsInterfaces(instance.SecureGroups))
577587
_ = d.Set("domain", instance.LoadBalancerDomain)
588+
_ = d.Set("ipv6_mode", instance.IPv6Mode)
589+
_ = d.Set("address_ipv6", instance.AddressIPv6)
578590

579591
if instance.SlaType != nil {
580592
_ = d.Set("sla_type", instance.SlaType)

0 commit comments

Comments
 (0)