tencentcloud-sdk-tcr 3.0.519 → 3.0.521
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/v20190924/client.rb +0 -26
- data/lib/v20190924/models.rb +0 -72
- 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: 98940012aae21a917059179956b3dab5b1b256ea
|
4
|
+
data.tar.gz: d9ed9c8e774edf057228b5a55fb9b9dc03807b94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09edff6a44c1e18c5a04d1c8d240a75f52f981aac71fa595b64b3923f8e5e9d77d85fdd979ec96e4b8a6e84fd2a25336b77000110f574ed7f58889bf1c891aef
|
7
|
+
data.tar.gz: a093d8c3ee7c73fcb349c19ed10416d8310f7454e1be953b2991bd090e2aee22e0fde294825d84e11fd813d59055d693ab4a8e9388a1d939643d52962cc345df
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.521
|
data/lib/v20190924/client.rb
CHANGED
@@ -1493,32 +1493,6 @@ module TencentCloud
|
|
1493
1493
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1494
1494
|
end
|
1495
1495
|
|
1496
|
-
# 内部替换接口+DescribeInstanceAllForCoding
|
1497
|
-
|
1498
|
-
# 查询全部实例信息
|
1499
|
-
|
1500
|
-
# @param request: Request instance for DescribeInstanceAll.
|
1501
|
-
# @type request: :class:`Tencentcloud::tcr::V20190924::DescribeInstanceAllRequest`
|
1502
|
-
# @rtype: :class:`Tencentcloud::tcr::V20190924::DescribeInstanceAllResponse`
|
1503
|
-
def DescribeInstanceAll(request)
|
1504
|
-
body = send_request('DescribeInstanceAll', request.serialize)
|
1505
|
-
response = JSON.parse(body)
|
1506
|
-
if response['Response'].key?('Error') == false
|
1507
|
-
model = DescribeInstanceAllResponse.new
|
1508
|
-
model.deserialize(response['Response'])
|
1509
|
-
model
|
1510
|
-
else
|
1511
|
-
code = response['Response']['Error']['Code']
|
1512
|
-
message = response['Response']['Error']['Message']
|
1513
|
-
reqid = response['Response']['RequestId']
|
1514
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1515
|
-
end
|
1516
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1517
|
-
raise e
|
1518
|
-
rescue StandardError => e
|
1519
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1520
|
-
end
|
1521
|
-
|
1522
1496
|
# 查询所有实例命名空间列表
|
1523
1497
|
|
1524
1498
|
# @param request: Request instance for DescribeInstanceAllNamespaces.
|
data/lib/v20190924/models.rb
CHANGED
@@ -2930,78 +2930,6 @@ module TencentCloud
|
|
2930
2930
|
end
|
2931
2931
|
end
|
2932
2932
|
|
2933
|
-
# DescribeInstanceAll请求参数结构体
|
2934
|
-
class DescribeInstanceAllRequest < TencentCloud::Common::AbstractModel
|
2935
|
-
# @param Registryids: 实例ID列表(为空时,
|
2936
|
-
# 表示获取账号下所有实例)
|
2937
|
-
# @type Registryids: Array
|
2938
|
-
# @param Offset: 偏移量,默认0
|
2939
|
-
# @type Offset: Integer
|
2940
|
-
# @param Limit: 最大输出条数,默认20,最大为100
|
2941
|
-
# @type Limit: Integer
|
2942
|
-
# @param Filters: 过滤条件
|
2943
|
-
# @type Filters: Array
|
2944
|
-
# @param AllRegion: 获取所有地域的实例,默认为False
|
2945
|
-
# @type AllRegion: Boolean
|
2946
|
-
|
2947
|
-
attr_accessor :Registryids, :Offset, :Limit, :Filters, :AllRegion
|
2948
|
-
|
2949
|
-
def initialize(registryids=nil, offset=nil, limit=nil, filters=nil, allregion=nil)
|
2950
|
-
@Registryids = registryids
|
2951
|
-
@Offset = offset
|
2952
|
-
@Limit = limit
|
2953
|
-
@Filters = filters
|
2954
|
-
@AllRegion = allregion
|
2955
|
-
end
|
2956
|
-
|
2957
|
-
def deserialize(params)
|
2958
|
-
@Registryids = params['Registryids']
|
2959
|
-
@Offset = params['Offset']
|
2960
|
-
@Limit = params['Limit']
|
2961
|
-
unless params['Filters'].nil?
|
2962
|
-
@Filters = []
|
2963
|
-
params['Filters'].each do |i|
|
2964
|
-
filter_tmp = Filter.new
|
2965
|
-
filter_tmp.deserialize(i)
|
2966
|
-
@Filters << filter_tmp
|
2967
|
-
end
|
2968
|
-
end
|
2969
|
-
@AllRegion = params['AllRegion']
|
2970
|
-
end
|
2971
|
-
end
|
2972
|
-
|
2973
|
-
# DescribeInstanceAll返回参数结构体
|
2974
|
-
class DescribeInstanceAllResponse < TencentCloud::Common::AbstractModel
|
2975
|
-
# @param TotalCount: 总实例个数
|
2976
|
-
# @type TotalCount: Integer
|
2977
|
-
# @param Registries: 实例信息列表
|
2978
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2979
|
-
# @type Registries: Array
|
2980
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2981
|
-
# @type RequestId: String
|
2982
|
-
|
2983
|
-
attr_accessor :TotalCount, :Registries, :RequestId
|
2984
|
-
|
2985
|
-
def initialize(totalcount=nil, registries=nil, requestid=nil)
|
2986
|
-
@TotalCount = totalcount
|
2987
|
-
@Registries = registries
|
2988
|
-
@RequestId = requestid
|
2989
|
-
end
|
2990
|
-
|
2991
|
-
def deserialize(params)
|
2992
|
-
@TotalCount = params['TotalCount']
|
2993
|
-
unless params['Registries'].nil?
|
2994
|
-
@Registries = []
|
2995
|
-
params['Registries'].each do |i|
|
2996
|
-
registry_tmp = Registry.new
|
2997
|
-
registry_tmp.deserialize(i)
|
2998
|
-
@Registries << registry_tmp
|
2999
|
-
end
|
3000
|
-
end
|
3001
|
-
@RequestId = params['RequestId']
|
3002
|
-
end
|
3003
|
-
end
|
3004
|
-
|
3005
2933
|
# DescribeInstanceCustomizedDomain请求参数结构体
|
3006
2934
|
class DescribeInstanceCustomizedDomainRequest < TencentCloud::Common::AbstractModel
|
3007
2935
|
# @param RegistryId: 主实例iD
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tcr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.521
|
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-03-
|
11
|
+
date: 2023-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|