tencentcloud-sdk-privatedns 1.0.212 → 1.0.213

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: 551b7ec7ad3c011cd223592ada9675daebf40403
4
- data.tar.gz: 8650e00604ec38a2ea1851a197f20b9c313daf93
3
+ metadata.gz: ac7f39dcc01b66305858c7331f0a40c630e2b477
4
+ data.tar.gz: afed29e6a69a1f0fae4c223d4d364974f064f0eb
5
5
  SHA512:
6
- metadata.gz: a4b148091613b10b31e6ede8cd83698e4c747d0c568a84cd23e33fcc5771d9f917b4c2adb5b811672bfceae1deff3c3158ca978406f04a2e5ebb4f5e9529392a
7
- data.tar.gz: ff7ac0e0b0c6c3d6a013f0582a47940c536421c3e1b3fa0684d00f3d5bfc0d669df42290953680f3313116b1a75e23459f25bf124d8d590f14f9f4b4c9ee7527
6
+ metadata.gz: f173519d7527a38168fe9b21f54be2a0a92571cdb7fb8b1cf579bb517b40f18319ee9742da538837bc24619478332f20ae61721a571ecf6254edb25729f434ae
7
+ data.tar.gz: 775619176018a56879add923ab17c24bf50864bf4f76d6c5ed84155b99489512f6ed4c74b069dbd44d008b0149424f9b49809ef56fd3cde9253ab55185d2eaaa
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.212
1
+ 1.0.213
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 创建私有域解析账号
33
+
34
+ # @param request: Request instance for CreatePrivateDNSAccount.
35
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::CreatePrivateDNSAccountRequest`
36
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::CreatePrivateDNSAccountResponse`
37
+ def CreatePrivateDNSAccount(request)
38
+ body = send_request('CreatePrivateDNSAccount', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = CreatePrivateDNSAccountResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 创建私有域
33
57
 
34
58
  # @param request: Request instance for CreatePrivateZone.
@@ -77,6 +101,30 @@ module TencentCloud
77
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
102
  end
79
103
 
104
+ # 删除私有域解析账号
105
+
106
+ # @param request: Request instance for DeletePrivateDNSAccount.
107
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DeletePrivateDNSAccountRequest`
108
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DeletePrivateDNSAccountResponse`
109
+ def DeletePrivateDNSAccount(request)
110
+ body = send_request('DeletePrivateDNSAccount', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DeletePrivateDNSAccountResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
80
128
  # 删除私有域并停止解析
81
129
 
82
130
  # @param request: Request instance for DeletePrivateZone.
@@ -125,6 +173,30 @@ module TencentCloud
125
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
174
  end
127
175
 
176
+ # 获取私有域解析账号的VPC列表
177
+
178
+ # @param request: Request instance for DescribeAccountVpcList.
179
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DescribeAccountVpcListRequest`
180
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DescribeAccountVpcListResponse`
181
+ def DescribeAccountVpcList(request)
182
+ body = send_request('DescribeAccountVpcList', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = DescribeAccountVpcListResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
128
200
  # 获取操作日志列表
129
201
 
130
202
  # @param request: Request instance for DescribeAuditLog.
@@ -48,6 +48,34 @@ module TencentCloud
48
48
  end
49
49
  end
50
50
 
51
+ # 查询关联账号VPC列表出参
52
+ class AccountVpcInfoOut < TencentCloud::Common::AbstractModel
53
+ # @param VpcId: VpcId: vpc-xadsafsdasd
54
+ # @type VpcId: String
55
+ # @param Region: Vpc所属地区: ap-guangzhou, ap-shanghai
56
+ # @type Region: String
57
+ # @param Uin: Vpc所属账号: 123456789
58
+ # @type Uin: String
59
+ # @param VpcName: vpc资源名称:testname
60
+ # @type VpcName: String
61
+
62
+ attr_accessor :VpcId, :Region, :Uin, :VpcName
63
+
64
+ def initialize(vpcid=nil, region=nil, uin=nil, vpcname=nil)
65
+ @VpcId = vpcid
66
+ @Region = region
67
+ @Uin = uin
68
+ @VpcName = vpcname
69
+ end
70
+
71
+ def deserialize(params)
72
+ @VpcId = params['VpcId']
73
+ @Region = params['Region']
74
+ @Uin = params['Uin']
75
+ @VpcName = params['VpcName']
76
+ end
77
+ end
78
+
51
79
  # 关联的VPC出参
52
80
  class AccountVpcInfoOutput < TencentCloud::Common::AbstractModel
53
81
  # @param Uin: 关联账户的uin
@@ -131,6 +159,41 @@ module TencentCloud
131
159
  end
132
160
  end
133
161
 
162
+ # CreatePrivateDNSAccount请求参数结构体
163
+ class CreatePrivateDNSAccountRequest < TencentCloud::Common::AbstractModel
164
+ # @param Account: 私有域解析账号
165
+ # @type Account: :class:`Tencentcloud::Privatedns.v20201028.models.PrivateDNSAccount`
166
+
167
+ attr_accessor :Account
168
+
169
+ def initialize(account=nil)
170
+ @Account = account
171
+ end
172
+
173
+ def deserialize(params)
174
+ unless params['Account'].nil?
175
+ @Account = PrivateDNSAccount.new
176
+ @Account.deserialize(params['Account'])
177
+ end
178
+ end
179
+ end
180
+
181
+ # CreatePrivateDNSAccount返回参数结构体
182
+ class CreatePrivateDNSAccountResponse < TencentCloud::Common::AbstractModel
183
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
184
+ # @type RequestId: String
185
+
186
+ attr_accessor :RequestId
187
+
188
+ def initialize(requestid=nil)
189
+ @RequestId = requestid
190
+ end
191
+
192
+ def deserialize(params)
193
+ @RequestId = params['RequestId']
194
+ end
195
+ end
196
+
134
197
  # CreatePrivateZoneRecord请求参数结构体
135
198
  class CreatePrivateZoneRecordRequest < TencentCloud::Common::AbstractModel
136
199
  # @param ZoneId: 私有域ID
@@ -303,6 +366,41 @@ module TencentCloud
303
366
  end
304
367
  end
305
368
 
369
+ # DeletePrivateDNSAccount请求参数结构体
370
+ class DeletePrivateDNSAccountRequest < TencentCloud::Common::AbstractModel
371
+ # @param Account: 私有域解析账号
372
+ # @type Account: :class:`Tencentcloud::Privatedns.v20201028.models.PrivateDNSAccount`
373
+
374
+ attr_accessor :Account
375
+
376
+ def initialize(account=nil)
377
+ @Account = account
378
+ end
379
+
380
+ def deserialize(params)
381
+ unless params['Account'].nil?
382
+ @Account = PrivateDNSAccount.new
383
+ @Account.deserialize(params['Account'])
384
+ end
385
+ end
386
+ end
387
+
388
+ # DeletePrivateDNSAccount返回参数结构体
389
+ class DeletePrivateDNSAccountResponse < TencentCloud::Common::AbstractModel
390
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
391
+ # @type RequestId: String
392
+
393
+ attr_accessor :RequestId
394
+
395
+ def initialize(requestid=nil)
396
+ @RequestId = requestid
397
+ end
398
+
399
+ def deserialize(params)
400
+ @RequestId = params['RequestId']
401
+ end
402
+ end
403
+
306
404
  # DeletePrivateZoneRecord请求参数结构体
307
405
  class DeletePrivateZoneRecordRequest < TencentCloud::Common::AbstractModel
308
406
  # @param ZoneId: 私有域ID
@@ -379,6 +477,72 @@ module TencentCloud
379
477
  end
380
478
  end
381
479
 
480
+ # DescribeAccountVpcList请求参数结构体
481
+ class DescribeAccountVpcListRequest < TencentCloud::Common::AbstractModel
482
+ # @param AccountUin: 关联账号的uin
483
+ # @type AccountUin: String
484
+ # @param Offset: 分页偏移量,从0开始
485
+ # @type Offset: Integer
486
+ # @param Limit: 分页限制数目, 最大100,默认20
487
+ # @type Limit: Integer
488
+ # @param Filters: 过滤参数
489
+ # @type Filters: Array
490
+
491
+ attr_accessor :AccountUin, :Offset, :Limit, :Filters
492
+
493
+ def initialize(accountuin=nil, offset=nil, limit=nil, filters=nil)
494
+ @AccountUin = accountuin
495
+ @Offset = offset
496
+ @Limit = limit
497
+ @Filters = filters
498
+ end
499
+
500
+ def deserialize(params)
501
+ @AccountUin = params['AccountUin']
502
+ @Offset = params['Offset']
503
+ @Limit = params['Limit']
504
+ unless params['Filters'].nil?
505
+ @Filters = []
506
+ params['Filters'].each do |i|
507
+ filter_tmp = Filter.new
508
+ filter_tmp.deserialize(i)
509
+ @Filters << filter_tmp
510
+ end
511
+ end
512
+ end
513
+ end
514
+
515
+ # DescribeAccountVpcList返回参数结构体
516
+ class DescribeAccountVpcListResponse < TencentCloud::Common::AbstractModel
517
+ # @param TotalCount: VPC数量
518
+ # @type TotalCount: Integer
519
+ # @param VpcSet: VPC 列表
520
+ # @type VpcSet: Array
521
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
522
+ # @type RequestId: String
523
+
524
+ attr_accessor :TotalCount, :VpcSet, :RequestId
525
+
526
+ def initialize(totalcount=nil, vpcset=nil, requestid=nil)
527
+ @TotalCount = totalcount
528
+ @VpcSet = vpcset
529
+ @RequestId = requestid
530
+ end
531
+
532
+ def deserialize(params)
533
+ @TotalCount = params['TotalCount']
534
+ unless params['VpcSet'].nil?
535
+ @VpcSet = []
536
+ params['VpcSet'].each do |i|
537
+ accountvpcinfoout_tmp = AccountVpcInfoOut.new
538
+ accountvpcinfoout_tmp.deserialize(i)
539
+ @VpcSet << accountvpcinfoout_tmp
540
+ end
541
+ end
542
+ @RequestId = params['RequestId']
543
+ end
544
+ end
545
+
382
546
  # DescribeAuditLog请求参数结构体
383
547
  class DescribeAuditLogRequest < TencentCloud::Common::AbstractModel
384
548
  # @param TimeRangeBegin: 请求量统计起始时间
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-privatedns
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.212
4
+ version: 1.0.213
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-29 00:00:00.000000000 Z
11
+ date: 2021-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common