tencentcloud-sdk-privatedns 3.0.591 → 3.0.593
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201028/client.rb +24 -0
- data/lib/v20201028/models.rb +32 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f5c5b6e61f0b730859cc37d357f8c8f2c03084d
|
4
|
+
data.tar.gz: 48b2255808922756164bf02ba4b9937333d0afc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3353edef164256e8f0b7a00cf41ceba677fcb578dc271b5c80d14dd1501bdce30a161e45720c06c4391a8630aaf45cd1beb6b6eec4ed5ef6c21cd562bec17d7b
|
7
|
+
data.tar.gz: 876f98674ee5834983224416620f03b727dda1ecf37e607a5ddfe6bcd913586759f677d7fcacd4911f457e7a28c2e6e4ffe857a4c41db6b29fb93789417dbf12
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.593
|
data/lib/v20201028/client.rb
CHANGED
@@ -101,6 +101,30 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
+
# 删除终端节点
|
105
|
+
|
106
|
+
# @param request: Request instance for DeleteEndPoint.
|
107
|
+
# @type request: :class:`Tencentcloud::privatedns::V20201028::DeleteEndPointRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::privatedns::V20201028::DeleteEndPointResponse`
|
109
|
+
def DeleteEndPoint(request)
|
110
|
+
body = send_request('DeleteEndPoint', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = DeleteEndPointResponse.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
|
+
|
104
128
|
# 删除私有域解析账号
|
105
129
|
|
106
130
|
# @param request: Request instance for DeletePrivateDNSAccount.
|
data/lib/v20201028/models.rb
CHANGED
@@ -370,6 +370,38 @@ module TencentCloud
|
|
370
370
|
end
|
371
371
|
end
|
372
372
|
|
373
|
+
# DeleteEndPoint请求参数结构体
|
374
|
+
class DeleteEndPointRequest < TencentCloud::Common::AbstractModel
|
375
|
+
# @param EndPointId: 终端节点ID
|
376
|
+
# @type EndPointId: String
|
377
|
+
|
378
|
+
attr_accessor :EndPointId
|
379
|
+
|
380
|
+
def initialize(endpointid=nil)
|
381
|
+
@EndPointId = endpointid
|
382
|
+
end
|
383
|
+
|
384
|
+
def deserialize(params)
|
385
|
+
@EndPointId = params['EndPointId']
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
# DeleteEndPoint返回参数结构体
|
390
|
+
class DeleteEndPointResponse < TencentCloud::Common::AbstractModel
|
391
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
392
|
+
# @type RequestId: String
|
393
|
+
|
394
|
+
attr_accessor :RequestId
|
395
|
+
|
396
|
+
def initialize(requestid=nil)
|
397
|
+
@RequestId = requestid
|
398
|
+
end
|
399
|
+
|
400
|
+
def deserialize(params)
|
401
|
+
@RequestId = params['RequestId']
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
373
405
|
# DeletePrivateDNSAccount请求参数结构体
|
374
406
|
class DeletePrivateDNSAccountRequest < TencentCloud::Common::AbstractModel
|
375
407
|
# @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.
|
4
|
+
version: 3.0.593
|
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-
|
11
|
+
date: 2023-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|