tencentcloud-sdk-dc 3.0.924 → 3.0.926
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180410/client.rb +24 -0
- data/lib/v20180410/models.rb +176 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b34eebb123acac3644429f344d10d250d53ec03d
|
4
|
+
data.tar.gz: ccfbab8a4c227b235351c0387593ae5ae88cbd1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1dafe13175ad617f8bd351326c249b6bb9c5a0afd76c32be354a83374ddb4598902719a7f4e588b47d93fea5300a868a1f8588424d2ed98a0f087aa40eccd2e
|
7
|
+
data.tar.gz: acc3dad62849fffd095e6f89159f250bf077c1de5cb0f374f111cb50e5b1b3b6391933a4dc53b665d83b05c771c4ca6fbffb5e849604c2e554d602ec39c121cd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.926
|
data/lib/v20180410/client.rb
CHANGED
@@ -77,6 +77,30 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 创建敏捷上云服务
|
81
|
+
|
82
|
+
# @param request: Request instance for CreateCloudAttachService.
|
83
|
+
# @type request: :class:`Tencentcloud::dc::V20180410::CreateCloudAttachServiceRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::dc::V20180410::CreateCloudAttachServiceResponse`
|
85
|
+
def CreateCloudAttachService(request)
|
86
|
+
body = send_request('CreateCloudAttachService', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = CreateCloudAttachServiceResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
80
104
|
# 申请物理专线接入。
|
81
105
|
# 调用该接口时,请注意:
|
82
106
|
# 账号要进行实名认证,否则不允许申请物理专线;
|
data/lib/v20180410/models.rb
CHANGED
@@ -224,6 +224,104 @@ module TencentCloud
|
|
224
224
|
end
|
225
225
|
end
|
226
226
|
|
227
|
+
# 敏捷上云服务信息
|
228
|
+
class CloudAttachInfo < TencentCloud::Common::AbstractModel
|
229
|
+
# @param InstanceId: 敏捷上云实例id
|
230
|
+
# @type InstanceId: String
|
231
|
+
# @param Name: 敏捷上云名称
|
232
|
+
# @type Name: String
|
233
|
+
# @param IapId: 合作伙伴的AppId
|
234
|
+
# @type IapId: String
|
235
|
+
# @param IdcAddress: 需要接入敏捷上云的IDC的地址
|
236
|
+
# @type IdcAddress: String
|
237
|
+
# @param IdcType: 需要接入敏捷上云的IDC的互联网服务提供商类型
|
238
|
+
# @type IdcType: String
|
239
|
+
# @param Bandwidth: 敏捷上云的带宽,单位为MB
|
240
|
+
# @type Bandwidth: Integer
|
241
|
+
# @param Telephone: 联系电话
|
242
|
+
# @type Telephone: String
|
243
|
+
# @param Status: 敏捷上云的状态
|
244
|
+
# available:就绪状态
|
245
|
+
# applying:申请,待审核状态
|
246
|
+
# pendingpay:代付款状态
|
247
|
+
# building:建设中状态
|
248
|
+
# confirming:待确认状态
|
249
|
+
# isolate: 隔离状态
|
250
|
+
# stoped:终止状态
|
251
|
+
# @type Status: String
|
252
|
+
# @param ApplyTime: 敏捷上云申请的时间
|
253
|
+
# @type ApplyTime: String
|
254
|
+
# @param ReadyTime: 敏捷上云建设完成的时间
|
255
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
256
|
+
# @type ReadyTime: String
|
257
|
+
# @param ExpireTime: 敏捷上云过期时间
|
258
|
+
# @type ExpireTime: String
|
259
|
+
# @param Remarks: 备注信息
|
260
|
+
# @type Remarks: String
|
261
|
+
# @param RegionStatus: 敏捷上云的地域状态。
|
262
|
+
# same-region:同地域
|
263
|
+
# cross-region:跨地域
|
264
|
+
# @type RegionStatus: String
|
265
|
+
# @param AppId: 用户的AppId
|
266
|
+
# @type AppId: String
|
267
|
+
# @param Uin: 用户的Uin
|
268
|
+
# @type Uin: String
|
269
|
+
# @param CustomerAuthName: 用户注册名称
|
270
|
+
# @type CustomerAuthName: String
|
271
|
+
# @param DirectConnectId: 物理专线实例ID
|
272
|
+
# @type DirectConnectId: String
|
273
|
+
# @param CloudAttachServiceGatewaysSupport: 敏捷上云是否支持创建高速上云专线网关
|
274
|
+
# @type CloudAttachServiceGatewaysSupport: Boolean
|
275
|
+
# @param BUpdateBandwidth: 敏捷上云服务是否处于升降配中
|
276
|
+
# @type BUpdateBandwidth: Boolean
|
277
|
+
|
278
|
+
attr_accessor :InstanceId, :Name, :IapId, :IdcAddress, :IdcType, :Bandwidth, :Telephone, :Status, :ApplyTime, :ReadyTime, :ExpireTime, :Remarks, :RegionStatus, :AppId, :Uin, :CustomerAuthName, :DirectConnectId, :CloudAttachServiceGatewaysSupport, :BUpdateBandwidth
|
279
|
+
|
280
|
+
def initialize(instanceid=nil, name=nil, iapid=nil, idcaddress=nil, idctype=nil, bandwidth=nil, telephone=nil, status=nil, applytime=nil, readytime=nil, expiretime=nil, remarks=nil, regionstatus=nil, appid=nil, uin=nil, customerauthname=nil, directconnectid=nil, cloudattachservicegatewayssupport=nil, bupdatebandwidth=nil)
|
281
|
+
@InstanceId = instanceid
|
282
|
+
@Name = name
|
283
|
+
@IapId = iapid
|
284
|
+
@IdcAddress = idcaddress
|
285
|
+
@IdcType = idctype
|
286
|
+
@Bandwidth = bandwidth
|
287
|
+
@Telephone = telephone
|
288
|
+
@Status = status
|
289
|
+
@ApplyTime = applytime
|
290
|
+
@ReadyTime = readytime
|
291
|
+
@ExpireTime = expiretime
|
292
|
+
@Remarks = remarks
|
293
|
+
@RegionStatus = regionstatus
|
294
|
+
@AppId = appid
|
295
|
+
@Uin = uin
|
296
|
+
@CustomerAuthName = customerauthname
|
297
|
+
@DirectConnectId = directconnectid
|
298
|
+
@CloudAttachServiceGatewaysSupport = cloudattachservicegatewayssupport
|
299
|
+
@BUpdateBandwidth = bupdatebandwidth
|
300
|
+
end
|
301
|
+
|
302
|
+
def deserialize(params)
|
303
|
+
@InstanceId = params['InstanceId']
|
304
|
+
@Name = params['Name']
|
305
|
+
@IapId = params['IapId']
|
306
|
+
@IdcAddress = params['IdcAddress']
|
307
|
+
@IdcType = params['IdcType']
|
308
|
+
@Bandwidth = params['Bandwidth']
|
309
|
+
@Telephone = params['Telephone']
|
310
|
+
@Status = params['Status']
|
311
|
+
@ApplyTime = params['ApplyTime']
|
312
|
+
@ReadyTime = params['ReadyTime']
|
313
|
+
@ExpireTime = params['ExpireTime']
|
314
|
+
@Remarks = params['Remarks']
|
315
|
+
@RegionStatus = params['RegionStatus']
|
316
|
+
@AppId = params['AppId']
|
317
|
+
@Uin = params['Uin']
|
318
|
+
@CustomerAuthName = params['CustomerAuthName']
|
319
|
+
@DirectConnectId = params['DirectConnectId']
|
320
|
+
@CloudAttachServiceGatewaysSupport = params['CloudAttachServiceGatewaysSupport']
|
321
|
+
@BUpdateBandwidth = params['BUpdateBandwidth']
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
227
325
|
# 坐标,经维度描述
|
228
326
|
class Coordinate < TencentCloud::Common::AbstractModel
|
229
327
|
# @param Lat: 纬度
|
@@ -244,6 +342,84 @@ module TencentCloud
|
|
244
342
|
end
|
245
343
|
end
|
246
344
|
|
345
|
+
# 创建敏捷上云入参
|
346
|
+
class CreateCasInput < TencentCloud::Common::AbstractModel
|
347
|
+
# @param Name: 敏捷上云名称
|
348
|
+
# @type Name: String
|
349
|
+
# @param IdcAddress: 需要接入敏捷上云的IDC的地址
|
350
|
+
# @type IdcAddress: String
|
351
|
+
# @param IdcType: 需要接入敏捷上云的IDC的互联网服务提供商类型
|
352
|
+
# @type IdcType: String
|
353
|
+
# @param Bandwidth: 敏捷上云的带宽,单位为MB
|
354
|
+
# @type Bandwidth: Integer
|
355
|
+
# @param Telephone: 联系电话
|
356
|
+
# @type Telephone: String
|
357
|
+
# @param Remarks: 备注信息
|
358
|
+
# @type Remarks: String
|
359
|
+
|
360
|
+
attr_accessor :Name, :IdcAddress, :IdcType, :Bandwidth, :Telephone, :Remarks
|
361
|
+
|
362
|
+
def initialize(name=nil, idcaddress=nil, idctype=nil, bandwidth=nil, telephone=nil, remarks=nil)
|
363
|
+
@Name = name
|
364
|
+
@IdcAddress = idcaddress
|
365
|
+
@IdcType = idctype
|
366
|
+
@Bandwidth = bandwidth
|
367
|
+
@Telephone = telephone
|
368
|
+
@Remarks = remarks
|
369
|
+
end
|
370
|
+
|
371
|
+
def deserialize(params)
|
372
|
+
@Name = params['Name']
|
373
|
+
@IdcAddress = params['IdcAddress']
|
374
|
+
@IdcType = params['IdcType']
|
375
|
+
@Bandwidth = params['Bandwidth']
|
376
|
+
@Telephone = params['Telephone']
|
377
|
+
@Remarks = params['Remarks']
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# CreateCloudAttachService请求参数结构体
|
382
|
+
class CreateCloudAttachServiceRequest < TencentCloud::Common::AbstractModel
|
383
|
+
# @param Data: 创建敏捷上云入参
|
384
|
+
# @type Data: :class:`Tencentcloud::Dc.v20180410.models.CreateCasInput`
|
385
|
+
|
386
|
+
attr_accessor :Data
|
387
|
+
|
388
|
+
def initialize(data=nil)
|
389
|
+
@Data = data
|
390
|
+
end
|
391
|
+
|
392
|
+
def deserialize(params)
|
393
|
+
unless params['Data'].nil?
|
394
|
+
@Data = CreateCasInput.new
|
395
|
+
@Data.deserialize(params['Data'])
|
396
|
+
end
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
# CreateCloudAttachService返回参数结构体
|
401
|
+
class CreateCloudAttachServiceResponse < TencentCloud::Common::AbstractModel
|
402
|
+
# @param CloudAttach: 敏捷上云服务详情
|
403
|
+
# @type CloudAttach: :class:`Tencentcloud::Dc.v20180410.models.CloudAttachInfo`
|
404
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
405
|
+
# @type RequestId: String
|
406
|
+
|
407
|
+
attr_accessor :CloudAttach, :RequestId
|
408
|
+
|
409
|
+
def initialize(cloudattach=nil, requestid=nil)
|
410
|
+
@CloudAttach = cloudattach
|
411
|
+
@RequestId = requestid
|
412
|
+
end
|
413
|
+
|
414
|
+
def deserialize(params)
|
415
|
+
unless params['CloudAttach'].nil?
|
416
|
+
@CloudAttach = CloudAttachInfo.new
|
417
|
+
@CloudAttach.deserialize(params['CloudAttach'])
|
418
|
+
end
|
419
|
+
@RequestId = params['RequestId']
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
247
423
|
# CreateDirectConnect请求参数结构体
|
248
424
|
class CreateDirectConnectRequest < TencentCloud::Common::AbstractModel
|
249
425
|
# @param DirectConnectName: 物理专线的名称。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.926
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|