tencentcloud-sdk-apigateway 1.0.331 → 1.0.332
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180808/client.rb +24 -0
- data/lib/v20180808/models.rb +83 -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: 0d289b596e445de5a19318d85f889522245dca54
|
4
|
+
data.tar.gz: aed0dfdd776dbdc2c5bc05f939a448bd40e1d725
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 931b5a0fbae2330b49f314ee6126e489d17122a24e43d1d99918a50d76f9af31700aaedf7a724bf1ac7f8de95e5611f6a82e49fd7cc68de6996d996a764fd012
|
7
|
+
data.tar.gz: 6da20885d360de9bcb19b7da62c890c3b811e4b83239698f3a48e211bd6a0932166c5288f03c69e5489f9dfcc3be3363a19c9676efd84986d54a58462262eaaa
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.332
|
data/lib/v20180808/client.rb
CHANGED
@@ -1073,6 +1073,30 @@ module TencentCloud
|
|
1073
1073
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1074
1074
|
end
|
1075
1075
|
|
1076
|
+
# 查询专享实例列表(新)
|
1077
|
+
|
1078
|
+
# @param request: Request instance for DescribeExclusiveInstancesStatus.
|
1079
|
+
# @type request: :class:`Tencentcloud::apigateway::V20180808::DescribeExclusiveInstancesStatusRequest`
|
1080
|
+
# @rtype: :class:`Tencentcloud::apigateway::V20180808::DescribeExclusiveInstancesStatusResponse`
|
1081
|
+
def DescribeExclusiveInstancesStatus(request)
|
1082
|
+
body = send_request('DescribeExclusiveInstancesStatus', request.serialize)
|
1083
|
+
response = JSON.parse(body)
|
1084
|
+
if response['Response'].key?('Error') == false
|
1085
|
+
model = DescribeExclusiveInstancesStatusResponse.new
|
1086
|
+
model.deserialize(response['Response'])
|
1087
|
+
model
|
1088
|
+
else
|
1089
|
+
code = response['Response']['Error']['Code']
|
1090
|
+
message = response['Response']['Error']['Message']
|
1091
|
+
reqid = response['Response']['RequestId']
|
1092
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1093
|
+
end
|
1094
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1095
|
+
raise e
|
1096
|
+
rescue StandardError => e
|
1097
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1098
|
+
end
|
1099
|
+
|
1076
1100
|
# 本接口(DescribeIPStrategy)用于查询IP策略详情。
|
1077
1101
|
|
1078
1102
|
# @param request: Request instance for DescribeIPStrategy.
|
data/lib/v20180808/models.rb
CHANGED
@@ -3861,6 +3861,60 @@ module TencentCloud
|
|
3861
3861
|
end
|
3862
3862
|
end
|
3863
3863
|
|
3864
|
+
# DescribeExclusiveInstancesStatus请求参数结构体
|
3865
|
+
class DescribeExclusiveInstancesStatusRequest < TencentCloud::Common::AbstractModel
|
3866
|
+
# @param Limit: 分页查询,limit
|
3867
|
+
# @type Limit: Integer
|
3868
|
+
# @param Offset: 分页查询,offset
|
3869
|
+
# @type Offset: Integer
|
3870
|
+
# @param Filters: 过滤条件
|
3871
|
+
# @type Filters: Array
|
3872
|
+
|
3873
|
+
attr_accessor :Limit, :Offset, :Filters
|
3874
|
+
|
3875
|
+
def initialize(limit=nil, offset=nil, filters=nil)
|
3876
|
+
@Limit = limit
|
3877
|
+
@Offset = offset
|
3878
|
+
@Filters = filters
|
3879
|
+
end
|
3880
|
+
|
3881
|
+
def deserialize(params)
|
3882
|
+
@Limit = params['Limit']
|
3883
|
+
@Offset = params['Offset']
|
3884
|
+
unless params['Filters'].nil?
|
3885
|
+
@Filters = []
|
3886
|
+
params['Filters'].each do |i|
|
3887
|
+
filter_tmp = Filter.new
|
3888
|
+
filter_tmp.deserialize(i)
|
3889
|
+
@Filters << filter_tmp
|
3890
|
+
end
|
3891
|
+
end
|
3892
|
+
end
|
3893
|
+
end
|
3894
|
+
|
3895
|
+
# DescribeExclusiveInstancesStatus返回参数结构体
|
3896
|
+
class DescribeExclusiveInstancesStatusResponse < TencentCloud::Common::AbstractModel
|
3897
|
+
# @param Result: 独享实例列表查询结果
|
3898
|
+
# @type Result: :class:`Tencentcloud::Apigateway.v20180808.models.InstanceSummary`
|
3899
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3900
|
+
# @type RequestId: String
|
3901
|
+
|
3902
|
+
attr_accessor :Result, :RequestId
|
3903
|
+
|
3904
|
+
def initialize(result=nil, requestid=nil)
|
3905
|
+
@Result = result
|
3906
|
+
@RequestId = requestid
|
3907
|
+
end
|
3908
|
+
|
3909
|
+
def deserialize(params)
|
3910
|
+
unless params['Result'].nil?
|
3911
|
+
@Result = InstanceSummary.new
|
3912
|
+
@Result.deserialize(params['Result'])
|
3913
|
+
end
|
3914
|
+
@RequestId = params['RequestId']
|
3915
|
+
end
|
3916
|
+
end
|
3917
|
+
|
3864
3918
|
# DescribeIPStrategyApisStatus请求参数结构体
|
3865
3919
|
class DescribeIPStrategyApisStatusRequest < TencentCloud::Common::AbstractModel
|
3866
3920
|
# @param ServiceId: 服务唯一ID。
|
@@ -6147,6 +6201,35 @@ module TencentCloud
|
|
6147
6201
|
end
|
6148
6202
|
end
|
6149
6203
|
|
6204
|
+
# 专享查询列表
|
6205
|
+
class InstanceSummary < TencentCloud::Common::AbstractModel
|
6206
|
+
# @param TotalCount: 专享实例总数
|
6207
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6208
|
+
# @type TotalCount: Integer
|
6209
|
+
# @param InstanceSet: 专享实例列表
|
6210
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6211
|
+
# @type InstanceSet: Array
|
6212
|
+
|
6213
|
+
attr_accessor :TotalCount, :InstanceSet
|
6214
|
+
|
6215
|
+
def initialize(totalcount=nil, instanceset=nil)
|
6216
|
+
@TotalCount = totalcount
|
6217
|
+
@InstanceSet = instanceset
|
6218
|
+
end
|
6219
|
+
|
6220
|
+
def deserialize(params)
|
6221
|
+
@TotalCount = params['TotalCount']
|
6222
|
+
unless params['InstanceSet'].nil?
|
6223
|
+
@InstanceSet = []
|
6224
|
+
params['InstanceSet'].each do |i|
|
6225
|
+
instanceinfo_tmp = InstanceInfo.new
|
6226
|
+
instanceinfo_tmp.deserialize(i)
|
6227
|
+
@InstanceSet << instanceinfo_tmp
|
6228
|
+
end
|
6229
|
+
end
|
6230
|
+
end
|
6231
|
+
end
|
6232
|
+
|
6150
6233
|
# k8s Label
|
6151
6234
|
class K8sLabel < TencentCloud::Common::AbstractModel
|
6152
6235
|
# @param Key: Label的Key
|
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: 1.0.
|
4
|
+
version: 1.0.332
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|