tencentcloud-sdk-tcr 3.0.520 → 3.0.522
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/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: 863c357dacddb9cd5579db7f09189cc657f1bf47
|
4
|
+
data.tar.gz: d0a9d7188f82e7b0ad3aa3d198a10a2db46acfcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 275af8256850f7175ab23ebf75917f98a6613f908568b2de16e8a721890b2505a96d92d081ffbf5bdbba529fae90f70c15e3a4646936be575c9ef69d8c144c1d
|
7
|
+
data.tar.gz: 4e839f46bde68a8f9a23eb5543db02d338d950529175ff1c031a21cddfd2cdd8cb312511f7f4aae28b62407257ba90cfa2446805b4ca0a9b2b4de03bcf041aa6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.522
|
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.522
|
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-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|