tencentcloud-sdk-nodejs 4.0.1013 → 4.0.1015
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/CHANGELOG.md +941 -0
- package/README.md +1 -1
- package/SERVICE_CHANGELOG.md +1493 -154
- package/package.json +1 -1
- package/products.md +29 -29
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apm/v20210622/apm_client.ts +3 -3
- package/src/services/apm/v20210622/apm_models.ts +195 -171
- package/src/services/as/v20180419/as_client.ts +2 -0
- package/src/services/as/v20180419/as_models.ts +36 -0
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +1 -1
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +16 -126
- package/src/services/clb/v20180317/clb_models.ts +42 -12
- package/src/services/cvm/v20170312/cvm_client.ts +14 -1
- package/src/services/cvm/v20170312/cvm_models.ts +55 -27
- package/src/services/dc/v20180410/dc_models.ts +8 -1
- package/src/services/dlc/v20210125/dlc_client.ts +1 -0
- package/src/services/dlc/v20210125/dlc_models.ts +25 -0
- package/src/services/emr/v20190103/emr_models.ts +18 -58
- package/src/services/ess/v20201111/ess_models.ts +15 -11
- package/src/services/essbasic/v20210526/essbasic_models.ts +26 -20
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +3 -1
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +18 -1
- package/src/services/lcic/v20220817/lcic_models.ts +2 -3
- package/src/services/lke/v20231130/lke_models.ts +8 -7
- package/src/services/lkeap/v20240522/lkeap_models.ts +4 -2
- package/src/services/mna/v20210119/mna_models.ts +0 -15
- package/src/services/monitor/v20180724/monitor_models.ts +26 -26
- package/src/services/ocr/v20181119/ocr_models.ts +12 -0
- package/src/services/ssl/v20191205/ssl_models.ts +4 -0
- package/src/services/tchd/v20230306/tchd_models.ts +0 -1
- package/src/services/teo/v20220901/teo_models.ts +1 -3
- package/src/services/tiw/v20190919/tiw_models.ts +3 -0
- package/src/services/vod/v20180717/vod_models.ts +3 -3
- package/src/services/vpc/v20170312/vpc_client.ts +7 -5167
- package/src/services/vpc/v20170312/vpc_models.ts +9 -18684
- package/src/services/wedata/v20210820/wedata_client.ts +16 -2
- package/src/services/wedata/v20210820/wedata_models.ts +276 -61
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +3 -3
- package/tencentcloud/services/apm/v20210622/apm_client.js +3 -3
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +195 -171
- package/tencentcloud/services/as/v20180419/as_models.d.ts +34 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +1 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +1 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +15 -125
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +42 -12
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +6 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +7 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +53 -27
- package/tencentcloud/services/dc/v20180410/dc_models.d.ts +8 -1
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +24 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +18 -58
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +15 -11
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +26 -20
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +3 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +3 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +18 -1
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +2 -3
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +8 -7
- package/tencentcloud/services/lkeap/v20240522/lkeap_models.d.ts +4 -2
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +0 -15
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +26 -26
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +12 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +4 -0
- package/tencentcloud/services/tchd/v20230306/tchd_models.d.ts +0 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -3
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +3 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +3 -3
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +3 -1891
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +3 -2663
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +9 -17746
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +269 -58
- package/test/cvm.v20170312.test.js +10 -0
- package/test/vpc.v20170312.test.js +2 -3862
- package/test/wedata.v20210820.test.js +10 -0
|
@@ -28,2670 +28,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("vpc.tencentcloudapi.com", "2017-03-12", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 内部用户查询所有NAT网关的EIP IP列表信息
|
|
32
32
|
*/
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* 本接口(ModifyNatGatewayAttribute)用于修改NAT网关的属性。
|
|
38
|
-
*/
|
|
39
|
-
async ModifyNatGatewayAttribute(req, cb) {
|
|
40
|
-
return this.request("ModifyNatGatewayAttribute", req, cb);
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* 查询EIP异步任务执行结果
|
|
44
|
-
*/
|
|
45
|
-
async DescribeTaskResult(req, cb) {
|
|
46
|
-
return this.request("DescribeTaskResult", req, cb);
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* 本接口(DescribeRouteTables)用于查询路由表。
|
|
50
|
-
*/
|
|
51
|
-
async DescribeRouteTables(req, cb) {
|
|
52
|
-
return this.request("DescribeRouteTables", req, cb);
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* 接口用于删除带宽包资源,包括[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)和[负载均衡](https://cloud.tencent.com/document/product/214/517)等
|
|
56
|
-
*/
|
|
57
|
-
async RemoveBandwidthPackageResources(req, cb) {
|
|
58
|
-
return this.request("RemoveBandwidthPackageResources", req, cb);
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* 本接口(ModifyServiceTemplateGroupAttribute)用于修改协议端口模板集合。
|
|
62
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
63
|
-
>
|
|
64
|
-
*/
|
|
65
|
-
async ModifyServiceTemplateGroupAttribute(req, cb) {
|
|
66
|
-
return this.request("ModifyServiceTemplateGroupAttribute", req, cb);
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* 该接口用于调整具有带宽属性弹性公网IP的网络计费模式
|
|
70
|
-
* 支持BANDWIDTH_PREPAID_BY_MONTH和TRAFFIC_POSTPAID_BY_HOUR两种网络计费模式之间的切换。
|
|
71
|
-
* 每个弹性公网IP支持调整两次,次数超出则无法调整。
|
|
72
|
-
*/
|
|
73
|
-
async ModifyAddressInternetChargeType(req, cb) {
|
|
74
|
-
return this.request("ModifyAddressInternetChargeType", req, cb);
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* 本接口(ModifyIPv6AddressesAttributes)用于修改弹性公网 IPv6(简称EIPv6)实例名称。
|
|
78
|
-
|
|
79
|
-
- 支持对弹性公网 IPv6 和传统弹性公网 IPv6 实例名称进行修改。
|
|
80
|
-
*/
|
|
81
|
-
async ModifyIPv6AddressesAttributes(req, cb) {
|
|
82
|
-
return this.request("ModifyIPv6AddressesAttributes", req, cb);
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* 本接口(CreatePrivateNatGateway)用于创建私网NAT网关。
|
|
86
|
-
*/
|
|
87
|
-
async CreatePrivateNatGateway(req, cb) {
|
|
88
|
-
return this.request("CreatePrivateNatGateway", req, cb);
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* 本接口(AcceptVpcPeeringConnection)用于接受对等连接请求。
|
|
92
|
-
*/
|
|
93
|
-
async AcceptVpcPeeringConnection(req, cb) {
|
|
94
|
-
return this.request("AcceptVpcPeeringConnection", req, cb);
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* 本接口(EnableGatewayFlowMonitor)用于开启网关流量监控。
|
|
98
|
-
*/
|
|
99
|
-
async EnableGatewayFlowMonitor(req, cb) {
|
|
100
|
-
return this.request("EnableGatewayFlowMonitor", req, cb);
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* 本接口 (DescribeAddresses) 用于查询一个或多个[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)的详细信息。
|
|
104
|
-
* 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的 EIP。
|
|
105
|
-
*/
|
|
106
|
-
async DescribeAddresses(req, cb) {
|
|
107
|
-
return this.request("DescribeAddresses", req, cb);
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* 本接口(CreateCcnRouteTables)用于给指定的云联网实例新建路由表。
|
|
111
|
-
*/
|
|
112
|
-
async CreateCcnRouteTables(req, cb) {
|
|
113
|
-
return this.request("CreateCcnRouteTables", req, cb);
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* 本接口(ReplaceCcnRouteTableBroadcastPolicys)用于替换云联网路由表路由传播策略。
|
|
117
|
-
> 特别注意:是全量覆盖,非增量添加
|
|
118
|
-
|
|
119
|
-
**路由条件支持以下四种:**
|
|
120
|
-
|
|
121
|
-
- 实例类型: `instance-type`,可选值:私有网络 `VPC`、专线网关 `DIRECTCONNECT`、VPN网关 `VPNGW`
|
|
122
|
-
- 实例ID: `instance-id`,例如:`dcg-8zljkrft`、`vpc-jdevjrup`,暂不支持 `Edge` 实例
|
|
123
|
-
- 实例地域: `instance-region`,例如:`ap-guangzhou`<br />产品支持的所有地域列表可通过接口 [DescribeRegions](https://cloud.tencent.com/document/product/1596/77930) 查询,其中参数 `Product` 设置为 `ccn`
|
|
124
|
-
- 路由前缀: `cidr-block`,例如:`10.1.0.0/16`
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
**传播条件支持以下三种:**
|
|
128
|
-
|
|
129
|
-
- 实例类型: `instance-type`,格式同路由条件
|
|
130
|
-
- 实例ID: `instance-id`,格式同路由条件
|
|
131
|
-
- 实例地域: `instance-region`,格式同路由条件
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
**使用限制:**
|
|
135
|
-
- 一条策略内的单个条件类型,最大支持设置 `25` 个条件值
|
|
136
|
-
- 一张路由表,最大支持 `100` 条路由传播策略
|
|
137
|
-
- 路由条件类型中,只有 `cidr-block` 类型支持模糊匹配和精确匹配两种,其它类型只支持精确匹配一种模式
|
|
138
|
-
*/
|
|
139
|
-
async ReplaceCcnRouteTableBroadcastPolicys(req, cb) {
|
|
140
|
-
return this.request("ReplaceCcnRouteTableBroadcastPolicys", req, cb);
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* 更新SslVpnClient证书
|
|
144
|
-
*/
|
|
145
|
-
async ModifyVpnGatewaySslClientCert(req, cb) {
|
|
146
|
-
return this.request("ModifyVpnGatewaySslClientCert", req, cb);
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* 本接口用于修改 SSL-VPN 服务端属性
|
|
150
|
-
*/
|
|
151
|
-
async ModifyVpnGatewaySslServer(req, cb) {
|
|
152
|
-
return this.request("ModifyVpnGatewaySslServer", req, cb);
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* 本接口 (DescribeSpecificTrafficPackageUsedDetails) 用于查询指定 共享流量包 的用量明细。
|
|
156
|
-
*/
|
|
157
|
-
async DescribeSpecificTrafficPackageUsedDetails(req, cb) {
|
|
158
|
-
return this.request("DescribeSpecificTrafficPackageUsedDetails", req, cb);
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* 本接口(ReplaceRouteTableAssociation)用于修改子网(Subnet)关联的路由表(RouteTable)。
|
|
162
|
-
* 一个子网只能关联一个路由表。
|
|
163
|
-
*/
|
|
164
|
-
async ReplaceRouteTableAssociation(req, cb) {
|
|
165
|
-
return this.request("ReplaceRouteTableAssociation", req, cb);
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* 删除共享带宽包(仅非活动状态的流量包可删除)。
|
|
169
|
-
*/
|
|
170
|
-
async DeleteTrafficPackages(req, cb) {
|
|
171
|
-
return this.request("DeleteTrafficPackages", req, cb);
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* 本接口(DescribeTemplateLimits)用于查询参数模板配额列表。
|
|
175
|
-
*/
|
|
176
|
-
async DescribeTemplateLimits(req, cb) {
|
|
177
|
-
return this.request("DescribeTemplateLimits", req, cb);
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* 本接口(CheckNetDetectState)用于验证网络探测。
|
|
181
|
-
*/
|
|
182
|
-
async CheckNetDetectState(req, cb) {
|
|
183
|
-
return this.request("CheckNetDetectState", req, cb);
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* 本接口(InquiryPriceResetVpnGatewayInternetMaxBandwidth)用于调整VPN网关带宽上限询价。
|
|
187
|
-
*/
|
|
188
|
-
async InquiryPriceResetVpnGatewayInternetMaxBandwidth(req, cb) {
|
|
189
|
-
return this.request("InquiryPriceResetVpnGatewayInternetMaxBandwidth", req, cb);
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* 判断用户在网络侧的用户类型,如标准(带宽上移),传统(非上移)。
|
|
193
|
-
*/
|
|
194
|
-
async DescribeNetworkAccountType(req, cb) {
|
|
195
|
-
return this.request("DescribeNetworkAccountType", req, cb);
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* 本接口(ModifyAddressesBandwidth)用于调整[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称EIP)带宽,支持后付费EIP, 预付费EIP和带宽包EIP
|
|
199
|
-
*/
|
|
200
|
-
async ModifyAddressesBandwidth(req, cb) {
|
|
201
|
-
return this.request("ModifyAddressesBandwidth", req, cb);
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* 本接口(CreateSubnet)用于创建子网。
|
|
205
|
-
* 创建子网前必须创建好 VPC。
|
|
206
|
-
* 子网创建成功后,子网网段不能修改。子网网段必须在VPC网段内,可以和VPC网段相同(VPC有且只有一个子网时),建议子网网段在VPC网段内,预留网段给其他子网使用。
|
|
207
|
-
* 您可以创建的最小网段子网掩码为28(有16个IP地址),最大网段子网掩码为16(65,536个IP地址)。
|
|
208
|
-
* 同一个VPC内,多个子网的网段不能重叠。
|
|
209
|
-
* 子网创建后会自动关联到默认路由表。
|
|
210
|
-
* 创建子网同时可以绑定标签, 应答里的标签列表代表添加成功的标签。
|
|
211
|
-
*/
|
|
212
|
-
async CreateSubnet(req, cb) {
|
|
213
|
-
return this.request("CreateSubnet", req, cb);
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* 创建SSL-VPN-CLIENT
|
|
217
|
-
*/
|
|
218
|
-
async CreateVpnGatewaySslClient(req, cb) {
|
|
219
|
-
return this.request("CreateVpnGatewaySslClient", req, cb);
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* 本接口(AllocateIp6AddressesBandwidth)用于为传统弹性公网 IPv6 地址开通 IPv6 公网带宽。
|
|
223
|
-
|
|
224
|
-
- 传统弹性公网 IPv6 地址默认仅具备内网通信能力,需通过控制台或 API 接口为其分配公网带宽后,才能具备 IPv6 公网通信能力、并于传统弹性公网 IPv6 列表页可见。
|
|
225
|
-
- 支持为一个或多个传统弹性公网 IPv6 实例开通公网带宽。
|
|
226
|
-
*/
|
|
227
|
-
async AllocateIp6AddressesBandwidth(req, cb) {
|
|
228
|
-
return this.request("AllocateIp6AddressesBandwidth", req, cb);
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* 本接口(LockCcnBandwidths)用户锁定云联网限速实例。
|
|
232
|
-
该接口一般用来封禁地域间限速的云联网实例下的限速实例, 目前联通内部运营系统通过云API调用, 如果是出口限速, 一般使用更粗的云联网实例粒度封禁(LockCcns)。
|
|
233
|
-
如有需要, 可以封禁任意限速实例, 可接入到内部运营系统。
|
|
234
|
-
*/
|
|
235
|
-
async LockCcnBandwidths(req, cb) {
|
|
236
|
-
return this.request("LockCcnBandwidths", req, cb);
|
|
237
|
-
}
|
|
238
|
-
/**
|
|
239
|
-
* 本接口(DeleteServiceTemplateGroup)用于删除协议端口模板集合。
|
|
240
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
241
|
-
>
|
|
242
|
-
*/
|
|
243
|
-
async DeleteServiceTemplateGroup(req, cb) {
|
|
244
|
-
return this.request("DeleteServiceTemplateGroup", req, cb);
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
* 接口用于添加带宽包资源,包括[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)和[负载均衡](https://cloud.tencent.com/document/product/214/517)等
|
|
248
|
-
*/
|
|
249
|
-
async AddBandwidthPackageResources(req, cb) {
|
|
250
|
-
return this.request("AddBandwidthPackageResources", req, cb);
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* 本接口 (AllocateAddresses) 用于申请一个或多个[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。
|
|
254
|
-
* EIP 是专为动态云计算设计的静态 IP 地址。借助 EIP,您可以快速将 EIP 重新映射到您的另一个实例上,从而屏蔽实例故障。
|
|
255
|
-
* 您的 EIP 与腾讯云账户相关联,而不是与某个实例相关联。在您选择显式释放该地址,或欠费超过24小时之前,它会一直与您的腾讯云账户保持关联。
|
|
256
|
-
* 一个腾讯云账户在每个地域能申请的 EIP 最大配额有所限制,可参见 [EIP 产品简介](https://cloud.tencent.com/document/product/213/5733),上述配额可通过 DescribeAddressQuota 接口获取。
|
|
257
|
-
*/
|
|
258
|
-
async AllocateAddresses(req, cb) {
|
|
259
|
-
return this.request("AllocateAddresses", req, cb);
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* 删除 IDC通道
|
|
263
|
-
*/
|
|
264
|
-
async DeleteCdcLDCXList(req, cb) {
|
|
265
|
-
return this.request("DeleteCdcLDCXList", req, cb);
|
|
266
|
-
}
|
|
267
|
-
/**
|
|
268
|
-
* 本接口(DescribeIp6Addresses)用于查询一个或多个传统弹性公网 IPv6 实例的详细信息。
|
|
269
|
-
*/
|
|
270
|
-
async DescribeIp6Addresses(req, cb) {
|
|
271
|
-
return this.request("DescribeIp6Addresses", req, cb);
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* 本接口(DeleteNetworkAclQuintupleEntries)用于删除网络ACL五元组指定的入站规则和出站规则(但不是全量删除该ACL下的所有条目)。在NetworkAclQuintupleEntrySet参数中:NetworkAclQuintupleEntry需要提供NetworkAclQuintupleEntryId。
|
|
275
|
-
*/
|
|
276
|
-
async DeleteNetworkAclQuintupleEntries(req, cb) {
|
|
277
|
-
return this.request("DeleteNetworkAclQuintupleEntries", req, cb);
|
|
278
|
-
}
|
|
279
|
-
/**
|
|
280
|
-
* 本接口(DeleteDirectConnectGateway)用于删除专线网关。
|
|
281
|
-
<li>如果是 NAT 网关,删除专线网关后,NAT 规则以及 ACL 策略都被清理了。</li>
|
|
282
|
-
<li>删除专线网关后,系统会删除路由表中跟该专线网关相关的路由策略。</li>
|
|
283
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`QueryTask`接口
|
|
284
|
-
*/
|
|
285
|
-
async DeleteDirectConnectGateway(req, cb) {
|
|
286
|
-
return this.request("DeleteDirectConnectGateway", req, cb);
|
|
287
|
-
}
|
|
288
|
-
/**
|
|
289
|
-
* 本接口(CreateNetworkInterface)用于创建弹性网卡。
|
|
290
|
-
* 创建弹性网卡时可以指定内网IP,并且可以指定一个主IP,指定的内网IP必须在弹性网卡所在子网内,而且不能被占用。
|
|
291
|
-
* 创建弹性网卡时可以指定需要申请的内网IP数量,系统会随机生成内网IP地址。
|
|
292
|
-
* 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。
|
|
293
|
-
* 创建弹性网卡同时可以绑定已有安全组。
|
|
294
|
-
* 创建弹性网卡同时可以绑定标签, 响应里的标签列表代表添加成功的标签。
|
|
295
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
296
|
-
>
|
|
297
|
-
*/
|
|
298
|
-
async CreateNetworkInterface(req, cb) {
|
|
299
|
-
return this.request("CreateNetworkInterface", req, cb);
|
|
300
|
-
}
|
|
301
|
-
/**
|
|
302
|
-
* 本接口(DescribeNetDetectStates)用于查询网络探测验证结果列表。
|
|
303
|
-
*/
|
|
304
|
-
async DescribeNetDetectStates(req, cb) {
|
|
305
|
-
return this.request("DescribeNetDetectStates", req, cb);
|
|
306
|
-
}
|
|
307
|
-
/**
|
|
308
|
-
* 修改虚拟连接
|
|
309
|
-
*/
|
|
310
|
-
async ModifyCdcNetPlaneAttribute(req, cb) {
|
|
311
|
-
return this.request("ModifyCdcNetPlaneAttribute", req, cb);
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* 本接口(DescribeCcns)用于查询云联网(CCN)列表。
|
|
315
|
-
*/
|
|
316
|
-
async DescribeCcns(req, cb) {
|
|
317
|
-
return this.request("DescribeCcns", req, cb);
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* 本接口(DeleteCcn)用于删除云联网。
|
|
321
|
-
* 删除后,云联网关联的所有实例间路由将被删除,网络将会中断,请务必确认
|
|
322
|
-
* 删除云联网是不可逆的操作,请谨慎处理。
|
|
323
|
-
*/
|
|
324
|
-
async DeleteCcn(req, cb) {
|
|
325
|
-
return this.request("DeleteCcn", req, cb);
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* 本接口(ModifyNetworkAclEntries)用于修改(包括添加和删除)网络ACL的入站规则和出站规则。在NetworkAclEntrySet参数中:
|
|
329
|
-
* 若同时传入入站规则和出站规则,则重置原有的入站规则和出站规则,并分别导入传入的规则。
|
|
330
|
-
* 若仅传入入站规则,则仅重置原有的入站规则,并导入传入的规则,不影响原有的出站规则(若仅传入出站规则,处理方式类似入站方向)。
|
|
331
|
-
*/
|
|
332
|
-
async ModifyNetworkAclEntries(req, cb) {
|
|
333
|
-
return this.request("ModifyNetworkAclEntries", req, cb);
|
|
334
|
-
}
|
|
335
|
-
/**
|
|
336
|
-
* 该接口用于查询指定的云联网实例的路由表信息。
|
|
337
|
-
*/
|
|
338
|
-
async DescribeCcnRouteTables(req, cb) {
|
|
339
|
-
return this.request("DescribeCcnRouteTables", req, cb);
|
|
340
|
-
}
|
|
341
|
-
/**
|
|
342
|
-
* 本接口(DetachNetworkInterface)用于弹性网卡解绑云服务器。
|
|
343
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
344
|
-
*/
|
|
345
|
-
async DetachNetworkInterface(req, cb) {
|
|
346
|
-
return this.request("DetachNetworkInterface", req, cb);
|
|
347
|
-
}
|
|
348
|
-
/**
|
|
349
|
-
* 本接口(ModifyNetworkAclQuintupleEntries)用于修改网络ACL五元组的入站规则和出站规则。在NetworkAclQuintupleEntrySet参数中:NetworkAclQuintupleEntry需要提供NetworkAclQuintupleEntryId。
|
|
350
|
-
*/
|
|
351
|
-
async ModifyNetworkAclQuintupleEntries(req, cb) {
|
|
352
|
-
return this.request("ModifyNetworkAclQuintupleEntries", req, cb);
|
|
353
|
-
}
|
|
354
|
-
/**
|
|
355
|
-
* 本接口(DeleteAssistantCidr)用于删除辅助CIDR。
|
|
356
|
-
*/
|
|
357
|
-
async DeleteAssistantCidr(req, cb) {
|
|
358
|
-
return this.request("DeleteAssistantCidr", req, cb);
|
|
359
|
-
}
|
|
360
|
-
/**
|
|
361
|
-
* 本接口(DeleteNetworkInterface)用于删除弹性网卡。
|
|
362
|
-
* 弹性网卡上绑定了云服务器时,不能被删除。
|
|
363
|
-
* 删除指定弹性网卡,弹性网卡必须先和子机解绑才能删除。删除之后弹性网卡上所有内网IP都将被退还。
|
|
364
|
-
|
|
365
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
366
|
-
*/
|
|
367
|
-
async DeleteNetworkInterface(req, cb) {
|
|
368
|
-
return this.request("DeleteNetworkInterface", req, cb);
|
|
369
|
-
}
|
|
370
|
-
/**
|
|
371
|
-
* 本接口(ModifyLocalGateway)用于修改CDC的本地网关。
|
|
372
|
-
*/
|
|
373
|
-
async ModifyLocalGateway(req, cb) {
|
|
374
|
-
return this.request("ModifyLocalGateway", req, cb);
|
|
375
|
-
}
|
|
376
|
-
/**
|
|
377
|
-
* 本接口(DescribeSubnetResourceDashboard)用于查看Subnet资源信息。
|
|
378
|
-
*/
|
|
379
|
-
async DescribeSubnetResourceDashboard(req, cb) {
|
|
380
|
-
return this.request("DescribeSubnetResourceDashboard", req, cb);
|
|
381
|
-
}
|
|
382
|
-
/**
|
|
383
|
-
* 本接口(DescribeFlowLog)用于查询流日志实例信息。
|
|
384
|
-
*/
|
|
385
|
-
async DescribeFlowLog(req, cb) {
|
|
386
|
-
return this.request("DescribeFlowLog", req, cb);
|
|
387
|
-
}
|
|
388
|
-
/**
|
|
389
|
-
* 本接口(AssociateInstancesToCcnRouteTable)用于将指定的云联网实例关联到指定的云联网路由表。
|
|
390
|
-
*/
|
|
391
|
-
async AssociateInstancesToCcnRouteTable(req, cb) {
|
|
392
|
-
return this.request("AssociateInstancesToCcnRouteTable", req, cb);
|
|
393
|
-
}
|
|
394
|
-
/**
|
|
395
|
-
* 该接口用于续费包月带宽计费模式的弹性公网IP
|
|
396
|
-
*/
|
|
397
|
-
async RenewAddresses(req, cb) {
|
|
398
|
-
return this.request("RenewAddresses", req, cb);
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* 本接口(DescribeCcnRegionBandwidthLimits)用于查询云联网各地域出带宽上限,该接口只返回已关联网络实例包含的地域。
|
|
402
|
-
*/
|
|
403
|
-
async DescribeCcnRegionBandwidthLimits(req, cb) {
|
|
404
|
-
return this.request("DescribeCcnRegionBandwidthLimits", req, cb);
|
|
405
|
-
}
|
|
406
|
-
/**
|
|
407
|
-
* 1. 该接口用于在转换实例下添加IPV6转换规则。
|
|
408
|
-
2. 支持在同一个转换实例下批量添加转换规则,一个账户在一个地域最多50个。
|
|
409
|
-
3. 一个完整的转换规则包括vip6:vport6:protocol:vip:vport,其中vip6:vport6:protocol必须是唯一。
|
|
410
|
-
*/
|
|
411
|
-
async AddIp6Rules(req, cb) {
|
|
412
|
-
return this.request("AddIp6Rules", req, cb);
|
|
413
|
-
}
|
|
414
|
-
/**
|
|
415
|
-
* 将专线网关与NAT网关解绑,解绑之后,专线网关将不能通过NAT网关访问公网
|
|
416
|
-
*/
|
|
417
|
-
async DisassociateDirectConnectGatewayNatGateway(req, cb) {
|
|
418
|
-
return this.request("DisassociateDirectConnectGatewayNatGateway", req, cb);
|
|
419
|
-
}
|
|
420
|
-
/**
|
|
421
|
-
* 本接口(DescribeUsedIpAddress)用于查询Subnet或者Vpc内的ip的使用情况,
|
|
422
|
-
如ip被占用,返回占用ip的资源类别与id;如未被占用,返回空值
|
|
423
|
-
*/
|
|
424
|
-
async DescribeUsedIpAddress(req, cb) {
|
|
425
|
-
return this.request("DescribeUsedIpAddress", req, cb);
|
|
426
|
-
}
|
|
427
|
-
/**
|
|
428
|
-
* 本接口(DescribeCcnRoutes)用于查询已加入云联网(CCN)的路由。
|
|
429
|
-
*/
|
|
430
|
-
async DescribeCcnRoutes(req, cb) {
|
|
431
|
-
return this.request("DescribeCcnRoutes", req, cb);
|
|
432
|
-
}
|
|
433
|
-
/**
|
|
434
|
-
* 本接口(ReplaceDirectConnectGatewayCcnRoutes)根据路由ID(RouteId)修改指定的路由(Route),支持批量修改。
|
|
435
|
-
*/
|
|
436
|
-
async ReplaceDirectConnectGatewayCcnRoutes(req, cb) {
|
|
437
|
-
return this.request("ReplaceDirectConnectGatewayCcnRoutes", req, cb);
|
|
438
|
-
}
|
|
439
|
-
/**
|
|
440
|
-
* 本接口(GetCcnRegionBandwidthLimits)用于查询云联网相关地域带宽信息,其中预付费模式的云联网仅支持地域间限速,后付费模式的云联网支持地域间限速和地域出口限速。
|
|
441
|
-
*/
|
|
442
|
-
async GetCcnRegionBandwidthLimits(req, cb) {
|
|
443
|
-
return this.request("GetCcnRegionBandwidthLimits", req, cb);
|
|
444
|
-
}
|
|
445
|
-
/**
|
|
446
|
-
* 增加模板对象中的IP地址、协议端口、IP地址组、协议端口组。
|
|
447
|
-
*/
|
|
448
|
-
async AddTemplateMember(req, cb) {
|
|
449
|
-
return this.request("AddTemplateMember", req, cb);
|
|
450
|
-
}
|
|
451
|
-
/**
|
|
452
|
-
* 本接口(DeleteAddressTemplate)用于删除IP地址模板。
|
|
453
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
454
|
-
>
|
|
455
|
-
*/
|
|
456
|
-
async DeleteAddressTemplate(req, cb) {
|
|
457
|
-
return this.request("DeleteAddressTemplate", req, cb);
|
|
458
|
-
}
|
|
459
|
-
/**
|
|
460
|
-
* 本接口(WithdrawNotifyRoutes)用于撤销已发布到云联网的路由。路由表列表页操作增加“从云联网撤销”。
|
|
461
|
-
*/
|
|
462
|
-
async WithdrawNotifyRoutes(req, cb) {
|
|
463
|
-
return this.request("WithdrawNotifyRoutes", req, cb);
|
|
464
|
-
}
|
|
465
|
-
/**
|
|
466
|
-
* 创建虚拟连接,用于支持 CDC 多租户模式
|
|
467
|
-
*/
|
|
468
|
-
async CreateCdcNetPlanes(req, cb) {
|
|
469
|
-
return this.request("CreateCdcNetPlanes", req, cb);
|
|
470
|
-
}
|
|
471
|
-
/**
|
|
472
|
-
* 本接口(DeleteRoutes)用于对某个路由表批量删除路由策略(Route)。
|
|
473
|
-
*/
|
|
474
|
-
async DeleteRoutes(req, cb) {
|
|
475
|
-
return this.request("DeleteRoutes", req, cb);
|
|
476
|
-
}
|
|
477
|
-
/**
|
|
478
|
-
* 本接口(InquiryPriceCreateVpnGateway)用于创建VPN网关询价。
|
|
479
|
-
*/
|
|
480
|
-
async InquiryPriceCreateVpnGateway(req, cb) {
|
|
481
|
-
return this.request("InquiryPriceCreateVpnGateway", req, cb);
|
|
482
|
-
}
|
|
483
|
-
/**
|
|
484
|
-
* 删除高优路由表
|
|
485
|
-
*/
|
|
486
|
-
async DeleteHighPriorityRouteTables(req, cb) {
|
|
487
|
-
return this.request("DeleteHighPriorityRouteTables", req, cb);
|
|
488
|
-
}
|
|
489
|
-
/**
|
|
490
|
-
* 本接口(DescribeCrossBorderCompliance)用于查询用户创建的合规化资质审批单。
|
|
491
|
-
服务商可以查询服务名下的任意 `APPID` 创建的审批单;非服务商,只能查询自己审批单。
|
|
492
|
-
*/
|
|
493
|
-
async DescribeCrossBorderCompliance(req, cb) {
|
|
494
|
-
return this.request("DescribeCrossBorderCompliance", req, cb);
|
|
495
|
-
}
|
|
496
|
-
/**
|
|
497
|
-
* 本接口(CreateSecurityGroup)用于创建新的安全组(SecurityGroup)。
|
|
498
|
-
* 每个账户下每个地域的每个项目的<a href="https://cloud.tencent.com/document/product/213/12453">安全组数量限制</a>。
|
|
499
|
-
* 新建的安全组的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用CreateSecurityGroupPolicies将安全组的规则设置为需要的规则。
|
|
500
|
-
* 创建安全组同时可以绑定标签, 应答里的标签列表代表添加成功的标签。
|
|
501
|
-
*/
|
|
502
|
-
async CreateSecurityGroup(req, cb) {
|
|
503
|
-
return this.request("CreateSecurityGroup", req, cb);
|
|
504
|
-
}
|
|
505
|
-
/**
|
|
506
|
-
* 本接口(ModifyNetworkInterfaceAttribute)用于修改弹性网卡属性。
|
|
507
|
-
*/
|
|
508
|
-
async ModifyNetworkInterfaceAttribute(req, cb) {
|
|
509
|
-
return this.request("ModifyNetworkInterfaceAttribute", req, cb);
|
|
510
|
-
}
|
|
511
|
-
/**
|
|
512
|
-
* 本接口(ModifyVpcPeeringConnection)用于修改私有网络对等连接属性。
|
|
513
|
-
*/
|
|
514
|
-
async ModifyVpcPeeringConnection(req, cb) {
|
|
515
|
-
return this.request("ModifyVpcPeeringConnection", req, cb);
|
|
516
|
-
}
|
|
517
|
-
/**
|
|
518
|
-
* 本接口(DescribeVpcLimits)用于获取私有网络配额,部分私有网络的配额有地域属性。
|
|
519
|
-
LimitTypes取值范围:
|
|
520
|
-
* appid-max-vpcs (每个开发商每个地域可创建的VPC数)。
|
|
521
|
-
* vpc-max-subnets(每个VPC可创建的子网数)。
|
|
522
|
-
* vpc-max-route-tables(每个VPC可创建的路由表数)。
|
|
523
|
-
* route-table-max-policies(每个路由表可添加的策略数)。
|
|
524
|
-
* vpc-max-vpn-gateways(每个VPC可创建的VPN网关数)。
|
|
525
|
-
* appid-max-custom-gateways(每个开发商可创建的对端网关数)。
|
|
526
|
-
* appid-max-vpn-connections(每个开发商可创建的VPN通道数)。
|
|
527
|
-
* custom-gateway-max-vpn-connections(每个对端网关可创建的VPN通道数)。
|
|
528
|
-
* vpn-gateway-max-custom-gateways(每个VPNGW可以创建的通道数)。
|
|
529
|
-
* vpc-max-network-acls(每个VPC可创建的网络ACL数)。
|
|
530
|
-
* network-acl-max-inbound-policies(每个网络ACL可添加的入站规则数)。
|
|
531
|
-
* network-acl-max-outbound-policies(每个网络ACL可添加的出站规则数)。
|
|
532
|
-
* vpc-max-vpcpeers(每个VPC可创建的对等连接数)。
|
|
533
|
-
* vpc-max-available-vpcpeers(每个VPC可创建的有效对等连接数)。
|
|
534
|
-
* vpc-max-basic-network-interconnections(每个VPC可创建的基础网络云主机与VPC互通数)。
|
|
535
|
-
* direct-connection-max-snats(每个专线网关可创建的SNAT数)。
|
|
536
|
-
* direct-connection-max-dnats(每个专线网关可创建的DNAT数)。
|
|
537
|
-
* direct-connection-max-snapts(每个专线网关可创建的SNAPT数)。
|
|
538
|
-
* direct-connection-max-dnapts(每个专线网关可创建的DNAPT数)。
|
|
539
|
-
* vpc-max-nat-gateways(每个VPC可创建的NAT网关数)。
|
|
540
|
-
* nat-gateway-max-eips(每个NAT可以购买的外网IP数量)。
|
|
541
|
-
* vpc-max-enis(每个VPC可创建弹性网卡数)。
|
|
542
|
-
* vpc-max-havips(每个VPC可创建HAVIP数)。
|
|
543
|
-
* eni-max-private-ips(每个ENI可以绑定的内网IP数(ENI未绑定子机))。
|
|
544
|
-
* nat-gateway-max-dnapts(每个NAT网关可创建的DNAPT数)。
|
|
545
|
-
* vpc-max-ipv6s(每个VPC可分配的IPv6地址数)。
|
|
546
|
-
* eni-max-ipv6s(每个ENI可分配的IPv6地址数)。
|
|
547
|
-
* vpc-max-assistant_cidrs(每个VPC可分配的辅助CIDR数)。
|
|
548
|
-
* appid-max-end-point-services (每个开发商每个地域可创建的终端节点服务个数)。
|
|
549
|
-
* appid-max-end-point-service-white-lists (每个开发商每个地域可创建的终端节点服务白名单个数)。
|
|
550
|
-
* vpc-max-cmcc-ipv6-cidrs (每个VPC可创建的移动IPv6 CIDR个数)。
|
|
551
|
-
* vpc-max-ctcc-ipv6-cidrs (每个VPC可创建的电信IPv6 CIDR个数)。
|
|
552
|
-
* vpc-max-cucc-ipv6-cidrs (每个VPC可创建的联调IPv6 CIDR个数)。
|
|
553
|
-
* vpc-max-bgp-ipv6-cidrs (每个VPC可创建的默认IPv6 CIDR个数)。
|
|
554
|
-
* vpc-max-custom-ipv6-cidrs (每个VPC可创建的自定义IPv6 CIDR个数)。
|
|
555
|
-
* vpc-max-ula-ipv6-cidrs (每个VPC可创建的ULA IPv6 CIDR个数)。
|
|
556
|
-
*/
|
|
557
|
-
async DescribeVpcLimits(req, cb) {
|
|
558
|
-
return this.request("DescribeVpcLimits", req, cb);
|
|
559
|
-
}
|
|
560
|
-
/**
|
|
561
|
-
* 本接口(DescribeSnapshotAttachedInstances)用于查询快照策略关联实例列表。
|
|
562
|
-
*/
|
|
563
|
-
async DescribeSnapshotAttachedInstances(req, cb) {
|
|
564
|
-
return this.request("DescribeSnapshotAttachedInstances", req, cb);
|
|
565
|
-
}
|
|
566
|
-
/**
|
|
567
|
-
* 本接口(DeleteHaVip)用于删除高可用虚拟IP(HAVIP)。<br />
|
|
568
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
569
|
-
*/
|
|
570
|
-
async DeleteHaVip(req, cb) {
|
|
571
|
-
return this.request("DeleteHaVip", req, cb);
|
|
572
|
-
}
|
|
573
|
-
/**
|
|
574
|
-
* 本接口(DescribeProductQuota)用于查询网络产品的配额信息。
|
|
575
|
-
*/
|
|
576
|
-
async DescribeProductQuota(req, cb) {
|
|
577
|
-
return this.request("DescribeProductQuota", req, cb);
|
|
578
|
-
}
|
|
579
|
-
/**
|
|
580
|
-
* 接口用于修改带宽包属性,包括带宽包名字等
|
|
581
|
-
*/
|
|
582
|
-
async ModifyBandwidthPackageAttribute(req, cb) {
|
|
583
|
-
return this.request("ModifyBandwidthPackageAttribute", req, cb);
|
|
584
|
-
}
|
|
585
|
-
/**
|
|
586
|
-
* 本接口(CreateVpnGatewaySslServer)用于创建SSL-VPN Server端。
|
|
587
|
-
*/
|
|
588
|
-
async CreateVpnGatewaySslServer(req, cb) {
|
|
589
|
-
return this.request("CreateVpnGatewaySslServer", req, cb);
|
|
590
|
-
}
|
|
591
|
-
/**
|
|
592
|
-
* 本接口(ModifyVpnGatewayAttribute)用于修改VPN网关属性。
|
|
593
|
-
*/
|
|
594
|
-
async ModifyVpnGatewayAttribute(req, cb) {
|
|
595
|
-
return this.request("ModifyVpnGatewayAttribute", req, cb);
|
|
596
|
-
}
|
|
597
|
-
/**
|
|
598
|
-
* 本接口(DeleteVpc)用于删除私有网络。
|
|
599
|
-
* 删除前请确保 VPC 内已经没有相关资源,例如云服务器、云数据库、NoSQL、VPN网关、专线网关、负载均衡、对等连接、与之互通的基础网络设备等。
|
|
600
|
-
* 删除私有网络是不可逆的操作,请谨慎处理。
|
|
601
|
-
*/
|
|
602
|
-
async DeleteVpc(req, cb) {
|
|
603
|
-
return this.request("DeleteVpc", req, cb);
|
|
604
|
-
}
|
|
605
|
-
/**
|
|
606
|
-
* 本接口(DescribeSubnets)用于查询子网列表。
|
|
607
|
-
*/
|
|
608
|
-
async DescribeSubnets(req, cb) {
|
|
609
|
-
return this.request("DescribeSubnets", req, cb);
|
|
610
|
-
}
|
|
611
|
-
/**
|
|
612
|
-
* 本接口(ModifyPrivateNatGatewayTranslationAclRule)用于修改私网NAT网关源端转换访问控制规则
|
|
613
|
-
*/
|
|
614
|
-
async ModifyPrivateNatGatewayTranslationAclRule(req, cb) {
|
|
615
|
-
return this.request("ModifyPrivateNatGatewayTranslationAclRule", req, cb);
|
|
616
|
-
}
|
|
617
|
-
/**
|
|
618
|
-
* 本接口(ModifyPrivateIpAddressesAttribute)用于修改弹性网卡内网IP属性。
|
|
619
|
-
*/
|
|
620
|
-
async ModifyPrivateIpAddressesAttribute(req, cb) {
|
|
621
|
-
return this.request("ModifyPrivateIpAddressesAttribute", req, cb);
|
|
622
|
-
}
|
|
623
|
-
/**
|
|
624
|
-
* 本接口(ReplaceRouteTableInputPolicys)用于替换云联网路由表路由接收策略。
|
|
625
|
-
> 特别注意:是全量覆盖,非增量添加
|
|
626
|
-
|
|
627
|
-
**路由条件支持以下四种:**
|
|
628
|
-
|
|
629
|
-
- 实例类型: `instance-type`,可选值:私有网络 `VPC`、专线网关 `DIRECTCONNECT`、专线网关 `VPNGW`
|
|
630
|
-
- 实例ID: `instance-id`,例如:`dcg-8zljkrft`、`vpc-jdevjrup`,暂不支持 `Edge` 实例
|
|
631
|
-
- 实例地域: `instance-region`,例如:`ap-guangzhou`<br />产品支持的所有地域列表可通过接口 [DescribeRegions](https://cloud.tencent.com/document/product/1596/77930) 查询,其中参数 `Product` 设置为 `ccn`
|
|
632
|
-
- 路由前缀: `cidr-block`,例如:`10.1.0.0/16`
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
**使用限制:**
|
|
636
|
-
- 一条策略内的单个条件类型,最大支持设置 `25` 个条件值
|
|
637
|
-
- 一张路由表,最大支持 `100` 条路由接收策略
|
|
638
|
-
- 路由条件类型中,只有 `cidr-block` 类型支持模糊匹配和精确匹配两种,其它类型只支持精确匹配一种模式
|
|
639
|
-
*/
|
|
640
|
-
async ReplaceCcnRouteTableInputPolicys(req, cb) {
|
|
641
|
-
return this.request("ReplaceCcnRouteTableInputPolicys", req, cb);
|
|
642
|
-
}
|
|
643
|
-
/**
|
|
644
|
-
* 本接口(ModifyNetworkInterfaceQos)用于修改弹性网卡服务质量。
|
|
645
|
-
*/
|
|
646
|
-
async ModifyNetworkInterfaceQos(req, cb) {
|
|
647
|
-
return this.request("ModifyNetworkInterfaceQos", req, cb);
|
|
648
|
-
}
|
|
649
|
-
/**
|
|
650
|
-
* 本接口(DetachCcnInstances)用于从云联网实例中解关联指定的网络实例。<br />
|
|
651
|
-
解关联网络实例后,相应的路由策略会一并删除。
|
|
652
|
-
*/
|
|
653
|
-
async DetachCcnInstances(req, cb) {
|
|
654
|
-
return this.request("DetachCcnInstances", req, cb);
|
|
655
|
-
}
|
|
656
|
-
/**
|
|
657
|
-
* 创建内网保留IP
|
|
658
|
-
*/
|
|
659
|
-
async CreateReserveIpAddresses(req, cb) {
|
|
660
|
-
return this.request("CreateReserveIpAddresses", req, cb);
|
|
661
|
-
}
|
|
662
|
-
/**
|
|
663
|
-
* 本接口(EnableRoutes)用于启用已禁用的子网路由。<br />
|
|
664
|
-
本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。
|
|
665
|
-
*/
|
|
666
|
-
async EnableRoutes(req, cb) {
|
|
667
|
-
return this.request("EnableRoutes", req, cb);
|
|
668
|
-
}
|
|
669
|
-
/**
|
|
670
|
-
* 本接口(SetCcnRegionBandwidthLimits)用于设置云联网(CCN)各地域出带宽上限,或者地域间带宽上限。
|
|
671
|
-
*/
|
|
672
|
-
async SetCcnRegionBandwidthLimits(req, cb) {
|
|
673
|
-
return this.request("SetCcnRegionBandwidthLimits", req, cb);
|
|
674
|
-
}
|
|
675
|
-
/**
|
|
676
|
-
* 本接口(ModifyRouteTableAttribute)用于修改路由表(RouteTable)属性。
|
|
677
|
-
*/
|
|
678
|
-
async ModifyRouteTableAttribute(req, cb) {
|
|
679
|
-
return this.request("ModifyRouteTableAttribute", req, cb);
|
|
680
|
-
}
|
|
681
|
-
/**
|
|
682
|
-
* 本接口(ModifyHaVipAttribute)用于修改高可用虚拟IP(HAVIP)属性。
|
|
683
|
-
*/
|
|
684
|
-
async ModifyHaVipAttribute(req, cb) {
|
|
685
|
-
return this.request("ModifyHaVipAttribute", req, cb);
|
|
686
|
-
}
|
|
687
|
-
/**
|
|
688
|
-
* 本接口 (ReleaseAddresses) 用于释放一个或多个[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。
|
|
689
|
-
* 该操作不可逆,释放后 EIP 关联的 IP 地址将不再属于您的名下。
|
|
690
|
-
* 只有状态为 UNBIND 的 EIP 才能进行释放操作。
|
|
691
|
-
*/
|
|
692
|
-
async ReleaseAddresses(req, cb) {
|
|
693
|
-
return this.request("ReleaseAddresses", req, cb);
|
|
694
|
-
}
|
|
695
|
-
/**
|
|
696
|
-
* 查询内网保留 IP
|
|
697
|
-
*/
|
|
698
|
-
async DescribeReserveIpAddresses(req, cb) {
|
|
699
|
-
return this.request("DescribeReserveIpAddresses", req, cb);
|
|
700
|
-
}
|
|
701
|
-
/**
|
|
702
|
-
* 本接口(ReplaceRoutes)根据路由策略ID(RouteId)修改指定的路由策略(Route),支持批量修改。
|
|
703
|
-
*/
|
|
704
|
-
async ReplaceRoutes(req, cb) {
|
|
705
|
-
return this.request("ReplaceRoutes", req, cb);
|
|
706
|
-
}
|
|
707
|
-
/**
|
|
708
|
-
* 本接口(DescribeVpcPrivateIpAddresses)用于查询VPC内网IP信息。<br />
|
|
709
|
-
只能查询已使用的IP信息,当查询未使用的IP时,本接口不会报错,但不会出现在返回结果里。
|
|
710
|
-
*/
|
|
711
|
-
async DescribeVpcPrivateIpAddresses(req, cb) {
|
|
712
|
-
return this.request("DescribeVpcPrivateIpAddresses", req, cb);
|
|
713
|
-
}
|
|
714
|
-
/**
|
|
715
|
-
* 该接口用于修改IP6转换实例属性,当前仅支持修改实例名称。
|
|
716
|
-
*/
|
|
717
|
-
async ModifyIp6Translator(req, cb) {
|
|
718
|
-
return this.request("ModifyIp6Translator", req, cb);
|
|
719
|
-
}
|
|
720
|
-
/**
|
|
721
|
-
* 本接口(DescribeAddressTemplates)用于查询IP地址模板。
|
|
722
|
-
*/
|
|
723
|
-
async DescribeAddressTemplates(req, cb) {
|
|
724
|
-
return this.request("DescribeAddressTemplates", req, cb);
|
|
725
|
-
}
|
|
726
|
-
/**
|
|
727
|
-
* 本接口(CreateAddressTemplate)用于创建IP地址模板。
|
|
728
|
-
*/
|
|
729
|
-
async CreateAddressTemplate(req, cb) {
|
|
730
|
-
return this.request("CreateAddressTemplate", req, cb);
|
|
731
|
-
}
|
|
732
|
-
/**
|
|
733
|
-
* 本接口 (TransformAddress) 用于将实例的普通公网 IP 转换为[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。
|
|
734
|
-
* 平台对用户每地域每日解绑 EIP 重新分配普通公网 IP 次数有所限制(可参见 [EIP 产品简介](/document/product/213/1941))。上述配额可通过 [DescribeAddressQuota](https://cloud.tencent.com/document/api/213/1378) 接口获取。
|
|
735
|
-
*/
|
|
736
|
-
async TransformAddress(req, cb) {
|
|
737
|
-
return this.request("TransformAddress", req, cb);
|
|
738
|
-
}
|
|
739
|
-
/**
|
|
740
|
-
* 本接口(DescribeVpcEndPoint)用于查询终端节点列表。
|
|
741
|
-
*/
|
|
742
|
-
async DescribeVpcEndPoint(req, cb) {
|
|
743
|
-
return this.request("DescribeVpcEndPoint", req, cb);
|
|
744
|
-
}
|
|
745
|
-
/**
|
|
746
|
-
* 查询账户在指定地域IPV6转换实例和规则的配额
|
|
747
|
-
*/
|
|
748
|
-
async DescribeIp6TranslatorQuota(req, cb) {
|
|
749
|
-
return this.request("DescribeIp6TranslatorQuota", req, cb);
|
|
750
|
-
}
|
|
751
|
-
/**
|
|
752
|
-
* 本接口(CreateVpcEndPointServiceWhiteList)创建终端服务白名单。
|
|
753
|
-
*/
|
|
754
|
-
async CreateVpcEndPointServiceWhiteList(req, cb) {
|
|
755
|
-
return this.request("CreateVpcEndPointServiceWhiteList", req, cb);
|
|
756
|
-
}
|
|
757
|
-
/**
|
|
758
|
-
* 本接口(DownloadCustomerGatewayConfiguration)用于下载VPN通道配置。
|
|
759
|
-
*/
|
|
760
|
-
async DownloadCustomerGatewayConfiguration(req, cb) {
|
|
761
|
-
return this.request("DownloadCustomerGatewayConfiguration", req, cb);
|
|
762
|
-
}
|
|
763
|
-
/**
|
|
764
|
-
* 本接口(DescribeCustomerGateways)用于查询对端网关列表。
|
|
765
|
-
*/
|
|
766
|
-
async DescribeCustomerGateways(req, cb) {
|
|
767
|
-
return this.request("DescribeCustomerGateways", req, cb);
|
|
768
|
-
}
|
|
769
|
-
/**
|
|
770
|
-
* 本接口(DescribeNetworkAcls)用于查询网络ACL列表。
|
|
771
|
-
*/
|
|
772
|
-
async DescribeNetworkAcls(req, cb) {
|
|
773
|
-
return this.request("DescribeNetworkAcls", req, cb);
|
|
774
|
-
}
|
|
775
|
-
/**
|
|
776
|
-
* 本接口(DescribeServiceTemplateGroups)用于查询协议端口模板集合。
|
|
777
|
-
*/
|
|
778
|
-
async DescribeServiceTemplateGroups(req, cb) {
|
|
779
|
-
return this.request("DescribeServiceTemplateGroups", req, cb);
|
|
780
|
-
}
|
|
781
|
-
/**
|
|
782
|
-
* 本接口(AssignIpv6CidrBlock)用于分配IPv6网段。
|
|
783
|
-
* 使用本接口前,您需要已有VPC实例,如果没有可通过接口<a href="https://cloud.tencent.com/document/api/215/15774" title="CreateVpc" target="_blank">CreateVpc</a>创建。
|
|
784
|
-
* 每个VPC只能申请一个IPv6网段。
|
|
785
|
-
*/
|
|
786
|
-
async AssignIpv6CidrBlock(req, cb) {
|
|
787
|
-
return this.request("AssignIpv6CidrBlock", req, cb);
|
|
788
|
-
}
|
|
789
|
-
/**
|
|
790
|
-
* 本接口(DescribeNatGatewayDestinationIpPortTranslationNatRules)用于查询NAT网关端口转发规则对象数组。
|
|
791
|
-
*/
|
|
792
|
-
async DescribeNatGatewayDestinationIpPortTranslationNatRules(req, cb) {
|
|
793
|
-
return this.request("DescribeNatGatewayDestinationIpPortTranslationNatRules", req, cb);
|
|
794
|
-
}
|
|
795
|
-
/**
|
|
796
|
-
* 本接口(DescribeCcnAttachedInstances)用于查询云联网实例下已关联的网络实例。
|
|
797
|
-
*/
|
|
798
|
-
async DescribeCcnAttachedInstances(req, cb) {
|
|
799
|
-
return this.request("DescribeCcnAttachedInstances", req, cb);
|
|
800
|
-
}
|
|
801
|
-
/**
|
|
802
|
-
* 本接口(DescribePrivateNatGatewayRegions)用于查询查询私网NAT网关可支持地域
|
|
803
|
-
*/
|
|
804
|
-
async DescribePrivateNatGatewayRegions(req, cb) {
|
|
805
|
-
return this.request("DescribePrivateNatGatewayRegions", req, cb);
|
|
806
|
-
}
|
|
807
|
-
/**
|
|
808
|
-
* 修改内网保留 IP
|
|
809
|
-
*/
|
|
810
|
-
async ModifyReserveIpAddress(req, cb) {
|
|
811
|
-
return this.request("ModifyReserveIpAddress", req, cb);
|
|
812
|
-
}
|
|
813
|
-
/**
|
|
814
|
-
* 本接口(DisassociateNatGatewayAddress)用于NAT网关解绑弹性IP。
|
|
815
|
-
*/
|
|
816
|
-
async DisassociateNatGatewayAddress(req, cb) {
|
|
817
|
-
return this.request("DisassociateNatGatewayAddress", req, cb);
|
|
818
|
-
}
|
|
819
|
-
/**
|
|
820
|
-
* 本接口(DescribeGatewayFlowMonitorDetail)用于查询网关流量监控明细。
|
|
821
|
-
* 只支持单个网关实例查询。即入参 `VpnId`、 `DirectConnectGatewayId`、 `PeeringConnectionId`、 `NatId` 最多只支持传一个,且必须传一个。
|
|
822
|
-
* 如果网关有流量,但调用本接口没有返回数据,请在控制台对应网关详情页确认是否开启网关流量监控。
|
|
823
|
-
*/
|
|
824
|
-
async DescribeGatewayFlowMonitorDetail(req, cb) {
|
|
825
|
-
return this.request("DescribeGatewayFlowMonitorDetail", req, cb);
|
|
826
|
-
}
|
|
827
|
-
/**
|
|
828
|
-
* 本接口(UnassignIpv6Addresses)用于释放弹性网卡`IPv6`地址。<br />
|
|
829
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
830
|
-
*/
|
|
831
|
-
async UnassignIpv6Addresses(req, cb) {
|
|
832
|
-
return this.request("UnassignIpv6Addresses", req, cb);
|
|
833
|
-
}
|
|
834
|
-
/**
|
|
835
|
-
* 本接口(AssociateIPv6Address)用于将弹性公网IPv6(简称EIPv6)实例绑定到 CVM 或弹性网卡配置的内网 IPv6 地址上。
|
|
836
|
-
|
|
837
|
-
- 将 EIPv6 绑定到 CVM 上,其本质是将 EIPv6 绑定到 CVM 弹性网卡所配置的内网 IPv6 地址上。
|
|
838
|
-
- 将 EIPv6 绑定到指定网卡的内网 IPv6 时,需确保该内网 IPv6 地址为未绑定状态,才能执行绑定操作。
|
|
839
|
-
*/
|
|
840
|
-
async AssociateIPv6Address(req, cb) {
|
|
841
|
-
return this.request("AssociateIPv6Address", req, cb);
|
|
842
|
-
}
|
|
843
|
-
/**
|
|
844
|
-
* 本接口(DeleteAddressTemplateGroup)用于删除IP地址模板集合。
|
|
845
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
846
|
-
>
|
|
847
|
-
*/
|
|
848
|
-
async DeleteAddressTemplateGroup(req, cb) {
|
|
849
|
-
return this.request("DeleteAddressTemplateGroup", req, cb);
|
|
850
|
-
}
|
|
851
|
-
/**
|
|
852
|
-
* 本接口(DescribeVpcTaskResult)用于查询VPC任务执行结果。
|
|
853
|
-
*/
|
|
854
|
-
async DescribeVpcTaskResult(req, cb) {
|
|
855
|
-
return this.request("DescribeVpcTaskResult", req, cb);
|
|
856
|
-
}
|
|
857
|
-
/**
|
|
858
|
-
* 本接口(CreateDirectConnectGateway)用于创建专线网关。
|
|
859
|
-
*/
|
|
860
|
-
async CreateDirectConnectGateway(req, cb) {
|
|
861
|
-
return this.request("CreateDirectConnectGateway", req, cb);
|
|
862
|
-
}
|
|
863
|
-
/**
|
|
864
|
-
* 本接口(AssociateNatGatewayAddress)用于NAT网关绑定弹性IP(EIP)。
|
|
865
|
-
*/
|
|
866
|
-
async AssociateNatGatewayAddress(req, cb) {
|
|
867
|
-
return this.request("AssociateNatGatewayAddress", req, cb);
|
|
868
|
-
}
|
|
869
|
-
/**
|
|
870
|
-
* 本接口(DeleteCcnRouteTables)用于删除云联网路由表。
|
|
871
|
-
*/
|
|
872
|
-
async DeleteCcnRouteTables(req, cb) {
|
|
873
|
-
return this.request("DeleteCcnRouteTables", req, cb);
|
|
874
|
-
}
|
|
875
|
-
/**
|
|
876
|
-
* 本接口(ModifyPrivateNatGatewayTranslationNatRule)用于修改私网NAT网关源端转换规则
|
|
877
|
-
*/
|
|
878
|
-
async ModifyPrivateNatGatewayTranslationNatRule(req, cb) {
|
|
879
|
-
return this.request("ModifyPrivateNatGatewayTranslationNatRule", req, cb);
|
|
880
|
-
}
|
|
881
|
-
/**
|
|
882
|
-
* 本接口(ModifyVpnGatewayRoutes)用于修改VPN路由是否启用。
|
|
883
|
-
*/
|
|
884
|
-
async ModifyVpnGatewayRoutes(req, cb) {
|
|
885
|
-
return this.request("ModifyVpnGatewayRoutes", req, cb);
|
|
886
|
-
}
|
|
887
|
-
/**
|
|
888
|
-
* 本接口(ModifyIPv6AddressesBandwidth)用于调整弹性公网 IPv6(简称EIPv6)实例的带宽上限。
|
|
889
|
-
*/
|
|
890
|
-
async ModifyIPv6AddressesBandwidth(req, cb) {
|
|
891
|
-
return this.request("ModifyIPv6AddressesBandwidth", req, cb);
|
|
892
|
-
}
|
|
893
|
-
/**
|
|
894
|
-
* 本接口(DescribeCrossBorderCcnRegionBandwidthLimits)用于获取要锁定的限速实例列表。
|
|
895
|
-
该接口一般用来封禁地域间限速的云联网实例下的限速实例, 目前联通内部运营系统通过云API调用, 如果是出口限速, 一般使用更粗的云联网实例粒度封禁(DescribeTenantCcns)
|
|
896
|
-
如有需要, 可以封禁任意限速实例, 可接入到内部运营系统
|
|
897
|
-
*/
|
|
898
|
-
async DescribeCrossBorderCcnRegionBandwidthLimits(req, cb) {
|
|
899
|
-
return this.request("DescribeCrossBorderCcnRegionBandwidthLimits", req, cb);
|
|
900
|
-
}
|
|
901
|
-
/**
|
|
902
|
-
* 本接口(ModifySnapshotPolicies)用于修改快照策略。
|
|
903
|
-
*/
|
|
904
|
-
async ModifySnapshotPolicies(req, cb) {
|
|
905
|
-
return this.request("ModifySnapshotPolicies", req, cb);
|
|
906
|
-
}
|
|
907
|
-
/**
|
|
908
|
-
* 本接口(DeleteVpnGatewaySslClient)用于删除SSL-VPN-CLIENT。
|
|
909
|
-
*/
|
|
910
|
-
async DeleteVpnGatewaySslClient(req, cb) {
|
|
911
|
-
return this.request("DeleteVpnGatewaySslClient", req, cb);
|
|
912
|
-
}
|
|
913
|
-
/**
|
|
914
|
-
* 本接口(CreateNatGatewayDestinationIpPortTranslationNatRule)用于创建NAT网关端口转发规则。
|
|
915
|
-
*/
|
|
916
|
-
async CreateNatGatewayDestinationIpPortTranslationNatRule(req, cb) {
|
|
917
|
-
return this.request("CreateNatGatewayDestinationIpPortTranslationNatRule", req, cb);
|
|
918
|
-
}
|
|
919
|
-
/**
|
|
920
|
-
* 本接口(ModifyAddressTemplateAttribute)用于修改IP地址模板。
|
|
921
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
922
|
-
>
|
|
923
|
-
*/
|
|
924
|
-
async ModifyAddressTemplateAttribute(req, cb) {
|
|
925
|
-
return this.request("ModifyAddressTemplateAttribute", req, cb);
|
|
926
|
-
}
|
|
927
|
-
/**
|
|
928
|
-
* 删除模板对象中的IP地址、协议端口、IP地址组、协议端口组。
|
|
929
|
-
*/
|
|
930
|
-
async DeleteTemplateMember(req, cb) {
|
|
931
|
-
return this.request("DeleteTemplateMember", req, cb);
|
|
932
|
-
}
|
|
933
|
-
/**
|
|
934
|
-
* 本接口(AssignIpv6SubnetCidrBlock)用于分配IPv6子网段。
|
|
935
|
-
* 给子网分配 `IPv6` 网段,要求子网所属 `VPC` 已获得 `IPv6` 网段。如果尚未分配,请先通过接口 `AssignIpv6CidrBlock` 给子网所属 `VPC` 分配一个 `IPv6` 网段。否则无法分配 `IPv6` 子网段。
|
|
936
|
-
* 每个子网只能分配一个IPv6网段。
|
|
937
|
-
*/
|
|
938
|
-
async AssignIpv6SubnetCidrBlock(req, cb) {
|
|
939
|
-
return this.request("AssignIpv6SubnetCidrBlock", req, cb);
|
|
940
|
-
}
|
|
941
|
-
/**
|
|
942
|
-
* 本接口(DescribeVpnGatewayCcnRoutes)用于查询VPN网关云联网路由。
|
|
943
|
-
*/
|
|
944
|
-
async DescribeVpnGatewayCcnRoutes(req, cb) {
|
|
945
|
-
return this.request("DescribeVpnGatewayCcnRoutes", req, cb);
|
|
946
|
-
}
|
|
947
|
-
/**
|
|
948
|
-
* 本接口(AttachCcnInstances)用于将网络实例加载到云联网实例中,网络实例包括VPC和专线网关。<br />
|
|
949
|
-
每个云联网能够关联的网络实例个数是有限的,详情请参考产品文档。如果需要扩充请联系在线客服。
|
|
950
|
-
*/
|
|
951
|
-
async AttachCcnInstances(req, cb) {
|
|
952
|
-
return this.request("AttachCcnInstances", req, cb);
|
|
953
|
-
}
|
|
954
|
-
/**
|
|
955
|
-
* 本接口(DeleteSubnet)用于删除子网(Subnet)。
|
|
956
|
-
* 删除子网前,请清理该子网下所有资源,包括云服务器、负载均衡、云数据、NoSQL、弹性网卡等资源。
|
|
957
|
-
*/
|
|
958
|
-
async DeleteSubnet(req, cb) {
|
|
959
|
-
return this.request("DeleteSubnet", req, cb);
|
|
960
|
-
}
|
|
961
|
-
/**
|
|
962
|
-
* 本接口(AttachClassicLinkVpc)用于创建私有网络和基础网络设备互通。
|
|
963
|
-
* 私有网络和基础网络设备必须在同一个地域。
|
|
964
|
-
* 私有网络和基础网络的区别详见vpc产品文档-<a href="https://cloud.tencent.com/document/product/215/30720">私有网络与基础网络</a>。
|
|
965
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
966
|
-
>
|
|
967
|
-
*/
|
|
968
|
-
async AttachClassicLinkVpc(req, cb) {
|
|
969
|
-
return this.request("AttachClassicLinkVpc", req, cb);
|
|
970
|
-
}
|
|
971
|
-
/**
|
|
972
|
-
* 修改模板对象中的IP地址、协议端口、IP地址组、协议端口组。
|
|
973
|
-
*/
|
|
974
|
-
async ModifyTemplateMember(req, cb) {
|
|
975
|
-
return this.request("ModifyTemplateMember", req, cb);
|
|
976
|
-
}
|
|
977
|
-
/**
|
|
978
|
-
* 本接口 (DescribeTrafficPackages) 用于查询共享流量包详细信息,包括共享流量包唯一标识ID,名称,流量使用信息等
|
|
979
|
-
*/
|
|
980
|
-
async DescribeTrafficPackages(req, cb) {
|
|
981
|
-
return this.request("DescribeTrafficPackages", req, cb);
|
|
982
|
-
}
|
|
983
|
-
/**
|
|
984
|
-
* 本接口(CreateVpcEndPointService)用于创建终端节点服务。
|
|
985
|
-
*/
|
|
986
|
-
async CreateVpcEndPointService(req, cb) {
|
|
987
|
-
return this.request("CreateVpcEndPointService", req, cb);
|
|
988
|
-
}
|
|
989
|
-
/**
|
|
990
|
-
* 本接口(ResetVpnConnection)用于重置VPN通道。
|
|
991
|
-
*/
|
|
992
|
-
async ResetVpnConnection(req, cb) {
|
|
993
|
-
return this.request("ResetVpnConnection", req, cb);
|
|
994
|
-
}
|
|
995
|
-
/**
|
|
996
|
-
* 本接口(ModifyVpnGatewayCcnRoutes)用于修改VPN网关云联网路由。
|
|
997
|
-
*/
|
|
998
|
-
async ModifyVpnGatewayCcnRoutes(req, cb) {
|
|
999
|
-
return this.request("ModifyVpnGatewayCcnRoutes", req, cb);
|
|
1000
|
-
}
|
|
1001
|
-
/**
|
|
1002
|
-
* 本接口(DeletePrivateNatGatewayDestinationIpPortTranslationNatRule)用于删除私网NAT网关目的端口转换规则
|
|
1003
|
-
*/
|
|
1004
|
-
async DeletePrivateNatGatewayDestinationIpPortTranslationNatRule(req, cb) {
|
|
1005
|
-
return this.request("DeletePrivateNatGatewayDestinationIpPortTranslationNatRule", req, cb);
|
|
1006
|
-
}
|
|
1007
|
-
/**
|
|
1008
|
-
* 本接口(ModifyDhcpIpAttribute)用于修改DhcpIp属性
|
|
1009
|
-
*/
|
|
1010
|
-
async ModifyDhcpIpAttribute(req, cb) {
|
|
1011
|
-
return this.request("ModifyDhcpIpAttribute", req, cb);
|
|
1012
|
-
}
|
|
1013
|
-
/**
|
|
1014
|
-
* 本接口 (DescribeBandwidthPackageResources) 用于根据共享带宽包唯一ID查询共享带宽包内的资源列表,支持按条件过滤查询结果和分页查询。
|
|
1015
|
-
*/
|
|
1016
|
-
async DescribeBandwidthPackageResources(req, cb) {
|
|
1017
|
-
return this.request("DescribeBandwidthPackageResources", req, cb);
|
|
1018
|
-
}
|
|
1019
|
-
/**
|
|
1020
|
-
* 查询私有网络对等连接。
|
|
1021
|
-
*/
|
|
1022
|
-
async DescribeVpcPeeringConnections(req, cb) {
|
|
1023
|
-
return this.request("DescribeVpcPeeringConnections", req, cb);
|
|
1024
|
-
}
|
|
1025
|
-
/**
|
|
1026
|
-
* 高优路由表创建
|
|
1027
|
-
*/
|
|
1028
|
-
async CreateHighPriorityRouteTable(req, cb) {
|
|
1029
|
-
return this.request("CreateHighPriorityRouteTable", req, cb);
|
|
1030
|
-
}
|
|
1031
|
-
/**
|
|
1032
|
-
* 本接口(InquiryPriceRenewAddresses)用于续费预付费弹性公网IP询价。
|
|
1033
|
-
*/
|
|
1034
|
-
async InquiryPriceRenewAddresses(req, cb) {
|
|
1035
|
-
return this.request("InquiryPriceRenewAddresses", req, cb);
|
|
1036
|
-
}
|
|
1037
|
-
/**
|
|
1038
|
-
* 本接口(ModifyGatewayFlowQos)用于调整网关流控带宽。
|
|
1039
|
-
*/
|
|
1040
|
-
async ModifyGatewayFlowQos(req, cb) {
|
|
1041
|
-
return this.request("ModifyGatewayFlowQos", req, cb);
|
|
1042
|
-
}
|
|
1043
|
-
/**
|
|
1044
|
-
* 本接口(DescribeRouteConflicts)用于查询自定义路由策略与云联网路由策略冲突列表。
|
|
1045
|
-
*/
|
|
1046
|
-
async DescribeRouteConflicts(req, cb) {
|
|
1047
|
-
return this.request("DescribeRouteConflicts", req, cb);
|
|
1048
|
-
}
|
|
1049
|
-
/**
|
|
1050
|
-
* 本接口(CreateDefaultSecurityGroup)用于创建(如果项目下未存在默认安全组,则创建;已存在则获取。)默认安全组(SecurityGroup)。
|
|
1051
|
-
* 每个账户下每个地域的每个项目的<a href="https://cloud.tencent.com/document/product/213/12453">安全组数量限制</a>。
|
|
1052
|
-
* 默认安全组会放通所有IPv4规则,在创建后通常您需要再调用CreateSecurityGroupPolicies将安全组的规则设置为需要的规则。
|
|
1053
|
-
* 创建安全组同时可以绑定标签, 应答里的标签列表代表添加成功的标签。
|
|
1054
|
-
*/
|
|
1055
|
-
async CreateDefaultSecurityGroup(req, cb) {
|
|
1056
|
-
return this.request("CreateDefaultSecurityGroup", req, cb);
|
|
1057
|
-
}
|
|
1058
|
-
/**
|
|
1059
|
-
* 本接口(AssociateDhcpIpWithAddressIp)用于DhcpIp绑定弹性公网IP(EIP)。<br />
|
|
1060
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1061
|
-
>
|
|
1062
|
-
*/
|
|
1063
|
-
async AssociateDhcpIpWithAddressIp(req, cb) {
|
|
1064
|
-
return this.request("AssociateDhcpIpWithAddressIp", req, cb);
|
|
1065
|
-
}
|
|
1066
|
-
/**
|
|
1067
|
-
* 本接口(DeleteServiceTemplate)用于删除协议端口模板。
|
|
1068
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1069
|
-
>
|
|
1070
|
-
*/
|
|
1071
|
-
async DeleteServiceTemplate(req, cb) {
|
|
1072
|
-
return this.request("DeleteServiceTemplate", req, cb);
|
|
1073
|
-
}
|
|
1074
|
-
/**
|
|
1075
|
-
* 本接口(UnassignPrivateIpAddresses)用于弹性网卡退还内网 IP。
|
|
1076
|
-
* 退还弹性网卡上的辅助内网IP,接口自动解除关联弹性公网 IP。不能退还弹性网卡的主内网IP。
|
|
1077
|
-
|
|
1078
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
1079
|
-
*/
|
|
1080
|
-
async UnassignPrivateIpAddresses(req, cb) {
|
|
1081
|
-
return this.request("UnassignPrivateIpAddresses", req, cb);
|
|
1082
|
-
}
|
|
1083
|
-
/**
|
|
1084
|
-
* 本接口(ModifyAddressTemplateGroupAttribute)用于修改IP地址模板集合。
|
|
1085
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1086
|
-
>
|
|
1087
|
-
*/
|
|
1088
|
-
async ModifyAddressTemplateGroupAttribute(req, cb) {
|
|
1089
|
-
return this.request("ModifyAddressTemplateGroupAttribute", req, cb);
|
|
1090
|
-
}
|
|
1091
|
-
/**
|
|
1092
|
-
* 1. 该接口用于创建IPV6转换IPV4实例,支持批量
|
|
1093
|
-
2. 同一个账户在一个地域最多允许创建10个转换实例
|
|
1094
|
-
*/
|
|
1095
|
-
async CreateIp6Translators(req, cb) {
|
|
1096
|
-
return this.request("CreateIp6Translators", req, cb);
|
|
1097
|
-
}
|
|
1098
|
-
/**
|
|
1099
|
-
* 本接口(CreateDefaultVpc)用于创建默认私有网络(VPC)。
|
|
1100
|
-
|
|
1101
|
-
默认VPC适用于快速入门和启动公共实例,您可以像使用任何其他VPC一样使用默认VPC。如果您想创建标准VPC,即指定VPC名称、VPC网段、子网网段、子网可用区,请使用常规创建VPC接口(CreateVpc)
|
|
1102
|
-
|
|
1103
|
-
正常情况,本接口并不一定生产默认VPC,而是根据用户账号的网络属性(DescribeAccountAttributes)来决定的
|
|
1104
|
-
* 支持基础网络、VPC,返回VpcId为0
|
|
1105
|
-
* 只支持VPC,返回默认VPC信息
|
|
1106
|
-
|
|
1107
|
-
您也可以通过 Force 参数,强制返回默认VPC。
|
|
1108
|
-
*/
|
|
1109
|
-
async CreateDefaultVpc(req, cb) {
|
|
1110
|
-
return this.request("CreateDefaultVpc", req, cb);
|
|
1111
|
-
}
|
|
1112
|
-
/**
|
|
1113
|
-
* 本接口(AttachNetworkInterface)用于弹性网卡绑定云服务器。
|
|
1114
|
-
* 一个弹性网卡请至少绑定一个安全组,如需绑定请参见<a href="https://cloud.tencent.com/document/product/215/43132">弹性网卡绑定安全组</a>。
|
|
1115
|
-
* 一个云服务器可以绑定多个弹性网卡,但只能绑定一个主网卡。更多限制信息详见<a href="https://cloud.tencent.com/document/product/576/18527">弹性网卡使用限制</a>。
|
|
1116
|
-
* 一个弹性网卡只能同时绑定一个云服务器。
|
|
1117
|
-
* 只有运行中或者已关机状态的云服务器才能绑定弹性网卡,查看云服务器状态详见<a href="https://cloud.tencent.com/document/api/213/9452#InstanceStatus">腾讯云服务器信息</a>。
|
|
1118
|
-
* 弹性网卡绑定的云服务器必须是私有网络的,而且云服务器所在可用区必须和弹性网卡子网的可用区相同。
|
|
1119
|
-
|
|
1120
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
1121
|
-
*/
|
|
1122
|
-
async AttachNetworkInterface(req, cb) {
|
|
1123
|
-
return this.request("AttachNetworkInterface", req, cb);
|
|
1124
|
-
}
|
|
1125
|
-
/**
|
|
1126
|
-
* 本接口(DeleteSecurityGroupPolicies)用于用于删除安全组规则(SecurityGroupPolicy)。
|
|
1127
|
-
* SecurityGroupPolicySet.Version 用于指定要操作的安全组的版本。传入 Version 版本号若不等于当前安全组的最新版本,将返回失败;若不传 Version 则直接删除指定PolicyIndex的规则。
|
|
1128
|
-
*/
|
|
1129
|
-
async DeleteSecurityGroupPolicies(req, cb) {
|
|
1130
|
-
return this.request("DeleteSecurityGroupPolicies", req, cb);
|
|
1131
|
-
}
|
|
1132
|
-
/**
|
|
1133
|
-
* 本接口(DescribeNetworkAclQuintupleEntries)查询入方向或出方向网络ACL五元组条目列表。
|
|
1134
|
-
*/
|
|
1135
|
-
async DescribeNetworkAclQuintupleEntries(req, cb) {
|
|
1136
|
-
return this.request("DescribeNetworkAclQuintupleEntries", req, cb);
|
|
1137
|
-
}
|
|
1138
|
-
/**
|
|
1139
|
-
* 本接口(ModifySecurityGroupAttribute)用于修改安全组(SecurityGroupPolicy)属性。
|
|
1140
|
-
*/
|
|
1141
|
-
async ModifySecurityGroupAttribute(req, cb) {
|
|
1142
|
-
return this.request("ModifySecurityGroupAttribute", req, cb);
|
|
1143
|
-
}
|
|
1144
|
-
/**
|
|
1145
|
-
* 本接口(DeletePrivateNatGatewayTranslationAclRule)用于删除私网NAT网关源端转换访问控制规则
|
|
1146
|
-
*/
|
|
1147
|
-
async DeletePrivateNatGatewayTranslationAclRule(req, cb) {
|
|
1148
|
-
return this.request("DeletePrivateNatGatewayTranslationAclRule", req, cb);
|
|
1149
|
-
}
|
|
1150
|
-
/**
|
|
1151
|
-
* 本接口(DescribePrivateNatGatewayTranslationAclRules)用于查询私网NAT网关源端转换访问控制规则
|
|
1152
|
-
*/
|
|
1153
|
-
async DescribePrivateNatGatewayTranslationAclRules(req, cb) {
|
|
1154
|
-
return this.request("DescribePrivateNatGatewayTranslationAclRules", req, cb);
|
|
1155
|
-
}
|
|
1156
|
-
/**
|
|
1157
|
-
* 本接口(DisableFlowLogs)用于停止流日志。
|
|
1158
|
-
*/
|
|
1159
|
-
async DisableFlowLogs(req, cb) {
|
|
1160
|
-
return this.request("DisableFlowLogs", req, cb);
|
|
1161
|
-
}
|
|
1162
|
-
/**
|
|
1163
|
-
* 本接口(CreateCustomerGateway)用于创建对端网关。
|
|
1164
|
-
*/
|
|
1165
|
-
async CreateCustomerGateway(req, cb) {
|
|
1166
|
-
return this.request("CreateCustomerGateway", req, cb);
|
|
1167
|
-
}
|
|
1168
|
-
/**
|
|
1169
|
-
* 本接口(AuditCrossBorderCompliance)用于服务商操作合规化资质审批。
|
|
1170
|
-
* 服务商只能操作提交到本服务商的审批单,后台会校验身份。即只授权给服务商的`APPID` 调用本接口。
|
|
1171
|
-
* `APPROVED` 状态的审批单,可以再次操作为 `DENY`;`DENY` 状态的审批单,也可以再次操作为 `APPROVED`。
|
|
1172
|
-
*/
|
|
1173
|
-
async AuditCrossBorderCompliance(req, cb) {
|
|
1174
|
-
return this.request("AuditCrossBorderCompliance", req, cb);
|
|
1175
|
-
}
|
|
1176
|
-
/**
|
|
1177
|
-
* 本接口(DescribeVpcInstances)用于查询VPC下的云主机实例列表。
|
|
1178
|
-
*/
|
|
1179
|
-
async DescribeVpcInstances(req, cb) {
|
|
1180
|
-
return this.request("DescribeVpcInstances", req, cb);
|
|
1181
|
-
}
|
|
1182
|
-
/**
|
|
1183
|
-
* 本接口(DescribeVpnGatewaySslServers)用于查询SSL-VPN SERVER 列表信息。
|
|
1184
|
-
*/
|
|
1185
|
-
async DescribeVpnGatewaySslServers(req, cb) {
|
|
1186
|
-
return this.request("DescribeVpnGatewaySslServers", req, cb);
|
|
1187
|
-
}
|
|
1188
|
-
/**
|
|
1189
|
-
* 本接口(DeleteRouteTable)用于删除路由表。
|
|
1190
|
-
*/
|
|
1191
|
-
async DeleteRouteTable(req, cb) {
|
|
1192
|
-
return this.request("DeleteRouteTable", req, cb);
|
|
1193
|
-
}
|
|
1194
|
-
/**
|
|
1195
|
-
* 本接口(DescribeAccountAttributes)用于查询用户账号私有属性。
|
|
1196
|
-
*/
|
|
1197
|
-
async DescribeAccountAttributes(req, cb) {
|
|
1198
|
-
return this.request("DescribeAccountAttributes", req, cb);
|
|
1199
|
-
}
|
|
1200
|
-
/**
|
|
1201
|
-
* 本接口(AssignIpv6Addresses)用于弹性网卡申请`IPv6`地址。<br />
|
|
1202
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
1203
|
-
* 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。
|
|
1204
|
-
* 可以指定`IPv6`地址申请,地址类型不能为主`IP`,`IPv6`地址暂时只支持作为辅助`IP`。
|
|
1205
|
-
* 地址必须要在弹性网卡所在子网内,而且不能被占用。
|
|
1206
|
-
* 在弹性网卡上申请一个到多个辅助`IPv6`地址,接口会在弹性网卡所在子网段内返回指定数量的辅助`IPv6`地址。
|
|
1207
|
-
*/
|
|
1208
|
-
async AssignIpv6Addresses(req, cb) {
|
|
1209
|
-
return this.request("AssignIpv6Addresses", req, cb);
|
|
1210
|
-
}
|
|
1211
|
-
/**
|
|
1212
|
-
* 本接口(DescribeRouteTableSelectionPolicies)用于查询云联网路由表选择策略。
|
|
1213
|
-
*/
|
|
1214
|
-
async DescribeRouteTableSelectionPolicies(req, cb) {
|
|
1215
|
-
return this.request("DescribeRouteTableSelectionPolicies", req, cb);
|
|
1216
|
-
}
|
|
1217
|
-
/**
|
|
1218
|
-
* 本接口(DescribeIpGeolocationInfos)用于查询IP地址信息,包括地理位置信息和网络信息。
|
|
1219
|
-
<font color="#FF0000">本接口即将下线,仅供存量客户使用,暂停新增用户。</font>
|
|
1220
|
-
*/
|
|
1221
|
-
async DescribeIpGeolocationInfos(req, cb) {
|
|
1222
|
-
return this.request("DescribeIpGeolocationInfos", req, cb);
|
|
1223
|
-
}
|
|
1224
|
-
/**
|
|
1225
|
-
* 本接口(UnassignIpv6CidrBlock)用于释放IPv6网段。<br />
|
|
1226
|
-
网段如果还有IP占用且未回收,则网段无法释放。
|
|
1227
|
-
*/
|
|
1228
|
-
async UnassignIpv6CidrBlock(req, cb) {
|
|
1229
|
-
return this.request("UnassignIpv6CidrBlock", req, cb);
|
|
1230
|
-
}
|
|
1231
|
-
/**
|
|
1232
|
-
* 本接口(CreateNatGatewaySourceIpTranslationNatRule)用于创建NAT网关SNAT规则
|
|
1233
|
-
*/
|
|
1234
|
-
async CreateNatGatewaySourceIpTranslationNatRule(req, cb) {
|
|
1235
|
-
return this.request("CreateNatGatewaySourceIpTranslationNatRule", req, cb);
|
|
1236
|
-
}
|
|
1237
|
-
/**
|
|
1238
|
-
* 1. 该接口用于删除IPV6转换规则
|
|
1239
|
-
2. 支持批量删除同一个转换实例下的多个转换规则
|
|
1240
|
-
*/
|
|
1241
|
-
async RemoveIp6Rules(req, cb) {
|
|
1242
|
-
return this.request("RemoveIp6Rules", req, cb);
|
|
1243
|
-
}
|
|
1244
|
-
/**
|
|
1245
|
-
* 本接口(RejectVpcPeeringConnection)用于驳回对等连接请求。
|
|
1246
|
-
*/
|
|
1247
|
-
async RejectVpcPeeringConnection(req, cb) {
|
|
1248
|
-
return this.request("RejectVpcPeeringConnection", req, cb);
|
|
1249
|
-
}
|
|
1250
|
-
/**
|
|
1251
|
-
* 本接口(DescribePrivateNatGateways)用于查询私网NAT网关
|
|
1252
|
-
*/
|
|
1253
|
-
async DescribePrivateNatGateways(req, cb) {
|
|
1254
|
-
return this.request("DescribePrivateNatGateways", req, cb);
|
|
1255
|
-
}
|
|
1256
|
-
/**
|
|
1257
|
-
* 本接口(CreateVpnConnection)用于创建VPN通道。
|
|
1258
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1259
|
-
>
|
|
1260
|
-
*/
|
|
1261
|
-
async CreateVpnConnection(req, cb) {
|
|
1262
|
-
return this.request("CreateVpnConnection", req, cb);
|
|
1263
|
-
}
|
|
1264
|
-
/**
|
|
1265
|
-
* 本接口(ModifyCustomerGatewayAttribute)用于修改对端网关信息。
|
|
1266
|
-
*/
|
|
1267
|
-
async ModifyCustomerGatewayAttribute(req, cb) {
|
|
1268
|
-
return this.request("ModifyCustomerGatewayAttribute", req, cb);
|
|
1269
|
-
}
|
|
1270
|
-
/**
|
|
1271
|
-
* 本接口(EnableCcnRoutes)用于启用已经加入云联网(CCN)的路由。<br />
|
|
1272
|
-
本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。
|
|
1273
|
-
*/
|
|
1274
|
-
async EnableCcnRoutes(req, cb) {
|
|
1275
|
-
return this.request("EnableCcnRoutes", req, cb);
|
|
1276
|
-
}
|
|
1277
|
-
/**
|
|
1278
|
-
* 本接口(CreatePrivateNatGatewayDestinationIpPortTranslationNatRule)用于创建私网NAT网关目的端口转换规则
|
|
1279
|
-
*/
|
|
1280
|
-
async CreatePrivateNatGatewayDestinationIpPortTranslationNatRule(req, cb) {
|
|
1281
|
-
return this.request("CreatePrivateNatGatewayDestinationIpPortTranslationNatRule", req, cb);
|
|
1282
|
-
}
|
|
1283
|
-
/**
|
|
1284
|
-
* 本接口(DeleteSecurityGroup)用于删除安全组(SecurityGroup)。
|
|
1285
|
-
* 只有当前账号下的安全组允许被删除。
|
|
1286
|
-
* 安全组实例ID如果在其他安全组的规则中被引用,则无法直接删除。这种情况下,需要先进行规则修改,再删除安全组。
|
|
1287
|
-
* 删除的安全组无法再找回,请谨慎调用。
|
|
1288
|
-
*/
|
|
1289
|
-
async DeleteSecurityGroup(req, cb) {
|
|
1290
|
-
return this.request("DeleteSecurityGroup", req, cb);
|
|
1291
|
-
}
|
|
1292
|
-
/**
|
|
1293
|
-
* 本接口(DescribeNatGatewaySourceIpTranslationNatRules)用于查询NAT网关SNAT转发规则对象数组。
|
|
1294
|
-
*/
|
|
1295
|
-
async DescribeNatGatewaySourceIpTranslationNatRules(req, cb) {
|
|
1296
|
-
return this.request("DescribeNatGatewaySourceIpTranslationNatRules", req, cb);
|
|
1297
|
-
}
|
|
1298
|
-
/**
|
|
1299
|
-
* 本接口(ModifyNetDetect)用于修改网络探测参数。
|
|
1300
|
-
*/
|
|
1301
|
-
async ModifyNetDetect(req, cb) {
|
|
1302
|
-
return this.request("ModifyNetDetect", req, cb);
|
|
1303
|
-
}
|
|
1304
|
-
/**
|
|
1305
|
-
* 接口用于查询账户在当前地域的带宽包上限数量以及使用数量
|
|
1306
|
-
*/
|
|
1307
|
-
async DescribeBandwidthPackageQuota(req, cb) {
|
|
1308
|
-
return this.request("DescribeBandwidthPackageQuota", req, cb);
|
|
1309
|
-
}
|
|
1310
|
-
/**
|
|
1311
|
-
* 本接口(CreateSnapshotPolicies)用于创建快照策略。
|
|
1312
|
-
*/
|
|
1313
|
-
async CreateSnapshotPolicies(req, cb) {
|
|
1314
|
-
return this.request("CreateSnapshotPolicies", req, cb);
|
|
1315
|
-
}
|
|
1316
|
-
/**
|
|
1317
|
-
* 本接口(ResetAttachCcnInstances)用于跨账号关联实例申请过期时,重新申请关联操作。
|
|
1318
|
-
*/
|
|
1319
|
-
async ResetAttachCcnInstances(req, cb) {
|
|
1320
|
-
return this.request("ResetAttachCcnInstances", req, cb);
|
|
1321
|
-
}
|
|
1322
|
-
/**
|
|
1323
|
-
* 本接口(ModifyVpcEndPointServiceAttribute)用于修改终端节点服务属性。
|
|
1324
|
-
*/
|
|
1325
|
-
async ModifyVpcEndPointServiceAttribute(req, cb) {
|
|
1326
|
-
return this.request("ModifyVpcEndPointServiceAttribute", req, cb);
|
|
1327
|
-
}
|
|
1328
|
-
/**
|
|
1329
|
-
* 接口用于查询带宽包详细信息,包括带宽包唯一标识ID,类型,计费模式,名称,资源信息等
|
|
1330
|
-
*/
|
|
1331
|
-
async DescribeBandwidthPackages(req, cb) {
|
|
1332
|
-
return this.request("DescribeBandwidthPackages", req, cb);
|
|
1333
|
-
}
|
|
1334
|
-
/**
|
|
1335
|
-
* 本接口(DescribeRouteTableAssociatedInstances)用于查询指定的云联网关联的实例所绑定的路由表信息。
|
|
1336
|
-
*/
|
|
1337
|
-
async DescribeRouteTableAssociatedInstances(req, cb) {
|
|
1338
|
-
return this.request("DescribeRouteTableAssociatedInstances", req, cb);
|
|
1339
|
-
}
|
|
1340
|
-
/**
|
|
1341
|
-
* 本接口(CreateServiceTemplateGroup)用于创建协议端口模板集合。
|
|
1342
|
-
*/
|
|
1343
|
-
async CreateServiceTemplateGroup(req, cb) {
|
|
1344
|
-
return this.request("CreateServiceTemplateGroup", req, cb);
|
|
1345
|
-
}
|
|
1346
|
-
/**
|
|
1347
|
-
* 本接口(ReleaseIp6AddressesBandwidth)用于为传统弹性公网 IPv6 实例关闭 IPv6 公网带宽。
|
|
1348
|
-
|
|
1349
|
-
- 传统弹性公网 IPv6 实例关闭公网带宽后,仍具备 IPv6 内网通信能力。
|
|
1350
|
-
- 如需再次开通 IPv6 公网带宽,请使用 AllocateIp6AddressesBandwidth 接口进行开通。
|
|
1351
|
-
*/
|
|
1352
|
-
async ReleaseIp6AddressesBandwidth(req, cb) {
|
|
1353
|
-
return this.request("ReleaseIp6AddressesBandwidth", req, cb);
|
|
1354
|
-
}
|
|
1355
|
-
/**
|
|
1356
|
-
* 本接口(ModifyCcnAttribute)用于修改云联网(CCN)的相关属性。
|
|
1357
|
-
*/
|
|
1358
|
-
async ModifyCcnAttribute(req, cb) {
|
|
1359
|
-
return this.request("ModifyCcnAttribute", req, cb);
|
|
1360
|
-
}
|
|
1361
|
-
/**
|
|
1362
|
-
* 本接口(DescribePriceCreateDirectConnectGateway)用于创建专线网关询价。
|
|
1363
|
-
*/
|
|
1364
|
-
async InquirePriceCreateDirectConnectGateway(req, cb) {
|
|
1365
|
-
return this.request("InquirePriceCreateDirectConnectGateway", req, cb);
|
|
1366
|
-
}
|
|
1367
|
-
/**
|
|
1368
|
-
* 本接口(DescribeAddressTemplateGroups)用于查询IP地址模板集合。
|
|
1369
|
-
*/
|
|
1370
|
-
async DescribeAddressTemplateGroups(req, cb) {
|
|
1371
|
-
return this.request("DescribeAddressTemplateGroups", req, cb);
|
|
1372
|
-
}
|
|
1373
|
-
/**
|
|
1374
|
-
* 本接口(DetachClassicLinkVpc)用于删除私有网络和基础网络设备互通。
|
|
1375
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1376
|
-
>
|
|
1377
|
-
*/
|
|
1378
|
-
async DetachClassicLinkVpc(req, cb) {
|
|
1379
|
-
return this.request("DetachClassicLinkVpc", req, cb);
|
|
1380
|
-
}
|
|
1381
|
-
/**
|
|
1382
|
-
* 本接口(CreateSecurityGroupPolicies)用于创建安全组规则(SecurityGroupPolicy)。
|
|
1383
|
-
|
|
1384
|
-
在 SecurityGroupPolicySet 参数中:
|
|
1385
|
-
<ul>
|
|
1386
|
-
<li>Version 安全组规则版本号,用户每次更新安全规则版本会自动加1,防止您更新的路由规则已过期,不填不考虑冲突。</li>
|
|
1387
|
-
<li>在创建出站和入站规则(Egress 和 Ingress)时:<ul>
|
|
1388
|
-
<li>Protocol 字段支持输入TCP, UDP, ICMP, ICMPV6, GRE, ALL。</li>
|
|
1389
|
-
<li>CidrBlock 字段允许输入符合cidr格式标准的任意字符串。在基础网络中,如果 CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。</li>
|
|
1390
|
-
<li>Ipv6CidrBlock 字段允许输入符合IPv6 cidr格式标准的任意字符串。在基础网络中,如果Ipv6CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。</li>
|
|
1391
|
-
<li>SecurityGroupId 字段允许输入与待修改的安全组位于相同项目中的安全组 ID,包括这个安全组 ID 本身,代表安全组下所有云服务器的内网 IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个 ID 所关联的云服务器变化而变化,不需要重新修改。</li>
|
|
1392
|
-
<li>Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受,即 Protocol 字段不是 TCP 或 UDP 时,Protocol 和 Port 是排他关系,不允许同时输入,否则会接口报错。</li>
|
|
1393
|
-
<li>Action 字段只允许输入 ACCEPT 或 DROP。</li>
|
|
1394
|
-
<li>CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate 四者是排他关系,不允许同时输入,Protocol + Port 和 ServiceTemplate 二者是排他关系,不允许同时输入。IPv6CidrBlock和ICMP是排他关系,如需使用,请输入ICMPV6。</li>
|
|
1395
|
-
<li>一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。如想在规则最前面插入一条,则填0即可,如果想在最后追加,该字段可不填。</li>
|
|
1396
|
-
</ul></li></ul>
|
|
1397
|
-
*/
|
|
1398
|
-
async CreateSecurityGroupPolicies(req, cb) {
|
|
1399
|
-
return this.request("CreateSecurityGroupPolicies", req, cb);
|
|
1400
|
-
}
|
|
1401
|
-
/**
|
|
1402
|
-
* 本接口(ResetNatGatewayConnection)用来NAT网关并发连接上限。
|
|
1403
|
-
*/
|
|
1404
|
-
async ResetNatGatewayConnection(req, cb) {
|
|
1405
|
-
return this.request("ResetNatGatewayConnection", req, cb);
|
|
1406
|
-
}
|
|
1407
|
-
/**
|
|
1408
|
-
* 本接口(AttachSnapshotInstances)用于快照策略关联实例。
|
|
1409
|
-
*/
|
|
1410
|
-
async AttachSnapshotInstances(req, cb) {
|
|
1411
|
-
return this.request("AttachSnapshotInstances", req, cb);
|
|
1412
|
-
}
|
|
1413
|
-
/**
|
|
1414
|
-
* 本接口(DescribeVpcResourceDashboard)用于查看VPC资源信息。
|
|
1415
|
-
*/
|
|
1416
|
-
async DescribeVpcResourceDashboard(req, cb) {
|
|
1417
|
-
return this.request("DescribeVpcResourceDashboard", req, cb);
|
|
1418
|
-
}
|
|
1419
|
-
/**
|
|
1420
|
-
* 本接口(ReplaceSecurityGroupPolicy)用于替换单条安全组规则(SecurityGroupPolicy)。
|
|
1421
|
-
单个请求中只能替换单个方向的一条规则, 必须要指定索引(PolicyIndex)。
|
|
1422
|
-
*/
|
|
1423
|
-
async ReplaceSecurityGroupPolicy(req, cb) {
|
|
1424
|
-
return this.request("ReplaceSecurityGroupPolicy", req, cb);
|
|
1425
|
-
}
|
|
1426
|
-
/**
|
|
1427
|
-
* 本接口 (AdjustPublicAddress) 用于更换IP地址,支持更换CVM实例的普通公网IP和包月带宽的EIP。
|
|
1428
|
-
*/
|
|
1429
|
-
async AdjustPublicAddress(req, cb) {
|
|
1430
|
-
return this.request("AdjustPublicAddress", req, cb);
|
|
1431
|
-
}
|
|
1432
|
-
/**
|
|
1433
|
-
* 本接口(CreateNetworkAcl)用于创建新的<a href="https://cloud.tencent.com/document/product/215/20088">网络ACL</a>。
|
|
1434
|
-
* 新建的网络ACL的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用ModifyNetworkAclEntries将网络ACL的规则设置为需要的规则。
|
|
1435
|
-
*/
|
|
1436
|
-
async CreateNetworkAcl(req, cb) {
|
|
1437
|
-
return this.request("CreateNetworkAcl", req, cb);
|
|
1438
|
-
}
|
|
1439
|
-
/**
|
|
1440
|
-
* 本接口 (CreateBandwidthPackage) 支持创建[设备带宽包](https://cloud.tencent.com/document/product/684/15245#bwptype)和[IP带宽包](https://cloud.tencent.com/document/product/684/15245#bwptype)。
|
|
1441
|
-
*/
|
|
1442
|
-
async CreateBandwidthPackage(req, cb) {
|
|
1443
|
-
return this.request("CreateBandwidthPackage", req, cb);
|
|
1444
|
-
}
|
|
1445
|
-
/**
|
|
1446
|
-
* 本接口(DeleteFlowLog)用于删除流日志。
|
|
1447
|
-
*/
|
|
1448
|
-
async DeleteFlowLog(req, cb) {
|
|
1449
|
-
return this.request("DeleteFlowLog", req, cb);
|
|
1450
|
-
}
|
|
1451
|
-
/**
|
|
1452
|
-
* 本接口(GenerateVpnConnectionDefaultHealthCheckIp)用于获取一对VPN通道健康检查地址。
|
|
1453
|
-
*/
|
|
1454
|
-
async GenerateVpnConnectionDefaultHealthCheckIp(req, cb) {
|
|
1455
|
-
return this.request("GenerateVpnConnectionDefaultHealthCheckIp", req, cb);
|
|
1456
|
-
}
|
|
1457
|
-
/**
|
|
1458
|
-
* 删除SSL-VPN-SERVER 实例
|
|
1459
|
-
*/
|
|
1460
|
-
async DeleteVpnGatewaySslServer(req, cb) {
|
|
1461
|
-
return this.request("DeleteVpnGatewaySslServer", req, cb);
|
|
1462
|
-
}
|
|
1463
|
-
/**
|
|
1464
|
-
* 本接口(DescribeNetworkInterfaceLimit)根据CVM实例ID或弹性网卡ID查询弹性网卡配额,返回该CVM实例或弹性网卡能绑定的弹性网卡配额,以及弹性网卡可以分配的IP配额。
|
|
1465
|
-
*/
|
|
1466
|
-
async DescribeNetworkInterfaceLimit(req, cb) {
|
|
1467
|
-
return this.request("DescribeNetworkInterfaceLimit", req, cb);
|
|
1468
|
-
}
|
|
1469
|
-
/**
|
|
1470
|
-
* 本接口(EnableSnapshotPolicies)用于启用快照策略。
|
|
1471
|
-
*/
|
|
1472
|
-
async EnableSnapshotPolicies(req, cb) {
|
|
1473
|
-
return this.request("EnableSnapshotPolicies", req, cb);
|
|
1474
|
-
}
|
|
1475
|
-
/**
|
|
1476
|
-
* 本接口(DeleteVpnConnection)用于删除VPN通道。
|
|
1477
|
-
>?本接口为异步接口
|
|
1478
|
-
>
|
|
1479
|
-
*/
|
|
1480
|
-
async DeleteVpnConnection(req, cb) {
|
|
1481
|
-
return this.request("DeleteVpnConnection", req, cb);
|
|
1482
|
-
}
|
|
1483
|
-
/**
|
|
1484
|
-
* 本接口(DescribeCustomerGatewayVendors)用于查询可支持的对端网关厂商信息。
|
|
1485
|
-
*/
|
|
1486
|
-
async DescribeCustomerGatewayVendors(req, cb) {
|
|
1487
|
-
return this.request("DescribeCustomerGatewayVendors", req, cb);
|
|
1488
|
-
}
|
|
1489
|
-
/**
|
|
1490
|
-
* 删除虚拟连接
|
|
1491
|
-
*/
|
|
1492
|
-
async DeleteCdcNetPlanes(req, cb) {
|
|
1493
|
-
return this.request("DeleteCdcNetPlanes", req, cb);
|
|
1494
|
-
}
|
|
1495
|
-
/**
|
|
1496
|
-
* 本接口(DeleteLocalGateway)用于删除CDC的本地网关。
|
|
1497
|
-
*/
|
|
1498
|
-
async DeleteLocalGateway(req, cb) {
|
|
1499
|
-
return this.request("DeleteLocalGateway", req, cb);
|
|
1500
|
-
}
|
|
1501
|
-
/**
|
|
1502
|
-
* 本接口(ModifyServiceTemplateAttribute)用于修改协议端口模板。
|
|
1503
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1504
|
-
>
|
|
1505
|
-
*/
|
|
1506
|
-
async ModifyServiceTemplateAttribute(req, cb) {
|
|
1507
|
-
return this.request("ModifyServiceTemplateAttribute", req, cb);
|
|
1508
|
-
}
|
|
1509
|
-
/**
|
|
1510
|
-
* 本接口(DisassociateNetworkAclSubnets)用于网络ACL解关联VPC下的子网。
|
|
1511
|
-
*/
|
|
1512
|
-
async DisassociateNetworkAclSubnets(req, cb) {
|
|
1513
|
-
return this.request("DisassociateNetworkAclSubnets", req, cb);
|
|
1514
|
-
}
|
|
1515
|
-
/**
|
|
1516
|
-
* 本接口(ModifyPrivateNatGatewayDestinationIpPortTranslationNatRule)用于修改私网NAT网关目的端口转换规则
|
|
1517
|
-
*/
|
|
1518
|
-
async ModifyPrivateNatGatewayDestinationIpPortTranslationNatRule(req, cb) {
|
|
1519
|
-
return this.request("ModifyPrivateNatGatewayDestinationIpPortTranslationNatRule", req, cb);
|
|
1520
|
-
}
|
|
1521
|
-
/**
|
|
1522
|
-
* 本接口(DescribeVpnGatewayRoutes)用于查询VPN网关路由。
|
|
1523
|
-
*/
|
|
1524
|
-
async DescribeVpnGatewayRoutes(req, cb) {
|
|
1525
|
-
return this.request("DescribeVpnGatewayRoutes", req, cb);
|
|
1526
|
-
}
|
|
1527
|
-
/**
|
|
1528
|
-
* 本接口(ReplaceSecurityGroupPolicies)用于批量修改安全组规则(SecurityGroupPolicy)。
|
|
1529
|
-
单个请求中只能替换单个方向的一条或多条规则, 必须要指定索引(PolicyIndex)。
|
|
1530
|
-
*/
|
|
1531
|
-
async ReplaceSecurityGroupPolicies(req, cb) {
|
|
1532
|
-
return this.request("ReplaceSecurityGroupPolicies", req, cb);
|
|
1533
|
-
}
|
|
1534
|
-
/**
|
|
1535
|
-
* 本接口(CreateDirectConnectGatewayCcnRoutes)用于创建专线网关的云联网路由(IDC网段)
|
|
1536
|
-
*/
|
|
1537
|
-
async CreateDirectConnectGatewayCcnRoutes(req, cb) {
|
|
1538
|
-
return this.request("CreateDirectConnectGatewayCcnRoutes", req, cb);
|
|
1539
|
-
}
|
|
1540
|
-
/**
|
|
1541
|
-
* 本接口(AssignPrivateIpAddresses)用于弹性网卡申请内网 IP。
|
|
1542
|
-
* 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。
|
|
1543
|
-
* 可以指定内网IP地址申请,内网IP地址类型不能为主IP,主IP已存在,不能修改,内网IP必须要在弹性网卡所在子网内,而且不能被占用。
|
|
1544
|
-
* 在弹性网卡上申请一个到多个辅助内网IP,接口会在弹性网卡所在子网网段内返回指定数量的辅助内网IP。
|
|
1545
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1546
|
-
>
|
|
1547
|
-
*/
|
|
1548
|
-
async AssignPrivateIpAddresses(req, cb) {
|
|
1549
|
-
return this.request("AssignPrivateIpAddresses", req, cb);
|
|
1550
|
-
}
|
|
1551
|
-
/**
|
|
1552
|
-
* 本接口(DescribeCrossBorderFlowMonitor)用于查询跨境带宽监控数据,该接口目前只提供给服务商联通使用。
|
|
1553
|
-
*/
|
|
1554
|
-
async DescribeCrossBorderFlowMonitor(req, cb) {
|
|
1555
|
-
return this.request("DescribeCrossBorderFlowMonitor", req, cb);
|
|
1556
|
-
}
|
|
1557
|
-
/**
|
|
1558
|
-
* 本接口(CreateSubnets)用于批量创建子网。
|
|
1559
|
-
* 创建子网前必须创建好 VPC。
|
|
1560
|
-
* 子网创建成功后,子网网段不能修改。子网网段必须在VPC网段内,可以和VPC网段相同(VPC有且只有一个子网时),建议子网网段在VPC网段内,预留网段给其他子网使用。
|
|
1561
|
-
* 您可以创建的最小网段子网掩码为28(有16个IP地址),最大网段子网掩码为16(65,536个IP地址)。
|
|
1562
|
-
* 同一个VPC内,多个子网的网段不能重叠。
|
|
1563
|
-
* 子网创建后会自动关联到默认路由表。
|
|
1564
|
-
* 创建子网同时可以绑定标签, 应答里的标签列表代表添加成功的标签。
|
|
1565
|
-
*/
|
|
1566
|
-
async CreateSubnets(req, cb) {
|
|
1567
|
-
return this.request("CreateSubnets", req, cb);
|
|
1568
|
-
}
|
|
1569
|
-
/**
|
|
1570
|
-
* 本接口(CreateVpcPeeringConnection)用于创建私有网络对等连接。
|
|
1571
|
-
*/
|
|
1572
|
-
async CreateVpcPeeringConnection(req, cb) {
|
|
1573
|
-
return this.request("CreateVpcPeeringConnection", req, cb);
|
|
1574
|
-
}
|
|
1575
|
-
/**
|
|
1576
|
-
* 本接口(DeleteDirectConnectGatewayCcnRoutes)用于删除专线网关的云联网路由(IDC网段)
|
|
1577
|
-
*/
|
|
1578
|
-
async DeleteDirectConnectGatewayCcnRoutes(req, cb) {
|
|
1579
|
-
return this.request("DeleteDirectConnectGatewayCcnRoutes", req, cb);
|
|
1580
|
-
}
|
|
1581
|
-
/**
|
|
1582
|
-
* 本接口(RejectAttachCcnInstances)用于跨账号关联实例时,云联网所有者拒绝关联操作。
|
|
1583
|
-
|
|
1584
|
-
*/
|
|
1585
|
-
async RejectAttachCcnInstances(req, cb) {
|
|
1586
|
-
return this.request("RejectAttachCcnInstances", req, cb);
|
|
1587
|
-
}
|
|
1588
|
-
/**
|
|
1589
|
-
* 本接口(DescribeVpnConnections)用于查询VPN通道列表。
|
|
1590
|
-
*/
|
|
1591
|
-
async DescribeVpnConnections(req, cb) {
|
|
1592
|
-
return this.request("DescribeVpnConnections", req, cb);
|
|
1593
|
-
}
|
|
1594
|
-
/**
|
|
1595
|
-
* 本接口(DeleteDhcpIp)用于删除DhcpIp。
|
|
1596
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1597
|
-
>
|
|
1598
|
-
*/
|
|
1599
|
-
async DeleteDhcpIp(req, cb) {
|
|
1600
|
-
return this.request("DeleteDhcpIp", req, cb);
|
|
1601
|
-
}
|
|
1602
|
-
/**
|
|
1603
|
-
* 本接口(DescribePrivateNatGatewayDestinationIpPortTranslationNatRules)用于查询私网NAT网关目的端口转换规则
|
|
1604
|
-
*/
|
|
1605
|
-
async DescribePrivateNatGatewayDestinationIpPortTranslationNatRules(req, cb) {
|
|
1606
|
-
return this.request("DescribePrivateNatGatewayDestinationIpPortTranslationNatRules", req, cb);
|
|
1607
|
-
}
|
|
1608
|
-
/**
|
|
1609
|
-
* 查询高优路由表条目信息。
|
|
1610
|
-
*/
|
|
1611
|
-
async DescribeHighPriorityRoutes(req, cb) {
|
|
1612
|
-
return this.request("DescribeHighPriorityRoutes", req, cb);
|
|
1613
|
-
}
|
|
1614
|
-
/**
|
|
1615
|
-
* 本接口 (DisassociateAddress) 用于解绑[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。
|
|
1616
|
-
* 支持CVM实例,弹性网卡上的EIP解绑
|
|
1617
|
-
* 不支持NAT上的EIP解绑。NAT上的EIP解绑请参考[DisassociateNatGatewayAddress](https://cloud.tencent.com/document/api/215/36716)
|
|
1618
|
-
* 只有状态为 BIND 和 BIND_ENI 的 EIP 才能进行解绑定操作。
|
|
1619
|
-
*/
|
|
1620
|
-
async DisassociateAddress(req, cb) {
|
|
1621
|
-
return this.request("DisassociateAddress", req, cb);
|
|
1622
|
-
}
|
|
1623
|
-
/**
|
|
1624
|
-
* 查询 IDC通道信息
|
|
1625
|
-
*/
|
|
1626
|
-
async DescribeCdcLDCXList(req, cb) {
|
|
1627
|
-
return this.request("DescribeCdcLDCXList", req, cb);
|
|
1628
|
-
}
|
|
1629
|
-
/**
|
|
1630
|
-
* 该接口用于修改IPV6转换规则,当前仅支持修改转换规则名称,IPV4地址和IPV4端口号
|
|
1631
|
-
*/
|
|
1632
|
-
async ModifyIp6Rule(req, cb) {
|
|
1633
|
-
return this.request("ModifyIp6Rule", req, cb);
|
|
1634
|
-
}
|
|
1635
|
-
/**
|
|
1636
|
-
* 本接口(DescribeVpcIpv6Addresses)用于查询 `VPC` `IPv6` 信息。
|
|
1637
|
-
只能查询已使用的`IPv6`信息,当查询未使用的IP时,本接口不会报错,但不会出现在返回结果里。
|
|
1638
|
-
*/
|
|
1639
|
-
async DescribeVpcIpv6Addresses(req, cb) {
|
|
1640
|
-
return this.request("DescribeVpcIpv6Addresses", req, cb);
|
|
1641
|
-
}
|
|
1642
|
-
/**
|
|
1643
|
-
* 本接口(UnlockCcnBandwidths)用户解锁云联网限速实例。
|
|
1644
|
-
该接口一般用来封禁地域间限速的云联网实例下的限速实例, 目前联通内部运营系统通过云API调用, 如果是出口限速, 一般使用更粗的云联网实例粒度封禁(SecurityUnlockCcns)。
|
|
1645
|
-
如有需要, 可以封禁任意限速实例, 可接入到内部运营系统。
|
|
1646
|
-
*/
|
|
1647
|
-
async UnlockCcnBandwidths(req, cb) {
|
|
1648
|
-
return this.request("UnlockCcnBandwidths", req, cb);
|
|
1649
|
-
}
|
|
1650
|
-
/**
|
|
1651
|
-
* 本接口(DeleteCustomerGateway)用于删除对端网关。
|
|
1652
|
-
*/
|
|
1653
|
-
async DeleteCustomerGateway(req, cb) {
|
|
1654
|
-
return this.request("DeleteCustomerGateway", req, cb);
|
|
1655
|
-
}
|
|
1656
|
-
/**
|
|
1657
|
-
* 本接口(DescribeLocalGateway)用于查询CDC的本地网关。
|
|
1658
|
-
*/
|
|
1659
|
-
async DescribeLocalGateway(req, cb) {
|
|
1660
|
-
return this.request("DescribeLocalGateway", req, cb);
|
|
1661
|
-
}
|
|
1662
|
-
/**
|
|
1663
|
-
* 本接口(DescribeNetDetects)用于查询网络探测列表。
|
|
1664
|
-
*/
|
|
1665
|
-
async DescribeNetDetects(req, cb) {
|
|
1666
|
-
return this.request("DescribeNetDetects", req, cb);
|
|
1667
|
-
}
|
|
1668
|
-
/**
|
|
1669
|
-
* 本接口 (DescribeBandwidthPackageBillUsage) 用于查询后付费共享带宽包当前的计费用量.
|
|
1670
|
-
*/
|
|
1671
|
-
async DescribeBandwidthPackageBillUsage(req, cb) {
|
|
1672
|
-
return this.request("DescribeBandwidthPackageBillUsage", req, cb);
|
|
1673
|
-
}
|
|
1674
|
-
/**
|
|
1675
|
-
* 该接口用于修改云联网路由表名称和备注。
|
|
1676
|
-
*/
|
|
1677
|
-
async ModifyCcnRouteTables(req, cb) {
|
|
1678
|
-
return this.request("ModifyCcnRouteTables", req, cb);
|
|
1679
|
-
}
|
|
1680
|
-
/**
|
|
1681
|
-
* 调整EIP续费标识
|
|
1682
|
-
*/
|
|
1683
|
-
async ModifyAddressesRenewFlag(req, cb) {
|
|
1684
|
-
return this.request("ModifyAddressesRenewFlag", req, cb);
|
|
1685
|
-
}
|
|
1686
|
-
/**
|
|
1687
|
-
* 修改高优路由表 HASH 策略。
|
|
1688
|
-
*/
|
|
1689
|
-
async ModifyHighPriorityRouteECMPAlgorithm(req, cb) {
|
|
1690
|
-
return this.request("ModifyHighPriorityRouteECMPAlgorithm", req, cb);
|
|
1691
|
-
}
|
|
1692
|
-
/**
|
|
1693
|
-
* 本接口(DeleteNatGatewaySourceIpTranslationNatRule)用于删除NAT网关端口SNAT转发规则。
|
|
1694
|
-
*/
|
|
1695
|
-
async DeleteNatGatewaySourceIpTranslationNatRule(req, cb) {
|
|
1696
|
-
return this.request("DeleteNatGatewaySourceIpTranslationNatRule", req, cb);
|
|
1697
|
-
}
|
|
1698
|
-
/**
|
|
1699
|
-
* 本接口(DisassociateIPv6Address)用于解绑弹性公网 IPv6(简称EIPv6)实例。
|
|
1700
|
-
|
|
1701
|
-
- 支持对 CVM、弹性网卡绑定的 EIPv6 实例进行解绑操作。
|
|
1702
|
-
- 只有状态为 BIND 和 BIND_ENI 的 EIPv6 实例才能进行解绑操作。
|
|
1703
|
-
*/
|
|
1704
|
-
async DisassociateIPv6Address(req, cb) {
|
|
1705
|
-
return this.request("DisassociateIPv6Address", req, cb);
|
|
1706
|
-
}
|
|
1707
|
-
/**
|
|
1708
|
-
* 本接口(ModifyNatGatewaySourceIpTranslationNatRule)用于修改NAT网关SNAT转发规则。
|
|
1709
|
-
*/
|
|
1710
|
-
async ModifyNatGatewaySourceIpTranslationNatRule(req, cb) {
|
|
1711
|
-
return this.request("ModifyNatGatewaySourceIpTranslationNatRule", req, cb);
|
|
1712
|
-
}
|
|
1713
|
-
/**
|
|
1714
|
-
* 本接口(UnassignIpv6SubnetCidrBlock)用于释放IPv6子网段。<br />
|
|
1715
|
-
子网段如果还有IP占用且未回收,则子网段无法释放。
|
|
1716
|
-
*/
|
|
1717
|
-
async UnassignIpv6SubnetCidrBlock(req, cb) {
|
|
1718
|
-
return this.request("UnassignIpv6SubnetCidrBlock", req, cb);
|
|
1719
|
-
}
|
|
1720
|
-
/**
|
|
1721
|
-
* 本接口(DisableRoutes)用于禁用已启用的子网路由
|
|
1722
|
-
*/
|
|
1723
|
-
async DisableRoutes(req, cb) {
|
|
1724
|
-
return this.request("DisableRoutes", req, cb);
|
|
1725
|
-
}
|
|
1726
|
-
/**
|
|
1727
|
-
* 本接口(EnableVpnGatewaySslClientCert)用于启用SSL-VPN-CLIENT 证书。
|
|
1728
|
-
*/
|
|
1729
|
-
async EnableVpnGatewaySslClientCert(req, cb) {
|
|
1730
|
-
return this.request("EnableVpnGatewaySslClientCert", req, cb);
|
|
1731
|
-
}
|
|
1732
|
-
/**
|
|
1733
|
-
* 本接口(CreateAssistantCidr)用于批量创建辅助CIDR。
|
|
1734
|
-
*/
|
|
1735
|
-
async CreateAssistantCidr(req, cb) {
|
|
1736
|
-
return this.request("CreateAssistantCidr", req, cb);
|
|
1737
|
-
}
|
|
1738
|
-
/**
|
|
1739
|
-
* 本接口(DescribeVpnGatewaySslClients)用于查询SSL-VPN-CLIENT 列表。
|
|
1740
|
-
*/
|
|
1741
|
-
async DescribeVpnGatewaySslClients(req, cb) {
|
|
1742
|
-
return this.request("DescribeVpnGatewaySslClients", req, cb);
|
|
1743
|
-
}
|
|
1744
|
-
/**
|
|
1745
|
-
* 本接口(CreateNatGateway)用于创建NAT网关。
|
|
1746
|
-
在对新建的NAT网关做其他操作前,需先确认此网关已被创建完成(DescribeNatGateway接口返回的实例State字段为AVAILABLE)。
|
|
1747
|
-
*/
|
|
1748
|
-
async CreateNatGateway(req, cb) {
|
|
1749
|
-
return this.request("CreateNatGateway", req, cb);
|
|
1750
|
-
}
|
|
1751
|
-
/**
|
|
1752
|
-
* 本接口(DeleteNetDetect)用于删除网络探测实例。
|
|
1753
|
-
*/
|
|
1754
|
-
async DeleteNetDetect(req, cb) {
|
|
1755
|
-
return this.request("DeleteNetDetect", req, cb);
|
|
1756
|
-
}
|
|
1757
|
-
/**
|
|
1758
|
-
* 本接口(NotifyRoutes)用于路由表列表页操作增加“发布到云联网”,发布路由到云联网。
|
|
1759
|
-
*/
|
|
1760
|
-
async NotifyRoutes(req, cb) {
|
|
1761
|
-
return this.request("NotifyRoutes", req, cb);
|
|
1762
|
-
}
|
|
1763
|
-
/**
|
|
1764
|
-
* 本接口(DeleteVpcEndPoint)用于删除终端节点。
|
|
1765
|
-
*/
|
|
1766
|
-
async DeleteVpcEndPoint(req, cb) {
|
|
1767
|
-
return this.request("DeleteVpcEndPoint", req, cb);
|
|
1768
|
-
}
|
|
1769
|
-
/**
|
|
1770
|
-
* 删除高优路由表的路由条目。
|
|
1771
|
-
*/
|
|
1772
|
-
async DeleteHighPriorityRoutes(req, cb) {
|
|
1773
|
-
return this.request("DeleteHighPriorityRoutes", req, cb);
|
|
1774
|
-
}
|
|
1775
|
-
/**
|
|
1776
|
-
* 本接口(CreateServiceTemplate)用于创建协议端口模板。
|
|
1777
|
-
*/
|
|
1778
|
-
async CreateServiceTemplate(req, cb) {
|
|
1779
|
-
return this.request("CreateServiceTemplate", req, cb);
|
|
1780
|
-
}
|
|
1781
|
-
/**
|
|
1782
|
-
* 本接口(InquiryPriceAllocateAddresses)用于新购弹性公网IP询价。
|
|
1783
|
-
*/
|
|
1784
|
-
async InquiryPriceAllocateAddresses(req, cb) {
|
|
1785
|
-
return this.request("InquiryPriceAllocateAddresses", req, cb);
|
|
1786
|
-
}
|
|
1787
|
-
/**
|
|
1788
|
-
* 本接口(ModifyDirectConnectGatewayAttribute)用于修改专线网关属性
|
|
1789
|
-
*/
|
|
1790
|
-
async ModifyDirectConnectGatewayAttribute(req, cb) {
|
|
1791
|
-
return this.request("ModifyDirectConnectGatewayAttribute", req, cb);
|
|
1792
|
-
}
|
|
1793
|
-
/**
|
|
1794
|
-
* 本接口(ModifySubnetAttribute)用于修改子网属性。
|
|
1795
|
-
*/
|
|
1796
|
-
async ModifySubnetAttribute(req, cb) {
|
|
1797
|
-
return this.request("ModifySubnetAttribute", req, cb);
|
|
1798
|
-
}
|
|
1799
|
-
/**
|
|
1800
|
-
* 本接口(DescribeSgSnapshotFileContent)用于查询安全组快照文件内容。
|
|
1801
|
-
*/
|
|
1802
|
-
async DescribeSgSnapshotFileContent(req, cb) {
|
|
1803
|
-
return this.request("DescribeSgSnapshotFileContent", req, cb);
|
|
1804
|
-
}
|
|
1805
|
-
/**
|
|
1806
|
-
* 本接口(DescribeNetworkInterfaces)用于查询弹性网卡列表。
|
|
1807
|
-
*/
|
|
1808
|
-
async DescribeNetworkInterfaces(req, cb) {
|
|
1809
|
-
return this.request("DescribeNetworkInterfaces", req, cb);
|
|
1810
|
-
}
|
|
1811
|
-
/**
|
|
1812
|
-
* 本接口(DisableCcnRoutes)用于禁用已经启用的云联网(CCN)路由。
|
|
1813
|
-
*/
|
|
1814
|
-
async DisableCcnRoutes(req, cb) {
|
|
1815
|
-
return this.request("DisableCcnRoutes", req, cb);
|
|
1816
|
-
}
|
|
1817
|
-
/**
|
|
1818
|
-
* 本接口(DescribeCcnRouteTableBroadcastPolicys)用于查询指定云联网路由表的路由传播策略。
|
|
1819
|
-
*/
|
|
1820
|
-
async DescribeCcnRouteTableBroadcastPolicys(req, cb) {
|
|
1821
|
-
return this.request("DescribeCcnRouteTableBroadcastPolicys", req, cb);
|
|
1822
|
-
}
|
|
1823
|
-
/**
|
|
1824
|
-
* 本接口(CreateAddressTemplateGroup)用于创建IP地址模板集合。
|
|
1825
|
-
*/
|
|
1826
|
-
async CreateAddressTemplateGroup(req, cb) {
|
|
1827
|
-
return this.request("CreateAddressTemplateGroup", req, cb);
|
|
1828
|
-
}
|
|
1829
|
-
/**
|
|
1830
|
-
* 本接口(AssociateNetworkAclSubnets)用于网络ACL关联VPC下的子网。
|
|
1831
|
-
*/
|
|
1832
|
-
async AssociateNetworkAclSubnets(req, cb) {
|
|
1833
|
-
return this.request("AssociateNetworkAclSubnets", req, cb);
|
|
1834
|
-
}
|
|
1835
|
-
/**
|
|
1836
|
-
* 本接口(DescribeVpnGateways)用于查询VPN网关列表。
|
|
1837
|
-
*/
|
|
1838
|
-
async DescribeVpnGateways(req, cb) {
|
|
1839
|
-
return this.request("DescribeVpnGateways", req, cb);
|
|
1840
|
-
}
|
|
1841
|
-
/**
|
|
1842
|
-
* 本接口(AssociateNetworkInterfaceSecurityGroups)用于弹性网卡绑定安全组(SecurityGroup)。
|
|
1843
|
-
*/
|
|
1844
|
-
async AssociateNetworkInterfaceSecurityGroups(req, cb) {
|
|
1845
|
-
return this.request("AssociateNetworkInterfaceSecurityGroups", req, cb);
|
|
1846
|
-
}
|
|
1847
|
-
/**
|
|
1848
|
-
* 替换高优路由表和子网绑定关系。
|
|
1849
|
-
*/
|
|
1850
|
-
async ReplaceHighPriorityRouteTableAssociation(req, cb) {
|
|
1851
|
-
return this.request("ReplaceHighPriorityRouteTableAssociation", req, cb);
|
|
1852
|
-
}
|
|
1853
|
-
/**
|
|
1854
|
-
* 本接口(EnableFlowLogs)用于启动流日志。
|
|
1855
|
-
*/
|
|
1856
|
-
async EnableFlowLogs(req, cb) {
|
|
1857
|
-
return this.request("EnableFlowLogs", req, cb);
|
|
1858
|
-
}
|
|
1859
|
-
/**
|
|
1860
|
-
* 创建 IDC 通道
|
|
1861
|
-
*/
|
|
1862
|
-
async CreateCdcLDCXList(req, cb) {
|
|
1863
|
-
return this.request("CreateCdcLDCXList", req, cb);
|
|
1864
|
-
}
|
|
1865
|
-
/**
|
|
1866
|
-
* 本接口(ModifyNatGatewayDestinationIpPortTranslationNatRule)用于修改NAT网关端口转发规则。
|
|
1867
|
-
*/
|
|
1868
|
-
async ModifyNatGatewayDestinationIpPortTranslationNatRule(req, cb) {
|
|
1869
|
-
return this.request("ModifyNatGatewayDestinationIpPortTranslationNatRule", req, cb);
|
|
1870
|
-
}
|
|
1871
|
-
/**
|
|
1872
|
-
* 禁用SSL-VPN-CLIENT 证书
|
|
1873
|
-
*/
|
|
1874
|
-
async DisableVpnGatewaySslClientCert(req, cb) {
|
|
1875
|
-
return this.request("DisableVpnGatewaySslClientCert", req, cb);
|
|
1876
|
-
}
|
|
1877
|
-
/**
|
|
1878
|
-
* 本接口(DescribeHaVips)用于查询高可用虚拟IP(HAVIP)列表。
|
|
1879
|
-
*/
|
|
1880
|
-
async DescribeHaVips(req, cb) {
|
|
1881
|
-
return this.request("DescribeHaVips", req, cb);
|
|
1882
|
-
}
|
|
1883
|
-
/**
|
|
1884
|
-
* 本接口(CreateLocalGateway)用于创建用于CDC的本地网关。
|
|
1885
|
-
*/
|
|
1886
|
-
async CreateLocalGateway(req, cb) {
|
|
1887
|
-
return this.request("CreateLocalGateway", req, cb);
|
|
1888
|
-
}
|
|
1889
|
-
/**
|
|
1890
|
-
* 本接口(ResetVpnGatewayInternetMaxBandwidth)用于调整VPN网关带宽上限。VPN网关带宽目前仅支持部分带宽范围内升降配,如【5,100】Mbps和【200,1000】Mbps,在各自带宽范围内可提升配额,跨范围提升配额和降配暂不支持,如果是包年包月VPN网关需要在有效期内。
|
|
1891
|
-
*/
|
|
1892
|
-
async ResetVpnGatewayInternetMaxBandwidth(req, cb) {
|
|
1893
|
-
return this.request("ResetVpnGatewayInternetMaxBandwidth", req, cb);
|
|
1894
|
-
}
|
|
1895
|
-
/**
|
|
1896
|
-
* 本接口(ModifyVpnConnectionAttribute)用于修改VPN通道。
|
|
1897
|
-
*/
|
|
1898
|
-
async ModifyVpnConnectionAttribute(req, cb) {
|
|
1899
|
-
return this.request("ModifyVpnConnectionAttribute", req, cb);
|
|
1900
|
-
}
|
|
1901
|
-
/**
|
|
1902
|
-
* 本接口(DescribePrivateNatGatewayTranslationNatRules)用于查询私网NAT网关源端转换规则
|
|
1903
|
-
*/
|
|
1904
|
-
async DescribePrivateNatGatewayTranslationNatRules(req, cb) {
|
|
1905
|
-
return this.request("DescribePrivateNatGatewayTranslationNatRules", req, cb);
|
|
1906
|
-
}
|
|
1907
|
-
/**
|
|
1908
|
-
* 本接口(DisassociateDhcpIpWithAddressIp)用于将DhcpIp已绑定的弹性公网IP(EIP)解除绑定。<br />
|
|
1909
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1910
|
-
>
|
|
1911
|
-
*/
|
|
1912
|
-
async DisassociateDhcpIpWithAddressIp(req, cb) {
|
|
1913
|
-
return this.request("DisassociateDhcpIpWithAddressIp", req, cb);
|
|
1914
|
-
}
|
|
1915
|
-
/**
|
|
1916
|
-
* 本接口(CreateHaVip)用于创建高可用虚拟IP(HAVIP)。
|
|
1917
|
-
*/
|
|
1918
|
-
async CreateHaVip(req, cb) {
|
|
1919
|
-
return this.request("CreateHaVip", req, cb);
|
|
1920
|
-
}
|
|
1921
|
-
/**
|
|
1922
|
-
* 本接口(DescribeTenantCcns)用于获取要锁定的云联网实例列表。
|
|
1923
|
-
该接口一般用来封禁出口限速的云联网实例, 目前联通内部运营系统通过云API调用, 因为出口限速无法按地域间封禁, 只能按更粗的云联网实例粒度封禁, 如果是地域间限速, 一般可以通过更细的限速实例粒度封禁(DescribeCrossBorderCcnRegionBandwidthLimits)
|
|
1924
|
-
如有需要, 可以封禁任意云联网实例, 可接入到内部运营系统
|
|
1925
|
-
*/
|
|
1926
|
-
async DescribeTenantCcns(req, cb) {
|
|
1927
|
-
return this.request("DescribeTenantCcns", req, cb);
|
|
1928
|
-
}
|
|
1929
|
-
/**
|
|
1930
|
-
* 创建高优路由表条目。
|
|
1931
|
-
*/
|
|
1932
|
-
async CreateHighPriorityRoutes(req, cb) {
|
|
1933
|
-
return this.request("CreateHighPriorityRoutes", req, cb);
|
|
1934
|
-
}
|
|
1935
|
-
/**
|
|
1936
|
-
* 本接口(LockCcns)用于锁定云联网实例
|
|
1937
|
-
|
|
1938
|
-
该接口一般用来封禁出口限速的云联网实例, 目前联通内部运营系统通过云API调用, 因为出口限速无法按地域间封禁, 只能按更粗的云联网实例粒度封禁, 如果是地域间限速, 一般可以通过更细的限速实例粒度封禁(LockCcnBandwidths)
|
|
1939
|
-
|
|
1940
|
-
如有需要, 可以封禁任意限速实例, 可接入到内部运营系统
|
|
1941
|
-
*/
|
|
1942
|
-
async LockCcns(req, cb) {
|
|
1943
|
-
return this.request("LockCcns", req, cb);
|
|
1944
|
-
}
|
|
1945
|
-
/**
|
|
1946
|
-
* 本接口(CreateRoutes)用于创建路由策略。
|
|
1947
|
-
* 向指定路由表批量新增路由策略。
|
|
1948
|
-
*/
|
|
1949
|
-
async CreateRoutes(req, cb) {
|
|
1950
|
-
return this.request("CreateRoutes", req, cb);
|
|
1951
|
-
}
|
|
1952
|
-
/**
|
|
1953
|
-
* 该接口用于编辑云联网路由表选择策略
|
|
1954
|
-
*/
|
|
1955
|
-
async ModifyRouteTableSelectionPolicies(req, cb) {
|
|
1956
|
-
return this.request("ModifyRouteTableSelectionPolicies", req, cb);
|
|
1957
|
-
}
|
|
1958
|
-
/**
|
|
1959
|
-
* 本接口(DescribeSecurityGroupAssociationStatistics)用于查询安全组关联的实例统计。
|
|
1960
|
-
*/
|
|
1961
|
-
async DescribeSecurityGroupAssociationStatistics(req, cb) {
|
|
1962
|
-
return this.request("DescribeSecurityGroupAssociationStatistics", req, cb);
|
|
1963
|
-
}
|
|
1964
|
-
/**
|
|
1965
|
-
* 本接口(DescribeIpGeolocationDatabaseUrl)用于获取IP地理位置库下载链接。
|
|
1966
|
-
<font color="#FF0000">本接口即将下线,仅供存量用户使用,暂停新增用户。</font>
|
|
1967
|
-
*/
|
|
1968
|
-
async DescribeIpGeolocationDatabaseUrl(req, cb) {
|
|
1969
|
-
return this.request("DescribeIpGeolocationDatabaseUrl", req, cb);
|
|
1970
|
-
}
|
|
1971
|
-
/**
|
|
1972
|
-
* 本接口 (ModifyAddressAttribute) 用于修改[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)的名称。
|
|
1973
|
-
*/
|
|
1974
|
-
async ModifyAddressAttribute(req, cb) {
|
|
1975
|
-
return this.request("ModifyAddressAttribute", req, cb);
|
|
1976
|
-
}
|
|
1977
|
-
/**
|
|
1978
|
-
* 查询流量调度规则
|
|
1979
|
-
*/
|
|
1980
|
-
async DescribeTrafficQosPolicy(req, cb) {
|
|
1981
|
-
return this.request("DescribeTrafficQosPolicy", req, cb);
|
|
1982
|
-
}
|
|
1983
|
-
/**
|
|
1984
|
-
* 本接口(DescribeIPv6Addresses)用于查询一个或多个弹性公网 IPv6(简称 EIPv6)实例的详细信息。
|
|
1985
|
-
|
|
1986
|
-
- 支持查询您在指定地域的弹性公网 IPv6 和传统弹性公网 IPv6 实例信息
|
|
1987
|
-
- 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的 EIPv6。
|
|
1988
|
-
*/
|
|
1989
|
-
async DescribeIPv6Addresses(req, cb) {
|
|
1990
|
-
return this.request("DescribeIPv6Addresses", req, cb);
|
|
1991
|
-
}
|
|
1992
|
-
/**
|
|
1993
|
-
* 本接口(CreateFlowLog)用于创建网络流日志。
|
|
1994
|
-
*/
|
|
1995
|
-
async CreateFlowLog(req, cb) {
|
|
1996
|
-
return this.request("CreateFlowLog", req, cb);
|
|
1997
|
-
}
|
|
1998
|
-
/**
|
|
1999
|
-
* 本接口(CreateRouteTable)用于创建路由表。
|
|
2000
|
-
* 创建了VPC后,系统会创建一个默认路由表,所有新建的子网都会关联到默认路由表。默认情况下您可以直接使用默认路由表来管理您的路由策略。当您的路由策略较多时,您可以调用创建路由表接口创建更多路由表管理您的路由策略。
|
|
2001
|
-
* 创建路由表同时可以绑定标签, 应答里的标签列表代表添加成功的标签。
|
|
2002
|
-
*/
|
|
2003
|
-
async CreateRouteTable(req, cb) {
|
|
2004
|
-
return this.request("CreateRouteTable", req, cb);
|
|
2005
|
-
}
|
|
2006
|
-
/**
|
|
2007
|
-
* 本接口(ModifyPrivateNatGatewayAttribute)用于修改私网NAT网关属性
|
|
2008
|
-
*/
|
|
2009
|
-
async ModifyPrivateNatGatewayAttribute(req, cb) {
|
|
2010
|
-
return this.request("ModifyPrivateNatGatewayAttribute", req, cb);
|
|
2011
|
-
}
|
|
2012
|
-
/**
|
|
2013
|
-
* 本接口(DeleteNetworkAcl)用于删除网络ACL。
|
|
2014
|
-
*/
|
|
2015
|
-
async DeleteNetworkAcl(req, cb) {
|
|
2016
|
-
return this.request("DeleteNetworkAcl", req, cb);
|
|
2017
|
-
}
|
|
2018
|
-
/**
|
|
2019
|
-
* 本接口(DeleteVpcEndPointServiceWhiteList)用于删除终端节点服务白名单。
|
|
2020
|
-
*/
|
|
2021
|
-
async DeleteVpcEndPointServiceWhiteList(req, cb) {
|
|
2022
|
-
return this.request("DeleteVpcEndPointServiceWhiteList", req, cb);
|
|
2023
|
-
}
|
|
2024
|
-
/**
|
|
2025
|
-
* 本接口(ModifyFlowLogAttribute)用于修改流日志属性。
|
|
2026
|
-
*/
|
|
2027
|
-
async ModifyFlowLogAttribute(req, cb) {
|
|
2028
|
-
return this.request("ModifyFlowLogAttribute", req, cb);
|
|
2029
|
-
}
|
|
2030
|
-
/**
|
|
2031
|
-
* 本接口(DisassociateNetworkInterfaceSecurityGroups)用于弹性网卡解绑安全组。支持弹性网卡完全解绑安全组。
|
|
2032
|
-
*/
|
|
2033
|
-
async DisassociateNetworkInterfaceSecurityGroups(req, cb) {
|
|
2034
|
-
return this.request("DisassociateNetworkInterfaceSecurityGroups", req, cb);
|
|
2035
|
-
}
|
|
2036
|
-
/**
|
|
2037
|
-
* 本接口(ResetRoutes)用于对某个路由表名称和所有路由策略(Route)进行重新设置。<br /> 注意: 调用本接口时先删除当前路由表中所有路由策略, 再保存新提交的路由策略内容, 会引起网络中断。
|
|
2038
|
-
*/
|
|
2039
|
-
async ResetRoutes(req, cb) {
|
|
2040
|
-
return this.request("ResetRoutes", req, cb);
|
|
2041
|
-
}
|
|
2042
|
-
/**
|
|
2043
|
-
* 本接口(DeleteNetworkAclEntries)用于删除三元组网络ACL的入站规则和出站规则。在NetworkAclEntrySet参数中:
|
|
2044
|
-
* 删除IPv4规则,需要传入NetworkAclIpv4EntryId。
|
|
2045
|
-
* 删除IPv6规则,需要传入NetworkAclIpv6EntryId。
|
|
2046
|
-
*/
|
|
2047
|
-
async DeleteNetworkAclEntries(req, cb) {
|
|
2048
|
-
return this.request("DeleteNetworkAclEntries", req, cb);
|
|
2049
|
-
}
|
|
2050
|
-
/**
|
|
2051
|
-
* 本接口(ModifyCcnRegionBandwidthLimitsType)用于修改后付费云联网实例修改带宽限速策略。
|
|
2052
|
-
*/
|
|
2053
|
-
async ModifyCcnRegionBandwidthLimitsType(req, cb) {
|
|
2054
|
-
return this.request("ModifyCcnRegionBandwidthLimitsType", req, cb);
|
|
2055
|
-
}
|
|
2056
|
-
/**
|
|
2057
|
-
* 本接口(DescribeCcnRouteTableInputPolicys)用于查询指定云联网路由表的路由接收策略。
|
|
2058
|
-
*/
|
|
2059
|
-
async DescribeCcnRouteTableInputPolicys(req, cb) {
|
|
2060
|
-
return this.request("DescribeCcnRouteTableInputPolicys", req, cb);
|
|
2061
|
-
}
|
|
2062
|
-
/**
|
|
2063
|
-
* 本接口(InquiryPriceRenewVpnGateway)用于续费VPN网关询价。目前仅支持IPSEC类型网关的询价。
|
|
2064
|
-
*/
|
|
2065
|
-
async InquiryPriceRenewVpnGateway(req, cb) {
|
|
2066
|
-
return this.request("InquiryPriceRenewVpnGateway", req, cb);
|
|
2067
|
-
}
|
|
2068
|
-
/**
|
|
2069
|
-
* 本接口(DeleteSnapshotPolicies)用于删除快照策略。
|
|
2070
|
-
*/
|
|
2071
|
-
async DeleteSnapshotPolicies(req, cb) {
|
|
2072
|
-
return this.request("DeleteSnapshotPolicies", req, cb);
|
|
2073
|
-
}
|
|
2074
|
-
/**
|
|
2075
|
-
* 本接口(DescribeVpcEndPointService)用于查询终端节点服务列表。
|
|
2076
|
-
*/
|
|
2077
|
-
async DescribeVpcEndPointService(req, cb) {
|
|
2078
|
-
return this.request("DescribeVpcEndPointService", req, cb);
|
|
2079
|
-
}
|
|
2080
|
-
/**
|
|
2081
|
-
* 刷新专线直连nat路由,更新nat到专线的路由表
|
|
2082
|
-
*/
|
|
2083
|
-
async RefreshDirectConnectGatewayRouteToNatGateway(req, cb) {
|
|
2084
|
-
return this.request("RefreshDirectConnectGatewayRouteToNatGateway", req, cb);
|
|
2085
|
-
}
|
|
2086
|
-
/**
|
|
2087
|
-
* 本接口(CreatePrivateNatGatewayTranslationNatRule)用于创建私网NAT网关源端转换规则。
|
|
2088
|
-
*/
|
|
2089
|
-
async CreatePrivateNatGatewayTranslationNatRule(req, cb) {
|
|
2090
|
-
return this.request("CreatePrivateNatGatewayTranslationNatRule", req, cb);
|
|
2091
|
-
}
|
|
2092
|
-
/**
|
|
2093
|
-
* 本接口(ModifyVpcEndPointAttribute)用于修改终端节点属性。
|
|
2094
|
-
*/
|
|
2095
|
-
async ModifyVpcEndPointAttribute(req, cb) {
|
|
2096
|
-
return this.request("ModifyVpcEndPointAttribute", req, cb);
|
|
2097
|
-
}
|
|
2098
|
-
/**
|
|
2099
|
-
* 修改高优路由表条目属性。
|
|
2100
|
-
*/
|
|
2101
|
-
async ModifyHighPriorityRouteAttribute(req, cb) {
|
|
2102
|
-
return this.request("ModifyHighPriorityRouteAttribute", req, cb);
|
|
2103
|
-
}
|
|
2104
|
-
/**
|
|
2105
|
-
* 本接口(DisassociateVpcEndPointSecurityGroups)用于终端节点解绑安全组。
|
|
2106
|
-
*/
|
|
2107
|
-
async DisassociateVpcEndPointSecurityGroups(req, cb) {
|
|
2108
|
-
return this.request("DisassociateVpcEndPointSecurityGroups", req, cb);
|
|
2109
|
-
}
|
|
2110
|
-
/**
|
|
2111
|
-
* 本接口(CloneSecurityGroup)用于根据存量的安全组,克隆创建出同样规则配置的安全组。默认仅克隆安全组及其规则信息,可通过入参开启克隆安全组标签信息。
|
|
2112
|
-
*/
|
|
2113
|
-
async CloneSecurityGroup(req, cb) {
|
|
2114
|
-
return this.request("CloneSecurityGroup", req, cb);
|
|
2115
|
-
}
|
|
2116
|
-
/**
|
|
2117
|
-
* 本接口(EnableVpcEndPointConnect)用于是否接受终端节点连接请求。
|
|
2118
|
-
*/
|
|
2119
|
-
async EnableVpcEndPointConnect(req, cb) {
|
|
2120
|
-
return this.request("EnableVpcEndPointConnect", req, cb);
|
|
2121
|
-
}
|
|
2122
|
-
/**
|
|
2123
|
-
* 本接口(CreateAndAttachNetworkInterface)用于创建弹性网卡并绑定云服务器。
|
|
2124
|
-
* 创建弹性网卡时可以指定内网IP,并且可以指定一个主IP,指定的内网IP必须在弹性网卡所在子网内,而且不能被占用。
|
|
2125
|
-
* 创建弹性网卡时可以指定需要申请的内网IP数量,系统会随机生成内网IP地址。
|
|
2126
|
-
* 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。
|
|
2127
|
-
* 创建弹性网卡同时可以绑定已有安全组。
|
|
2128
|
-
* 创建弹性网卡同时可以绑定标签, 应答里的标签列表代表添加成功的标签。
|
|
2129
|
-
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
2130
|
-
>
|
|
2131
|
-
*/
|
|
2132
|
-
async CreateAndAttachNetworkInterface(req, cb) {
|
|
2133
|
-
return this.request("CreateAndAttachNetworkInterface", req, cb);
|
|
2134
|
-
}
|
|
2135
|
-
/**
|
|
2136
|
-
* 本接口(ModifyVpcEndPointServiceWhiteList)用于修改终端节点服务白名单属性。
|
|
2137
|
-
*/
|
|
2138
|
-
async ModifyVpcEndPointServiceWhiteList(req, cb) {
|
|
2139
|
-
return this.request("ModifyVpcEndPointServiceWhiteList", req, cb);
|
|
2140
|
-
}
|
|
2141
|
-
/**
|
|
2142
|
-
* 本接口(DescribeNatGateways)用于查询 NAT 网关。
|
|
2143
|
-
*/
|
|
2144
|
-
async DescribeNatGateways(req, cb) {
|
|
2145
|
-
return this.request("DescribeNatGateways", req, cb);
|
|
2146
|
-
}
|
|
2147
|
-
/**
|
|
2148
|
-
* 重置高优路由表。
|
|
2149
|
-
*/
|
|
2150
|
-
async ResetHighPriorityRoutes(req, cb) {
|
|
2151
|
-
return this.request("ResetHighPriorityRoutes", req, cb);
|
|
2152
|
-
}
|
|
2153
|
-
/**
|
|
2154
|
-
* 本接口(DescribeVpcs)用于查询私有网络列表。
|
|
2155
|
-
*/
|
|
2156
|
-
async DescribeVpcs(req, cb) {
|
|
2157
|
-
return this.request("DescribeVpcs", req, cb);
|
|
2158
|
-
}
|
|
2159
|
-
/**
|
|
2160
|
-
* 本接口(MigrateNetworkInterface)用于弹性网卡迁移。
|
|
2161
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
2162
|
-
*/
|
|
2163
|
-
async MigrateNetworkInterface(req, cb) {
|
|
2164
|
-
return this.request("MigrateNetworkInterface", req, cb);
|
|
2165
|
-
}
|
|
2166
|
-
/**
|
|
2167
|
-
* 查询高优路由表。
|
|
2168
|
-
*/
|
|
2169
|
-
async DescribeHighPriorityRouteTables(req, cb) {
|
|
2170
|
-
return this.request("DescribeHighPriorityRouteTables", req, cb);
|
|
2171
|
-
}
|
|
2172
|
-
/**
|
|
2173
|
-
* 本接口(AcceptAttachCcnInstances)用于跨账号关联实例时,云联网所有者接受并同意关联操作。
|
|
2174
|
-
*/
|
|
2175
|
-
async AcceptAttachCcnInstances(req, cb) {
|
|
2176
|
-
return this.request("AcceptAttachCcnInstances", req, cb);
|
|
2177
|
-
}
|
|
2178
|
-
/**
|
|
2179
|
-
* 本接口(DescribeGatewayFlowQos)用于查询网关来访IP流控带宽。
|
|
2180
|
-
*/
|
|
2181
|
-
async DescribeGatewayFlowQos(req, cb) {
|
|
2182
|
-
return this.request("DescribeGatewayFlowQos", req, cb);
|
|
2183
|
-
}
|
|
2184
|
-
/**
|
|
2185
|
-
* 1. 该接口用于查询账户下的IPV6转换实例及其绑定的转换规则信息
|
|
2186
|
-
2. 支持过滤查询
|
|
2187
|
-
*/
|
|
2188
|
-
async DescribeIp6Translators(req, cb) {
|
|
2189
|
-
return this.request("DescribeIp6Translators", req, cb);
|
|
2190
|
-
}
|
|
2191
|
-
/**
|
|
2192
|
-
* 本接口(DisableGatewayFlowMonitor)用于关闭网关流量监控。
|
|
2193
|
-
*/
|
|
2194
|
-
async DisableGatewayFlowMonitor(req, cb) {
|
|
2195
|
-
return this.request("DisableGatewayFlowMonitor", req, cb);
|
|
2196
|
-
}
|
|
2197
|
-
/**
|
|
2198
|
-
* 本接口(CreateVpc)用于创建私有网络(VPC)。
|
|
2199
|
-
* 用户可以创建的最小网段子网掩码为28(有16个IP地址),10.0.0.0/12,172.16.0.0/12最大网段子网掩码为12(1,048,576个IP地址),192.168.0.0/16最大网段子网掩码为16(65,536个IP地址)如果需要规划VPC网段请参见[网络规划](https://cloud.tencent.com/document/product/215/30313)。
|
|
2200
|
-
* 同一个地域能创建的VPC资源个数也是有限制的,详见 <a href="https://cloud.tencent.com/doc/product/215/537" title="VPC使用限制">VPC使用限制</a>,如果需要申请更多资源,请提交[工单申请](https://console.cloud.tencent.com/workorder/category)。
|
|
2201
|
-
* 创建VPC同时可以绑定标签, 应答里的标签列表代表添加成功的标签。
|
|
2202
|
-
*/
|
|
2203
|
-
async CreateVpc(req, cb) {
|
|
2204
|
-
return this.request("CreateVpc", req, cb);
|
|
2205
|
-
}
|
|
2206
|
-
/**
|
|
2207
|
-
* 本接口(CheckAssistantCidr)用于检查辅助CIDR是否与存量路由、对等连接(对端VPC的CIDR)等资源存在冲突。如果存在重叠,则返回重叠的资源。
|
|
2208
|
-
* 检测辅助CIDR是否与当前VPC的主CIDR和辅助CIDR存在重叠。
|
|
2209
|
-
* 检测辅助CIDR是否与当前VPC的路由的目的端存在重叠。
|
|
2210
|
-
* 检测辅助CIDR是否与当前VPC的对等连接,对端VPC下的主CIDR或辅助CIDR存在重叠。
|
|
2211
|
-
*/
|
|
2212
|
-
async CheckAssistantCidr(req, cb) {
|
|
2213
|
-
return this.request("CheckAssistantCidr", req, cb);
|
|
2214
|
-
}
|
|
2215
|
-
/**
|
|
2216
|
-
* 本接口(ModifyNetworkAclAttribute)用于修改网络ACL属性。
|
|
2217
|
-
*/
|
|
2218
|
-
async ModifyNetworkAclAttribute(req, cb) {
|
|
2219
|
-
return this.request("ModifyNetworkAclAttribute", req, cb);
|
|
2220
|
-
}
|
|
2221
|
-
/**
|
|
2222
|
-
* 本接口(DisableSnapshotPolicies)用于停用快照策略。
|
|
2223
|
-
*/
|
|
2224
|
-
async DisableSnapshotPolicies(req, cb) {
|
|
2225
|
-
return this.request("DisableSnapshotPolicies", req, cb);
|
|
2226
|
-
}
|
|
2227
|
-
/**
|
|
2228
|
-
* 本接口(DeletePrivateNatGatewayTranslationNatRule)用于删除私网NAT网关源端转换规则
|
|
2229
|
-
*/
|
|
2230
|
-
async DeletePrivateNatGatewayTranslationNatRule(req, cb) {
|
|
2231
|
-
return this.request("DeletePrivateNatGatewayTranslationNatRule", req, cb);
|
|
2232
|
-
}
|
|
2233
|
-
/**
|
|
2234
|
-
* 本接口(DescribeDhcpIps)用于查询DhcpIp列表
|
|
2235
|
-
*/
|
|
2236
|
-
async DescribeDhcpIps(req, cb) {
|
|
2237
|
-
return this.request("DescribeDhcpIps", req, cb);
|
|
2238
|
-
}
|
|
2239
|
-
/**
|
|
2240
|
-
* 本接口 (AssociateAddress) 用于将[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)绑定到实例或弹性网卡的指定内网 IP 上。
|
|
2241
|
-
* 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。
|
|
2242
|
-
* 将 EIP 绑定到主网卡的主内网IP时,如主内网IP已绑定普通公网IP,必须先退还才能绑定EIP。
|
|
2243
|
-
* 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。
|
|
2244
|
-
* 将 EIP 绑定到内网型CLB实例的功能处于内测阶段,如需使用,请提交[内测申请](https://cloud.tencent.com/apply/p/4kxj7picqci)。
|
|
2245
|
-
* 将 EIP 绑定到NAT网关,请使用接口[AssociateNatGatewayAddress](https://cloud.tencent.com/document/product/215/36722)
|
|
2246
|
-
* EIP 如果欠费或被封堵,则不能被绑定。
|
|
2247
|
-
* 只有状态为 UNBIND 的 EIP 才能够被绑定。
|
|
2248
|
-
*/
|
|
2249
|
-
async AssociateAddress(req, cb) {
|
|
2250
|
-
return this.request("AssociateAddress", req, cb);
|
|
2251
|
-
}
|
|
2252
|
-
/**
|
|
2253
|
-
* 本接口(DeleteVpcPeeringConnection)用于删除私有网络对等连接。
|
|
2254
|
-
*/
|
|
2255
|
-
async DeleteVpcPeeringConnection(req, cb) {
|
|
2256
|
-
return this.request("DeleteVpcPeeringConnection", req, cb);
|
|
2257
|
-
}
|
|
2258
|
-
/**
|
|
2259
|
-
* 本接口(DescribeFlowLogs)用于查询获取流日志集合。
|
|
2260
|
-
*/
|
|
2261
|
-
async DescribeFlowLogs(req, cb) {
|
|
2262
|
-
return this.request("DescribeFlowLogs", req, cb);
|
|
2263
|
-
}
|
|
2264
|
-
/**
|
|
2265
|
-
* 本接口(DescribeDirectConnectGatewayCcnRoutes)用于查询专线网关的云联网路由(IDC网段)
|
|
2266
|
-
*/
|
|
2267
|
-
async DescribeDirectConnectGatewayCcnRoutes(req, cb) {
|
|
2268
|
-
return this.request("DescribeDirectConnectGatewayCcnRoutes", req, cb);
|
|
2269
|
-
}
|
|
2270
|
-
/**
|
|
2271
|
-
* 本接口(CreateNetworkAclEntries)用于增量添加网络ACL三元组的入站规则和出站规则。
|
|
2272
|
-
*/
|
|
2273
|
-
async CreateNetworkAclEntries(req, cb) {
|
|
2274
|
-
return this.request("CreateNetworkAclEntries", req, cb);
|
|
2275
|
-
}
|
|
2276
|
-
/**
|
|
2277
|
-
* 接口支持删除共享带宽包,包括[设备带宽包](https://cloud.tencent.com/document/product/684/15246#.E8.AE.BE.E5.A4.87.E5.B8.A6.E5.AE.BD.E5.8C.85)和[IP带宽包](https://cloud.tencent.com/document/product/684/15246#ip-.E5.B8.A6.E5.AE.BD.E5.8C.85)
|
|
2278
|
-
*/
|
|
2279
|
-
async DeleteBandwidthPackage(req, cb) {
|
|
2280
|
-
return this.request("DeleteBandwidthPackage", req, cb);
|
|
2281
|
-
}
|
|
2282
|
-
/**
|
|
2283
|
-
* 1. 该接口用于释放IPV6转换实例,支持批量。
|
|
2284
|
-
2. 如果IPV6转换实例建立有转换规则,会一并删除。
|
|
2285
|
-
*/
|
|
2286
|
-
async DeleteIp6Translators(req, cb) {
|
|
2287
|
-
return this.request("DeleteIp6Translators", req, cb);
|
|
2288
|
-
}
|
|
2289
|
-
/**
|
|
2290
|
-
* 本接口(DescribeRoutes)用于查询路由列表。
|
|
2291
|
-
*/
|
|
2292
|
-
async DescribeRoutes(req, cb) {
|
|
2293
|
-
return this.request("DescribeRoutes", req, cb);
|
|
2294
|
-
}
|
|
2295
|
-
/**
|
|
2296
|
-
* 本接口(DeleteVpnGatewayRoutes)用于删除VPN网关路由
|
|
2297
|
-
*/
|
|
2298
|
-
async DeleteVpnGatewayRoutes(req, cb) {
|
|
2299
|
-
return this.request("DeleteVpnGatewayRoutes", req, cb);
|
|
2300
|
-
}
|
|
2301
|
-
/**
|
|
2302
|
-
* 替换高优路由表条目信息。
|
|
2303
|
-
*/
|
|
2304
|
-
async ReplaceHighPriorityRoutes(req, cb) {
|
|
2305
|
-
return this.request("ReplaceHighPriorityRoutes", req, cb);
|
|
2306
|
-
}
|
|
2307
|
-
/**
|
|
2308
|
-
* 修改CCN关联实例属性,目前仅修改备注description
|
|
2309
|
-
*/
|
|
2310
|
-
async ModifyCcnAttachedInstancesAttribute(req, cb) {
|
|
2311
|
-
return this.request("ModifyCcnAttachedInstancesAttribute", req, cb);
|
|
2312
|
-
}
|
|
2313
|
-
/**
|
|
2314
|
-
* 本接口(DeleteNatGateway)用于删除NAT网关。
|
|
2315
|
-
删除 NAT 网关后,系统会自动删除路由表中包含此 NAT 网关的路由项,同时也会解绑弹性公网IP(EIP)。
|
|
2316
|
-
*/
|
|
2317
|
-
async DeleteNatGateway(req, cb) {
|
|
2318
|
-
return this.request("DeleteNatGateway", req, cb);
|
|
2319
|
-
}
|
|
2320
|
-
/**
|
|
2321
|
-
* 本接口(CreateNetDetect)用于创建网络探测。
|
|
2322
|
-
*/
|
|
2323
|
-
async CreateNetDetect(req, cb) {
|
|
2324
|
-
return this.request("CreateNetDetect", req, cb);
|
|
2325
|
-
}
|
|
2326
|
-
/**
|
|
2327
|
-
* 修改高优路由表属性
|
|
2328
|
-
*/
|
|
2329
|
-
async ModifyHighPriorityRouteTableAttribute(req, cb) {
|
|
2330
|
-
return this.request("ModifyHighPriorityRouteTableAttribute", req, cb);
|
|
2331
|
-
}
|
|
2332
|
-
/**
|
|
2333
|
-
* 本接口(ReleaseIPv6Addresses)用于释放一个或多个弹性公网IPv6(简称EIPv6)实例。
|
|
2334
|
-
|
|
2335
|
-
- 支持对已申请到的弹性公网 IPv6 实例进行释放操作,如需再次使用,请重新申请。
|
|
2336
|
-
- 只有状态为 UNBIND 的 EIPv6 实例才能进行释放操作。
|
|
2337
|
-
*/
|
|
2338
|
-
async ReleaseIPv6Addresses(req, cb) {
|
|
2339
|
-
return this.request("ReleaseIPv6Addresses", req, cb);
|
|
2340
|
-
}
|
|
2341
|
-
/**
|
|
2342
|
-
* 删除内网保留IP
|
|
2343
|
-
*/
|
|
2344
|
-
async DeleteReserveIpAddresses(req, cb) {
|
|
2345
|
-
return this.request("DeleteReserveIpAddresses", req, cb);
|
|
2346
|
-
}
|
|
2347
|
-
/**
|
|
2348
|
-
* 修改 IDC通道信息
|
|
2349
|
-
*/
|
|
2350
|
-
async ModifyCdcLDCXAttribute(req, cb) {
|
|
2351
|
-
return this.request("ModifyCdcLDCXAttribute", req, cb);
|
|
2352
|
-
}
|
|
2353
|
-
/**
|
|
2354
|
-
* 本接口(DeleteVpcEndPointService)用于删除终端节点服务。
|
|
2355
|
-
*/
|
|
2356
|
-
async DeleteVpcEndPointService(req, cb) {
|
|
2357
|
-
return this.request("DeleteVpcEndPointService", req, cb);
|
|
2358
|
-
}
|
|
2359
|
-
/**
|
|
2360
|
-
* 本接口(CreateNetworkAclQuintupleEntries)用于增量网络ACL五元组的入站规则和出站规则。
|
|
2361
|
-
*/
|
|
2362
|
-
async CreateNetworkAclQuintupleEntries(req, cb) {
|
|
2363
|
-
return this.request("CreateNetworkAclQuintupleEntries", req, cb);
|
|
2364
|
-
}
|
|
2365
|
-
/**
|
|
2366
|
-
* 本接口(DeleteVpnGateway)用于删除VPN网关。
|
|
2367
|
-
*/
|
|
2368
|
-
async DeleteVpnGateway(req, cb) {
|
|
2369
|
-
return this.request("DeleteVpnGateway", req, cb);
|
|
2370
|
-
}
|
|
2371
|
-
/**
|
|
2372
|
-
* 本接口(DescribeVpcEndPointServiceWhiteList)用于查询终端节点服务的服务白名单列表。
|
|
2373
|
-
*/
|
|
2374
|
-
async DescribeVpcEndPointServiceWhiteList(req, cb) {
|
|
2375
|
-
return this.request("DescribeVpcEndPointServiceWhiteList", req, cb);
|
|
2376
|
-
}
|
|
2377
|
-
/**
|
|
2378
|
-
* 接口用于调整[共享带宽包](https://cloud.tencent.com/document/product/684/15245)(BWP)带宽
|
|
2379
|
-
*/
|
|
2380
|
-
async ModifyBandwidthPackageBandwidth(req, cb) {
|
|
2381
|
-
return this.request("ModifyBandwidthPackageBandwidth", req, cb);
|
|
2382
|
-
}
|
|
2383
|
-
/**
|
|
2384
|
-
* 本接口(DescribePrivateNatGatewayLimits)用于查询可创建的私网NAT网关配额数量
|
|
2385
|
-
*/
|
|
2386
|
-
async DescribePrivateNatGatewayLimits(req, cb) {
|
|
2387
|
-
return this.request("DescribePrivateNatGatewayLimits", req, cb);
|
|
2388
|
-
}
|
|
2389
|
-
/**
|
|
2390
|
-
* 本接口(ModifySecurityGroupPolicies)用于重置安全组出站和入站规则(SecurityGroupPolicy)。
|
|
2391
|
-
|
|
2392
|
-
<ul>
|
|
2393
|
-
<li>该接口不支持自定义索引 PolicyIndex。</li>
|
|
2394
|
-
<li>在 SecurityGroupPolicySet 参数中:<ul>
|
|
2395
|
-
<li> 如果指定 SecurityGroupPolicySet.Version 为0, 表示清空所有规则,并忽略 Egress 和 Ingress。</li>
|
|
2396
|
-
<li> 如果指定 SecurityGroupPolicySet.Version 不为0, 在添加出站和入站规则(Egress 和 Ingress)时:<ul>
|
|
2397
|
-
<li>Protocol 字段支持输入 TCP, UDP, ICMP, ICMPV6, GRE, ALL。</li>
|
|
2398
|
-
<li>CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。在基础网络中,如果 CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。</li>
|
|
2399
|
-
<li>Ipv6CidrBlock 字段允许输入符合 IPv6 cidr 格式标准的任意字符串。在基础网络中,如果Ipv6CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。</li>
|
|
2400
|
-
<li>SecurityGroupId 字段允许输入与待修改的安全组位于相同项目中的安全组 ID,包括这个安全组 ID 本身,代表安全组下所有云服务器的内网 IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。</li>
|
|
2401
|
-
<li>Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受。</li>
|
|
2402
|
-
<li>Action 字段只允许输入 ACCEPT 或 DROP。</li>
|
|
2403
|
-
<li>CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate 四者是排他关系,不允许同时输入,Protocol + Port 和 ServiceTemplate 二者是排他关系,不允许同时输入。</li>
|
|
2404
|
-
</ul></li></ul></li>
|
|
2405
|
-
</ul>
|
|
2406
|
-
*/
|
|
2407
|
-
async ModifySecurityGroupPolicies(req, cb) {
|
|
2408
|
-
return this.request("ModifySecurityGroupPolicies", req, cb);
|
|
2409
|
-
}
|
|
2410
|
-
/**
|
|
2411
|
-
* 本接口( CreatePrivateNatGatewayTranslationAclRule)用于创建私网NAT网关源端转换访问控制规则
|
|
2412
|
-
*/
|
|
2413
|
-
async CreatePrivateNatGatewayTranslationAclRule(req, cb) {
|
|
2414
|
-
return this.request("CreatePrivateNatGatewayTranslationAclRule", req, cb);
|
|
2415
|
-
}
|
|
2416
|
-
/**
|
|
2417
|
-
* 本接口(DescribeSecurityGroupLimits)用于查询用户安全组配额。
|
|
2418
|
-
*/
|
|
2419
|
-
async DescribeSecurityGroupLimits(req, cb) {
|
|
2420
|
-
return this.request("DescribeSecurityGroupLimits", req, cb);
|
|
2421
|
-
}
|
|
2422
|
-
/**
|
|
2423
|
-
* 查询IDC使用的 VLAN
|
|
2424
|
-
*/
|
|
2425
|
-
async DescribeCdcUsedIdcVlan(req, cb) {
|
|
2426
|
-
return this.request("DescribeCdcUsedIdcVlan", req, cb);
|
|
2427
|
-
}
|
|
2428
|
-
/**
|
|
2429
|
-
* 本接口(DescribeSecurityGroupReferences)用于查询安全组被引用信息。
|
|
2430
|
-
*/
|
|
2431
|
-
async DescribeSecurityGroupReferences(req, cb) {
|
|
2432
|
-
return this.request("DescribeSecurityGroupReferences", req, cb);
|
|
2433
|
-
}
|
|
2434
|
-
/**
|
|
2435
|
-
* 本接口(ModifyIpv6AddressesAttribute)用于修改弹性网卡内网IPv6地址属性。
|
|
2436
|
-
*/
|
|
2437
|
-
async ModifyIpv6AddressesAttribute(req, cb) {
|
|
2438
|
-
return this.request("ModifyIpv6AddressesAttribute", req, cb);
|
|
2439
|
-
}
|
|
2440
|
-
/**
|
|
2441
|
-
* 本接口(DescribeDirectConnectGateways)用于查询专线网关。
|
|
2442
|
-
*/
|
|
2443
|
-
async DescribeDirectConnectGateways(req, cb) {
|
|
2444
|
-
return this.request("DescribeDirectConnectGateways", req, cb);
|
|
2445
|
-
}
|
|
2446
|
-
/**
|
|
2447
|
-
* 本接口(RenewVpnGateway)用于预付费(包年包月)VPN网关续费。目前只支持IPSEC网关。
|
|
2448
|
-
*/
|
|
2449
|
-
async RenewVpnGateway(req, cb) {
|
|
2450
|
-
return this.request("RenewVpnGateway", req, cb);
|
|
2451
|
-
}
|
|
2452
|
-
/**
|
|
2453
|
-
* 本接口(MigratePrivateIpAddress)用于弹性网卡内网IP迁移。
|
|
2454
|
-
* 该接口用于将一个内网IP从一个弹性网卡上迁移到另外一个弹性网卡,主IP地址不支持迁移。
|
|
2455
|
-
* 迁移前后的弹性网卡必须在同一个子网内。
|
|
2456
|
-
|
|
2457
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
2458
|
-
*/
|
|
2459
|
-
async MigratePrivateIpAddress(req, cb) {
|
|
2460
|
-
return this.request("MigratePrivateIpAddress", req, cb);
|
|
2461
|
-
}
|
|
2462
|
-
/**
|
|
2463
|
-
* 本接口(DetachSnapshotInstances)用于快照策略解关联实例。
|
|
2464
|
-
*/
|
|
2465
|
-
async DetachSnapshotInstances(req, cb) {
|
|
2466
|
-
return this.request("DetachSnapshotInstances", req, cb);
|
|
2467
|
-
}
|
|
2468
|
-
/**
|
|
2469
|
-
* 本接口(DescribeServiceTemplates)用于查询协议端口模板。
|
|
2470
|
-
*/
|
|
2471
|
-
async DescribeServiceTemplates(req, cb) {
|
|
2472
|
-
return this.request("DescribeServiceTemplates", req, cb);
|
|
2473
|
-
}
|
|
2474
|
-
/**
|
|
2475
|
-
* 本接口(HaVipDisassociateAddressIp)用于将高可用虚拟IP(HAVIP)已绑定的弹性公网IP(EIP)解除绑定。<br />
|
|
2476
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
2477
|
-
*/
|
|
2478
|
-
async HaVipDisassociateAddressIp(req, cb) {
|
|
2479
|
-
return this.request("HaVipDisassociateAddressIp", req, cb);
|
|
2480
|
-
}
|
|
2481
|
-
/**
|
|
2482
|
-
* 查询专线绑定NAT的路由
|
|
2483
|
-
*/
|
|
2484
|
-
async DescribeNatGatewayDirectConnectGatewayRoute(req, cb) {
|
|
2485
|
-
return this.request("DescribeNatGatewayDirectConnectGatewayRoute", req, cb);
|
|
2486
|
-
}
|
|
2487
|
-
/**
|
|
2488
|
-
* 本接口(UnlockCcns)用于解锁云联网实例
|
|
2489
|
-
|
|
2490
|
-
该接口一般用来解封禁出口限速的云联网实例, 目前联通内部运营系统通过云API调用, 因为出口限速无法按地域间解封禁, 只能按更粗的云联网实例粒度解封禁, 如果是地域间限速, 一般可以通过更细的限速实例粒度解封禁(UnlockCcnBandwidths)
|
|
2491
|
-
|
|
2492
|
-
如有需要, 可以封禁任意限速实例, 可接入到内部运营系统
|
|
2493
|
-
*/
|
|
2494
|
-
async UnlockCcns(req, cb) {
|
|
2495
|
-
return this.request("UnlockCcns", req, cb);
|
|
2496
|
-
}
|
|
2497
|
-
/**
|
|
2498
|
-
* 本接口(HaVipAssociateAddressIp)用于高可用虚拟IP(HAVIP)绑定弹性公网IP(EIP)。<br />
|
|
2499
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
2500
|
-
*/
|
|
2501
|
-
async HaVipAssociateAddressIp(req, cb) {
|
|
2502
|
-
return this.request("HaVipAssociateAddressIp", req, cb);
|
|
2503
|
-
}
|
|
2504
|
-
/**
|
|
2505
|
-
* 本接口(CheckDefaultSubnet)用于预判是否可建默认子网。
|
|
2506
|
-
*/
|
|
2507
|
-
async CheckDefaultSubnet(req, cb) {
|
|
2508
|
-
return this.request("CheckDefaultSubnet", req, cb);
|
|
2509
|
-
}
|
|
2510
|
-
/**
|
|
2511
|
-
* 本接口(DownloadVpnGatewaySslClientCert)用于下载SSL-VPN-CLIENT 客户端证书。
|
|
2512
|
-
*/
|
|
2513
|
-
async DownloadVpnGatewaySslClientCert(req, cb) {
|
|
2514
|
-
return this.request("DownloadVpnGatewaySslClientCert", req, cb);
|
|
2515
|
-
}
|
|
2516
|
-
/**
|
|
2517
|
-
* 本接口 (DescribeAddressQuota) 用于查询您账户的[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)在当前地域的配额信息。配额详情可参见 [EIP 产品简介](https://cloud.tencent.com/document/product/213/5733)。
|
|
2518
|
-
*/
|
|
2519
|
-
async DescribeAddressQuota(req, cb) {
|
|
2520
|
-
return this.request("DescribeAddressQuota", req, cb);
|
|
2521
|
-
}
|
|
2522
|
-
/**
|
|
2523
|
-
* 本接口(CreateCcn)用于创建云联网(CCN)。<br />
|
|
2524
|
-
* 创建云联网同时可以绑定标签, 应答里的标签列表代表添加成功的标签。
|
|
2525
|
-
* 每个账号能创建的云联网实例个数是有限的,详请参考产品文档。如果需要扩充请联系在线客服。
|
|
2526
|
-
*/
|
|
2527
|
-
async CreateCcn(req, cb) {
|
|
2528
|
-
return this.request("CreateCcn", req, cb);
|
|
2529
|
-
}
|
|
2530
|
-
/**
|
|
2531
|
-
* 本接口(DescribeSecurityGroups)用于查询安全组。
|
|
2532
|
-
*/
|
|
2533
|
-
async DescribeSecurityGroups(req, cb) {
|
|
2534
|
-
return this.request("DescribeSecurityGroups", req, cb);
|
|
2535
|
-
}
|
|
2536
|
-
/**
|
|
2537
|
-
* 本接口(CreateVpnGateway)用于创建VPN网关。
|
|
2538
|
-
*/
|
|
2539
|
-
async CreateVpnGateway(req, cb) {
|
|
2540
|
-
return this.request("CreateVpnGateway", req, cb);
|
|
2541
|
-
}
|
|
2542
|
-
/**
|
|
2543
|
-
* 本接口(DescribeSecurityGroupPolicies)用于查询安全组规则。
|
|
2544
|
-
*/
|
|
2545
|
-
async DescribeSecurityGroupPolicies(req, cb) {
|
|
2546
|
-
return this.request("DescribeSecurityGroupPolicies", req, cb);
|
|
2547
|
-
}
|
|
2548
|
-
/**
|
|
2549
|
-
* 本接口(DescribeAssistantCidr)用于查询辅助CIDR列表。
|
|
2550
|
-
*/
|
|
2551
|
-
async DescribeAssistantCidr(req, cb) {
|
|
2552
|
-
return this.request("DescribeAssistantCidr", req, cb);
|
|
2553
|
-
}
|
|
2554
|
-
/**
|
|
2555
|
-
* 本接口(DescribeClassicLinkInstances)用于查询私有网络和基础网络设备互通列表。
|
|
2556
|
-
*/
|
|
2557
|
-
async DescribeClassicLinkInstances(req, cb) {
|
|
2558
|
-
return this.request("DescribeClassicLinkInstances", req, cb);
|
|
2559
|
-
}
|
|
2560
|
-
/**
|
|
2561
|
-
* 本接口(ClearRouteTableSelectionPolicies)用于清空指定云联网的路由表选择策略。
|
|
2562
|
-
*/
|
|
2563
|
-
async ClearRouteTableSelectionPolicies(req, cb) {
|
|
2564
|
-
return this.request("ClearRouteTableSelectionPolicies", req, cb);
|
|
2565
|
-
}
|
|
2566
|
-
/**
|
|
2567
|
-
* EIP修改带宽询价
|
|
2568
|
-
*/
|
|
2569
|
-
async InquiryPriceModifyAddressesBandwidth(req, cb) {
|
|
2570
|
-
return this.request("InquiryPriceModifyAddressesBandwidth", req, cb);
|
|
2571
|
-
}
|
|
2572
|
-
/**
|
|
2573
|
-
* 本接口(AllocateIPv6Addresses)用于申请一个或多个弹性公网IPv6(简称EIPv6)实例。
|
|
2574
|
-
|
|
2575
|
-
- EIPv6 是您在腾讯云某个地域可以独立申请和持有的,固定不变的公网 IPv6 地址,提供与弹性公网 IPv4 一致的产品体验。
|
|
2576
|
-
- 通过弹性公网 IPv6,您可以快速将 EIPv6 实例绑定到云资源的内网 IPv6 地址上,实现为云资源快速开通 IPv6 公网带宽。
|
|
2577
|
-
- 您还可以按需将 EIPv6 实例绑定到其他云资源上,从而屏蔽实例故障。
|
|
2578
|
-
*/
|
|
2579
|
-
async AllocateIPv6Addresses(req, cb) {
|
|
2580
|
-
return this.request("AllocateIPv6Addresses", req, cb);
|
|
2581
|
-
}
|
|
2582
|
-
/**
|
|
2583
|
-
* 本接口(ModifyAssistantCidr)用于批量修改辅助CIDR,支持新增和删除。
|
|
2584
|
-
*/
|
|
2585
|
-
async ModifyAssistantCidr(req, cb) {
|
|
2586
|
-
return this.request("ModifyAssistantCidr", req, cb);
|
|
2587
|
-
}
|
|
2588
|
-
/**
|
|
2589
|
-
* 本接口(DeleteNatGatewayDestinationIpPortTranslationNatRule)用于删除NAT网关端口转发规则。
|
|
2590
|
-
*/
|
|
2591
|
-
async DeleteNatGatewayDestinationIpPortTranslationNatRule(req, cb) {
|
|
2592
|
-
return this.request("DeleteNatGatewayDestinationIpPortTranslationNatRule", req, cb);
|
|
2593
|
-
}
|
|
2594
|
-
/**
|
|
2595
|
-
* 本接口 (CreateTrafficPackages) 用于创建共享流量包。
|
|
2596
|
-
*/
|
|
2597
|
-
async CreateTrafficPackages(req, cb) {
|
|
2598
|
-
return this.request("CreateTrafficPackages", req, cb);
|
|
2599
|
-
}
|
|
2600
|
-
/**
|
|
2601
|
-
* 本接口(DescribeSnapshotFiles)用于查询快照文件。
|
|
2602
|
-
*/
|
|
2603
|
-
async DescribeSnapshotFiles(req, cb) {
|
|
2604
|
-
return this.request("DescribeSnapshotFiles", req, cb);
|
|
2605
|
-
}
|
|
2606
|
-
/**
|
|
2607
|
-
* 本接口(CreateDhcpIp)用于创建DhcpIp。
|
|
2608
|
-
*/
|
|
2609
|
-
async CreateDhcpIp(req, cb) {
|
|
2610
|
-
return this.request("CreateDhcpIp", req, cb);
|
|
2611
|
-
}
|
|
2612
|
-
/**
|
|
2613
|
-
* 查询虚拟连接
|
|
2614
|
-
*/
|
|
2615
|
-
async DescribeCdcNetPlanes(req, cb) {
|
|
2616
|
-
return this.request("DescribeCdcNetPlanes", req, cb);
|
|
2617
|
-
}
|
|
2618
|
-
/**
|
|
2619
|
-
* 本接口(ResumeSnapshotInstance)用于根据备份内容恢复安全组策略。
|
|
2620
|
-
*/
|
|
2621
|
-
async ResumeSnapshotInstance(req, cb) {
|
|
2622
|
-
return this.request("ResumeSnapshotInstance", req, cb);
|
|
2623
|
-
}
|
|
2624
|
-
/**
|
|
2625
|
-
* 本接口(SetVpnGatewaysRenewFlag)用于设置VPNGW续费标记。
|
|
2626
|
-
*/
|
|
2627
|
-
async SetVpnGatewaysRenewFlag(req, cb) {
|
|
2628
|
-
return this.request("SetVpnGatewaysRenewFlag", req, cb);
|
|
2629
|
-
}
|
|
2630
|
-
/**
|
|
2631
|
-
* 本接口(DescribeSnapshotPolicies)用于查询快照策略。
|
|
2632
|
-
*/
|
|
2633
|
-
async DescribeSnapshotPolicies(req, cb) {
|
|
2634
|
-
return this.request("DescribeSnapshotPolicies", req, cb);
|
|
2635
|
-
}
|
|
2636
|
-
/**
|
|
2637
|
-
* 本接口(ModifyIp6AddressesBandwidth)用于调整传统弹性公网 IPv6 实例的带宽上限。
|
|
2638
|
-
|
|
2639
|
-
- 仅支持对传统弹性公网 IPv6 实例的带宽上限进行调整。
|
|
2640
|
-
- 如需调整弹性公网 IPv6 实例的带宽上限,请使用 ModifyIPv6AddressesBandwidth 接口。
|
|
2641
|
-
*/
|
|
2642
|
-
async ModifyIp6AddressesBandwidth(req, cb) {
|
|
2643
|
-
return this.request("ModifyIp6AddressesBandwidth", req, cb);
|
|
2644
|
-
}
|
|
2645
|
-
/**
|
|
2646
|
-
* 本接口(CreateVpcEndPoint)用于创建终端节点。
|
|
2647
|
-
*/
|
|
2648
|
-
async CreateVpcEndPoint(req, cb) {
|
|
2649
|
-
return this.request("CreateVpcEndPoint", req, cb);
|
|
2650
|
-
}
|
|
2651
|
-
/**
|
|
2652
|
-
* 本接口(CreateSecurityGroupWithPolicies)用于创建新的安全组(SecurityGroup),并且可以同时添加安全组规则(SecurityGroupPolicy)。
|
|
2653
|
-
* 每个账户下每个地域的每个项目的<a href="https://cloud.tencent.com/document/product/213/12453">安全组数量限制</a>。
|
|
2654
|
-
* 新建的安全组的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用<a href="https://cloud.tencent.com/document/product/215/15807">CreateSecurityGroupPolicies</a>
|
|
2655
|
-
将安全组的规则设置为需要的规则。
|
|
2656
|
-
|
|
2657
|
-
安全组规则说明:
|
|
2658
|
-
* Version安全组规则版本号,用户每次更新安全规则版本会自动加1,防止您更新的路由规则已过期,不填不考虑冲突。
|
|
2659
|
-
* Protocol字段支持输入TCP, UDP, ICMP, ICMPV6, GRE, ALL。
|
|
2660
|
-
* CidrBlock字段允许输入符合cidr格式标准的任意字符串。(展开)在基础网络中,如果CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
|
|
2661
|
-
* Ipv6CidrBlock字段允许输入符合IPv6 cidr格式标准的任意字符串。(展开)在基础网络中,如果Ipv6CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
|
|
2662
|
-
* SecurityGroupId字段允许输入与待修改的安全组位于相同项目中的安全组ID,包括这个安全组ID本身,代表安全组下所有云服务器的内网IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。
|
|
2663
|
-
* Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受,即Protocol字段不是TCP或UDP时,Protocol和Port是排他关系,不允许同时输入,否则会接口报错。
|
|
2664
|
-
* Action字段只允许输入ACCEPT或DROP。
|
|
2665
|
-
* CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate四者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。
|
|
2666
|
-
* 一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。
|
|
2667
|
-
*/
|
|
2668
|
-
async CreateSecurityGroupWithPolicies(req, cb) {
|
|
2669
|
-
return this.request("CreateSecurityGroupWithPolicies", req, cb);
|
|
2670
|
-
}
|
|
2671
|
-
/**
|
|
2672
|
-
* 本接口(ReturnNormalAddresses)用于解绑并释放普通公网IP。
|
|
2673
|
-
为完善公网IP的访问管理功能,此接口于2022年12月15日升级优化鉴权功能,升级后子用户调用此接口需向主账号申请CAM策略授权,否则可能调用失败。您可以提前为子账号配置操作授权,详情见[授权指南](https://cloud.tencent.com/document/product/598/34545)。
|
|
2674
|
-
*/
|
|
2675
|
-
async ReturnNormalAddresses(req, cb) {
|
|
2676
|
-
return this.request("ReturnNormalAddresses", req, cb);
|
|
2677
|
-
}
|
|
2678
|
-
/**
|
|
2679
|
-
* 本接口(ModifyVpcAttribute)用于修改私有网络(VPC)的相关属性。
|
|
2680
|
-
*/
|
|
2681
|
-
async ModifyVpcAttribute(req, cb) {
|
|
2682
|
-
return this.request("ModifyVpcAttribute", req, cb);
|
|
2683
|
-
}
|
|
2684
|
-
/**
|
|
2685
|
-
* 本接口(DeletePrivateNatGateway)用于删除私网NAT网关。
|
|
2686
|
-
*/
|
|
2687
|
-
async DeletePrivateNatGateway(req, cb) {
|
|
2688
|
-
return this.request("DeletePrivateNatGateway", req, cb);
|
|
2689
|
-
}
|
|
2690
|
-
/**
|
|
2691
|
-
* 创建路由型VPN网关的目的路由
|
|
2692
|
-
*/
|
|
2693
|
-
async CreateVpnGatewayRoutes(req, cb) {
|
|
2694
|
-
return this.request("CreateVpnGatewayRoutes", req, cb);
|
|
33
|
+
async DescribeNatsEipsInternal(req, cb) {
|
|
34
|
+
return this.request("DescribeNatsEipsInternal", req, cb);
|
|
2695
35
|
}
|
|
2696
36
|
}
|
|
2697
37
|
exports.Client = Client;
|