tencentcloud-sdk-apigateway 3.0.950 → 3.0.952
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/v20180808/client.rb +48 -0
- data/lib/v20180808/models.rb +147 -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: fc38d4c56608f46cb77c2642476853d9ea2d48b2
|
4
|
+
data.tar.gz: 4a47e2e7355be97a1d38c4d851e9d04bab53e85a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a23e24d7bc8c426ddfdbb0af82d8f3af7a57808a64c1b67cc1710f21802f4d8bdad6e1011385384ffc0f9fca5ccc26190a09cf5c628a39285c3d7f2a288c377f
|
7
|
+
data.tar.gz: 057bfcca2a00ae9c24814cacf918a33affbafd9f6f5d410b52df67893518652fe5f35eb4a077872b07bcb4bfc956451c2651ee57a9ffe4d25c877ed6709a710a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.952
|
data/lib/v20180808/client.rb
CHANGED
@@ -297,6 +297,30 @@ module TencentCloud
|
|
297
297
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
298
298
|
end
|
299
299
|
|
300
|
+
# 创建专享实例
|
301
|
+
|
302
|
+
# @param request: Request instance for CreateExclusiveInstances.
|
303
|
+
# @type request: :class:`Tencentcloud::apigateway::V20180808::CreateExclusiveInstancesRequest`
|
304
|
+
# @rtype: :class:`Tencentcloud::apigateway::V20180808::CreateExclusiveInstancesResponse`
|
305
|
+
def CreateExclusiveInstances(request)
|
306
|
+
body = send_request('CreateExclusiveInstances', request.serialize)
|
307
|
+
response = JSON.parse(body)
|
308
|
+
if response['Response'].key?('Error') == false
|
309
|
+
model = CreateExclusiveInstancesResponse.new
|
310
|
+
model.deserialize(response['Response'])
|
311
|
+
model
|
312
|
+
else
|
313
|
+
code = response['Response']['Error']['Code']
|
314
|
+
message = response['Response']['Error']['Message']
|
315
|
+
reqid = response['Response']['RequestId']
|
316
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
317
|
+
end
|
318
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
319
|
+
raise e
|
320
|
+
rescue StandardError => e
|
321
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
322
|
+
end
|
323
|
+
|
300
324
|
# 本接口(CreateIPStrategy)用于创建服务IP策略。
|
301
325
|
|
302
326
|
# @param request: Request instance for CreateIPStrategy.
|
@@ -1193,6 +1217,30 @@ module TencentCloud
|
|
1193
1217
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1194
1218
|
end
|
1195
1219
|
|
1220
|
+
# 获取专享实例网络配置列表
|
1221
|
+
|
1222
|
+
# @param request: Request instance for DescribeInstancesNetworkConfig.
|
1223
|
+
# @type request: :class:`Tencentcloud::apigateway::V20180808::DescribeInstancesNetworkConfigRequest`
|
1224
|
+
# @rtype: :class:`Tencentcloud::apigateway::V20180808::DescribeInstancesNetworkConfigResponse`
|
1225
|
+
def DescribeInstancesNetworkConfig(request)
|
1226
|
+
body = send_request('DescribeInstancesNetworkConfig', request.serialize)
|
1227
|
+
response = JSON.parse(body)
|
1228
|
+
if response['Response'].key?('Error') == false
|
1229
|
+
model = DescribeInstancesNetworkConfigResponse.new
|
1230
|
+
model.deserialize(response['Response'])
|
1231
|
+
model
|
1232
|
+
else
|
1233
|
+
code = response['Response']['Error']['Code']
|
1234
|
+
message = response['Response']['Error']['Message']
|
1235
|
+
reqid = response['Response']['RequestId']
|
1236
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1237
|
+
end
|
1238
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1239
|
+
raise e
|
1240
|
+
rescue StandardError => e
|
1241
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1242
|
+
end
|
1243
|
+
|
1196
1244
|
# 本接口DescribeLogSearch用于搜索日志
|
1197
1245
|
|
1198
1246
|
# @param request: Request instance for DescribeLogSearch.
|
data/lib/v20180808/models.rb
CHANGED
@@ -2338,6 +2338,101 @@ module TencentCloud
|
|
2338
2338
|
end
|
2339
2339
|
end
|
2340
2340
|
|
2341
|
+
# CreateExclusiveInstances请求参数结构体
|
2342
|
+
class CreateExclusiveInstancesRequest < TencentCloud::Common::AbstractModel
|
2343
|
+
# @param Zones: 可用区
|
2344
|
+
# @type Zones: Array
|
2345
|
+
# @param InstanceType: 实例类型:
|
2346
|
+
# basic: 基础版
|
2347
|
+
# professional: 专业版
|
2348
|
+
# enterprise: 企业版
|
2349
|
+
# platium: 铂金版
|
2350
|
+
# diamond: 钻石版
|
2351
|
+
# @type InstanceType: String
|
2352
|
+
# @param NetworkConfig: 网络配置
|
2353
|
+
# @type NetworkConfig: :class:`Tencentcloud::Apigateway.v20180808.models.InstanceNetworkConfig`
|
2354
|
+
# @param VpcConfig: VPC配置
|
2355
|
+
# @type VpcConfig: :class:`Tencentcloud::Apigateway.v20180808.models.VpcConfig`
|
2356
|
+
# @param PayMode: 付费类型:
|
2357
|
+
# POSTPAID:后付费
|
2358
|
+
# PREPAID: 预付费
|
2359
|
+
# @type PayMode: String
|
2360
|
+
# @param InstanceName: 实例名
|
2361
|
+
# @type InstanceName: String
|
2362
|
+
# @param InstanceDescription: 实例描述
|
2363
|
+
# @type InstanceDescription: String
|
2364
|
+
# @param Tags: 标签
|
2365
|
+
# @type Tags: Array
|
2366
|
+
# @param Period: 预付费付费时长:单位是月
|
2367
|
+
# @type Period: Integer
|
2368
|
+
# @param AutoRenewFlag: 预付费续费标志:
|
2369
|
+
# NOTIFY_AND_MANUAL_RENEW 手动续费
|
2370
|
+
# NOTIFY_AND_AUTO_RENEW 自动续费
|
2371
|
+
# DISABLE_NOTIFY_AND_MANUAL_RENEW 不续费
|
2372
|
+
# @type AutoRenewFlag: String
|
2373
|
+
|
2374
|
+
attr_accessor :Zones, :InstanceType, :NetworkConfig, :VpcConfig, :PayMode, :InstanceName, :InstanceDescription, :Tags, :Period, :AutoRenewFlag
|
2375
|
+
|
2376
|
+
def initialize(zones=nil, instancetype=nil, networkconfig=nil, vpcconfig=nil, paymode=nil, instancename=nil, instancedescription=nil, tags=nil, period=nil, autorenewflag=nil)
|
2377
|
+
@Zones = zones
|
2378
|
+
@InstanceType = instancetype
|
2379
|
+
@NetworkConfig = networkconfig
|
2380
|
+
@VpcConfig = vpcconfig
|
2381
|
+
@PayMode = paymode
|
2382
|
+
@InstanceName = instancename
|
2383
|
+
@InstanceDescription = instancedescription
|
2384
|
+
@Tags = tags
|
2385
|
+
@Period = period
|
2386
|
+
@AutoRenewFlag = autorenewflag
|
2387
|
+
end
|
2388
|
+
|
2389
|
+
def deserialize(params)
|
2390
|
+
@Zones = params['Zones']
|
2391
|
+
@InstanceType = params['InstanceType']
|
2392
|
+
unless params['NetworkConfig'].nil?
|
2393
|
+
@NetworkConfig = InstanceNetworkConfig.new
|
2394
|
+
@NetworkConfig.deserialize(params['NetworkConfig'])
|
2395
|
+
end
|
2396
|
+
unless params['VpcConfig'].nil?
|
2397
|
+
@VpcConfig = VpcConfig.new
|
2398
|
+
@VpcConfig.deserialize(params['VpcConfig'])
|
2399
|
+
end
|
2400
|
+
@PayMode = params['PayMode']
|
2401
|
+
@InstanceName = params['InstanceName']
|
2402
|
+
@InstanceDescription = params['InstanceDescription']
|
2403
|
+
unless params['Tags'].nil?
|
2404
|
+
@Tags = []
|
2405
|
+
params['Tags'].each do |i|
|
2406
|
+
tag_tmp = Tag.new
|
2407
|
+
tag_tmp.deserialize(i)
|
2408
|
+
@Tags << tag_tmp
|
2409
|
+
end
|
2410
|
+
end
|
2411
|
+
@Period = params['Period']
|
2412
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
2413
|
+
end
|
2414
|
+
end
|
2415
|
+
|
2416
|
+
# CreateExclusiveInstances返回参数结构体
|
2417
|
+
class CreateExclusiveInstancesResponse < TencentCloud::Common::AbstractModel
|
2418
|
+
# @param Result: 实例ID
|
2419
|
+
# @type Result: String
|
2420
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2421
|
+
# @type RequestId: String
|
2422
|
+
|
2423
|
+
attr_accessor :Result, :RequestId
|
2424
|
+
|
2425
|
+
def initialize(result=nil, requestid=nil)
|
2426
|
+
@Result = result
|
2427
|
+
@RequestId = requestid
|
2428
|
+
end
|
2429
|
+
|
2430
|
+
def deserialize(params)
|
2431
|
+
@Result = params['Result']
|
2432
|
+
@RequestId = params['RequestId']
|
2433
|
+
end
|
2434
|
+
end
|
2435
|
+
|
2341
2436
|
# CreateIPStrategy请求参数结构体
|
2342
2437
|
class CreateIPStrategyRequest < TencentCloud::Common::AbstractModel
|
2343
2438
|
# @param ServiceId: 服务的唯一ID。
|
@@ -4529,6 +4624,42 @@ module TencentCloud
|
|
4529
4624
|
end
|
4530
4625
|
end
|
4531
4626
|
|
4627
|
+
# DescribeInstancesNetworkConfig请求参数结构体
|
4628
|
+
class DescribeInstancesNetworkConfigRequest < TencentCloud::Common::AbstractModel
|
4629
|
+
# @param Limit: 返回数量,默认为 20,最大值为 100。
|
4630
|
+
# @type Limit: Integer
|
4631
|
+
# @param Offset: 偏移量,默认为 0。
|
4632
|
+
# @type Offset: Integer
|
4633
|
+
|
4634
|
+
attr_accessor :Limit, :Offset
|
4635
|
+
|
4636
|
+
def initialize(limit=nil, offset=nil)
|
4637
|
+
@Limit = limit
|
4638
|
+
@Offset = offset
|
4639
|
+
end
|
4640
|
+
|
4641
|
+
def deserialize(params)
|
4642
|
+
@Limit = params['Limit']
|
4643
|
+
@Offset = params['Offset']
|
4644
|
+
end
|
4645
|
+
end
|
4646
|
+
|
4647
|
+
# DescribeInstancesNetworkConfig返回参数结构体
|
4648
|
+
class DescribeInstancesNetworkConfigResponse < TencentCloud::Common::AbstractModel
|
4649
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4650
|
+
# @type RequestId: String
|
4651
|
+
|
4652
|
+
attr_accessor :RequestId
|
4653
|
+
|
4654
|
+
def initialize(requestid=nil)
|
4655
|
+
@RequestId = requestid
|
4656
|
+
end
|
4657
|
+
|
4658
|
+
def deserialize(params)
|
4659
|
+
@RequestId = params['RequestId']
|
4660
|
+
end
|
4661
|
+
end
|
4662
|
+
|
4532
4663
|
# DescribeLogSearch请求参数结构体
|
4533
4664
|
class DescribeLogSearchRequest < TencentCloud::Common::AbstractModel
|
4534
4665
|
# @param StartTime: 日志开始时间
|
@@ -6697,6 +6828,22 @@ module TencentCloud
|
|
6697
6828
|
end
|
6698
6829
|
end
|
6699
6830
|
|
6831
|
+
# 专享网络配置
|
6832
|
+
class InstanceNetworkConfig < TencentCloud::Common::AbstractModel
|
6833
|
+
# @param InternetMaxBandwidthOut: 公网带宽
|
6834
|
+
# @type InternetMaxBandwidthOut: Integer
|
6835
|
+
|
6836
|
+
attr_accessor :InternetMaxBandwidthOut
|
6837
|
+
|
6838
|
+
def initialize(internetmaxbandwidthout=nil)
|
6839
|
+
@InternetMaxBandwidthOut = internetmaxbandwidthout
|
6840
|
+
end
|
6841
|
+
|
6842
|
+
def deserialize(params)
|
6843
|
+
@InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
|
6844
|
+
end
|
6845
|
+
end
|
6846
|
+
|
6700
6847
|
# 独享实例参数信息
|
6701
6848
|
class InstanceParameterInput < TencentCloud::Common::AbstractModel
|
6702
6849
|
# @param Name: ServiceRequestNumPreSec,ApiRequestNumPreSec
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-apigateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.952
|
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-
|
11
|
+
date: 2024-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|