tencentcloud-sdk-bmeip 1.0.200
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-bmeip.rb +11 -0
- data/lib/v20180625/client.rb +516 -0
- data/lib/v20180625/models.rb +1234 -0
- metadata +66 -0
@@ -0,0 +1,1234 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Bmeip
|
19
|
+
module V20180625
|
20
|
+
# BindEipAcls请求参数结构体
|
21
|
+
class BindEipAclsRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param EipIdAclIdList: 待关联的 EIP 与 ACL关系列表
|
23
|
+
# @type EipIdAclIdList: Array
|
24
|
+
|
25
|
+
attr_accessor :EipIdAclIdList
|
26
|
+
|
27
|
+
def initialize(eipidaclidlist=nil)
|
28
|
+
@EipIdAclIdList = eipidaclidlist
|
29
|
+
end
|
30
|
+
|
31
|
+
def deserialize(params)
|
32
|
+
unless params['EipIdAclIdList'].nil?
|
33
|
+
@EipIdAclIdList = []
|
34
|
+
params['EipIdAclIdList'].each do |i|
|
35
|
+
eipaclmap_tmp = EipAclMap.new
|
36
|
+
eipaclmap_tmp.deserialize(i)
|
37
|
+
@EipIdAclIdList << eipaclmap_tmp
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
# BindEipAcls返回参数结构体
|
44
|
+
class BindEipAclsResponse < TencentCloud::Common::AbstractModel
|
45
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
46
|
+
# @type RequestId: String
|
47
|
+
|
48
|
+
attr_accessor :RequestId
|
49
|
+
|
50
|
+
def initialize(requestid=nil)
|
51
|
+
@RequestId = requestid
|
52
|
+
end
|
53
|
+
|
54
|
+
def deserialize(params)
|
55
|
+
@RequestId = params['RequestId']
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# BindHosted请求参数结构体
|
60
|
+
class BindHostedRequest < TencentCloud::Common::AbstractModel
|
61
|
+
# @param EipId: Eip实例ID,可通过DescribeBmEip 接口返回字段中的 eipId获取。Eip和EipId参数必须要填写一个。
|
62
|
+
# @type EipId: String
|
63
|
+
# @param InstanceId: 托管机器实例ID
|
64
|
+
# @type InstanceId: String
|
65
|
+
|
66
|
+
attr_accessor :EipId, :InstanceId
|
67
|
+
|
68
|
+
def initialize(eipid=nil, instanceid=nil)
|
69
|
+
@EipId = eipid
|
70
|
+
@InstanceId = instanceid
|
71
|
+
end
|
72
|
+
|
73
|
+
def deserialize(params)
|
74
|
+
@EipId = params['EipId']
|
75
|
+
@InstanceId = params['InstanceId']
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
# BindHosted返回参数结构体
|
80
|
+
class BindHostedResponse < TencentCloud::Common::AbstractModel
|
81
|
+
# @param TaskId: 异步任务ID,可以通过EipBmQueryTask查询任务状态
|
82
|
+
# @type TaskId: Integer
|
83
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
84
|
+
# @type RequestId: String
|
85
|
+
|
86
|
+
attr_accessor :TaskId, :RequestId
|
87
|
+
|
88
|
+
def initialize(taskid=nil, requestid=nil)
|
89
|
+
@TaskId = taskid
|
90
|
+
@RequestId = requestid
|
91
|
+
end
|
92
|
+
|
93
|
+
def deserialize(params)
|
94
|
+
@TaskId = params['TaskId']
|
95
|
+
@RequestId = params['RequestId']
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# BindRs请求参数结构体
|
100
|
+
class BindRsRequest < TencentCloud::Common::AbstractModel
|
101
|
+
# @param EipId: Eip实例ID
|
102
|
+
# @type EipId: String
|
103
|
+
# @param InstanceId: 物理服务器实例ID
|
104
|
+
# @type InstanceId: String
|
105
|
+
|
106
|
+
attr_accessor :EipId, :InstanceId
|
107
|
+
|
108
|
+
def initialize(eipid=nil, instanceid=nil)
|
109
|
+
@EipId = eipid
|
110
|
+
@InstanceId = instanceid
|
111
|
+
end
|
112
|
+
|
113
|
+
def deserialize(params)
|
114
|
+
@EipId = params['EipId']
|
115
|
+
@InstanceId = params['InstanceId']
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# BindRs返回参数结构体
|
120
|
+
class BindRsResponse < TencentCloud::Common::AbstractModel
|
121
|
+
# @param TaskId: 绑定黑石物理机异步任务ID,可以通过DescribeEipTask查询任务状态
|
122
|
+
# @type TaskId: Integer
|
123
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
124
|
+
# @type RequestId: String
|
125
|
+
|
126
|
+
attr_accessor :TaskId, :RequestId
|
127
|
+
|
128
|
+
def initialize(taskid=nil, requestid=nil)
|
129
|
+
@TaskId = taskid
|
130
|
+
@RequestId = requestid
|
131
|
+
end
|
132
|
+
|
133
|
+
def deserialize(params)
|
134
|
+
@TaskId = params['TaskId']
|
135
|
+
@RequestId = params['RequestId']
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
# BindVpcIp请求参数结构体
|
140
|
+
class BindVpcIpRequest < TencentCloud::Common::AbstractModel
|
141
|
+
# @param EipId: Eip实例ID
|
142
|
+
# @type EipId: String
|
143
|
+
# @param VpcId: EIP归属VpcId,例如vpc-k7j1t2x1
|
144
|
+
# @type VpcId: String
|
145
|
+
# @param VpcIp: 绑定的VPC内IP地址
|
146
|
+
# @type VpcIp: String
|
147
|
+
|
148
|
+
attr_accessor :EipId, :VpcId, :VpcIp
|
149
|
+
|
150
|
+
def initialize(eipid=nil, vpcid=nil, vpcip=nil)
|
151
|
+
@EipId = eipid
|
152
|
+
@VpcId = vpcid
|
153
|
+
@VpcIp = vpcip
|
154
|
+
end
|
155
|
+
|
156
|
+
def deserialize(params)
|
157
|
+
@EipId = params['EipId']
|
158
|
+
@VpcId = params['VpcId']
|
159
|
+
@VpcIp = params['VpcIp']
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
# BindVpcIp返回参数结构体
|
164
|
+
class BindVpcIpResponse < TencentCloud::Common::AbstractModel
|
165
|
+
# @param TaskId: EIP绑定VPC网络IP异步任务ID,可以通过查询EIP任务状态查询任务状态
|
166
|
+
# @type TaskId: Integer
|
167
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
168
|
+
# @type RequestId: String
|
169
|
+
|
170
|
+
attr_accessor :TaskId, :RequestId
|
171
|
+
|
172
|
+
def initialize(taskid=nil, requestid=nil)
|
173
|
+
@TaskId = taskid
|
174
|
+
@RequestId = requestid
|
175
|
+
end
|
176
|
+
|
177
|
+
def deserialize(params)
|
178
|
+
@TaskId = params['TaskId']
|
179
|
+
@RequestId = params['RequestId']
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
# CreateEipAcl请求参数结构体
|
184
|
+
class CreateEipAclRequest < TencentCloud::Common::AbstractModel
|
185
|
+
# @param AclName: ACL 名称
|
186
|
+
# @type AclName: String
|
187
|
+
# @param Status: ACL 状态 0:无状态,1:有状态
|
188
|
+
# @type Status: Integer
|
189
|
+
|
190
|
+
attr_accessor :AclName, :Status
|
191
|
+
|
192
|
+
def initialize(aclname=nil, status=nil)
|
193
|
+
@AclName = aclname
|
194
|
+
@Status = status
|
195
|
+
end
|
196
|
+
|
197
|
+
def deserialize(params)
|
198
|
+
@AclName = params['AclName']
|
199
|
+
@Status = params['Status']
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
# CreateEipAcl返回参数结构体
|
204
|
+
class CreateEipAclResponse < TencentCloud::Common::AbstractModel
|
205
|
+
# @param AclId: ACL 实例 ID
|
206
|
+
# @type AclId: String
|
207
|
+
# @param Status: ACL 实例状态
|
208
|
+
# @type Status: Integer
|
209
|
+
# @param AclName: ACL 实例名称
|
210
|
+
# @type AclName: String
|
211
|
+
# @param CreatedAt: ACL 实例创建时间
|
212
|
+
# @type CreatedAt: String
|
213
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
214
|
+
# @type RequestId: String
|
215
|
+
|
216
|
+
attr_accessor :AclId, :Status, :AclName, :CreatedAt, :RequestId
|
217
|
+
|
218
|
+
def initialize(aclid=nil, status=nil, aclname=nil, createdat=nil, requestid=nil)
|
219
|
+
@AclId = aclid
|
220
|
+
@Status = status
|
221
|
+
@AclName = aclname
|
222
|
+
@CreatedAt = createdat
|
223
|
+
@RequestId = requestid
|
224
|
+
end
|
225
|
+
|
226
|
+
def deserialize(params)
|
227
|
+
@AclId = params['AclId']
|
228
|
+
@Status = params['Status']
|
229
|
+
@AclName = params['AclName']
|
230
|
+
@CreatedAt = params['CreatedAt']
|
231
|
+
@RequestId = params['RequestId']
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
# CreateEip请求参数结构体
|
236
|
+
class CreateEipRequest < TencentCloud::Common::AbstractModel
|
237
|
+
# @param GoodsNum: 申请数量,默认为1, 最大 20
|
238
|
+
# @type GoodsNum: Integer
|
239
|
+
# @param PayMode: EIP计费方式,flow-流量计费;bandwidth-带宽计费
|
240
|
+
# @type PayMode: String
|
241
|
+
# @param Bandwidth: 带宽设定值(只在带宽计费时生效)
|
242
|
+
# @type Bandwidth: Integer
|
243
|
+
# @param SetType: EIP模式,目前支持tunnel和fullnat
|
244
|
+
# @type SetType: String
|
245
|
+
# @param Exclusive: 是否使用独占集群,0:不使用,1:使用。默认为0
|
246
|
+
# @type Exclusive: Integer
|
247
|
+
# @param VpcId: EIP归属私有网络ID,例如vpc-k7j1t2x1
|
248
|
+
# @type VpcId: String
|
249
|
+
# @param IpList: 指定申请的IP列表
|
250
|
+
# @type IpList: Array
|
251
|
+
|
252
|
+
attr_accessor :GoodsNum, :PayMode, :Bandwidth, :SetType, :Exclusive, :VpcId, :IpList
|
253
|
+
|
254
|
+
def initialize(goodsnum=nil, paymode=nil, bandwidth=nil, settype=nil, exclusive=nil, vpcid=nil, iplist=nil)
|
255
|
+
@GoodsNum = goodsnum
|
256
|
+
@PayMode = paymode
|
257
|
+
@Bandwidth = bandwidth
|
258
|
+
@SetType = settype
|
259
|
+
@Exclusive = exclusive
|
260
|
+
@VpcId = vpcid
|
261
|
+
@IpList = iplist
|
262
|
+
end
|
263
|
+
|
264
|
+
def deserialize(params)
|
265
|
+
@GoodsNum = params['GoodsNum']
|
266
|
+
@PayMode = params['PayMode']
|
267
|
+
@Bandwidth = params['Bandwidth']
|
268
|
+
@SetType = params['SetType']
|
269
|
+
@Exclusive = params['Exclusive']
|
270
|
+
@VpcId = params['VpcId']
|
271
|
+
@IpList = params['IpList']
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
275
|
+
# CreateEip返回参数结构体
|
276
|
+
class CreateEipResponse < TencentCloud::Common::AbstractModel
|
277
|
+
# @param EipIds: EIP列表
|
278
|
+
# @type EipIds: Array
|
279
|
+
# @param TaskId: 任务ID
|
280
|
+
# @type TaskId: Integer
|
281
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
282
|
+
# @type RequestId: String
|
283
|
+
|
284
|
+
attr_accessor :EipIds, :TaskId, :RequestId
|
285
|
+
|
286
|
+
def initialize(eipids=nil, taskid=nil, requestid=nil)
|
287
|
+
@EipIds = eipids
|
288
|
+
@TaskId = taskid
|
289
|
+
@RequestId = requestid
|
290
|
+
end
|
291
|
+
|
292
|
+
def deserialize(params)
|
293
|
+
@EipIds = params['EipIds']
|
294
|
+
@TaskId = params['TaskId']
|
295
|
+
@RequestId = params['RequestId']
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
# DeleteEipAcl请求参数结构体
|
300
|
+
class DeleteEipAclRequest < TencentCloud::Common::AbstractModel
|
301
|
+
# @param AclId: 待删除的 ACL 实例 ID
|
302
|
+
# @type AclId: String
|
303
|
+
|
304
|
+
attr_accessor :AclId
|
305
|
+
|
306
|
+
def initialize(aclid=nil)
|
307
|
+
@AclId = aclid
|
308
|
+
end
|
309
|
+
|
310
|
+
def deserialize(params)
|
311
|
+
@AclId = params['AclId']
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
# DeleteEipAcl返回参数结构体
|
316
|
+
class DeleteEipAclResponse < TencentCloud::Common::AbstractModel
|
317
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
318
|
+
# @type RequestId: String
|
319
|
+
|
320
|
+
attr_accessor :RequestId
|
321
|
+
|
322
|
+
def initialize(requestid=nil)
|
323
|
+
@RequestId = requestid
|
324
|
+
end
|
325
|
+
|
326
|
+
def deserialize(params)
|
327
|
+
@RequestId = params['RequestId']
|
328
|
+
end
|
329
|
+
end
|
330
|
+
|
331
|
+
# DeleteEip请求参数结构体
|
332
|
+
class DeleteEipRequest < TencentCloud::Common::AbstractModel
|
333
|
+
# @param EipIds: Eip实例ID列表
|
334
|
+
# @type EipIds: Array
|
335
|
+
|
336
|
+
attr_accessor :EipIds
|
337
|
+
|
338
|
+
def initialize(eipids=nil)
|
339
|
+
@EipIds = eipids
|
340
|
+
end
|
341
|
+
|
342
|
+
def deserialize(params)
|
343
|
+
@EipIds = params['EipIds']
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
# DeleteEip返回参数结构体
|
348
|
+
class DeleteEipResponse < TencentCloud::Common::AbstractModel
|
349
|
+
# @param TaskId: 任务Id
|
350
|
+
# @type TaskId: Integer
|
351
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
352
|
+
# @type RequestId: String
|
353
|
+
|
354
|
+
attr_accessor :TaskId, :RequestId
|
355
|
+
|
356
|
+
def initialize(taskid=nil, requestid=nil)
|
357
|
+
@TaskId = taskid
|
358
|
+
@RequestId = requestid
|
359
|
+
end
|
360
|
+
|
361
|
+
def deserialize(params)
|
362
|
+
@TaskId = params['TaskId']
|
363
|
+
@RequestId = params['RequestId']
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
367
|
+
# DescribeEipAcls请求参数结构体
|
368
|
+
class DescribeEipAclsRequest < TencentCloud::Common::AbstractModel
|
369
|
+
# @param AclName: ACL 名称,支持模糊查找
|
370
|
+
# @type AclName: String
|
371
|
+
# @param AclIds: ACL 实例 ID 列表,数组下标从 0 开始
|
372
|
+
# @type AclIds: Array
|
373
|
+
# @param Offset: 分页参数。偏移量,默认为 0
|
374
|
+
# @type Offset: Integer
|
375
|
+
# @param Limit: 分页参数。每一页的 EIPACL 列表数目
|
376
|
+
# @type Limit: Integer
|
377
|
+
# @param EipIds: EIP实例ID列表
|
378
|
+
# @type EipIds: Array
|
379
|
+
# @param EipIps: EIP IP地址列表
|
380
|
+
# @type EipIps: Array
|
381
|
+
# @param EipNames: EIP名称列表
|
382
|
+
# @type EipNames: Array
|
383
|
+
# @param OrderField: 排序字段
|
384
|
+
# @type OrderField: String
|
385
|
+
# @param Order: 排序方式,取值:0:增序(默认),1:降序
|
386
|
+
# @type Order: Integer
|
387
|
+
# @param AclNames: ACL名称列表,支持模糊查找
|
388
|
+
# @type AclNames: Array
|
389
|
+
|
390
|
+
attr_accessor :AclName, :AclIds, :Offset, :Limit, :EipIds, :EipIps, :EipNames, :OrderField, :Order, :AclNames
|
391
|
+
|
392
|
+
def initialize(aclname=nil, aclids=nil, offset=nil, limit=nil, eipids=nil, eipips=nil, eipnames=nil, orderfield=nil, order=nil, aclnames=nil)
|
393
|
+
@AclName = aclname
|
394
|
+
@AclIds = aclids
|
395
|
+
@Offset = offset
|
396
|
+
@Limit = limit
|
397
|
+
@EipIds = eipids
|
398
|
+
@EipIps = eipips
|
399
|
+
@EipNames = eipnames
|
400
|
+
@OrderField = orderfield
|
401
|
+
@Order = order
|
402
|
+
@AclNames = aclnames
|
403
|
+
end
|
404
|
+
|
405
|
+
def deserialize(params)
|
406
|
+
@AclName = params['AclName']
|
407
|
+
@AclIds = params['AclIds']
|
408
|
+
@Offset = params['Offset']
|
409
|
+
@Limit = params['Limit']
|
410
|
+
@EipIds = params['EipIds']
|
411
|
+
@EipIps = params['EipIps']
|
412
|
+
@EipNames = params['EipNames']
|
413
|
+
@OrderField = params['OrderField']
|
414
|
+
@Order = params['Order']
|
415
|
+
@AclNames = params['AclNames']
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
# DescribeEipAcls返回参数结构体
|
420
|
+
class DescribeEipAclsResponse < TencentCloud::Common::AbstractModel
|
421
|
+
# @param TotalCount: 返回 EIPACL 列表总数
|
422
|
+
# @type TotalCount: Integer
|
423
|
+
# @param EipAclList: EIPACL列表
|
424
|
+
# @type EipAclList: Array
|
425
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
426
|
+
# @type RequestId: String
|
427
|
+
|
428
|
+
attr_accessor :TotalCount, :EipAclList, :RequestId
|
429
|
+
|
430
|
+
def initialize(totalcount=nil, eipacllist=nil, requestid=nil)
|
431
|
+
@TotalCount = totalcount
|
432
|
+
@EipAclList = eipacllist
|
433
|
+
@RequestId = requestid
|
434
|
+
end
|
435
|
+
|
436
|
+
def deserialize(params)
|
437
|
+
@TotalCount = params['TotalCount']
|
438
|
+
unless params['EipAclList'].nil?
|
439
|
+
@EipAclList = []
|
440
|
+
params['EipAclList'].each do |i|
|
441
|
+
eipacl_tmp = EipAcl.new
|
442
|
+
eipacl_tmp.deserialize(i)
|
443
|
+
@EipAclList << eipacl_tmp
|
444
|
+
end
|
445
|
+
end
|
446
|
+
@RequestId = params['RequestId']
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
450
|
+
# DescribeEipQuota请求参数结构体
|
451
|
+
class DescribeEipQuotaRequest < TencentCloud::Common::AbstractModel
|
452
|
+
|
453
|
+
|
454
|
+
def initialize()
|
455
|
+
end
|
456
|
+
|
457
|
+
def deserialize(params)
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
461
|
+
# DescribeEipQuota返回参数结构体
|
462
|
+
class DescribeEipQuotaResponse < TencentCloud::Common::AbstractModel
|
463
|
+
# @param EipNumQuota: 能拥有的EIP个数的总配额,默认是100个
|
464
|
+
# @type EipNumQuota: Integer
|
465
|
+
# @param CurrentEipNum: 当前已使用的EIP个数,包括创建中、绑定中、已绑定、解绑中、未绑定几种状态的EIP个数总和
|
466
|
+
# @type CurrentEipNum: Integer
|
467
|
+
# @param DailyApplyCount: 当天申请EIP次数
|
468
|
+
# @type DailyApplyCount: Integer
|
469
|
+
# @param DailyApplyQuota: 每日申请EIP的次数限制
|
470
|
+
# @type DailyApplyQuota: Integer
|
471
|
+
# @param BatchApplyMax: BatchApplyMax
|
472
|
+
# @type BatchApplyMax: Integer
|
473
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
474
|
+
# @type RequestId: String
|
475
|
+
|
476
|
+
attr_accessor :EipNumQuota, :CurrentEipNum, :DailyApplyCount, :DailyApplyQuota, :BatchApplyMax, :RequestId
|
477
|
+
|
478
|
+
def initialize(eipnumquota=nil, currenteipnum=nil, dailyapplycount=nil, dailyapplyquota=nil, batchapplymax=nil, requestid=nil)
|
479
|
+
@EipNumQuota = eipnumquota
|
480
|
+
@CurrentEipNum = currenteipnum
|
481
|
+
@DailyApplyCount = dailyapplycount
|
482
|
+
@DailyApplyQuota = dailyapplyquota
|
483
|
+
@BatchApplyMax = batchapplymax
|
484
|
+
@RequestId = requestid
|
485
|
+
end
|
486
|
+
|
487
|
+
def deserialize(params)
|
488
|
+
@EipNumQuota = params['EipNumQuota']
|
489
|
+
@CurrentEipNum = params['CurrentEipNum']
|
490
|
+
@DailyApplyCount = params['DailyApplyCount']
|
491
|
+
@DailyApplyQuota = params['DailyApplyQuota']
|
492
|
+
@BatchApplyMax = params['BatchApplyMax']
|
493
|
+
@RequestId = params['RequestId']
|
494
|
+
end
|
495
|
+
end
|
496
|
+
|
497
|
+
# DescribeEipTask请求参数结构体
|
498
|
+
class DescribeEipTaskRequest < TencentCloud::Common::AbstractModel
|
499
|
+
# @param TaskId: EIP查询任务ID
|
500
|
+
# @type TaskId: Integer
|
501
|
+
|
502
|
+
attr_accessor :TaskId
|
503
|
+
|
504
|
+
def initialize(taskid=nil)
|
505
|
+
@TaskId = taskid
|
506
|
+
end
|
507
|
+
|
508
|
+
def deserialize(params)
|
509
|
+
@TaskId = params['TaskId']
|
510
|
+
end
|
511
|
+
end
|
512
|
+
|
513
|
+
# DescribeEipTask返回参数结构体
|
514
|
+
class DescribeEipTaskResponse < TencentCloud::Common::AbstractModel
|
515
|
+
# @param Status: 当前任务状态码:0-成功,1-失败,2-进行中
|
516
|
+
# @type Status: Integer
|
517
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
518
|
+
# @type RequestId: String
|
519
|
+
|
520
|
+
attr_accessor :Status, :RequestId
|
521
|
+
|
522
|
+
def initialize(status=nil, requestid=nil)
|
523
|
+
@Status = status
|
524
|
+
@RequestId = requestid
|
525
|
+
end
|
526
|
+
|
527
|
+
def deserialize(params)
|
528
|
+
@Status = params['Status']
|
529
|
+
@RequestId = params['RequestId']
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
# DescribeEips请求参数结构体
|
534
|
+
class DescribeEipsRequest < TencentCloud::Common::AbstractModel
|
535
|
+
# @param EipIds: EIP实例ID列表
|
536
|
+
# @type EipIds: Array
|
537
|
+
# @param Eips: EIP IP 列表
|
538
|
+
# @type Eips: Array
|
539
|
+
# @param InstanceIds: 主机实例ID 列表
|
540
|
+
# @type InstanceIds: Array
|
541
|
+
# @param SearchKey: EIP名称,模糊匹配
|
542
|
+
# @type SearchKey: String
|
543
|
+
# @param Status: 状态列表, 默认所有
|
544
|
+
# @type Status: Array
|
545
|
+
# @param Offset: 偏移量,默认为0
|
546
|
+
# @type Offset: Integer
|
547
|
+
# @param Limit: 返回EIP数量,默认 20, 最大值 100
|
548
|
+
# @type Limit: Integer
|
549
|
+
# @param OrderField: 排序字段,支持: EipId,Eip,Status, InstanceId,CreatedAt
|
550
|
+
# @type OrderField: String
|
551
|
+
# @param Order: 排序方式 0:递增 1:递减(默认)
|
552
|
+
# @type Order: Integer
|
553
|
+
# @param PayMode: 计费模式,流量:flow,带宽:bandwidth
|
554
|
+
# @type PayMode: String
|
555
|
+
# @param VpcId: EIP归属VpcId,例如vpc-k7j1t2x1
|
556
|
+
# @type VpcId: String
|
557
|
+
# @param BindTypes: 绑定类型,-1:未绑定,0:物理机,1:nat网关,2:虚拟IP, 3:托管机器
|
558
|
+
# @type BindTypes: Array
|
559
|
+
# @param ExclusiveTag: 独占标志,0:共享,1:独占
|
560
|
+
# @type ExclusiveTag: Integer
|
561
|
+
# @param AclId: EIP ACL实例ID
|
562
|
+
# @type AclId: String
|
563
|
+
# @param BindAcl: 搜索条件,是否绑定了EIP ACL, 0:未绑定,1:绑定
|
564
|
+
# @type BindAcl: Integer
|
565
|
+
|
566
|
+
attr_accessor :EipIds, :Eips, :InstanceIds, :SearchKey, :Status, :Offset, :Limit, :OrderField, :Order, :PayMode, :VpcId, :BindTypes, :ExclusiveTag, :AclId, :BindAcl
|
567
|
+
|
568
|
+
def initialize(eipids=nil, eips=nil, instanceids=nil, searchkey=nil, status=nil, offset=nil, limit=nil, orderfield=nil, order=nil, paymode=nil, vpcid=nil, bindtypes=nil, exclusivetag=nil, aclid=nil, bindacl=nil)
|
569
|
+
@EipIds = eipids
|
570
|
+
@Eips = eips
|
571
|
+
@InstanceIds = instanceids
|
572
|
+
@SearchKey = searchkey
|
573
|
+
@Status = status
|
574
|
+
@Offset = offset
|
575
|
+
@Limit = limit
|
576
|
+
@OrderField = orderfield
|
577
|
+
@Order = order
|
578
|
+
@PayMode = paymode
|
579
|
+
@VpcId = vpcid
|
580
|
+
@BindTypes = bindtypes
|
581
|
+
@ExclusiveTag = exclusivetag
|
582
|
+
@AclId = aclid
|
583
|
+
@BindAcl = bindacl
|
584
|
+
end
|
585
|
+
|
586
|
+
def deserialize(params)
|
587
|
+
@EipIds = params['EipIds']
|
588
|
+
@Eips = params['Eips']
|
589
|
+
@InstanceIds = params['InstanceIds']
|
590
|
+
@SearchKey = params['SearchKey']
|
591
|
+
@Status = params['Status']
|
592
|
+
@Offset = params['Offset']
|
593
|
+
@Limit = params['Limit']
|
594
|
+
@OrderField = params['OrderField']
|
595
|
+
@Order = params['Order']
|
596
|
+
@PayMode = params['PayMode']
|
597
|
+
@VpcId = params['VpcId']
|
598
|
+
@BindTypes = params['BindTypes']
|
599
|
+
@ExclusiveTag = params['ExclusiveTag']
|
600
|
+
@AclId = params['AclId']
|
601
|
+
@BindAcl = params['BindAcl']
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
# DescribeEips返回参数结构体
|
606
|
+
class DescribeEipsResponse < TencentCloud::Common::AbstractModel
|
607
|
+
# @param EipSet: 返回EIP信息数组
|
608
|
+
# @type EipSet: Array
|
609
|
+
# @param TotalCount: 返回EIP数量
|
610
|
+
# @type TotalCount: Integer
|
611
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
612
|
+
# @type RequestId: String
|
613
|
+
|
614
|
+
attr_accessor :EipSet, :TotalCount, :RequestId
|
615
|
+
|
616
|
+
def initialize(eipset=nil, totalcount=nil, requestid=nil)
|
617
|
+
@EipSet = eipset
|
618
|
+
@TotalCount = totalcount
|
619
|
+
@RequestId = requestid
|
620
|
+
end
|
621
|
+
|
622
|
+
def deserialize(params)
|
623
|
+
unless params['EipSet'].nil?
|
624
|
+
@EipSet = []
|
625
|
+
params['EipSet'].each do |i|
|
626
|
+
eipinfo_tmp = EipInfo.new
|
627
|
+
eipinfo_tmp.deserialize(i)
|
628
|
+
@EipSet << eipinfo_tmp
|
629
|
+
end
|
630
|
+
end
|
631
|
+
@TotalCount = params['TotalCount']
|
632
|
+
@RequestId = params['RequestId']
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
# EipAcl信息
|
637
|
+
class EipAcl < TencentCloud::Common::AbstractModel
|
638
|
+
# @param AclId: ACL 实例 ID。
|
639
|
+
# @type AclId: String
|
640
|
+
# @param AclName: ACL 实例名称
|
641
|
+
# @type AclName: String
|
642
|
+
# @param Status: ACL 状态。0:无状态,1:有状态
|
643
|
+
# @type Status: String
|
644
|
+
# @param CreatedAt: EIPACL 创建时间
|
645
|
+
# @type CreatedAt: String
|
646
|
+
# @param EipNum: EIPACL 已关联的 eip 数目
|
647
|
+
# @type EipNum: Integer
|
648
|
+
# @param OutRules: 出站规则
|
649
|
+
# @type OutRules: Array
|
650
|
+
# @param InRules: 入站规则
|
651
|
+
# @type InRules: Array
|
652
|
+
|
653
|
+
attr_accessor :AclId, :AclName, :Status, :CreatedAt, :EipNum, :OutRules, :InRules
|
654
|
+
|
655
|
+
def initialize(aclid=nil, aclname=nil, status=nil, createdat=nil, eipnum=nil, outrules=nil, inrules=nil)
|
656
|
+
@AclId = aclid
|
657
|
+
@AclName = aclname
|
658
|
+
@Status = status
|
659
|
+
@CreatedAt = createdat
|
660
|
+
@EipNum = eipnum
|
661
|
+
@OutRules = outrules
|
662
|
+
@InRules = inrules
|
663
|
+
end
|
664
|
+
|
665
|
+
def deserialize(params)
|
666
|
+
@AclId = params['AclId']
|
667
|
+
@AclName = params['AclName']
|
668
|
+
@Status = params['Status']
|
669
|
+
@CreatedAt = params['CreatedAt']
|
670
|
+
@EipNum = params['EipNum']
|
671
|
+
unless params['OutRules'].nil?
|
672
|
+
@OutRules = []
|
673
|
+
params['OutRules'].each do |i|
|
674
|
+
eipaclrule_tmp = EipAclRule.new
|
675
|
+
eipaclrule_tmp.deserialize(i)
|
676
|
+
@OutRules << eipaclrule_tmp
|
677
|
+
end
|
678
|
+
end
|
679
|
+
unless params['InRules'].nil?
|
680
|
+
@InRules = []
|
681
|
+
params['InRules'].each do |i|
|
682
|
+
eipaclrule_tmp = EipAclRule.new
|
683
|
+
eipaclrule_tmp.deserialize(i)
|
684
|
+
@InRules << eipaclrule_tmp
|
685
|
+
end
|
686
|
+
end
|
687
|
+
end
|
688
|
+
end
|
689
|
+
|
690
|
+
# eipid与aclid关联关系
|
691
|
+
class EipAclMap < TencentCloud::Common::AbstractModel
|
692
|
+
# @param EipId: EIP 实例 ID
|
693
|
+
# @type EipId: String
|
694
|
+
# @param AclId: ACL 实例 ID
|
695
|
+
# @type AclId: String
|
696
|
+
|
697
|
+
attr_accessor :EipId, :AclId
|
698
|
+
|
699
|
+
def initialize(eipid=nil, aclid=nil)
|
700
|
+
@EipId = eipid
|
701
|
+
@AclId = aclid
|
702
|
+
end
|
703
|
+
|
704
|
+
def deserialize(params)
|
705
|
+
@EipId = params['EipId']
|
706
|
+
@AclId = params['AclId']
|
707
|
+
end
|
708
|
+
end
|
709
|
+
|
710
|
+
# eipacl规则
|
711
|
+
class EipAclRule < TencentCloud::Common::AbstractModel
|
712
|
+
# @param Ip: 源 IP
|
713
|
+
# @type Ip: String
|
714
|
+
# @param Port: 目标端口
|
715
|
+
# @type Port: String
|
716
|
+
# @param Protocol: 协议(TCP/UDP/ICMP/ANY)
|
717
|
+
# @type Protocol: String
|
718
|
+
# @param Action: 策略(accept/drop)
|
719
|
+
# @type Action: String
|
720
|
+
# @param Description: 备注
|
721
|
+
# @type Description: String
|
722
|
+
|
723
|
+
attr_accessor :Ip, :Port, :Protocol, :Action, :Description
|
724
|
+
|
725
|
+
def initialize(ip=nil, port=nil, protocol=nil, action=nil, description=nil)
|
726
|
+
@Ip = ip
|
727
|
+
@Port = port
|
728
|
+
@Protocol = protocol
|
729
|
+
@Action = action
|
730
|
+
@Description = description
|
731
|
+
end
|
732
|
+
|
733
|
+
def deserialize(params)
|
734
|
+
@Ip = params['Ip']
|
735
|
+
@Port = params['Port']
|
736
|
+
@Protocol = params['Protocol']
|
737
|
+
@Action = params['Action']
|
738
|
+
@Description = params['Description']
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
742
|
+
# Eip信息
|
743
|
+
class EipInfo < TencentCloud::Common::AbstractModel
|
744
|
+
# @param EipId: EIP实例ID
|
745
|
+
# @type EipId: String
|
746
|
+
# @param EipName: EIP名称
|
747
|
+
# @type EipName: String
|
748
|
+
# @param Eip: EIP地址
|
749
|
+
# @type Eip: String
|
750
|
+
# @param IspId: 运营商ID 0:电信; 1:联通; 2:移动; 3:教育网; 4:盈科; 5:BGP; 6:中国香港
|
751
|
+
# @type IspId: Integer
|
752
|
+
# @param Status: 状态 0:创建中; 1:绑定中; 2:已绑定; 3:解绑中; 4:未绑定; 6:下线中; 9:创建失败
|
753
|
+
# @type Status: Integer
|
754
|
+
# @param Arrears: 是否欠费隔离 1: 欠费隔离; 0: 正常。处在欠费隔离情况下的EIP不能进行任何管理操作。
|
755
|
+
# @type Arrears: Integer
|
756
|
+
# @param InstanceId: EIP所绑定的服务器实例ID,未绑定则为空
|
757
|
+
# @type InstanceId: String
|
758
|
+
# @param InstanceAlias: 服务器别名
|
759
|
+
# @type InstanceAlias: String
|
760
|
+
# @param FreeAt: EIP解绑时间
|
761
|
+
# @type FreeAt: String
|
762
|
+
# @param CreatedAt: EIP创建时间
|
763
|
+
# @type CreatedAt: String
|
764
|
+
# @param UpdatedAt: EIP更新时间
|
765
|
+
# @type UpdatedAt: String
|
766
|
+
# @param FreeSecond: EIP未绑定服务器时长(单位:秒)
|
767
|
+
# @type FreeSecond: Integer
|
768
|
+
# @param Type: EIP所绑定的资源类型,-1:未绑定资源;0:黑石物理机,字段对应unInstanceId;1:Nat网关,字段对应natUid;2:云服务器字段对应vpcIp; 3: 托管机器,字段对应HInstanceId, HInstanceAlias
|
769
|
+
# @type Type: Integer
|
770
|
+
# @param PayMode: EIP计费模式,"flow":流量计费; "bandwidth":带宽计费
|
771
|
+
# @type PayMode: String
|
772
|
+
# @param Bandwidth: EIP带宽计费模式下的带宽上限(单位:MB)
|
773
|
+
# @type Bandwidth: Integer
|
774
|
+
# @param LatestPayMode: 最近一次操作变更的EIP计费模式,"flow":流量计费; "bandwidth":带宽计费
|
775
|
+
# @type LatestPayMode: String
|
776
|
+
# @param LatestBandwidth: 最近一次操作变更的EIP计费模式对应的带宽上限值,仅在带宽计费模式下有效(单位:MB)
|
777
|
+
# @type LatestBandwidth: Integer
|
778
|
+
# @param VpcName: 私有网络名称
|
779
|
+
# @type VpcName: String
|
780
|
+
# @param NatId: EIP所绑定的NAT网关的数字ID,形如:1001,,未绑定则为空
|
781
|
+
# @type NatId: Integer
|
782
|
+
# @param NatUid: EIP所绑定的NAT网关实例ID,形如:"nat-n47xxxxx",未绑定则为空
|
783
|
+
# @type NatUid: String
|
784
|
+
# @param VpcIp: EIP所绑定的云服务器IP(托管或者云服务器的IP),形如:"10.1.1.3"。 注意:IP资源需要通过bmvpc模块注册或者申请后才可以绑定eip,接口使用申请子网IP和注册子网IP:,未绑定则为空
|
785
|
+
# @type VpcIp: String
|
786
|
+
# @param VpcId: 私有网络实例ID
|
787
|
+
# @type VpcId: String
|
788
|
+
# @param Exclusive: 是否为独占类型EIP
|
789
|
+
# @type Exclusive: Integer
|
790
|
+
# @param VpcCidr: 私有网络的cidr
|
791
|
+
# @type VpcCidr: String
|
792
|
+
# @param AclId: EIP ACL实例ID
|
793
|
+
# @type AclId: String
|
794
|
+
# @param AclName: EIP ACL名称
|
795
|
+
# @type AclName: String
|
796
|
+
# @param HInstanceId: 托管机器实例ID
|
797
|
+
# @type HInstanceId: String
|
798
|
+
# @param HInstanceAlias: 托管机器别名
|
799
|
+
# @type HInstanceAlias: String
|
800
|
+
|
801
|
+
attr_accessor :EipId, :EipName, :Eip, :IspId, :Status, :Arrears, :InstanceId, :InstanceAlias, :FreeAt, :CreatedAt, :UpdatedAt, :FreeSecond, :Type, :PayMode, :Bandwidth, :LatestPayMode, :LatestBandwidth, :VpcName, :NatId, :NatUid, :VpcIp, :VpcId, :Exclusive, :VpcCidr, :AclId, :AclName, :HInstanceId, :HInstanceAlias
|
802
|
+
|
803
|
+
def initialize(eipid=nil, eipname=nil, eip=nil, ispid=nil, status=nil, arrears=nil, instanceid=nil, instancealias=nil, freeat=nil, createdat=nil, updatedat=nil, freesecond=nil, type=nil, paymode=nil, bandwidth=nil, latestpaymode=nil, latestbandwidth=nil, vpcname=nil, natid=nil, natuid=nil, vpcip=nil, vpcid=nil, exclusive=nil, vpccidr=nil, aclid=nil, aclname=nil, hinstanceid=nil, hinstancealias=nil)
|
804
|
+
@EipId = eipid
|
805
|
+
@EipName = eipname
|
806
|
+
@Eip = eip
|
807
|
+
@IspId = ispid
|
808
|
+
@Status = status
|
809
|
+
@Arrears = arrears
|
810
|
+
@InstanceId = instanceid
|
811
|
+
@InstanceAlias = instancealias
|
812
|
+
@FreeAt = freeat
|
813
|
+
@CreatedAt = createdat
|
814
|
+
@UpdatedAt = updatedat
|
815
|
+
@FreeSecond = freesecond
|
816
|
+
@Type = type
|
817
|
+
@PayMode = paymode
|
818
|
+
@Bandwidth = bandwidth
|
819
|
+
@LatestPayMode = latestpaymode
|
820
|
+
@LatestBandwidth = latestbandwidth
|
821
|
+
@VpcName = vpcname
|
822
|
+
@NatId = natid
|
823
|
+
@NatUid = natuid
|
824
|
+
@VpcIp = vpcip
|
825
|
+
@VpcId = vpcid
|
826
|
+
@Exclusive = exclusive
|
827
|
+
@VpcCidr = vpccidr
|
828
|
+
@AclId = aclid
|
829
|
+
@AclName = aclname
|
830
|
+
@HInstanceId = hinstanceid
|
831
|
+
@HInstanceAlias = hinstancealias
|
832
|
+
end
|
833
|
+
|
834
|
+
def deserialize(params)
|
835
|
+
@EipId = params['EipId']
|
836
|
+
@EipName = params['EipName']
|
837
|
+
@Eip = params['Eip']
|
838
|
+
@IspId = params['IspId']
|
839
|
+
@Status = params['Status']
|
840
|
+
@Arrears = params['Arrears']
|
841
|
+
@InstanceId = params['InstanceId']
|
842
|
+
@InstanceAlias = params['InstanceAlias']
|
843
|
+
@FreeAt = params['FreeAt']
|
844
|
+
@CreatedAt = params['CreatedAt']
|
845
|
+
@UpdatedAt = params['UpdatedAt']
|
846
|
+
@FreeSecond = params['FreeSecond']
|
847
|
+
@Type = params['Type']
|
848
|
+
@PayMode = params['PayMode']
|
849
|
+
@Bandwidth = params['Bandwidth']
|
850
|
+
@LatestPayMode = params['LatestPayMode']
|
851
|
+
@LatestBandwidth = params['LatestBandwidth']
|
852
|
+
@VpcName = params['VpcName']
|
853
|
+
@NatId = params['NatId']
|
854
|
+
@NatUid = params['NatUid']
|
855
|
+
@VpcIp = params['VpcIp']
|
856
|
+
@VpcId = params['VpcId']
|
857
|
+
@Exclusive = params['Exclusive']
|
858
|
+
@VpcCidr = params['VpcCidr']
|
859
|
+
@AclId = params['AclId']
|
860
|
+
@AclName = params['AclName']
|
861
|
+
@HInstanceId = params['HInstanceId']
|
862
|
+
@HInstanceAlias = params['HInstanceAlias']
|
863
|
+
end
|
864
|
+
end
|
865
|
+
|
866
|
+
# EipId与InstanceId绑定关系
|
867
|
+
class EipRsMap < TencentCloud::Common::AbstractModel
|
868
|
+
# @param EipId: EIP实例 ID
|
869
|
+
# @type EipId: String
|
870
|
+
# @param InstanceId: 黑石物理机实例ID
|
871
|
+
# @type InstanceId: String
|
872
|
+
|
873
|
+
attr_accessor :EipId, :InstanceId
|
874
|
+
|
875
|
+
def initialize(eipid=nil, instanceid=nil)
|
876
|
+
@EipId = eipid
|
877
|
+
@InstanceId = instanceid
|
878
|
+
end
|
879
|
+
|
880
|
+
def deserialize(params)
|
881
|
+
@EipId = params['EipId']
|
882
|
+
@InstanceId = params['InstanceId']
|
883
|
+
end
|
884
|
+
end
|
885
|
+
|
886
|
+
# ModifyEipAcl请求参数结构体
|
887
|
+
class ModifyEipAclRequest < TencentCloud::Common::AbstractModel
|
888
|
+
# @param AclId: ACL 实例 ID
|
889
|
+
# @type AclId: String
|
890
|
+
# @param AclName: ACL 名称
|
891
|
+
# @type AclName: String
|
892
|
+
# @param Status: ACL 状态。0:无状态 1:有状态
|
893
|
+
# @type Status: Integer
|
894
|
+
# @param Type: 规则类型(in/out)。in:入站规则 out:出站规则
|
895
|
+
# @type Type: String
|
896
|
+
# @param Rules: ACL规则列表
|
897
|
+
# @type Rules: Array
|
898
|
+
|
899
|
+
attr_accessor :AclId, :AclName, :Status, :Type, :Rules
|
900
|
+
|
901
|
+
def initialize(aclid=nil, aclname=nil, status=nil, type=nil, rules=nil)
|
902
|
+
@AclId = aclid
|
903
|
+
@AclName = aclname
|
904
|
+
@Status = status
|
905
|
+
@Type = type
|
906
|
+
@Rules = rules
|
907
|
+
end
|
908
|
+
|
909
|
+
def deserialize(params)
|
910
|
+
@AclId = params['AclId']
|
911
|
+
@AclName = params['AclName']
|
912
|
+
@Status = params['Status']
|
913
|
+
@Type = params['Type']
|
914
|
+
unless params['Rules'].nil?
|
915
|
+
@Rules = []
|
916
|
+
params['Rules'].each do |i|
|
917
|
+
eipaclrule_tmp = EipAclRule.new
|
918
|
+
eipaclrule_tmp.deserialize(i)
|
919
|
+
@Rules << eipaclrule_tmp
|
920
|
+
end
|
921
|
+
end
|
922
|
+
end
|
923
|
+
end
|
924
|
+
|
925
|
+
# ModifyEipAcl返回参数结构体
|
926
|
+
class ModifyEipAclResponse < TencentCloud::Common::AbstractModel
|
927
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
928
|
+
# @type RequestId: String
|
929
|
+
|
930
|
+
attr_accessor :RequestId
|
931
|
+
|
932
|
+
def initialize(requestid=nil)
|
933
|
+
@RequestId = requestid
|
934
|
+
end
|
935
|
+
|
936
|
+
def deserialize(params)
|
937
|
+
@RequestId = params['RequestId']
|
938
|
+
end
|
939
|
+
end
|
940
|
+
|
941
|
+
# ModifyEipCharge请求参数结构体
|
942
|
+
class ModifyEipChargeRequest < TencentCloud::Common::AbstractModel
|
943
|
+
# @param PayMode: EIP计费方式,flow-流量计费;bandwidth-带宽计费
|
944
|
+
# @type PayMode: String
|
945
|
+
# @param EipIds: Eip实例ID列表
|
946
|
+
# @type EipIds: Array
|
947
|
+
# @param Bandwidth: 带宽设定值(只在带宽计费时生效)
|
948
|
+
# @type Bandwidth: Integer
|
949
|
+
|
950
|
+
attr_accessor :PayMode, :EipIds, :Bandwidth
|
951
|
+
|
952
|
+
def initialize(paymode=nil, eipids=nil, bandwidth=nil)
|
953
|
+
@PayMode = paymode
|
954
|
+
@EipIds = eipids
|
955
|
+
@Bandwidth = bandwidth
|
956
|
+
end
|
957
|
+
|
958
|
+
def deserialize(params)
|
959
|
+
@PayMode = params['PayMode']
|
960
|
+
@EipIds = params['EipIds']
|
961
|
+
@Bandwidth = params['Bandwidth']
|
962
|
+
end
|
963
|
+
end
|
964
|
+
|
965
|
+
# ModifyEipCharge返回参数结构体
|
966
|
+
class ModifyEipChargeResponse < TencentCloud::Common::AbstractModel
|
967
|
+
# @param TaskId: 修改计费模式的异步任务ID,可以通过查询EIP任务状态查询任务状态
|
968
|
+
# @type TaskId: Integer
|
969
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
970
|
+
# @type RequestId: String
|
971
|
+
|
972
|
+
attr_accessor :TaskId, :RequestId
|
973
|
+
|
974
|
+
def initialize(taskid=nil, requestid=nil)
|
975
|
+
@TaskId = taskid
|
976
|
+
@RequestId = requestid
|
977
|
+
end
|
978
|
+
|
979
|
+
def deserialize(params)
|
980
|
+
@TaskId = params['TaskId']
|
981
|
+
@RequestId = params['RequestId']
|
982
|
+
end
|
983
|
+
end
|
984
|
+
|
985
|
+
# ModifyEipName请求参数结构体
|
986
|
+
class ModifyEipNameRequest < TencentCloud::Common::AbstractModel
|
987
|
+
# @param EipId: Eip实例ID,可通过/v2/DescribeEip 接口返回字段中的 eipId获取
|
988
|
+
# @type EipId: String
|
989
|
+
# @param EipName: EIP 实例别名
|
990
|
+
# @type EipName: String
|
991
|
+
|
992
|
+
attr_accessor :EipId, :EipName
|
993
|
+
|
994
|
+
def initialize(eipid=nil, eipname=nil)
|
995
|
+
@EipId = eipid
|
996
|
+
@EipName = eipname
|
997
|
+
end
|
998
|
+
|
999
|
+
def deserialize(params)
|
1000
|
+
@EipId = params['EipId']
|
1001
|
+
@EipName = params['EipName']
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# ModifyEipName返回参数结构体
|
1006
|
+
class ModifyEipNameResponse < TencentCloud::Common::AbstractModel
|
1007
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1008
|
+
# @type RequestId: String
|
1009
|
+
|
1010
|
+
attr_accessor :RequestId
|
1011
|
+
|
1012
|
+
def initialize(requestid=nil)
|
1013
|
+
@RequestId = requestid
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
def deserialize(params)
|
1017
|
+
@RequestId = params['RequestId']
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# UnbindEipAcls请求参数结构体
|
1022
|
+
class UnbindEipAclsRequest < TencentCloud::Common::AbstractModel
|
1023
|
+
# @param EipIdAclIdList: 待解关联的 EIP 与 ACL列表
|
1024
|
+
# @type EipIdAclIdList: Array
|
1025
|
+
|
1026
|
+
attr_accessor :EipIdAclIdList
|
1027
|
+
|
1028
|
+
def initialize(eipidaclidlist=nil)
|
1029
|
+
@EipIdAclIdList = eipidaclidlist
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
def deserialize(params)
|
1033
|
+
unless params['EipIdAclIdList'].nil?
|
1034
|
+
@EipIdAclIdList = []
|
1035
|
+
params['EipIdAclIdList'].each do |i|
|
1036
|
+
eipaclmap_tmp = EipAclMap.new
|
1037
|
+
eipaclmap_tmp.deserialize(i)
|
1038
|
+
@EipIdAclIdList << eipaclmap_tmp
|
1039
|
+
end
|
1040
|
+
end
|
1041
|
+
end
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
# UnbindEipAcls返回参数结构体
|
1045
|
+
class UnbindEipAclsResponse < TencentCloud::Common::AbstractModel
|
1046
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1047
|
+
# @type RequestId: String
|
1048
|
+
|
1049
|
+
attr_accessor :RequestId
|
1050
|
+
|
1051
|
+
def initialize(requestid=nil)
|
1052
|
+
@RequestId = requestid
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
def deserialize(params)
|
1056
|
+
@RequestId = params['RequestId']
|
1057
|
+
end
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
# UnbindHosted请求参数结构体
|
1061
|
+
class UnbindHostedRequest < TencentCloud::Common::AbstractModel
|
1062
|
+
# @param InstanceId: 托管机器实例ID
|
1063
|
+
# @type InstanceId: String
|
1064
|
+
# @param EipId: Eip实例ID,可通过DescribeBmEip 接口返回字段中的 eipId获取。Eip和EipId参数必须要填写一个。
|
1065
|
+
# @type EipId: String
|
1066
|
+
# @param Eip: 弹性IP。Eip和EipId参数必须要填写一个。
|
1067
|
+
# @type Eip: String
|
1068
|
+
|
1069
|
+
attr_accessor :InstanceId, :EipId, :Eip
|
1070
|
+
|
1071
|
+
def initialize(instanceid=nil, eipid=nil, eip=nil)
|
1072
|
+
@InstanceId = instanceid
|
1073
|
+
@EipId = eipid
|
1074
|
+
@Eip = eip
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
def deserialize(params)
|
1078
|
+
@InstanceId = params['InstanceId']
|
1079
|
+
@EipId = params['EipId']
|
1080
|
+
@Eip = params['Eip']
|
1081
|
+
end
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
# UnbindHosted返回参数结构体
|
1085
|
+
class UnbindHostedResponse < TencentCloud::Common::AbstractModel
|
1086
|
+
# @param TaskId: 异步任务ID,可以通过EipBmQueryTask查询任务状态
|
1087
|
+
# @type TaskId: Integer
|
1088
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1089
|
+
# @type RequestId: String
|
1090
|
+
|
1091
|
+
attr_accessor :TaskId, :RequestId
|
1092
|
+
|
1093
|
+
def initialize(taskid=nil, requestid=nil)
|
1094
|
+
@TaskId = taskid
|
1095
|
+
@RequestId = requestid
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
def deserialize(params)
|
1099
|
+
@TaskId = params['TaskId']
|
1100
|
+
@RequestId = params['RequestId']
|
1101
|
+
end
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
# UnbindRsList请求参数结构体
|
1105
|
+
class UnbindRsListRequest < TencentCloud::Common::AbstractModel
|
1106
|
+
# @param EipRsList: 物理机绑定的EIP列表
|
1107
|
+
# @type EipRsList: Array
|
1108
|
+
|
1109
|
+
attr_accessor :EipRsList
|
1110
|
+
|
1111
|
+
def initialize(eiprslist=nil)
|
1112
|
+
@EipRsList = eiprslist
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
def deserialize(params)
|
1116
|
+
unless params['EipRsList'].nil?
|
1117
|
+
@EipRsList = []
|
1118
|
+
params['EipRsList'].each do |i|
|
1119
|
+
eiprsmap_tmp = EipRsMap.new
|
1120
|
+
eiprsmap_tmp.deserialize(i)
|
1121
|
+
@EipRsList << eiprsmap_tmp
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
# UnbindRsList返回参数结构体
|
1128
|
+
class UnbindRsListResponse < TencentCloud::Common::AbstractModel
|
1129
|
+
# @param TaskId: 解绑操作的异步任务ID,可以通过查询EIP任务状态查询任务状态
|
1130
|
+
# @type TaskId: Integer
|
1131
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1132
|
+
# @type RequestId: String
|
1133
|
+
|
1134
|
+
attr_accessor :TaskId, :RequestId
|
1135
|
+
|
1136
|
+
def initialize(taskid=nil, requestid=nil)
|
1137
|
+
@TaskId = taskid
|
1138
|
+
@RequestId = requestid
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
def deserialize(params)
|
1142
|
+
@TaskId = params['TaskId']
|
1143
|
+
@RequestId = params['RequestId']
|
1144
|
+
end
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
# UnbindRs请求参数结构体
|
1148
|
+
class UnbindRsRequest < TencentCloud::Common::AbstractModel
|
1149
|
+
# @param EipId: Eip实例ID
|
1150
|
+
# @type EipId: String
|
1151
|
+
# @param InstanceId: 物理服务器实例ID
|
1152
|
+
# @type InstanceId: String
|
1153
|
+
|
1154
|
+
attr_accessor :EipId, :InstanceId
|
1155
|
+
|
1156
|
+
def initialize(eipid=nil, instanceid=nil)
|
1157
|
+
@EipId = eipid
|
1158
|
+
@InstanceId = instanceid
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
def deserialize(params)
|
1162
|
+
@EipId = params['EipId']
|
1163
|
+
@InstanceId = params['InstanceId']
|
1164
|
+
end
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
# UnbindRs返回参数结构体
|
1168
|
+
class UnbindRsResponse < TencentCloud::Common::AbstractModel
|
1169
|
+
# @param TaskId: 解绑操作的异步任务ID,可以通过查询EIP任务状态查询任务状态
|
1170
|
+
# @type TaskId: Integer
|
1171
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1172
|
+
# @type RequestId: String
|
1173
|
+
|
1174
|
+
attr_accessor :TaskId, :RequestId
|
1175
|
+
|
1176
|
+
def initialize(taskid=nil, requestid=nil)
|
1177
|
+
@TaskId = taskid
|
1178
|
+
@RequestId = requestid
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
def deserialize(params)
|
1182
|
+
@TaskId = params['TaskId']
|
1183
|
+
@RequestId = params['RequestId']
|
1184
|
+
end
|
1185
|
+
end
|
1186
|
+
|
1187
|
+
# UnbindVpcIp请求参数结构体
|
1188
|
+
class UnbindVpcIpRequest < TencentCloud::Common::AbstractModel
|
1189
|
+
# @param EipId: Eip实例ID
|
1190
|
+
# @type EipId: String
|
1191
|
+
# @param VpcId: EIP归属VpcId,例如vpc-k7j1t2x1
|
1192
|
+
# @type VpcId: String
|
1193
|
+
# @param VpcIp: 绑定的VPC内IP地址
|
1194
|
+
# @type VpcIp: String
|
1195
|
+
|
1196
|
+
attr_accessor :EipId, :VpcId, :VpcIp
|
1197
|
+
|
1198
|
+
def initialize(eipid=nil, vpcid=nil, vpcip=nil)
|
1199
|
+
@EipId = eipid
|
1200
|
+
@VpcId = vpcid
|
1201
|
+
@VpcIp = vpcip
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
def deserialize(params)
|
1205
|
+
@EipId = params['EipId']
|
1206
|
+
@VpcId = params['VpcId']
|
1207
|
+
@VpcIp = params['VpcIp']
|
1208
|
+
end
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# UnbindVpcIp返回参数结构体
|
1212
|
+
class UnbindVpcIpResponse < TencentCloud::Common::AbstractModel
|
1213
|
+
# @param TaskId: 绑定黑石物理机异步任务ID,可以通过查询EIP任务状态查询任务状态
|
1214
|
+
# @type TaskId: Integer
|
1215
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1216
|
+
# @type RequestId: String
|
1217
|
+
|
1218
|
+
attr_accessor :TaskId, :RequestId
|
1219
|
+
|
1220
|
+
def initialize(taskid=nil, requestid=nil)
|
1221
|
+
@TaskId = taskid
|
1222
|
+
@RequestId = requestid
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
def deserialize(params)
|
1226
|
+
@TaskId = params['TaskId']
|
1227
|
+
@RequestId = params['RequestId']
|
1228
|
+
end
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
end
|
1232
|
+
end
|
1233
|
+
end
|
1234
|
+
|