tencentcloud-sdk-ecm 3.0.609 → 3.0.611

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3945972352855d198dc6617e9f213ff5b2a35400
4
- data.tar.gz: 9f3461cb323726904866534a854e78545982f459
3
+ metadata.gz: a547759c93c76bfac49cc5468a1980e51dc575c3
4
+ data.tar.gz: a1bdb1ad944cffa180047098118a80a9ece01fd6
5
5
  SHA512:
6
- metadata.gz: 6e04b1b0f1e90000e78e5316d42bc86eee32c1b2622830ecc2af0782738d23cf153ada1091dddc80fc9249362fe91b0cbaae4a9516e8a0094eb3a799c23bdbb1
7
- data.tar.gz: af022e660e16211ea30dc75a5d45bd8c5e6f69c7fe68a456bed7baf99ac3f227622286f2f34f9090c313a7e61c4d2f93527eca1fba331bfd95781a145dcbc112
6
+ metadata.gz: a5a8910199bc60dfa63313761a6ae53228facbd690132b29a50bec484e9a28444c1dd9a329a7e19f4484859c3c95b30823348e45adab4f0af6e94b9702e3b19a
7
+ data.tar.gz: d13eb15b9397cfcaedef3d3e8d67672d9db2a719f3d4cee883f090b77689a2f6fa6d7a0f2dab9c9e2c2face60c9876cf6db65a756fe74dc4d898d856d3864574
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.609
1
+ 3.0.611
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 本接口用于给IPv6地址分配公网带宽
57
+
58
+ # @param request: Request instance for AllocateIpv6AddressesBandwidth.
59
+ # @type request: :class:`Tencentcloud::ecm::V20190719::AllocateIpv6AddressesBandwidthRequest`
60
+ # @rtype: :class:`Tencentcloud::ecm::V20190719::AllocateIpv6AddressesBandwidthResponse`
61
+ def AllocateIpv6AddressesBandwidth(request)
62
+ body = send_request('AllocateIpv6AddressesBandwidth', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = AllocateIpv6AddressesBandwidthResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
56
80
  # 本接口(AssignIpv6Addresses)用于弹性网卡申请IPv6地址。
57
81
 
58
82
  # @param request: Request instance for AssignIpv6Addresses.
@@ -77,6 +101,86 @@ module TencentCloud
77
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
102
  end
79
103
 
104
+ # 本接口(AssignIpv6CidrBlock)用于分配IPv6网段。
105
+
106
+ # 使用本接口前,您需要已有VPC实例,如果没有可通过接口CreateVpc创建。
107
+
108
+ # @param request: Request instance for AssignIpv6CidrBlock.
109
+ # @type request: :class:`Tencentcloud::ecm::V20190719::AssignIpv6CidrBlockRequest`
110
+ # @rtype: :class:`Tencentcloud::ecm::V20190719::AssignIpv6CidrBlockResponse`
111
+ def AssignIpv6CidrBlock(request)
112
+ body = send_request('AssignIpv6CidrBlock', request.serialize)
113
+ response = JSON.parse(body)
114
+ if response['Response'].key?('Error') == false
115
+ model = AssignIpv6CidrBlockResponse.new
116
+ model.deserialize(response['Response'])
117
+ model
118
+ else
119
+ code = response['Response']['Error']['Code']
120
+ message = response['Response']['Error']['Message']
121
+ reqid = response['Response']['RequestId']
122
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
123
+ end
124
+ rescue TencentCloud::Common::TencentCloudSDKException => e
125
+ raise e
126
+ rescue StandardError => e
127
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
128
+ end
129
+
130
+ # 本接口(AssignIpv6CidrBlocks)用于分配IPv6网段。
131
+
132
+ # 使用本接口前,您需要已有VPC实例,如果没有可通过接口CreateVpc创建。
133
+ # 每个VPC 可以同时支持运营商网络('CMCC'-中国移动, 'CTCC'-中国电信, 'CUCC'-中国联调)。本接口可以同时申请不同类型的IPv6网段
134
+
135
+ # @param request: Request instance for AssignIpv6CidrBlocks.
136
+ # @type request: :class:`Tencentcloud::ecm::V20190719::AssignIpv6CidrBlocksRequest`
137
+ # @rtype: :class:`Tencentcloud::ecm::V20190719::AssignIpv6CidrBlocksResponse`
138
+ def AssignIpv6CidrBlocks(request)
139
+ body = send_request('AssignIpv6CidrBlocks', request.serialize)
140
+ response = JSON.parse(body)
141
+ if response['Response'].key?('Error') == false
142
+ model = AssignIpv6CidrBlocksResponse.new
143
+ model.deserialize(response['Response'])
144
+ model
145
+ else
146
+ code = response['Response']['Error']['Code']
147
+ message = response['Response']['Error']['Message']
148
+ reqid = response['Response']['RequestId']
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
150
+ end
151
+ rescue TencentCloud::Common::TencentCloudSDKException => e
152
+ raise e
153
+ rescue StandardError => e
154
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
155
+ end
156
+
157
+ # 本接口(AssignIpv6SubnetCidrBlock)用于分配IPv6子网段。
158
+
159
+ # 给子网分配 IPv6 网段,要求子网所属 VPC 已获得 IPv6 网段。如果尚未分配,请先通过接口 AssignIpv6CidrBlock 给子网所属 VPC 分配一个 IPv6 网段。否则无法分配 IPv6 子网段。
160
+ # 每个子网只能分配一个IPv6网段。
161
+
162
+ # @param request: Request instance for AssignIpv6SubnetCidrBlock.
163
+ # @type request: :class:`Tencentcloud::ecm::V20190719::AssignIpv6SubnetCidrBlockRequest`
164
+ # @rtype: :class:`Tencentcloud::ecm::V20190719::AssignIpv6SubnetCidrBlockResponse`
165
+ def AssignIpv6SubnetCidrBlock(request)
166
+ body = send_request('AssignIpv6SubnetCidrBlock', request.serialize)
167
+ response = JSON.parse(body)
168
+ if response['Response'].key?('Error') == false
169
+ model = AssignIpv6SubnetCidrBlockResponse.new
170
+ model.deserialize(response['Response'])
171
+ model
172
+ else
173
+ code = response['Response']['Error']['Code']
174
+ message = response['Response']['Error']['Message']
175
+ reqid = response['Response']['RequestId']
176
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
177
+ end
178
+ rescue TencentCloud::Common::TencentCloudSDKException => e
179
+ raise e
180
+ rescue StandardError => e
181
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
182
+ end
183
+
80
184
  # 弹性网卡申请内网 IP
81
185
 
82
186
  # @param request: Request instance for AssignPrivateIpAddresses.
@@ -1596,6 +1700,30 @@ module TencentCloud
1596
1700
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1597
1701
  end
1598
1702
 
1703
+ # 该接口(DescribeRegionIpv6Addresses)用于查询ECM地域之下的IPV6地址信息。
1704
+
1705
+ # @param request: Request instance for DescribeRegionIpv6Addresses.
1706
+ # @type request: :class:`Tencentcloud::ecm::V20190719::DescribeRegionIpv6AddressesRequest`
1707
+ # @rtype: :class:`Tencentcloud::ecm::V20190719::DescribeRegionIpv6AddressesResponse`
1708
+ def DescribeRegionIpv6Addresses(request)
1709
+ body = send_request('DescribeRegionIpv6Addresses', request.serialize)
1710
+ response = JSON.parse(body)
1711
+ if response['Response'].key?('Error') == false
1712
+ model = DescribeRegionIpv6AddressesResponse.new
1713
+ model.deserialize(response['Response'])
1714
+ model
1715
+ else
1716
+ code = response['Response']['Error']['Code']
1717
+ message = response['Response']['Error']['Message']
1718
+ reqid = response['Response']['RequestId']
1719
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1720
+ end
1721
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1722
+ raise e
1723
+ rescue StandardError => e
1724
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1725
+ end
1726
+
1599
1727
  # 查询自定义路由策略与云联网路由策略冲突列表
1600
1728
 
1601
1729
  # @param request: Request instance for DescribeRouteConflicts.
@@ -2351,6 +2479,30 @@ module TencentCloud
2351
2479
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2352
2480
  end
2353
2481
 
2482
+ # 该接口(ModifyIpv6AddressesBandwidth)用于修改IPV6地址访问internet的带宽
2483
+
2484
+ # @param request: Request instance for ModifyIpv6AddressesBandwidth.
2485
+ # @type request: :class:`Tencentcloud::ecm::V20190719::ModifyIpv6AddressesBandwidthRequest`
2486
+ # @rtype: :class:`Tencentcloud::ecm::V20190719::ModifyIpv6AddressesBandwidthResponse`
2487
+ def ModifyIpv6AddressesBandwidth(request)
2488
+ body = send_request('ModifyIpv6AddressesBandwidth', request.serialize)
2489
+ response = JSON.parse(body)
2490
+ if response['Response'].key?('Error') == false
2491
+ model = ModifyIpv6AddressesBandwidthResponse.new
2492
+ model.deserialize(response['Response'])
2493
+ model
2494
+ else
2495
+ code = response['Response']['Error']['Code']
2496
+ message = response['Response']['Error']['Message']
2497
+ reqid = response['Response']['RequestId']
2498
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2499
+ end
2500
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2501
+ raise e
2502
+ rescue StandardError => e
2503
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2504
+ end
2505
+
2354
2506
  # 修改负载均衡监听器属性。
2355
2507
 
2356
2508
  # @param request: Request instance for ModifyListener.
@@ -2759,6 +2911,30 @@ module TencentCloud
2759
2911
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2760
2912
  end
2761
2913
 
2914
+ # 查询私有网络下Vpc、子网、havip等异步任务请求结果
2915
+
2916
+ # @param request: Request instance for QueryVpcTaskResult.
2917
+ # @type request: :class:`Tencentcloud::ecm::V20190719::QueryVpcTaskResultRequest`
2918
+ # @rtype: :class:`Tencentcloud::ecm::V20190719::QueryVpcTaskResultResponse`
2919
+ def QueryVpcTaskResult(request)
2920
+ body = send_request('QueryVpcTaskResult', request.serialize)
2921
+ response = JSON.parse(body)
2922
+ if response['Response'].key?('Error') == false
2923
+ model = QueryVpcTaskResultResponse.new
2924
+ model.deserialize(response['Response'])
2925
+ model
2926
+ else
2927
+ code = response['Response']['Error']['Code']
2928
+ message = response['Response']['Error']['Message']
2929
+ reqid = response['Response']['RequestId']
2930
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2931
+ end
2932
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2933
+ raise e
2934
+ rescue StandardError => e
2935
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2936
+ end
2937
+
2762
2938
  # 只有状态为RUNNING的实例才可以进行此操作;接口调用成功时,实例会进入REBOOTING状态;重启实例成功时,实例会进入RUNNING状态;支持强制重启,强制重启的效果等同于关闭物理计算机的电源开关再重新启动。强制重启可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常重启时使用。
2763
2939
 
2764
2940
  # @param request: Request instance for RebootInstances.
@@ -2833,6 +3009,30 @@ module TencentCloud
2833
3009
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2834
3010
  end
2835
3011
 
3012
+ # 该接口用于给弹性公网IPv6地址释放带宽。
3013
+
3014
+ # @param request: Request instance for ReleaseIpv6AddressesBandwidth.
3015
+ # @type request: :class:`Tencentcloud::ecm::V20190719::ReleaseIpv6AddressesBandwidthRequest`
3016
+ # @rtype: :class:`Tencentcloud::ecm::V20190719::ReleaseIpv6AddressesBandwidthResponse`
3017
+ def ReleaseIpv6AddressesBandwidth(request)
3018
+ body = send_request('ReleaseIpv6AddressesBandwidth', request.serialize)
3019
+ response = JSON.parse(body)
3020
+ if response['Response'].key?('Error') == false
3021
+ model = ReleaseIpv6AddressesBandwidthResponse.new
3022
+ model.deserialize(response['Response'])
3023
+ model
3024
+ else
3025
+ code = response['Response']['Error']['Code']
3026
+ message = response['Response']['Error']['Message']
3027
+ reqid = response['Response']['RequestId']
3028
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3029
+ end
3030
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3031
+ raise e
3032
+ rescue StandardError => e
3033
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3034
+ end
3035
+
2836
3036
  # 弹性网卡退还内网 IP。
2837
3037
  # 退还弹性网卡上的辅助内网IP,接口自动解关联弹性公网 IP。不能退还弹性网卡的主内网IP。
2838
3038
 
@@ -3200,6 +3400,31 @@ module TencentCloud
3200
3400
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3201
3401
  end
3202
3402
 
3403
+ # 本接口(UnassignIpv6SubnetCidrBlock)用于释放IPv6子网段。
3404
+ # 子网段如果还有IP占用且未回收,则子网段无法释放。
3405
+
3406
+ # @param request: Request instance for UnassignIpv6SubnetCidrBlock.
3407
+ # @type request: :class:`Tencentcloud::ecm::V20190719::UnassignIpv6SubnetCidrBlockRequest`
3408
+ # @rtype: :class:`Tencentcloud::ecm::V20190719::UnassignIpv6SubnetCidrBlockResponse`
3409
+ def UnassignIpv6SubnetCidrBlock(request)
3410
+ body = send_request('UnassignIpv6SubnetCidrBlock', request.serialize)
3411
+ response = JSON.parse(body)
3412
+ if response['Response'].key?('Error') == false
3413
+ model = UnassignIpv6SubnetCidrBlockResponse.new
3414
+ model.deserialize(response['Response'])
3415
+ model
3416
+ else
3417
+ code = response['Response']['Error']['Code']
3418
+ message = response['Response']['Error']['Message']
3419
+ reqid = response['Response']['RequestId']
3420
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3421
+ end
3422
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3423
+ raise e
3424
+ rescue StandardError => e
3425
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3426
+ end
3427
+
3203
3428
 
3204
3429
  end
3205
3430
  end
@@ -233,6 +233,59 @@ module TencentCloud
233
233
  end
234
234
  end
235
235
 
236
+ # AllocateIpv6AddressesBandwidth请求参数结构体
237
+ class AllocateIpv6AddressesBandwidthRequest < TencentCloud::Common::AbstractModel
238
+ # @param EcmRegion: ECM 地域。
239
+ # @type EcmRegion: String
240
+ # @param Ipv6Addresses: 需要开通公网访问能力的IPV6地址。
241
+ # @type Ipv6Addresses: Array
242
+ # @param InternetMaxBandwidthOut: 带宽,单位Mbps,默认是1Mbps。
243
+ # @type InternetMaxBandwidthOut: Integer
244
+ # @param InternetChargeType: 网络计费模式,当前支持 BANDWIDTH_PACKAGE。
245
+ # @type InternetChargeType: String
246
+
247
+ attr_accessor :EcmRegion, :Ipv6Addresses, :InternetMaxBandwidthOut, :InternetChargeType
248
+
249
+ def initialize(ecmregion=nil, ipv6addresses=nil, internetmaxbandwidthout=nil, internetchargetype=nil)
250
+ @EcmRegion = ecmregion
251
+ @Ipv6Addresses = ipv6addresses
252
+ @InternetMaxBandwidthOut = internetmaxbandwidthout
253
+ @InternetChargeType = internetchargetype
254
+ end
255
+
256
+ def deserialize(params)
257
+ @EcmRegion = params['EcmRegion']
258
+ @Ipv6Addresses = params['Ipv6Addresses']
259
+ @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
260
+ @InternetChargeType = params['InternetChargeType']
261
+ end
262
+ end
263
+
264
+ # AllocateIpv6AddressesBandwidth返回参数结构体
265
+ class AllocateIpv6AddressesBandwidthResponse < TencentCloud::Common::AbstractModel
266
+ # @param AddressSet: 弹性公网 IPV6 的唯一 ID 列表。
267
+ # 注意:此字段可能返回 null,表示取不到有效值。
268
+ # @type AddressSet: Array
269
+ # @param TaskId: 异步任务TaskId。
270
+ # @type TaskId: String
271
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
272
+ # @type RequestId: String
273
+
274
+ attr_accessor :AddressSet, :TaskId, :RequestId
275
+
276
+ def initialize(addressset=nil, taskid=nil, requestid=nil)
277
+ @AddressSet = addressset
278
+ @TaskId = taskid
279
+ @RequestId = requestid
280
+ end
281
+
282
+ def deserialize(params)
283
+ @AddressSet = params['AddressSet']
284
+ @TaskId = params['TaskId']
285
+ @RequestId = params['RequestId']
286
+ end
287
+ end
288
+
236
289
  # 区域信息
237
290
  class Area < TencentCloud::Common::AbstractModel
238
291
  # @param AreaId: 区域ID
@@ -334,6 +387,166 @@ module TencentCloud
334
387
  end
335
388
  end
336
389
 
390
+ # AssignIpv6CidrBlock请求参数结构体
391
+ class AssignIpv6CidrBlockRequest < TencentCloud::Common::AbstractModel
392
+ # @param VpcId: `VPC`实例`ID`,形如:`vpc-f49l6u0z`。
393
+ # @type VpcId: String
394
+ # @param ISPType: 网络运营商类型 'CMCC'-中国移动, 'CTCC'-中国电信, 'CUCC'-中国联调
395
+ # @type ISPType: String
396
+ # @param EcmRegion: ECM地域。
397
+ # @type EcmRegion: String
398
+
399
+ attr_accessor :VpcId, :ISPType, :EcmRegion
400
+
401
+ def initialize(vpcid=nil, isptype=nil, ecmregion=nil)
402
+ @VpcId = vpcid
403
+ @ISPType = isptype
404
+ @EcmRegion = ecmregion
405
+ end
406
+
407
+ def deserialize(params)
408
+ @VpcId = params['VpcId']
409
+ @ISPType = params['ISPType']
410
+ @EcmRegion = params['EcmRegion']
411
+ end
412
+ end
413
+
414
+ # AssignIpv6CidrBlock返回参数结构体
415
+ class AssignIpv6CidrBlockResponse < TencentCloud::Common::AbstractModel
416
+ # @param Ipv6CidrBlock: 分配的 `IPv6` 网段。形如:`3402:4e00:20:1000::/56`。
417
+ # @type Ipv6CidrBlock: String
418
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
419
+ # @type RequestId: String
420
+
421
+ attr_accessor :Ipv6CidrBlock, :RequestId
422
+
423
+ def initialize(ipv6cidrblock=nil, requestid=nil)
424
+ @Ipv6CidrBlock = ipv6cidrblock
425
+ @RequestId = requestid
426
+ end
427
+
428
+ def deserialize(params)
429
+ @Ipv6CidrBlock = params['Ipv6CidrBlock']
430
+ @RequestId = params['RequestId']
431
+ end
432
+ end
433
+
434
+ # AssignIpv6CidrBlocks请求参数结构体
435
+ class AssignIpv6CidrBlocksRequest < TencentCloud::Common::AbstractModel
436
+ # @param VpcId: `VPC`实例`ID`,形如:`vpc-f49l6u0z`。
437
+ # @type VpcId: String
438
+ # @param ISPTypes: 网络运营商类型 取值范围:'CMCC'-中国移动, 'CTCC'-中国电信, 'CUCC'-中国联调
439
+ # @type ISPTypes: Array
440
+ # @param EcmRegion: ECM地域。
441
+ # @type EcmRegion: String
442
+
443
+ attr_accessor :VpcId, :ISPTypes, :EcmRegion
444
+
445
+ def initialize(vpcid=nil, isptypes=nil, ecmregion=nil)
446
+ @VpcId = vpcid
447
+ @ISPTypes = isptypes
448
+ @EcmRegion = ecmregion
449
+ end
450
+
451
+ def deserialize(params)
452
+ @VpcId = params['VpcId']
453
+ unless params['ISPTypes'].nil?
454
+ @ISPTypes = []
455
+ params['ISPTypes'].each do |i|
456
+ isptypeitem_tmp = ISPTypeItem.new
457
+ isptypeitem_tmp.deserialize(i)
458
+ @ISPTypes << isptypeitem_tmp
459
+ end
460
+ end
461
+ @EcmRegion = params['EcmRegion']
462
+ end
463
+ end
464
+
465
+ # AssignIpv6CidrBlocks返回参数结构体
466
+ class AssignIpv6CidrBlocksResponse < TencentCloud::Common::AbstractModel
467
+ # @param IPv6CidrBlockSet: IPv6网段和所属运营商。
468
+ # @type IPv6CidrBlockSet: Array
469
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
470
+ # @type RequestId: String
471
+
472
+ attr_accessor :IPv6CidrBlockSet, :RequestId
473
+
474
+ def initialize(ipv6cidrblockset=nil, requestid=nil)
475
+ @IPv6CidrBlockSet = ipv6cidrblockset
476
+ @RequestId = requestid
477
+ end
478
+
479
+ def deserialize(params)
480
+ unless params['IPv6CidrBlockSet'].nil?
481
+ @IPv6CidrBlockSet = []
482
+ params['IPv6CidrBlockSet'].each do |i|
483
+ ispipv6cidrblock_tmp = ISPIPv6CidrBlock.new
484
+ ispipv6cidrblock_tmp.deserialize(i)
485
+ @IPv6CidrBlockSet << ispipv6cidrblock_tmp
486
+ end
487
+ end
488
+ @RequestId = params['RequestId']
489
+ end
490
+ end
491
+
492
+ # AssignIpv6SubnetCidrBlock请求参数结构体
493
+ class AssignIpv6SubnetCidrBlockRequest < TencentCloud::Common::AbstractModel
494
+ # @param VpcId: 子网所在私有网络`ID`。形如:`vpc-f49l6u0z`。
495
+ # @type VpcId: String
496
+ # @param Ipv6SubnetCidrBlocks: 分配 `IPv6` 子网段列表。
497
+ # @type Ipv6SubnetCidrBlocks: Array
498
+ # @param EcmRegion: ECM地域。
499
+ # @type EcmRegion: String
500
+
501
+ attr_accessor :VpcId, :Ipv6SubnetCidrBlocks, :EcmRegion
502
+
503
+ def initialize(vpcid=nil, ipv6subnetcidrblocks=nil, ecmregion=nil)
504
+ @VpcId = vpcid
505
+ @Ipv6SubnetCidrBlocks = ipv6subnetcidrblocks
506
+ @EcmRegion = ecmregion
507
+ end
508
+
509
+ def deserialize(params)
510
+ @VpcId = params['VpcId']
511
+ unless params['Ipv6SubnetCidrBlocks'].nil?
512
+ @Ipv6SubnetCidrBlocks = []
513
+ params['Ipv6SubnetCidrBlocks'].each do |i|
514
+ ipv6subnetcidrblock_tmp = Ipv6SubnetCidrBlock.new
515
+ ipv6subnetcidrblock_tmp.deserialize(i)
516
+ @Ipv6SubnetCidrBlocks << ipv6subnetcidrblock_tmp
517
+ end
518
+ end
519
+ @EcmRegion = params['EcmRegion']
520
+ end
521
+ end
522
+
523
+ # AssignIpv6SubnetCidrBlock返回参数结构体
524
+ class AssignIpv6SubnetCidrBlockResponse < TencentCloud::Common::AbstractModel
525
+ # @param Ipv6SubnetCidrBlockSet: 分配 `IPv6` 子网段列表。
526
+ # @type Ipv6SubnetCidrBlockSet: Array
527
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
528
+ # @type RequestId: String
529
+
530
+ attr_accessor :Ipv6SubnetCidrBlockSet, :RequestId
531
+
532
+ def initialize(ipv6subnetcidrblockset=nil, requestid=nil)
533
+ @Ipv6SubnetCidrBlockSet = ipv6subnetcidrblockset
534
+ @RequestId = requestid
535
+ end
536
+
537
+ def deserialize(params)
538
+ unless params['Ipv6SubnetCidrBlockSet'].nil?
539
+ @Ipv6SubnetCidrBlockSet = []
540
+ params['Ipv6SubnetCidrBlockSet'].each do |i|
541
+ ipv6subnetcidrblock_tmp = Ipv6SubnetCidrBlock.new
542
+ ipv6subnetcidrblock_tmp.deserialize(i)
543
+ @Ipv6SubnetCidrBlockSet << ipv6subnetcidrblock_tmp
544
+ end
545
+ end
546
+ @RequestId = params['RequestId']
547
+ end
548
+ end
549
+
337
550
  # AssignPrivateIpAddresses请求参数结构体
338
551
  class AssignPrivateIpAddressesRequest < TencentCloud::Common::AbstractModel
339
552
  # @param NetworkInterfaceId: 弹性网卡实例ID,例如:eni-m6dyj72l。
@@ -3902,6 +4115,79 @@ module TencentCloud
3902
4115
  end
3903
4116
  end
3904
4117
 
4118
+ # DescribeRegionIpv6Addresses请求参数结构体
4119
+ class DescribeRegionIpv6AddressesRequest < TencentCloud::Common::AbstractModel
4120
+ # @param EcmRegion: ECM 地域,为空时返回所有地域的IPv6地址。
4121
+ # @type EcmRegion: String
4122
+ # @param Filters: 详细的过滤条件如下:
4123
+ # address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的 ID 过滤。
4124
+ # address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。
4125
+ # network-interface-id - String - 是否必填:否 - (过滤条件)按照弹性网卡的唯一ID过滤。
4126
+ # instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 所绑定的实例 ID 过滤。
4127
+ # vpc-id - String - 是否必填:否 - (过滤条件)按照 EIP 所在 VPC 的 ID 进行过滤。
4128
+ # address-isp - String - 是否必填:否 - (过滤条件)按照 EIP 的运营商进行过滤。
4129
+ # address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态信息进行过滤。
4130
+ # @type Filters: Array
4131
+ # @param Offset: 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。
4132
+ # @type Offset: Integer
4133
+ # @param Limit: 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。
4134
+ # @type Limit: Integer
4135
+
4136
+ attr_accessor :EcmRegion, :Filters, :Offset, :Limit
4137
+
4138
+ def initialize(ecmregion=nil, filters=nil, offset=nil, limit=nil)
4139
+ @EcmRegion = ecmregion
4140
+ @Filters = filters
4141
+ @Offset = offset
4142
+ @Limit = limit
4143
+ end
4144
+
4145
+ def deserialize(params)
4146
+ @EcmRegion = params['EcmRegion']
4147
+ unless params['Filters'].nil?
4148
+ @Filters = []
4149
+ params['Filters'].each do |i|
4150
+ filter_tmp = Filter.new
4151
+ filter_tmp.deserialize(i)
4152
+ @Filters << filter_tmp
4153
+ end
4154
+ end
4155
+ @Offset = params['Offset']
4156
+ @Limit = params['Limit']
4157
+ end
4158
+ end
4159
+
4160
+ # DescribeRegionIpv6Addresses返回参数结构体
4161
+ class DescribeRegionIpv6AddressesResponse < TencentCloud::Common::AbstractModel
4162
+ # @param TotalCount: 符合条件的 IPV6 数量。
4163
+ # @type TotalCount: Integer
4164
+ # @param AddressSet: IPV6 详细信息列表。
4165
+ # @type AddressSet: Array
4166
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4167
+ # @type RequestId: String
4168
+
4169
+ attr_accessor :TotalCount, :AddressSet, :RequestId
4170
+
4171
+ def initialize(totalcount=nil, addressset=nil, requestid=nil)
4172
+ @TotalCount = totalcount
4173
+ @AddressSet = addressset
4174
+ @RequestId = requestid
4175
+ end
4176
+
4177
+ def deserialize(params)
4178
+ @TotalCount = params['TotalCount']
4179
+ unless params['AddressSet'].nil?
4180
+ @AddressSet = []
4181
+ params['AddressSet'].each do |i|
4182
+ address_tmp = Address.new
4183
+ address_tmp.deserialize(i)
4184
+ @AddressSet << address_tmp
4185
+ end
4186
+ end
4187
+ @RequestId = params['RequestId']
4188
+ end
4189
+ end
4190
+
3905
4191
  # DescribeRouteConflicts请求参数结构体
3906
4192
  class DescribeRouteConflictsRequest < TencentCloud::Common::AbstractModel
3907
4193
  # @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
@@ -5443,6 +5729,26 @@ module TencentCloud
5443
5729
  end
5444
5730
  end
5445
5731
 
5732
+ # 申请ipv6 cidr block的信息
5733
+ class ISPTypeItem < TencentCloud::Common::AbstractModel
5734
+ # @param ISPType: IPv6 Cidr所属运营商类型,支持的类型有 'CMCC'-中国移动, 'CTCC'-中国电信, 'CUCC'-中国联调。作为入参数时为必选。
5735
+ # @type ISPType: String
5736
+ # @param Count: 申请IPv6 Cidr Block的个数。作为入参数时为必选。
5737
+ # @type Count: Integer
5738
+
5739
+ attr_accessor :ISPType, :Count
5740
+
5741
+ def initialize(isptype=nil, count=nil)
5742
+ @ISPType = isptype
5743
+ @Count = count
5744
+ end
5745
+
5746
+ def deserialize(params)
5747
+ @ISPType = params['ISPType']
5748
+ @Count = params['Count']
5749
+ end
5750
+ end
5751
+
5446
5752
  # 镜像信息
5447
5753
  class Image < TencentCloud::Common::AbstractModel
5448
5754
  # @param ImageId: 镜像ID
@@ -6293,6 +6599,28 @@ module TencentCloud
6293
6599
  end
6294
6600
  end
6295
6601
 
6602
+ # IPv6子网段对象。
6603
+ class Ipv6SubnetCidrBlock < TencentCloud::Common::AbstractModel
6604
+ # @param SubnetId: 子网实例`ID`。形如:`subnet-pxir56ns`。
6605
+ # 注意:此字段可能返回 null,表示取不到有效值。
6606
+ # @type SubnetId: String
6607
+ # @param Ipv6CidrBlock: `IPv6`子网段。形如:`3402:4e00:20:1001::/64`
6608
+ # 注意:此字段可能返回 null,表示取不到有效值。
6609
+ # @type Ipv6CidrBlock: String
6610
+
6611
+ attr_accessor :SubnetId, :Ipv6CidrBlock
6612
+
6613
+ def initialize(subnetid=nil, ipv6cidrblock=nil)
6614
+ @SubnetId = subnetid
6615
+ @Ipv6CidrBlock = ipv6cidrblock
6616
+ end
6617
+
6618
+ def deserialize(params)
6619
+ @SubnetId = params['SubnetId']
6620
+ @Ipv6CidrBlock = params['Ipv6CidrBlock']
6621
+ end
6622
+ end
6623
+
6296
6624
  # 描述密钥对信息
6297
6625
  class KeyPair < TencentCloud::Common::AbstractModel
6298
6626
  # @param KeyId: 密钥对的ID,是密钥对的唯一标识。
@@ -7035,6 +7363,57 @@ module TencentCloud
7035
7363
  end
7036
7364
  end
7037
7365
 
7366
+ # ModifyIpv6AddressesBandwidth请求参数结构体
7367
+ class ModifyIpv6AddressesBandwidthRequest < TencentCloud::Common::AbstractModel
7368
+ # @param EcmRegion: ECM 地域
7369
+ # @type EcmRegion: String
7370
+ # @param InternetMaxBandwidthOut: 修改的目标带宽,单位Mbps
7371
+ # @type InternetMaxBandwidthOut: Integer
7372
+ # @param Ipv6Addresses: IPV6地址。Ipv6Addresses和Ipv6AddressId必须且只能传一个
7373
+ # @type Ipv6Addresses: Array
7374
+ # @param Ipv6AddressIds: IPV6地址对应的唯一ID,形如eip-xxxxxxxx。Ipv6Addresses和Ipv6AddressId必须且只能传一个
7375
+ # @type Ipv6AddressIds: Array
7376
+
7377
+ attr_accessor :EcmRegion, :InternetMaxBandwidthOut, :Ipv6Addresses, :Ipv6AddressIds
7378
+
7379
+ def initialize(ecmregion=nil, internetmaxbandwidthout=nil, ipv6addresses=nil, ipv6addressids=nil)
7380
+ @EcmRegion = ecmregion
7381
+ @InternetMaxBandwidthOut = internetmaxbandwidthout
7382
+ @Ipv6Addresses = ipv6addresses
7383
+ @Ipv6AddressIds = ipv6addressids
7384
+ end
7385
+
7386
+ def deserialize(params)
7387
+ @EcmRegion = params['EcmRegion']
7388
+ @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
7389
+ unless params['Ipv6Addresses'].nil?
7390
+ @Ipv6Addresses = []
7391
+ params['Ipv6Addresses'].each do |i|
7392
+ ipv6address_tmp = Ipv6Address.new
7393
+ ipv6address_tmp.deserialize(i)
7394
+ @Ipv6Addresses << ipv6address_tmp
7395
+ end
7396
+ end
7397
+ @Ipv6AddressIds = params['Ipv6AddressIds']
7398
+ end
7399
+ end
7400
+
7401
+ # ModifyIpv6AddressesBandwidth返回参数结构体
7402
+ class ModifyIpv6AddressesBandwidthResponse < TencentCloud::Common::AbstractModel
7403
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7404
+ # @type RequestId: String
7405
+
7406
+ attr_accessor :RequestId
7407
+
7408
+ def initialize(requestid=nil)
7409
+ @RequestId = requestid
7410
+ end
7411
+
7412
+ def deserialize(params)
7413
+ @RequestId = params['RequestId']
7414
+ end
7415
+ end
7416
+
7038
7417
  # ModifyListener请求参数结构体
7039
7418
  class ModifyListenerRequest < TencentCloud::Common::AbstractModel
7040
7419
  # @param LoadBalancerId: 负载均衡实例 ID
@@ -8831,6 +9210,46 @@ module TencentCloud
8831
9210
  end
8832
9211
  end
8833
9212
 
9213
+ # QueryVpcTaskResult请求参数结构体
9214
+ class QueryVpcTaskResultRequest < TencentCloud::Common::AbstractModel
9215
+ # @param TaskId: 无
9216
+ # @type TaskId: String
9217
+
9218
+ attr_accessor :TaskId
9219
+
9220
+ def initialize(taskid=nil)
9221
+ @TaskId = taskid
9222
+ end
9223
+
9224
+ def deserialize(params)
9225
+ @TaskId = params['TaskId']
9226
+ end
9227
+ end
9228
+
9229
+ # QueryVpcTaskResult返回参数结构体
9230
+ class QueryVpcTaskResultResponse < TencentCloud::Common::AbstractModel
9231
+ # @param Status: 执行结果,包括"SUCCESS", "FAILED", "RUNNING"
9232
+ # @type Status: String
9233
+ # @param Output: 异步任务执行输出。
9234
+ # @type Output: String
9235
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9236
+ # @type RequestId: String
9237
+
9238
+ attr_accessor :Status, :Output, :RequestId
9239
+
9240
+ def initialize(status=nil, output=nil, requestid=nil)
9241
+ @Status = status
9242
+ @Output = output
9243
+ @RequestId = requestid
9244
+ end
9245
+
9246
+ def deserialize(params)
9247
+ @Status = params['Status']
9248
+ @Output = params['Output']
9249
+ @RequestId = params['RequestId']
9250
+ end
9251
+ end
9252
+
8834
9253
  # RebootInstances请求参数结构体
8835
9254
  class RebootInstancesRequest < TencentCloud::Common::AbstractModel
8836
9255
  # @param InstanceIdSet: 待重启的实例ID列表。在单次请求的过程中,单个region下的请求实例数上限为100。
@@ -8943,6 +9362,50 @@ module TencentCloud
8943
9362
  end
8944
9363
  end
8945
9364
 
9365
+ # ReleaseIpv6AddressesBandwidth请求参数结构体
9366
+ class ReleaseIpv6AddressesBandwidthRequest < TencentCloud::Common::AbstractModel
9367
+ # @param EcmRegion: ECM 地域。
9368
+ # @type EcmRegion: String
9369
+ # @param Ipv6Addresses: IPV6地址。Ipv6Addresses和Ipv6AddressIds必须且只能传一个。
9370
+ # @type Ipv6Addresses: Array
9371
+ # @param Ipv6AddressIds: IPV6地址对应的唯一ID,形如eip-xxxxxxxx。Ipv6Addresses和Ipv6AddressIds必须且只能传一个。
9372
+ # @type Ipv6AddressIds: Array
9373
+
9374
+ attr_accessor :EcmRegion, :Ipv6Addresses, :Ipv6AddressIds
9375
+
9376
+ def initialize(ecmregion=nil, ipv6addresses=nil, ipv6addressids=nil)
9377
+ @EcmRegion = ecmregion
9378
+ @Ipv6Addresses = ipv6addresses
9379
+ @Ipv6AddressIds = ipv6addressids
9380
+ end
9381
+
9382
+ def deserialize(params)
9383
+ @EcmRegion = params['EcmRegion']
9384
+ @Ipv6Addresses = params['Ipv6Addresses']
9385
+ @Ipv6AddressIds = params['Ipv6AddressIds']
9386
+ end
9387
+ end
9388
+
9389
+ # ReleaseIpv6AddressesBandwidth返回参数结构体
9390
+ class ReleaseIpv6AddressesBandwidthResponse < TencentCloud::Common::AbstractModel
9391
+ # @param TaskId: 异步任务TaskId。
9392
+ # @type TaskId: String
9393
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9394
+ # @type RequestId: String
9395
+
9396
+ attr_accessor :TaskId, :RequestId
9397
+
9398
+ def initialize(taskid=nil, requestid=nil)
9399
+ @TaskId = taskid
9400
+ @RequestId = requestid
9401
+ end
9402
+
9403
+ def deserialize(params)
9404
+ @TaskId = params['TaskId']
9405
+ @RequestId = params['RequestId']
9406
+ end
9407
+ end
9408
+
8946
9409
  # ReleaseIpv6Addresses请求参数结构体
8947
9410
  class ReleaseIpv6AddressesRequest < TencentCloud::Common::AbstractModel
8948
9411
  # @param EcmRegion: ECM 地域
@@ -10778,6 +11241,53 @@ module TencentCloud
10778
11241
  end
10779
11242
  end
10780
11243
 
11244
+ # UnassignIpv6SubnetCidrBlock请求参数结构体
11245
+ class UnassignIpv6SubnetCidrBlockRequest < TencentCloud::Common::AbstractModel
11246
+ # @param VpcId: 子网所在私有网络`ID`。形如:`vpc-f49l6u0z`。
11247
+ # @type VpcId: String
11248
+ # @param Ipv6SubnetCidrBlocks: `IPv6` 子网段列表。
11249
+ # @type Ipv6SubnetCidrBlocks: Array
11250
+ # @param EcmRegion: ECM地域。
11251
+ # @type EcmRegion: String
11252
+
11253
+ attr_accessor :VpcId, :Ipv6SubnetCidrBlocks, :EcmRegion
11254
+
11255
+ def initialize(vpcid=nil, ipv6subnetcidrblocks=nil, ecmregion=nil)
11256
+ @VpcId = vpcid
11257
+ @Ipv6SubnetCidrBlocks = ipv6subnetcidrblocks
11258
+ @EcmRegion = ecmregion
11259
+ end
11260
+
11261
+ def deserialize(params)
11262
+ @VpcId = params['VpcId']
11263
+ unless params['Ipv6SubnetCidrBlocks'].nil?
11264
+ @Ipv6SubnetCidrBlocks = []
11265
+ params['Ipv6SubnetCidrBlocks'].each do |i|
11266
+ ipv6subnetcidrblock_tmp = Ipv6SubnetCidrBlock.new
11267
+ ipv6subnetcidrblock_tmp.deserialize(i)
11268
+ @Ipv6SubnetCidrBlocks << ipv6subnetcidrblock_tmp
11269
+ end
11270
+ end
11271
+ @EcmRegion = params['EcmRegion']
11272
+ end
11273
+ end
11274
+
11275
+ # UnassignIpv6SubnetCidrBlock返回参数结构体
11276
+ class UnassignIpv6SubnetCidrBlockResponse < TencentCloud::Common::AbstractModel
11277
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11278
+ # @type RequestId: String
11279
+
11280
+ attr_accessor :RequestId
11281
+
11282
+ def initialize(requestid=nil)
11283
+ @RequestId = requestid
11284
+ end
11285
+
11286
+ def deserialize(params)
11287
+ @RequestId = params['RequestId']
11288
+ end
11289
+ end
11290
+
10781
11291
  # 私有网络相关信息配置。
10782
11292
  class VirtualPrivateCloud < TencentCloud::Common::AbstractModel
10783
11293
  # @param VpcId: 私有网络ID,形如vpc-xxx。
@@ -10960,7 +11470,7 @@ module TencentCloud
10960
11470
  class ZoneInstanceCountISP < TencentCloud::Common::AbstractModel
10961
11471
  # @param Zone: 创建实例的可用区。
10962
11472
  # @type Zone: String
10963
- # @param InstanceCount: 在当前可用区欲创建的实例数目。
11473
+ # @param InstanceCount: 在当前可用区创建的实例数目。
10964
11474
  # @type InstanceCount: Integer
10965
11475
  # @param ISP: 运营商如下:
10966
11476
  # CTCC:中国电信
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ecm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.609
4
+ version: 3.0.611
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-10 00:00:00.000000000 Z
11
+ date: 2023-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-ecm.rb
37
- - lib/v20190719/client.rb
38
37
  - lib/v20190719/models.rb
38
+ - lib/v20190719/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: