tencentcloud-sdk-privatedns 3.0.661 → 3.0.662

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: 4b4a917e87b13445b55e4a5f8801dca883788453
4
- data.tar.gz: 0fcdff48d3dd9ddada53dbd272c2cd8c886e1652
3
+ metadata.gz: 538193d732ff5c0342cbff88bccfd3fce110e129
4
+ data.tar.gz: 3884b3610d8cd556c45db8595f428c515134f83d
5
5
  SHA512:
6
- metadata.gz: 11b3602c33195c91541a693aa5f1b8f324dd1cdbd47dad922a1501f54ad64bf3bf30c5baf1f25e279cbd0e58e9b6b8745e64dd4e221c23cb2c72f6016b756a86
7
- data.tar.gz: 54a87c50134b37c4fbb472ace054afad369e4e1cacb90d8e32a103c9cf09d3e2e8763e697f2bdc537aaeff3cc3da03804ae79b29621083fbf8b1493de7a888c3
6
+ metadata.gz: 0dae28c31bb8654e9332c7e0ec34780a82c9316708fe16511754f694aa4b94899309cdb9f5bfb2046d243c25160211aa7e499584691c53a6dddafab16164a346
7
+ data.tar.gz: aa66b376b6ec82effa2420a596cf9e1c116df69c362c0118ddd1e6c5c23c3520ad058eed32d91b51dc1716cbf5076b76ccf00c14634d2d2f56a65728dc4a43a1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.661
1
+ 3.0.662
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 追加与私有域关联的VPC
33
+
34
+ # @param request: Request instance for AddSpecifyPrivateZoneVpc.
35
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::AddSpecifyPrivateZoneVpcRequest`
36
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::AddSpecifyPrivateZoneVpcResponse`
37
+ def AddSpecifyPrivateZoneVpc(request)
38
+ body = send_request('AddSpecifyPrivateZoneVpc', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = AddSpecifyPrivateZoneVpcResponse.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 CreatePrivateDNSAccount.
@@ -197,6 +221,30 @@ module TencentCloud
197
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
222
  end
199
223
 
224
+ # 删除与私有域关联的VPC
225
+
226
+ # @param request: Request instance for DeleteSpecifyPrivateZoneVpc.
227
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DeleteSpecifyPrivateZoneVpcRequest`
228
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DeleteSpecifyPrivateZoneVpcResponse`
229
+ def DeleteSpecifyPrivateZoneVpc(request)
230
+ body = send_request('DeleteSpecifyPrivateZoneVpc', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = DeleteSpecifyPrivateZoneVpcResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
200
248
  # 获取私有域解析账号的VPC列表
201
249
 
202
250
  # @param request: Request instance for DescribeAccountVpcList.
@@ -100,6 +100,86 @@ module TencentCloud
100
100
  end
101
101
  end
102
102
 
103
+ # AddSpecifyPrivateZoneVpc请求参数结构体
104
+ class AddSpecifyPrivateZoneVpcRequest < TencentCloud::Common::AbstractModel
105
+ # @param ZoneId: 私有域id
106
+ # @type ZoneId: String
107
+ # @param VpcSet: 本次新增的vpc信息
108
+ # @type VpcSet: Array
109
+ # @param AccountVpcSet: 本次新增关联账户vpc信息
110
+ # @type AccountVpcSet: Array
111
+
112
+ attr_accessor :ZoneId, :VpcSet, :AccountVpcSet
113
+
114
+ def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil)
115
+ @ZoneId = zoneid
116
+ @VpcSet = vpcset
117
+ @AccountVpcSet = accountvpcset
118
+ end
119
+
120
+ def deserialize(params)
121
+ @ZoneId = params['ZoneId']
122
+ unless params['VpcSet'].nil?
123
+ @VpcSet = []
124
+ params['VpcSet'].each do |i|
125
+ vpcinfo_tmp = VpcInfo.new
126
+ vpcinfo_tmp.deserialize(i)
127
+ @VpcSet << vpcinfo_tmp
128
+ end
129
+ end
130
+ unless params['AccountVpcSet'].nil?
131
+ @AccountVpcSet = []
132
+ params['AccountVpcSet'].each do |i|
133
+ accountvpcinfo_tmp = AccountVpcInfo.new
134
+ accountvpcinfo_tmp.deserialize(i)
135
+ @AccountVpcSet << accountvpcinfo_tmp
136
+ end
137
+ end
138
+ end
139
+ end
140
+
141
+ # AddSpecifyPrivateZoneVpc返回参数结构体
142
+ class AddSpecifyPrivateZoneVpcResponse < TencentCloud::Common::AbstractModel
143
+ # @param ZoneId: zone id
144
+ # @type ZoneId: String
145
+ # @param VpcSet: 本次新增的vpc
146
+ # @type VpcSet: Array
147
+ # @param AccountVpcSet: 本次新增的关联账号vpc
148
+ # @type AccountVpcSet: Array
149
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
150
+ # @type RequestId: String
151
+
152
+ attr_accessor :ZoneId, :VpcSet, :AccountVpcSet, :RequestId
153
+
154
+ def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil, requestid=nil)
155
+ @ZoneId = zoneid
156
+ @VpcSet = vpcset
157
+ @AccountVpcSet = accountvpcset
158
+ @RequestId = requestid
159
+ end
160
+
161
+ def deserialize(params)
162
+ @ZoneId = params['ZoneId']
163
+ unless params['VpcSet'].nil?
164
+ @VpcSet = []
165
+ params['VpcSet'].each do |i|
166
+ vpcinfo_tmp = VpcInfo.new
167
+ vpcinfo_tmp.deserialize(i)
168
+ @VpcSet << vpcinfo_tmp
169
+ end
170
+ end
171
+ unless params['AccountVpcSet'].nil?
172
+ @AccountVpcSet = []
173
+ params['AccountVpcSet'].each do |i|
174
+ accountvpcinfo_tmp = AccountVpcInfo.new
175
+ accountvpcinfo_tmp.deserialize(i)
176
+ @AccountVpcSet << accountvpcinfo_tmp
177
+ end
178
+ end
179
+ @RequestId = params['RequestId']
180
+ end
181
+ end
182
+
103
183
  # 操作日志
104
184
  class AuditLog < TencentCloud::Common::AbstractModel
105
185
  # @param Resource: 日志类型
@@ -513,6 +593,86 @@ module TencentCloud
513
593
  end
514
594
  end
515
595
 
596
+ # DeleteSpecifyPrivateZoneVpc请求参数结构体
597
+ class DeleteSpecifyPrivateZoneVpcRequest < TencentCloud::Common::AbstractModel
598
+ # @param ZoneId: 私有域id
599
+ # @type ZoneId: String
600
+ # @param VpcSet: 本次删除的VPC
601
+ # @type VpcSet: Array
602
+ # @param AccountVpcSet: 本次删除的关联账户VPC
603
+ # @type AccountVpcSet: Array
604
+
605
+ attr_accessor :ZoneId, :VpcSet, :AccountVpcSet
606
+
607
+ def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil)
608
+ @ZoneId = zoneid
609
+ @VpcSet = vpcset
610
+ @AccountVpcSet = accountvpcset
611
+ end
612
+
613
+ def deserialize(params)
614
+ @ZoneId = params['ZoneId']
615
+ unless params['VpcSet'].nil?
616
+ @VpcSet = []
617
+ params['VpcSet'].each do |i|
618
+ vpcinfo_tmp = VpcInfo.new
619
+ vpcinfo_tmp.deserialize(i)
620
+ @VpcSet << vpcinfo_tmp
621
+ end
622
+ end
623
+ unless params['AccountVpcSet'].nil?
624
+ @AccountVpcSet = []
625
+ params['AccountVpcSet'].each do |i|
626
+ accountvpcinfo_tmp = AccountVpcInfo.new
627
+ accountvpcinfo_tmp.deserialize(i)
628
+ @AccountVpcSet << accountvpcinfo_tmp
629
+ end
630
+ end
631
+ end
632
+ end
633
+
634
+ # DeleteSpecifyPrivateZoneVpc返回参数结构体
635
+ class DeleteSpecifyPrivateZoneVpcResponse < TencentCloud::Common::AbstractModel
636
+ # @param ZoneId: 私有域id
637
+ # @type ZoneId: String
638
+ # @param VpcSet: 本次删除的VPC
639
+ # @type VpcSet: Array
640
+ # @param AccountVpcSet: 本次删除的关联账户的VPC
641
+ # @type AccountVpcSet: Array
642
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
643
+ # @type RequestId: String
644
+
645
+ attr_accessor :ZoneId, :VpcSet, :AccountVpcSet, :RequestId
646
+
647
+ def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil, requestid=nil)
648
+ @ZoneId = zoneid
649
+ @VpcSet = vpcset
650
+ @AccountVpcSet = accountvpcset
651
+ @RequestId = requestid
652
+ end
653
+
654
+ def deserialize(params)
655
+ @ZoneId = params['ZoneId']
656
+ unless params['VpcSet'].nil?
657
+ @VpcSet = []
658
+ params['VpcSet'].each do |i|
659
+ vpcinfo_tmp = VpcInfo.new
660
+ vpcinfo_tmp.deserialize(i)
661
+ @VpcSet << vpcinfo_tmp
662
+ end
663
+ end
664
+ unless params['AccountVpcSet'].nil?
665
+ @AccountVpcSet = []
666
+ params['AccountVpcSet'].each do |i|
667
+ accountvpcinfo_tmp = AccountVpcInfo.new
668
+ accountvpcinfo_tmp.deserialize(i)
669
+ @AccountVpcSet << accountvpcinfo_tmp
670
+ end
671
+ end
672
+ @RequestId = params['RequestId']
673
+ end
674
+ end
675
+
516
676
  # DescribeAccountVpcList请求参数结构体
517
677
  class DescribeAccountVpcListRequest < TencentCloud::Common::AbstractModel
518
678
  # @param AccountUin: 关联账号的uin
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: 3.0.661
4
+ version: 3.0.662
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-09-18 00:00:00.000000000 Z
11
+ date: 2023-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common