tencentcloud-sdk-tione 3.0.712 → 3.0.713

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df51a74be83b1c75a2a6252383a929fd5037dda8
4
- data.tar.gz: e68630f477ea48e7df8543a9fa142287dcbea204
3
+ metadata.gz: 96bb0580d25421028913401f20d1275b33f37347
4
+ data.tar.gz: c08c5a85dec2a69ffe85349f3cd1e966fa3b02a6
5
5
  SHA512:
6
- metadata.gz: bebec6f2a337e04c89872e1ea47f589889d6b305fd228358613e59de0fe9aace50da0d4ad8cb4089f79402be6b55d0dd5ac8058babfeab18beb185e5c8a51926
7
- data.tar.gz: 8e758084f9dfdd91bf2806b6860b37429ffee76fb7fe730a0546729910d5cb28baa5a5819ec81ba3ff5747957a03e5b8ec03a9b158546a7edc72f397e091519f
6
+ metadata.gz: d0c8c2f24299d94261e2a1adfd7145d2e687a4e4d0f659027ac127e6504500bb0acd914cfd7c2341929dd99e44f44ae598f27e919d889db2658798b11a0a7acd
7
+ data.tar.gz: 33f53609486b7240b49204b9ce6a2eacb4f1919e355dd3ee8db962c468ca49ea610340b13888c3504827ed549d418320972ec0158a2172c20e4dc4f738d485a7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.712
1
+ 3.0.713
@@ -605,6 +605,30 @@ module TencentCloud
605
605
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
606
  end
607
607
 
608
+ # 查询资源组节点列表
609
+
610
+ # @param request: Request instance for DescribeBillingResourceGroup.
611
+ # @type request: :class:`Tencentcloud::tione::V20211111::DescribeBillingResourceGroupRequest`
612
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DescribeBillingResourceGroupResponse`
613
+ def DescribeBillingResourceGroup(request)
614
+ body = send_request('DescribeBillingResourceGroup', request.serialize)
615
+ response = JSON.parse(body)
616
+ if response['Response'].key?('Error') == false
617
+ model = DescribeBillingResourceGroupResponse.new
618
+ model.deserialize(response['Response'])
619
+ model
620
+ else
621
+ code = response['Response']['Error']['Code']
622
+ message = response['Response']['Error']['Message']
623
+ reqid = response['Response']['RequestId']
624
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
625
+ end
626
+ rescue TencentCloud::Common::TencentCloudSDKException => e
627
+ raise e
628
+ rescue StandardError => e
629
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
+ end
631
+
608
632
  # 查询资源组详情
609
633
 
610
634
  # @param request: Request instance for DescribeBillingResourceGroups.
@@ -3099,6 +3099,92 @@ module TencentCloud
3099
3099
  end
3100
3100
  end
3101
3101
 
3102
+ # DescribeBillingResourceGroup请求参数结构体
3103
+ class DescribeBillingResourceGroupRequest < TencentCloud::Common::AbstractModel
3104
+ # @param ResourceGroupId: 资源组id, 取值为创建资源组接口(CreateBillingResourceGroup)响应中的ResourceGroupId
3105
+ # @type ResourceGroupId: String
3106
+ # @param Filters: 过滤条件
3107
+ # 注意:
3108
+ # 1. Filter.Name 只支持以下枚举值:
3109
+ # InstanceId (资源组节点id)
3110
+ # InstanceStatus (资源组节点状态)
3111
+ # 2. Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询
3112
+ # 3. 每次请求的Filters的上限为10,Filter.Values的上限为100
3113
+ # @type Filters: Array
3114
+ # @param Offset: 分页查询起始位置,如:Limit为10,第一页Offset为0,第二页Offset为10....即每页左边为闭区间; 默认0
3115
+ # @type Offset: Integer
3116
+ # @param Limit: 分页查询每页大小,最大30; 默认20
3117
+ # @type Limit: Integer
3118
+ # @param Order: 排序方向; 枚举值: ASC | DESC;默认DESC
3119
+ # @type Order: String
3120
+ # @param OrderField: 排序字段; 枚举值: CreateTime (创建时间) | ExpireTime (到期时间);默认CreateTime
3121
+ # @type OrderField: String
3122
+
3123
+ attr_accessor :ResourceGroupId, :Filters, :Offset, :Limit, :Order, :OrderField
3124
+
3125
+ def initialize(resourcegroupid=nil, filters=nil, offset=nil, limit=nil, order=nil, orderfield=nil)
3126
+ @ResourceGroupId = resourcegroupid
3127
+ @Filters = filters
3128
+ @Offset = offset
3129
+ @Limit = limit
3130
+ @Order = order
3131
+ @OrderField = orderfield
3132
+ end
3133
+
3134
+ def deserialize(params)
3135
+ @ResourceGroupId = params['ResourceGroupId']
3136
+ unless params['Filters'].nil?
3137
+ @Filters = []
3138
+ params['Filters'].each do |i|
3139
+ filter_tmp = Filter.new
3140
+ filter_tmp.deserialize(i)
3141
+ @Filters << filter_tmp
3142
+ end
3143
+ end
3144
+ @Offset = params['Offset']
3145
+ @Limit = params['Limit']
3146
+ @Order = params['Order']
3147
+ @OrderField = params['OrderField']
3148
+ end
3149
+ end
3150
+
3151
+ # DescribeBillingResourceGroup返回参数结构体
3152
+ class DescribeBillingResourceGroupResponse < TencentCloud::Common::AbstractModel
3153
+ # @param TotalCount: 资源组节点总数; 注意接口是分页拉取的,total是指资源组节点总数,不是本次返回中InstanceSet数组的大小
3154
+ # 注意:此字段可能返回 null,表示取不到有效值。
3155
+ # @type TotalCount: Integer
3156
+ # @param InstanceSet: 资源组节点信息
3157
+ # 注意:此字段可能返回 null,表示取不到有效值。
3158
+ # @type InstanceSet: Array
3159
+ # @param ResourceGroupSWType: 资源组纳管类型
3160
+ # @type ResourceGroupSWType: String
3161
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3162
+ # @type RequestId: String
3163
+
3164
+ attr_accessor :TotalCount, :InstanceSet, :ResourceGroupSWType, :RequestId
3165
+
3166
+ def initialize(totalcount=nil, instanceset=nil, resourcegroupswtype=nil, requestid=nil)
3167
+ @TotalCount = totalcount
3168
+ @InstanceSet = instanceset
3169
+ @ResourceGroupSWType = resourcegroupswtype
3170
+ @RequestId = requestid
3171
+ end
3172
+
3173
+ def deserialize(params)
3174
+ @TotalCount = params['TotalCount']
3175
+ unless params['InstanceSet'].nil?
3176
+ @InstanceSet = []
3177
+ params['InstanceSet'].each do |i|
3178
+ instance_tmp = Instance.new
3179
+ instance_tmp.deserialize(i)
3180
+ @InstanceSet << instance_tmp
3181
+ end
3182
+ end
3183
+ @ResourceGroupSWType = params['ResourceGroupSWType']
3184
+ @RequestId = params['RequestId']
3185
+ end
3186
+ end
3187
+
3102
3188
  # DescribeBillingResourceGroups请求参数结构体
3103
3189
  class DescribeBillingResourceGroupsRequest < TencentCloud::Common::AbstractModel
3104
3190
  # @param Type: 资源组类型; 枚举值 TRAIN:训练 INFERENCE:推理
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tione
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.712
4
+ version: 3.0.713
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-11-24 00:00:00.000000000 Z
11
+ date: 2023-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common