lib/v20190924/client.rb in tencentcloud-sdk-tcr-3.0.520 vs lib/v20190924/client.rb in tencentcloud-sdk-tcr-3.0.521
- old
+ new
@@ -1491,35 +1491,9 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 内部替换接口+DescribeInstanceAllForCoding
-
- # 查询全部实例信息
-
- # @param request: Request instance for DescribeInstanceAll.
- # @type request: :class:`Tencentcloud::tcr::V20190924::DescribeInstanceAllRequest`
- # @rtype: :class:`Tencentcloud::tcr::V20190924::DescribeInstanceAllResponse`
- def DescribeInstanceAll(request)
- body = send_request('DescribeInstanceAll', request.serialize)
- response = JSON.parse(body)
- if response['Response'].key?('Error') == false
- model = DescribeInstanceAllResponse.new
- model.deserialize(response['Response'])
- model
- else
- code = response['Response']['Error']['Code']
- message = response['Response']['Error']['Message']
- reqid = response['Response']['RequestId']
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
- end
- rescue TencentCloud::Common::TencentCloudSDKException => e
- raise e
- rescue StandardError => e
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
- end
-
# 查询所有实例命名空间列表
# @param request: Request instance for DescribeInstanceAllNamespaces.
# @type request: :class:`Tencentcloud::tcr::V20190924::DescribeInstanceAllNamespacesRequest`
# @rtype: :class:`Tencentcloud::tcr::V20190924::DescribeInstanceAllNamespacesResponse`
\ No newline at end of file