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