tencentcloud-sdk-teo 3.0.652 → 3.0.654
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/v20220901/client.rb +24 -0
- data/lib/v20220901/models.rb +50 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f09dddbe3e75f1e10edb9e41755a529a4c3def9
|
4
|
+
data.tar.gz: 0c26aceb05ffdcfa48ee90acb7089817b99f9f35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca919559dd370ee39025da84b0fd75f176055d16a24af6b8cebd9a31679e6805dab4ddd9db151c7c6e25150d8d2181f7701183af1428836b20db30ac3158aed0
|
7
|
+
data.tar.gz: a0414b80ba73f1484a075ce045ea16977e6b205d37e9afccf1c50142a5c3abbefbdf30377a8021187600fb09a5fa14ea71cdb5336c3a33dcbd685fe9ef7cfef5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.654
|
data/lib/v20220901/client.rb
CHANGED
@@ -319,6 +319,30 @@ module TencentCloud
|
|
319
319
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
320
320
|
end
|
321
321
|
|
322
|
+
# 创建共享 CNAME
|
323
|
+
|
324
|
+
# @param request: Request instance for CreateSharedCNAME.
|
325
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::CreateSharedCNAMERequest`
|
326
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::CreateSharedCNAMEResponse`
|
327
|
+
def CreateSharedCNAME(request)
|
328
|
+
body = send_request('CreateSharedCNAME', request.serialize)
|
329
|
+
response = JSON.parse(body)
|
330
|
+
if response['Response'].key?('Error') == false
|
331
|
+
model = CreateSharedCNAMEResponse.new
|
332
|
+
model.deserialize(response['Response'])
|
333
|
+
model
|
334
|
+
else
|
335
|
+
code = response['Response']['Error']['Code']
|
336
|
+
message = response['Response']['Error']['Message']
|
337
|
+
reqid = response['Response']['RequestId']
|
338
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
339
|
+
end
|
340
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
341
|
+
raise e
|
342
|
+
rescue StandardError => e
|
343
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
344
|
+
end
|
345
|
+
|
322
346
|
# 用于用户接入新的站点。
|
323
347
|
|
324
348
|
# @param request: Request instance for CreateZone.
|
data/lib/v20220901/models.rb
CHANGED
@@ -1230,8 +1230,8 @@ module TencentCloud
|
|
1230
1230
|
|
1231
1231
|
attr_accessor :Switch, :CacheTime, :IgnoreCacheControl
|
1232
1232
|
extend Gem::Deprecate
|
1233
|
-
deprecate :IgnoreCacheControl, :none, 2023,
|
1234
|
-
deprecate :IgnoreCacheControl=, :none, 2023,
|
1233
|
+
deprecate :IgnoreCacheControl, :none, 2023, 9
|
1234
|
+
deprecate :IgnoreCacheControl=, :none, 2023, 9
|
1235
1235
|
|
1236
1236
|
def initialize(switch=nil, cachetime=nil, ignorecachecontrol=nil)
|
1237
1237
|
@Switch = switch
|
@@ -2010,8 +2010,8 @@ module TencentCloud
|
|
2010
2010
|
|
2011
2011
|
attr_accessor :ZoneId, :Type, :Method, :Targets, :EncodeUrl
|
2012
2012
|
extend Gem::Deprecate
|
2013
|
-
deprecate :EncodeUrl, :none, 2023,
|
2014
|
-
deprecate :EncodeUrl=, :none, 2023,
|
2013
|
+
deprecate :EncodeUrl, :none, 2023, 9
|
2014
|
+
deprecate :EncodeUrl=, :none, 2023, 9
|
2015
2015
|
|
2016
2016
|
def initialize(zoneid=nil, type=nil, method=nil, targets=nil, encodeurl=nil)
|
2017
2017
|
@ZoneId = zoneid
|
@@ -2166,6 +2166,52 @@ module TencentCloud
|
|
2166
2166
|
end
|
2167
2167
|
end
|
2168
2168
|
|
2169
|
+
# CreateSharedCNAME请求参数结构体
|
2170
|
+
class CreateSharedCNAMERequest < TencentCloud::Common::AbstractModel
|
2171
|
+
# @param ZoneId: 共享 CNAME 所属站点的 ID。
|
2172
|
+
# @type ZoneId: String
|
2173
|
+
# @param SharedCNAMEPrefix: 共享 CNAME 前缀。请输入合法的域名前缀,例如"test-api"、"test-api.com",限制输入 50 个字符。
|
2174
|
+
# 共享 CNAME 完整格式为:<自定义前缀>+<zoneid中的12位随机字符串>+"share.eo.dnse[0-5].com"。例如前缀传入 example.com,EO 会为您创建共享 CNAME:example.com.sai2ig51kaa5.eo.dns2.com
|
2175
|
+
# 示例值:example.com
|
2176
|
+
# @type SharedCNAMEPrefix: String
|
2177
|
+
# @param Description: 描述。可输入 1-50 个任意字符。
|
2178
|
+
# @type Description: String
|
2179
|
+
|
2180
|
+
attr_accessor :ZoneId, :SharedCNAMEPrefix, :Description
|
2181
|
+
|
2182
|
+
def initialize(zoneid=nil, sharedcnameprefix=nil, description=nil)
|
2183
|
+
@ZoneId = zoneid
|
2184
|
+
@SharedCNAMEPrefix = sharedcnameprefix
|
2185
|
+
@Description = description
|
2186
|
+
end
|
2187
|
+
|
2188
|
+
def deserialize(params)
|
2189
|
+
@ZoneId = params['ZoneId']
|
2190
|
+
@SharedCNAMEPrefix = params['SharedCNAMEPrefix']
|
2191
|
+
@Description = params['Description']
|
2192
|
+
end
|
2193
|
+
end
|
2194
|
+
|
2195
|
+
# CreateSharedCNAME返回参数结构体
|
2196
|
+
class CreateSharedCNAMEResponse < TencentCloud::Common::AbstractModel
|
2197
|
+
# @param SharedCNAME: 共享 CNAME。格式为:<自定义前缀>+<ZoneId中的12位随机字符串>+"share.eo.dnse[0-5].com"
|
2198
|
+
# @type SharedCNAME: String
|
2199
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2200
|
+
# @type RequestId: String
|
2201
|
+
|
2202
|
+
attr_accessor :SharedCNAME, :RequestId
|
2203
|
+
|
2204
|
+
def initialize(sharedcname=nil, requestid=nil)
|
2205
|
+
@SharedCNAME = sharedcname
|
2206
|
+
@RequestId = requestid
|
2207
|
+
end
|
2208
|
+
|
2209
|
+
def deserialize(params)
|
2210
|
+
@SharedCNAME = params['SharedCNAME']
|
2211
|
+
@RequestId = params['RequestId']
|
2212
|
+
end
|
2213
|
+
end
|
2214
|
+
|
2169
2215
|
# CreateZone请求参数结构体
|
2170
2216
|
class CreateZoneRequest < TencentCloud::Common::AbstractModel
|
2171
2217
|
# @param ZoneName: 站点名称。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-teo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.654
|
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-
|
11
|
+
date: 2023-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,11 +33,11 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-teo.rb
|
37
|
-
- lib/v20220106/client.rb
|
38
36
|
- lib/v20220106/models.rb
|
39
|
-
- lib/
|
37
|
+
- lib/v20220106/client.rb
|
40
38
|
- lib/v20220901/models.rb
|
39
|
+
- lib/v20220901/client.rb
|
40
|
+
- lib/tencentcloud-sdk-teo.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|