tencentcloud-sdk-csip 3.0.586 → 3.0.588

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: b483402688cbdee661ce03f068c014f39a810d0c
4
- data.tar.gz: e07239386e1f092d94f40d940e39eb4f46ace48b
3
+ metadata.gz: b4407efaa949db583de647dceb27f98447341d5c
4
+ data.tar.gz: 2563257eda743396f28cd56378990b86537e3f98
5
5
  SHA512:
6
- metadata.gz: 25cd019cae0873f3cdb210374459023c96d25bedcfc60b9fe953f8ea3ece7a5f25cd8d4b2a9fd9a01c36c59bd546e85308647a916a4de6e83577caca5bb7b646
7
- data.tar.gz: e49ce4f843c16a9a0ec603f3d7ce33b21cd1574e18d46841da4bef1554775ca607b1aa9470d1393dd153d98883846c53a31f57302d171b1e6335e6b2cf54b7e3
6
+ metadata.gz: 678831a34cb7952922ca5806bf8b99faa104a92345f22c5a4b48b311797815c73c5d6e315a6f8cc2aee18a07413449f63bd02836a2f2962b25a510445c56a62f
7
+ data.tar.gz: bf23173765e9c4c14f43eb3afb2e468ab30f2767a8dafa6e48540f847c295febd5a7d07bdf36bcc89ee54427669a929ad2622911ebb78ac5dc4351b0c4af8429
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.586
1
+ 3.0.588
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 创建域名、ip相关信息
57
+
58
+ # @param request: Request instance for CreateDomainAndIp.
59
+ # @type request: :class:`Tencentcloud::csip::V20221121::CreateDomainAndIpRequest`
60
+ # @rtype: :class:`Tencentcloud::csip::V20221121::CreateDomainAndIpResponse`
61
+ def CreateDomainAndIp(request)
62
+ body = send_request('CreateDomainAndIp', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateDomainAndIpResponse.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
  # cvm详情
57
81
 
58
82
  # @param request: Request instance for DescribeCVMAssetInfo.
@@ -476,6 +476,42 @@ module TencentCloud
476
476
  end
477
477
  end
478
478
 
479
+ # CreateDomainAndIp请求参数结构体
480
+ class CreateDomainAndIpRequest < TencentCloud::Common::AbstractModel
481
+ # @param Content: -
482
+ # @type Content: Array
483
+
484
+ attr_accessor :Content
485
+
486
+ def initialize(content=nil)
487
+ @Content = content
488
+ end
489
+
490
+ def deserialize(params)
491
+ @Content = params['Content']
492
+ end
493
+ end
494
+
495
+ # CreateDomainAndIp返回参数结构体
496
+ class CreateDomainAndIpResponse < TencentCloud::Common::AbstractModel
497
+ # @param Data: 返回创建成功的数量
498
+ # @type Data: Integer
499
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
500
+ # @type RequestId: String
501
+
502
+ attr_accessor :Data, :RequestId
503
+
504
+ def initialize(data=nil, requestid=nil)
505
+ @Data = data
506
+ @RequestId = requestid
507
+ end
508
+
509
+ def deserialize(params)
510
+ @Data = params['Data']
511
+ @RequestId = params['RequestId']
512
+ end
513
+ end
514
+
479
515
  # db资产输出字段
480
516
  class DBAssetVO < TencentCloud::Common::AbstractModel
481
517
  # @param AssetId: 资产id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-csip
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.586
4
+ version: 3.0.588
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-06-07 00:00:00.000000000 Z
11
+ date: 2023-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common