Skip to content

Commit 6a129e1

Browse files
author
hellertang
authored
eip support create type HighQualityEIP (#807)
1 parent ca40281 commit 6a129e1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

tencentcloud/extension_vpc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const (
4242

4343
EIP_TYPE_EIP = "EIP"
4444
EIP_TYPE_ANYCAST = "AnycastEIP"
45+
EIP_TYPE_HIGH_QUALITY = "HighQualityEIP"
4546

4647
EIP_ANYCAST_ZONE_GLOBAL = "ANYCAST_ZONE_GLOBAL"
4748
EIP_ANYCAST_ZONE_OVERSEAS = "ANYCAST_ZONE_OVERSEAS"
@@ -68,6 +69,7 @@ var EIP_INTERNET_PROVIDER = []string{
6869
var EIP_TYPE = []string{
6970
EIP_TYPE_EIP,
7071
EIP_TYPE_ANYCAST,
72+
EIP_TYPE_HIGH_QUALITY,
7173
}
7274

7375
var EIP_ANYCAST_ZONE = []string{

tencentcloud/resource_tc_eip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func resourceTencentCloudEip() *schema.Resource {
5555
Default: EIP_TYPE_EIP,
5656
ForceNew: true,
5757
ValidateFunc: validateAllowedStringValue(EIP_TYPE),
58-
Description: "The type of eip. Valid value: `EIP` and `AnycastEIP`. Default is `EIP`.",
58+
Description: "The type of eip. Valid value: `EIP` and `AnycastEIP` and `HighQualityEIP`. Default is `EIP`.",
5959
},
6060
"anycast_zone": {
6161
Type: schema.TypeString,

website/docs/r/eip.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The following arguments are supported:
3030
* `internet_service_provider` - (Optional, ForceNew) Internet service provider of eip. Valid value: `BGP`, `CMCC`, `CTCC` and `CUCC`.
3131
* `name` - (Optional) The name of eip.
3232
* `tags` - (Optional) The tags of eip.
33-
* `type` - (Optional, ForceNew) The type of eip. Valid value: `EIP` and `AnycastEIP`. Default is `EIP`.
33+
* `type` - (Optional, ForceNew) The type of eip. Valid value: `EIP` and `AnycastEIP` and `HighQualityEIP`. Default is `EIP`.
3434

3535
## Attributes Reference
3636

0 commit comments

Comments
 (0)