tencentcloud-sdk-nodejs-intl-en 3.0.365 → 3.0.366
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tencentcloud/as/v20180419/as_client.js +64 -9
- package/tencentcloud/as/v20180419/models.js +1566 -1093
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +16 -2
- package/tencentcloud/ckafka/v20190819/models.js +197 -81
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/kms/v20190118/kms_client.js +3 -3
- package/tencentcloud/kms/v20190118/models.js +41 -11
- package/tencentcloud/vpc/v20170312/models.js +165 -17
- package/tencentcloud/vpc/v20170312/vpc_client.js +8 -8
|
@@ -2539,6 +2539,12 @@ class CreateDirectConnectGatewayRequest extends AbstractModel {
|
|
|
2539
2539
|
*/
|
|
2540
2540
|
this.Zone = null;
|
|
2541
2541
|
|
|
2542
|
+
/**
|
|
2543
|
+
* ID of DC highly available placement group
|
|
2544
|
+
* @type {string || null}
|
|
2545
|
+
*/
|
|
2546
|
+
this.HaZoneGroupId = null;
|
|
2547
|
+
|
|
2542
2548
|
}
|
|
2543
2549
|
|
|
2544
2550
|
/**
|
|
@@ -2554,6 +2560,7 @@ class CreateDirectConnectGatewayRequest extends AbstractModel {
|
|
|
2554
2560
|
this.GatewayType = 'GatewayType' in params ? params.GatewayType : null;
|
|
2555
2561
|
this.ModeType = 'ModeType' in params ? params.ModeType : null;
|
|
2556
2562
|
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
2563
|
+
this.HaZoneGroupId = 'HaZoneGroupId' in params ? params.HaZoneGroupId : null;
|
|
2557
2564
|
|
|
2558
2565
|
}
|
|
2559
2566
|
}
|
|
@@ -6125,7 +6132,7 @@ class TransformAddressRequest extends AbstractModel {
|
|
|
6125
6132
|
super();
|
|
6126
6133
|
|
|
6127
6134
|
/**
|
|
6128
|
-
* The ID of the instance with a common public IP to be operated on, such as `ins-11112222`. You can query the instance ID by logging into the [
|
|
6135
|
+
* The ID of the instance with a common public IP to be operated on, such as `ins-11112222`. You can query the instance ID by logging into the [CVM console](https://console.cloud.tencent.com/cvm). You can also obtain the parameter value from the `InstanceId` field in the returned result of the API [DescribeInstances](https://intl.cloud.tencent.com/document/product/213/33256).
|
|
6129
6136
|
* @type {string || null}
|
|
6130
6137
|
*/
|
|
6131
6138
|
this.InstanceId = null;
|
|
@@ -6993,6 +7000,30 @@ This parameter is optional for a CCN-based VPN tunnel.
|
|
|
6993
7000
|
*/
|
|
6994
7001
|
this.RouteType = null;
|
|
6995
7002
|
|
|
7003
|
+
/**
|
|
7004
|
+
* Negotiation type. Valid values: `active` (default value), `passive` and `flowTrigger`.
|
|
7005
|
+
* @type {string || null}
|
|
7006
|
+
*/
|
|
7007
|
+
this.NegotiationType = null;
|
|
7008
|
+
|
|
7009
|
+
/**
|
|
7010
|
+
* Specifies whether to enable DPD. Valid values: `0` (disable) and `1` (enable)
|
|
7011
|
+
* @type {number || null}
|
|
7012
|
+
*/
|
|
7013
|
+
this.DpdEnable = null;
|
|
7014
|
+
|
|
7015
|
+
/**
|
|
7016
|
+
* DPD timeout period. Default: 30; unit: second. If the request is not responded within this period, the peer end is considered not exists. This parameter is valid when the value of `DpdEnable` is 1.
|
|
7017
|
+
* @type {string || null}
|
|
7018
|
+
*/
|
|
7019
|
+
this.DpdTimeout = null;
|
|
7020
|
+
|
|
7021
|
+
/**
|
|
7022
|
+
* The action after DPD timeout. Valid values: `clear` (disconnect) and `restart` (try again). It’s valid when `DpdEnable` is `1`.
|
|
7023
|
+
* @type {string || null}
|
|
7024
|
+
*/
|
|
7025
|
+
this.DpdAction = null;
|
|
7026
|
+
|
|
6996
7027
|
}
|
|
6997
7028
|
|
|
6998
7029
|
/**
|
|
@@ -7041,6 +7072,10 @@ This parameter is optional for a CCN-based VPN tunnel.
|
|
|
7041
7072
|
this.HealthCheckLocalIp = 'HealthCheckLocalIp' in params ? params.HealthCheckLocalIp : null;
|
|
7042
7073
|
this.HealthCheckRemoteIp = 'HealthCheckRemoteIp' in params ? params.HealthCheckRemoteIp : null;
|
|
7043
7074
|
this.RouteType = 'RouteType' in params ? params.RouteType : null;
|
|
7075
|
+
this.NegotiationType = 'NegotiationType' in params ? params.NegotiationType : null;
|
|
7076
|
+
this.DpdEnable = 'DpdEnable' in params ? params.DpdEnable : null;
|
|
7077
|
+
this.DpdTimeout = 'DpdTimeout' in params ? params.DpdTimeout : null;
|
|
7078
|
+
this.DpdAction = 'DpdAction' in params ? params.DpdAction : null;
|
|
7044
7079
|
|
|
7045
7080
|
}
|
|
7046
7081
|
}
|
|
@@ -11467,21 +11502,21 @@ class DescribeAddressesRequest extends AbstractModel {
|
|
|
11467
11502
|
this.AddressIds = null;
|
|
11468
11503
|
|
|
11469
11504
|
/**
|
|
11470
|
-
* Each request can have up to 10 `Filters` and
|
|
11471
|
-
<li> address-id - String -
|
|
11472
|
-
<li> address-name - String -
|
|
11473
|
-
<li> address-ip - String -
|
|
11474
|
-
<li> address-status - String -
|
|
11475
|
-
<li> instance-id - String -
|
|
11476
|
-
<li> private-ip-address - String -
|
|
11477
|
-
<li> network-interface-id - String -
|
|
11478
|
-
<li> is-arrears - String -
|
|
11479
|
-
<li> address-type - String -
|
|
11480
|
-
<li> address-isp - String -
|
|
11481
|
-
<li> dedicated-cluster-id - String -
|
|
11482
|
-
<li> tag-key - String -
|
|
11483
|
-
<li> tag-value - String -
|
|
11484
|
-
<li> tag:tag-key - String -
|
|
11505
|
+
* Each request can have up to 10 `Filters` and 100 `Filter.Values`. Detailed filter conditions:
|
|
11506
|
+
<li> address-id - String - Optional - Filter by unique EIP ID, such as `eip-11112222`.</li>
|
|
11507
|
+
<li> address-name - String - Optional - Filter by EIP name. Fuzzy filtering is not supported.</li>
|
|
11508
|
+
<li> address-ip - String - Optional - Filter by EIP address.</li>
|
|
11509
|
+
<li> address-status - String - Optional - Filter by EIP status. Valid values: `CREATING`, `BINDING`, `BIND`, `UNBINDING`, `UNBIND`, `OFFLINING`, and `BIND_ENI`.</li>
|
|
11510
|
+
<li> instance-id - String - Optional - Filter by the ID of the instance bound to the EIP, such as `ins-11112222`.</li>
|
|
11511
|
+
<li> private-ip-address - String - Optional - Filter by the private IP address bound to the EIP.</li>
|
|
11512
|
+
<li> network-interface-id - String - Optional - Filter by ID of the ENI bound to the EIP, such as `eni-11112222`.</li>
|
|
11513
|
+
<li> is-arrears - String - Optional - Filter by the fact whether the EIP is overdue (TRUE: the EIP is overdue | FALSE: the billing status of the EIP is normal).</li>
|
|
11514
|
+
<li> address-type - String - Optional - Filter by IP type. Valid values: `WanIP`, `EIP`, `AnycastEIP`, and `HighQualityEIP`. Default value: `EIP`.</li>
|
|
11515
|
+
<li> address-isp - String - Optional - Filter by ISP type. Valid values: `BGP`, `CMCC`, `CUCC`, and `CTCC`.</li>
|
|
11516
|
+
<li> dedicated-cluster-id - String - Optional - Filter by unique CDC ID, such as `cluster-11112222`.</li>
|
|
11517
|
+
<li> tag-key - String - Optional - Filter by tag key.</li>
|
|
11518
|
+
<li> tag-value - String - Optional - Filter by tag value.</li>
|
|
11519
|
+
<li> tag:tag-key - String - Optional - Filter by tag key-value pair. Use a specific tag key to replace `tag-key`.</li>
|
|
11485
11520
|
* @type {Array.<Filter> || null}
|
|
11486
11521
|
*/
|
|
11487
11522
|
this.Filters = null;
|
|
@@ -11537,6 +11572,21 @@ class DescribeSecurityGroupPoliciesRequest extends AbstractModel {
|
|
|
11537
11572
|
*/
|
|
11538
11573
|
this.SecurityGroupId = null;
|
|
11539
11574
|
|
|
11575
|
+
/**
|
|
11576
|
+
* Filter conditions. `SecurityGroupId` and `Filters` cannot be specified at the same time.
|
|
11577
|
+
<li>security-group-id - String - Security group ID.</li>
|
|
11578
|
+
<li>ip - String - IP. IPV4 and IPV6 fuzzy matching is supported.</li>
|
|
11579
|
+
<li>address-module - String - IP address or address group template ID.</li>
|
|
11580
|
+
<li>service-module - String - Protocol port or port group template ID.</li>
|
|
11581
|
+
<li>protocol-type - String - Protocol supported by the security group policy. Valid values: `TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, `ALL`.</li>
|
|
11582
|
+
<li>port - String - Optional - Protocol port. Fuzzy matching is supported. Query all ports when the protocol value is `ALL`.</li>
|
|
11583
|
+
<li>poly - String - Protocol policy. Valid values: `ALL` (means "all policies"), `ACCEPT` (means "allow") and `DROP` (means "reject").</li>
|
|
11584
|
+
<li>direction - String - Protocol rule. Valid values: `ALL` (means "all rules"), `INBOUND`(means "inbound rules") and `OUTBOUND` (means "outbound rules").</li>
|
|
11585
|
+
<li>description - String - Protocol description. Fuzzy matching is supported in this filter condition.</li>
|
|
11586
|
+
* @type {Array.<Filter> || null}
|
|
11587
|
+
*/
|
|
11588
|
+
this.Filters = null;
|
|
11589
|
+
|
|
11540
11590
|
}
|
|
11541
11591
|
|
|
11542
11592
|
/**
|
|
@@ -11548,6 +11598,15 @@ class DescribeSecurityGroupPoliciesRequest extends AbstractModel {
|
|
|
11548
11598
|
}
|
|
11549
11599
|
this.SecurityGroupId = 'SecurityGroupId' in params ? params.SecurityGroupId : null;
|
|
11550
11600
|
|
|
11601
|
+
if (params.Filters) {
|
|
11602
|
+
this.Filters = new Array();
|
|
11603
|
+
for (let z in params.Filters) {
|
|
11604
|
+
let obj = new Filter();
|
|
11605
|
+
obj.deserialize(params.Filters[z]);
|
|
11606
|
+
this.Filters.push(obj);
|
|
11607
|
+
}
|
|
11608
|
+
}
|
|
11609
|
+
|
|
11551
11610
|
}
|
|
11552
11611
|
}
|
|
11553
11612
|
|
|
@@ -12474,6 +12533,48 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
12474
12533
|
*/
|
|
12475
12534
|
this.Zone = null;
|
|
12476
12535
|
|
|
12536
|
+
/**
|
|
12537
|
+
* The status of gateway traffic monitoring
|
|
12538
|
+
0: disable
|
|
12539
|
+
1: enable
|
|
12540
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
12541
|
+
* @type {number || null}
|
|
12542
|
+
*/
|
|
12543
|
+
this.EnableFlowDetails = null;
|
|
12544
|
+
|
|
12545
|
+
/**
|
|
12546
|
+
* The last time when the gateway traffic monitoring is enabled/disabled
|
|
12547
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
12548
|
+
* @type {string || null}
|
|
12549
|
+
*/
|
|
12550
|
+
this.FlowDetailsUpdateTime = null;
|
|
12551
|
+
|
|
12552
|
+
/**
|
|
12553
|
+
* Whether gateway traffic monitoring is supported
|
|
12554
|
+
0: No
|
|
12555
|
+
1: Yes
|
|
12556
|
+
Note: this field may return `null`, indicating that no valid values can be found.
|
|
12557
|
+
* @type {number || null}
|
|
12558
|
+
*/
|
|
12559
|
+
this.NewAfc = null;
|
|
12560
|
+
|
|
12561
|
+
/**
|
|
12562
|
+
* Direct connect gateway access network types:
|
|
12563
|
+
<li>`VXLAN` - VXLAN type.</li>
|
|
12564
|
+
<li>`MPLS` - MPLS type.</li>
|
|
12565
|
+
<li>`Hybrid` - Hybrid type.</li>
|
|
12566
|
+
Note: this field may return `null`, indicating that no valid values can be found.
|
|
12567
|
+
* @type {string || null}
|
|
12568
|
+
*/
|
|
12569
|
+
this.AccessNetworkType = null;
|
|
12570
|
+
|
|
12571
|
+
/**
|
|
12572
|
+
* AZ list of direct connect gateway with cross-AZ placement groups
|
|
12573
|
+
Note: this field may return `null`, indicating that no valid values can be found.
|
|
12574
|
+
* @type {Array.<string> || null}
|
|
12575
|
+
*/
|
|
12576
|
+
this.HaZoneList = null;
|
|
12577
|
+
|
|
12477
12578
|
}
|
|
12478
12579
|
|
|
12479
12580
|
/**
|
|
@@ -12500,6 +12601,11 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
12500
12601
|
this.ModeType = 'ModeType' in params ? params.ModeType : null;
|
|
12501
12602
|
this.LocalZone = 'LocalZone' in params ? params.LocalZone : null;
|
|
12502
12603
|
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
12604
|
+
this.EnableFlowDetails = 'EnableFlowDetails' in params ? params.EnableFlowDetails : null;
|
|
12605
|
+
this.FlowDetailsUpdateTime = 'FlowDetailsUpdateTime' in params ? params.FlowDetailsUpdateTime : null;
|
|
12606
|
+
this.NewAfc = 'NewAfc' in params ? params.NewAfc : null;
|
|
12607
|
+
this.AccessNetworkType = 'AccessNetworkType' in params ? params.AccessNetworkType : null;
|
|
12608
|
+
this.HaZoneList = 'HaZoneList' in params ? params.HaZoneList : null;
|
|
12503
12609
|
|
|
12504
12610
|
}
|
|
12505
12611
|
}
|
|
@@ -14968,6 +15074,30 @@ class ModifyVpnConnectionAttributeRequest extends AbstractModel {
|
|
|
14968
15074
|
*/
|
|
14969
15075
|
this.HealthCheckRemoteIp = null;
|
|
14970
15076
|
|
|
15077
|
+
/**
|
|
15078
|
+
* Negotiation type. Valid values: `active` (default value), `passive` and `flowTrigger`.
|
|
15079
|
+
* @type {string || null}
|
|
15080
|
+
*/
|
|
15081
|
+
this.NegotiationType = null;
|
|
15082
|
+
|
|
15083
|
+
/**
|
|
15084
|
+
* Specifies whether to enable DPD. Valid values: `0` (disable) and `1` (enable)
|
|
15085
|
+
* @type {number || null}
|
|
15086
|
+
*/
|
|
15087
|
+
this.DpdEnable = null;
|
|
15088
|
+
|
|
15089
|
+
/**
|
|
15090
|
+
* DPD timeout period. Default: 30; unit: second. If the request is not responded within this period, the peer end is considered not exists. This parameter is valid when the value of `DpdEnable` is 1.
|
|
15091
|
+
* @type {string || null}
|
|
15092
|
+
*/
|
|
15093
|
+
this.DpdTimeout = null;
|
|
15094
|
+
|
|
15095
|
+
/**
|
|
15096
|
+
* The action after DPD timeout. Valid values: `clear` (disconnect) and `restart` (try again). It’s valid when `DpdEnable` is `1`.
|
|
15097
|
+
* @type {string || null}
|
|
15098
|
+
*/
|
|
15099
|
+
this.DpdAction = null;
|
|
15100
|
+
|
|
14971
15101
|
}
|
|
14972
15102
|
|
|
14973
15103
|
/**
|
|
@@ -15004,6 +15134,10 @@ class ModifyVpnConnectionAttributeRequest extends AbstractModel {
|
|
|
15004
15134
|
this.EnableHealthCheck = 'EnableHealthCheck' in params ? params.EnableHealthCheck : null;
|
|
15005
15135
|
this.HealthCheckLocalIp = 'HealthCheckLocalIp' in params ? params.HealthCheckLocalIp : null;
|
|
15006
15136
|
this.HealthCheckRemoteIp = 'HealthCheckRemoteIp' in params ? params.HealthCheckRemoteIp : null;
|
|
15137
|
+
this.NegotiationType = 'NegotiationType' in params ? params.NegotiationType : null;
|
|
15138
|
+
this.DpdEnable = 'DpdEnable' in params ? params.DpdEnable : null;
|
|
15139
|
+
this.DpdTimeout = 'DpdTimeout' in params ? params.DpdTimeout : null;
|
|
15140
|
+
this.DpdAction = 'DpdAction' in params ? params.DpdAction : null;
|
|
15007
15141
|
|
|
15008
15142
|
}
|
|
15009
15143
|
}
|
|
@@ -20991,6 +21125,18 @@ class DirectConnectGatewayCcnRoute extends AbstractModel {
|
|
|
20991
21125
|
*/
|
|
20992
21126
|
this.ASPath = null;
|
|
20993
21127
|
|
|
21128
|
+
/**
|
|
21129
|
+
* Remarks
|
|
21130
|
+
* @type {string || null}
|
|
21131
|
+
*/
|
|
21132
|
+
this.Description = null;
|
|
21133
|
+
|
|
21134
|
+
/**
|
|
21135
|
+
* Last updated time
|
|
21136
|
+
* @type {string || null}
|
|
21137
|
+
*/
|
|
21138
|
+
this.UpdateTime = null;
|
|
21139
|
+
|
|
20994
21140
|
}
|
|
20995
21141
|
|
|
20996
21142
|
/**
|
|
@@ -21003,6 +21149,8 @@ class DirectConnectGatewayCcnRoute extends AbstractModel {
|
|
|
21003
21149
|
this.RouteId = 'RouteId' in params ? params.RouteId : null;
|
|
21004
21150
|
this.DestinationCidrBlock = 'DestinationCidrBlock' in params ? params.DestinationCidrBlock : null;
|
|
21005
21151
|
this.ASPath = 'ASPath' in params ? params.ASPath : null;
|
|
21152
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
21153
|
+
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
21006
21154
|
|
|
21007
21155
|
}
|
|
21008
21156
|
}
|
|
@@ -23046,7 +23194,7 @@ class AssociateAddressRequest extends AbstractModel {
|
|
|
23046
23194
|
this.PrivateIpAddress = null;
|
|
23047
23195
|
|
|
23048
23196
|
/**
|
|
23049
|
-
*
|
|
23197
|
+
* Specify whether to configure direct access when binding EIPs. For details, see [EIP Direct Access](https://intl.cloud.tencent.com/document/product/213/12540). Valid values: `True` and `False` (default). This parameter can be set to `True` when binding EIPs to a CVM instance or EKS cluster. It is in a beta test. To try it out, please [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&level3_id=1071&queue=96&scene_code=34639&step=2).
|
|
23050
23198
|
* @type {boolean || null}
|
|
23051
23199
|
*/
|
|
23052
23200
|
this.EipDirectConnection = null;
|
|
@@ -1514,12 +1514,12 @@ The number of network instances that each CCN can be associated with is limited.
|
|
|
1514
1514
|
|
|
1515
1515
|
/**
|
|
1516
1516
|
* This API is used to bind an [Elastic IP](https://intl.cloud.tencent.com/document/product/213/1941?from_cn_redirect=1) (EIP for short) to the specified private IP of an instance or ENI.
|
|
1517
|
-
*
|
|
1518
|
-
*
|
|
1519
|
-
* To bind another EIP to the private IP of the specified ENI
|
|
1520
|
-
* To bind an EIP to a NAT Gateway, use the [
|
|
1521
|
-
* EIP
|
|
1522
|
-
* Only EIP in the UNBIND status can be bound.
|
|
1517
|
+
* Binding an EIP to a CVM instance is actually binding the EIP to the primary private IP of the primary ENI on the CVM instance.
|
|
1518
|
+
* When an EIP is bound, the public IP previously bound to the CVM instance will be unbound and released automatically.
|
|
1519
|
+
* To bind another EIP to the private IP of the specified ENI, you must first unbind the EIP.
|
|
1520
|
+
* To bind an EIP to a NAT Gateway, use the API [AssociateNatGatewayAddress](https://intl.cloud.tencent.com/document/product/215/36722?from_cn_redirect=1).
|
|
1521
|
+
* An EIP cannot be bound if it’s overdue or blocked
|
|
1522
|
+
* Only EIP in the `UNBIND` status can be bound.
|
|
1523
1523
|
* @param {AssociateAddressRequest} req
|
|
1524
1524
|
* @param {function(string, AssociateAddressResponse):void} cb
|
|
1525
1525
|
* @public
|
|
@@ -2782,8 +2782,8 @@ Each account can only create a limited number of CCN instances. For more informa
|
|
|
2782
2782
|
}
|
|
2783
2783
|
|
|
2784
2784
|
/**
|
|
2785
|
-
* This API
|
|
2786
|
-
*
|
|
2785
|
+
* This API is used to convert a common public IP into an [Elastic IP](https://intl.cloud.tencent.com/document/product/213/1941?from_cn_redirect=1) (EIP for short).
|
|
2786
|
+
* Tencent Cloud limits the number of times that a user can unbind EIPs and reassign public IPs in each region per day. For more information, see product introduction of [Elastic IP](https://intl.cloud.tencent.com/document/product/213/5733?from_cn_redirect=1). The preceding quota can be obtained through the API [DescribeAddressQuota](https://intl.cloud.tencent.com/document/product/215/16701).
|
|
2787
2787
|
* @param {TransformAddressRequest} req
|
|
2788
2788
|
* @param {function(string, TransformAddressResponse):void} cb
|
|
2789
2789
|
* @public
|