tencentcloud-sdk-csip 3.0.585 → 3.0.587

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7a5e25e8ab04cffa75032cdf42f9256b6eeb519
4
- data.tar.gz: 1c181918cfc07e64f08b77002151d47793e34806
3
+ metadata.gz: a1f10e0f08b1a3d3d4b9bfb7528e0ed0bd20deff
4
+ data.tar.gz: 4283b79ec60f1aa511aa8b29f5f35eb1108be6fb
5
5
  SHA512:
6
- metadata.gz: 09d72445fe20eb960521857d9745501d4429e60ec8551eb970a2986fb8334d34d6922d7452c0f1ade8db7152f8eed366e26bd2e5c15f6dce159135f0046c2a47
7
- data.tar.gz: 6e53282dbaca6f9e2fe92dc0024e19a1467e48eeb13652c083ac2ad3c5f73519d0fe875dd459fb6aa2f99715c0220beddfbd887e9d908e15075a2e5a440c9f2a
6
+ metadata.gz: 2229969a2a04f0262c4891811d4e52ec44a7b92756b9db1bc4108fa6d0f70320c550e64f1b24dc336e68ecfd36230260e309d58fd2b26a81c7940ada1e8cf782
7
+ data.tar.gz: 0ba7bc823dfeab263624d0022b95d06c54b879c0893ea10b31e6d6b75f0002e655f5bfc6eec10bc469b4e7237595be2cc60684eee72561d6ceb6310534b315e9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.585
1
+ 3.0.587
@@ -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.585
4
+ version: 3.0.587
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-06 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