tencentcloud-sdk-privatedns 3.0.924 → 3.0.926

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: 3754ce00dede3426e2d929c68706918296dfd79f
4
- data.tar.gz: 97c321b9b8ab69c56fa62cea896350dfb3595ce2
3
+ metadata.gz: cd1fbc0665b9548bf03ed751557318cb0125aae1
4
+ data.tar.gz: 3e14318110a3d38722d0a009404f414dcfb44631
5
5
  SHA512:
6
- metadata.gz: fe7682cd32315b942e298e7b399cba16308443081f8d8370a7e9a9f99db977ede1dad4d1bdbec69684c3e0e7196153738616532e03ea5761442ff7c48707e135
7
- data.tar.gz: 20e5be25eca8118f8a03b763ccb4ba75bc151a680fafda6a594a3efbe5ba78c2fbdd38a5950cba751378ec388d8d834d6b0f5d8f62563628b23a57ce9d7c6f24
6
+ metadata.gz: 59483e5b03e10e29a09152e59571dfe5387b660d9f612c114adecf4a42dd01e0ed98cadbe3767178f13362538d5e4145a58f7caed98f906fcfe3ba0484dc1b7f
7
+ data.tar.gz: cddeb30225642d4ed6e2b8ab86b18862506c50b8fb484f52f0f0ced9cdd9233fece40e8a2dad1b5ef61580c68fbac5457e6f41784ce498d88d4e13b916e18465
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.924
1
+ 3.0.926
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 创建终端节点
57
+
58
+ # @param request: Request instance for CreateEndPoint.
59
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::CreateEndPointRequest`
60
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::CreateEndPointResponse`
61
+ def CreateEndPoint(request)
62
+ body = send_request('CreateEndPoint', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateEndPointResponse.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
  # 创建私有域解析账号
57
81
 
58
82
  # @param request: Request instance for CreatePrivateDNSAccount.
@@ -248,6 +248,66 @@ module TencentCloud
248
248
  end
249
249
  end
250
250
 
251
+ # CreateEndPoint请求参数结构体
252
+ class CreateEndPointRequest < TencentCloud::Common::AbstractModel
253
+ # @param EndPointName: 终端节点名称
254
+ # @type EndPointName: String
255
+ # @param EndPointServiceId: 终端节点服务ID(vpc终端节点服务ID)
256
+ # @type EndPointServiceId: String
257
+ # @param EndPointRegion: 终端节点地域,必须要和终端节点服务所属地域一致
258
+ # @type EndPointRegion: String
259
+ # @param IpNum: 终端节点ip数量
260
+ # @type IpNum: Integer
261
+
262
+ attr_accessor :EndPointName, :EndPointServiceId, :EndPointRegion, :IpNum
263
+
264
+ def initialize(endpointname=nil, endpointserviceid=nil, endpointregion=nil, ipnum=nil)
265
+ @EndPointName = endpointname
266
+ @EndPointServiceId = endpointserviceid
267
+ @EndPointRegion = endpointregion
268
+ @IpNum = ipnum
269
+ end
270
+
271
+ def deserialize(params)
272
+ @EndPointName = params['EndPointName']
273
+ @EndPointServiceId = params['EndPointServiceId']
274
+ @EndPointRegion = params['EndPointRegion']
275
+ @IpNum = params['IpNum']
276
+ end
277
+ end
278
+
279
+ # CreateEndPoint返回参数结构体
280
+ class CreateEndPointResponse < TencentCloud::Common::AbstractModel
281
+ # @param EndPointId: 终端节点id
282
+ # @type EndPointId: String
283
+ # @param EndPointName: 终端节点名称
284
+ # @type EndPointName: String
285
+ # @param EndPointServiceId: 终端节点服务ID
286
+ # @type EndPointServiceId: String
287
+ # @param EndPointVipSet: 终端节点的IP列表
288
+ # @type EndPointVipSet: Array
289
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
290
+ # @type RequestId: String
291
+
292
+ attr_accessor :EndPointId, :EndPointName, :EndPointServiceId, :EndPointVipSet, :RequestId
293
+
294
+ def initialize(endpointid=nil, endpointname=nil, endpointserviceid=nil, endpointvipset=nil, requestid=nil)
295
+ @EndPointId = endpointid
296
+ @EndPointName = endpointname
297
+ @EndPointServiceId = endpointserviceid
298
+ @EndPointVipSet = endpointvipset
299
+ @RequestId = requestid
300
+ end
301
+
302
+ def deserialize(params)
303
+ @EndPointId = params['EndPointId']
304
+ @EndPointName = params['EndPointName']
305
+ @EndPointServiceId = params['EndPointServiceId']
306
+ @EndPointVipSet = params['EndPointVipSet']
307
+ @RequestId = params['RequestId']
308
+ end
309
+ end
310
+
251
311
  # CreatePrivateDNSAccount请求参数结构体
252
312
  class CreatePrivateDNSAccountRequest < TencentCloud::Common::AbstractModel
253
313
  # @param Account: 私有域解析账号
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.924
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-14 00:00:00.000000000 Z
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