tencentcloud-sdk-tsf 1.0.303 → 1.0.304
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/v20180326/client.rb +0 -96
- data/lib/v20180326/models.rb +0 -349
- 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: 3c71b3253c0515521caac2bc269c3a4c2c7ee1ba
|
|
4
|
+
data.tar.gz: ae2bce6ad984496f7c103c5bb341a8ffaa2d7ddf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4fa598e3d851be8bdb28d1dccb6841a93f9f2a644c16dfe18fcf615e95de2666164ef7ce002c3316caa14109d26718fc8f99c2dd6d38e0e852c2834346e21aa
|
|
7
|
+
data.tar.gz: 66a5fcc752f08052d9cf2ee5f0a9451a67786d5960f75db4c726e297fe2539e54f37d71e2c3829a817ec5d76d94b4ccfa532cf0750fcb8f8099a97aec6adc710
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.304
|
data/lib/v20180326/client.rb
CHANGED
|
@@ -581,30 +581,6 @@ module TencentCloud
|
|
|
581
581
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
582
582
|
end
|
|
583
583
|
|
|
584
|
-
# 创建Serverless部署组
|
|
585
|
-
|
|
586
|
-
# @param request: Request instance for CreateServerlessGroup.
|
|
587
|
-
# @type request: :class:`Tencentcloud::tsf::V20180326::CreateServerlessGroupRequest`
|
|
588
|
-
# @rtype: :class:`Tencentcloud::tsf::V20180326::CreateServerlessGroupResponse`
|
|
589
|
-
def CreateServerlessGroup(request)
|
|
590
|
-
body = send_request('CreateServerlessGroup', request.serialize)
|
|
591
|
-
response = JSON.parse(body)
|
|
592
|
-
if response['Response'].key?('Error') == false
|
|
593
|
-
model = CreateServerlessGroupResponse.new
|
|
594
|
-
model.deserialize(response['Response'])
|
|
595
|
-
model
|
|
596
|
-
else
|
|
597
|
-
code = response['Response']['Error']['Code']
|
|
598
|
-
message = response['Response']['Error']['Message']
|
|
599
|
-
reqid = response['Response']['RequestId']
|
|
600
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
601
|
-
end
|
|
602
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
603
|
-
raise e
|
|
604
|
-
rescue StandardError => e
|
|
605
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
606
|
-
end
|
|
607
|
-
|
|
608
584
|
# 创建任务
|
|
609
585
|
|
|
610
586
|
# @param request: Request instance for CreateTask.
|
|
@@ -1158,30 +1134,6 @@ module TencentCloud
|
|
|
1158
1134
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1159
1135
|
end
|
|
1160
1136
|
|
|
1161
|
-
# 部署Serverless应用
|
|
1162
|
-
|
|
1163
|
-
# @param request: Request instance for DeployServerlessGroup.
|
|
1164
|
-
# @type request: :class:`Tencentcloud::tsf::V20180326::DeployServerlessGroupRequest`
|
|
1165
|
-
# @rtype: :class:`Tencentcloud::tsf::V20180326::DeployServerlessGroupResponse`
|
|
1166
|
-
def DeployServerlessGroup(request)
|
|
1167
|
-
body = send_request('DeployServerlessGroup', request.serialize)
|
|
1168
|
-
response = JSON.parse(body)
|
|
1169
|
-
if response['Response'].key?('Error') == false
|
|
1170
|
-
model = DeployServerlessGroupResponse.new
|
|
1171
|
-
model.deserialize(response['Response'])
|
|
1172
|
-
model
|
|
1173
|
-
else
|
|
1174
|
-
code = response['Response']['Error']['Code']
|
|
1175
|
-
message = response['Response']['Error']['Message']
|
|
1176
|
-
reqid = response['Response']['RequestId']
|
|
1177
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1178
|
-
end
|
|
1179
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1180
|
-
raise e
|
|
1181
|
-
rescue StandardError => e
|
|
1182
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1183
|
-
end
|
|
1184
|
-
|
|
1185
1137
|
# 查询API详情
|
|
1186
1138
|
|
|
1187
1139
|
# @param request: Request instance for DescribeApiDetail.
|
|
@@ -2743,54 +2695,6 @@ module TencentCloud
|
|
|
2743
2695
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2744
2696
|
end
|
|
2745
2697
|
|
|
2746
|
-
# 查询Serverless部署组明细
|
|
2747
|
-
|
|
2748
|
-
# @param request: Request instance for DescribeServerlessGroup.
|
|
2749
|
-
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeServerlessGroupRequest`
|
|
2750
|
-
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeServerlessGroupResponse`
|
|
2751
|
-
def DescribeServerlessGroup(request)
|
|
2752
|
-
body = send_request('DescribeServerlessGroup', request.serialize)
|
|
2753
|
-
response = JSON.parse(body)
|
|
2754
|
-
if response['Response'].key?('Error') == false
|
|
2755
|
-
model = DescribeServerlessGroupResponse.new
|
|
2756
|
-
model.deserialize(response['Response'])
|
|
2757
|
-
model
|
|
2758
|
-
else
|
|
2759
|
-
code = response['Response']['Error']['Code']
|
|
2760
|
-
message = response['Response']['Error']['Message']
|
|
2761
|
-
reqid = response['Response']['RequestId']
|
|
2762
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2763
|
-
end
|
|
2764
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2765
|
-
raise e
|
|
2766
|
-
rescue StandardError => e
|
|
2767
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2768
|
-
end
|
|
2769
|
-
|
|
2770
|
-
# 查询Serverless部署组列表
|
|
2771
|
-
|
|
2772
|
-
# @param request: Request instance for DescribeServerlessGroups.
|
|
2773
|
-
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeServerlessGroupsRequest`
|
|
2774
|
-
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeServerlessGroupsResponse`
|
|
2775
|
-
def DescribeServerlessGroups(request)
|
|
2776
|
-
body = send_request('DescribeServerlessGroups', request.serialize)
|
|
2777
|
-
response = JSON.parse(body)
|
|
2778
|
-
if response['Response'].key?('Error') == false
|
|
2779
|
-
model = DescribeServerlessGroupsResponse.new
|
|
2780
|
-
model.deserialize(response['Response'])
|
|
2781
|
-
model
|
|
2782
|
-
else
|
|
2783
|
-
code = response['Response']['Error']['Code']
|
|
2784
|
-
message = response['Response']['Error']['Message']
|
|
2785
|
-
reqid = response['Response']['RequestId']
|
|
2786
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2787
|
-
end
|
|
2788
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2789
|
-
raise e
|
|
2790
|
-
rescue StandardError => e
|
|
2791
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2792
|
-
end
|
|
2793
|
-
|
|
2794
2698
|
# 查询简单应用列表
|
|
2795
2699
|
|
|
2796
2700
|
# @param request: Request instance for DescribeSimpleApplications.
|
data/lib/v20180326/models.rb
CHANGED
|
@@ -3274,55 +3274,6 @@ module TencentCloud
|
|
|
3274
3274
|
end
|
|
3275
3275
|
end
|
|
3276
3276
|
|
|
3277
|
-
# CreateServerlessGroup请求参数结构体
|
|
3278
|
-
class CreateServerlessGroupRequest < TencentCloud::Common::AbstractModel
|
|
3279
|
-
# @param ApplicationId: 分组所属应用ID
|
|
3280
|
-
# @type ApplicationId: String
|
|
3281
|
-
# @param GroupName: 分组名称字段,长度1~60,字母或下划线开头,可包含字母数字下划线
|
|
3282
|
-
# @type GroupName: String
|
|
3283
|
-
# @param NamespaceId: 分组所属名字空间ID
|
|
3284
|
-
# @type NamespaceId: String
|
|
3285
|
-
# @param ClusterId: 分组所属集群ID
|
|
3286
|
-
# @type ClusterId: String
|
|
3287
|
-
|
|
3288
|
-
attr_accessor :ApplicationId, :GroupName, :NamespaceId, :ClusterId
|
|
3289
|
-
|
|
3290
|
-
def initialize(applicationid=nil, groupname=nil, namespaceid=nil, clusterid=nil)
|
|
3291
|
-
@ApplicationId = applicationid
|
|
3292
|
-
@GroupName = groupname
|
|
3293
|
-
@NamespaceId = namespaceid
|
|
3294
|
-
@ClusterId = clusterid
|
|
3295
|
-
end
|
|
3296
|
-
|
|
3297
|
-
def deserialize(params)
|
|
3298
|
-
@ApplicationId = params['ApplicationId']
|
|
3299
|
-
@GroupName = params['GroupName']
|
|
3300
|
-
@NamespaceId = params['NamespaceId']
|
|
3301
|
-
@ClusterId = params['ClusterId']
|
|
3302
|
-
end
|
|
3303
|
-
end
|
|
3304
|
-
|
|
3305
|
-
# CreateServerlessGroup返回参数结构体
|
|
3306
|
-
class CreateServerlessGroupResponse < TencentCloud::Common::AbstractModel
|
|
3307
|
-
# @param Result: 创建成功的部署组ID,返回null表示失败
|
|
3308
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3309
|
-
# @type Result: String
|
|
3310
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3311
|
-
# @type RequestId: String
|
|
3312
|
-
|
|
3313
|
-
attr_accessor :Result, :RequestId
|
|
3314
|
-
|
|
3315
|
-
def initialize(result=nil, requestid=nil)
|
|
3316
|
-
@Result = result
|
|
3317
|
-
@RequestId = requestid
|
|
3318
|
-
end
|
|
3319
|
-
|
|
3320
|
-
def deserialize(params)
|
|
3321
|
-
@Result = params['Result']
|
|
3322
|
-
@RequestId = params['RequestId']
|
|
3323
|
-
end
|
|
3324
|
-
end
|
|
3325
|
-
|
|
3326
3277
|
# CreateTaskFlow请求参数结构体
|
|
3327
3278
|
class CreateTaskFlowRequest < TencentCloud::Common::AbstractModel
|
|
3328
3279
|
# @param FlowName: 工作流名称
|
|
@@ -4611,58 +4562,6 @@ module TencentCloud
|
|
|
4611
4562
|
end
|
|
4612
4563
|
end
|
|
4613
4564
|
|
|
4614
|
-
# DeployServerlessGroup请求参数结构体
|
|
4615
|
-
class DeployServerlessGroupRequest < TencentCloud::Common::AbstractModel
|
|
4616
|
-
# @param GroupId: 部署组ID
|
|
4617
|
-
# @type GroupId: String
|
|
4618
|
-
# @param PkgId: 程序包ID
|
|
4619
|
-
# @type PkgId: String
|
|
4620
|
-
# @param Memory: 所需实例内存大小,取值为 1Gi 2Gi 4Gi 8Gi 16Gi,缺省为 1Gi,不传表示维持原态
|
|
4621
|
-
# @type Memory: String
|
|
4622
|
-
# @param InstanceRequest: 要求最小实例数,取值范围 [1, 4],缺省为 1,不传表示维持原态
|
|
4623
|
-
# @type InstanceRequest: Integer
|
|
4624
|
-
# @param StartupParameters: 部署组启动参数,不传表示维持原态
|
|
4625
|
-
# @type StartupParameters: String
|
|
4626
|
-
|
|
4627
|
-
attr_accessor :GroupId, :PkgId, :Memory, :InstanceRequest, :StartupParameters
|
|
4628
|
-
|
|
4629
|
-
def initialize(groupid=nil, pkgid=nil, memory=nil, instancerequest=nil, startupparameters=nil)
|
|
4630
|
-
@GroupId = groupid
|
|
4631
|
-
@PkgId = pkgid
|
|
4632
|
-
@Memory = memory
|
|
4633
|
-
@InstanceRequest = instancerequest
|
|
4634
|
-
@StartupParameters = startupparameters
|
|
4635
|
-
end
|
|
4636
|
-
|
|
4637
|
-
def deserialize(params)
|
|
4638
|
-
@GroupId = params['GroupId']
|
|
4639
|
-
@PkgId = params['PkgId']
|
|
4640
|
-
@Memory = params['Memory']
|
|
4641
|
-
@InstanceRequest = params['InstanceRequest']
|
|
4642
|
-
@StartupParameters = params['StartupParameters']
|
|
4643
|
-
end
|
|
4644
|
-
end
|
|
4645
|
-
|
|
4646
|
-
# DeployServerlessGroup返回参数结构体
|
|
4647
|
-
class DeployServerlessGroupResponse < TencentCloud::Common::AbstractModel
|
|
4648
|
-
# @param Result: 结果true:成功;false:失败;
|
|
4649
|
-
# @type Result: Boolean
|
|
4650
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4651
|
-
# @type RequestId: String
|
|
4652
|
-
|
|
4653
|
-
attr_accessor :Result, :RequestId
|
|
4654
|
-
|
|
4655
|
-
def initialize(result=nil, requestid=nil)
|
|
4656
|
-
@Result = result
|
|
4657
|
-
@RequestId = requestid
|
|
4658
|
-
end
|
|
4659
|
-
|
|
4660
|
-
def deserialize(params)
|
|
4661
|
-
@Result = params['Result']
|
|
4662
|
-
@RequestId = params['RequestId']
|
|
4663
|
-
end
|
|
4664
|
-
end
|
|
4665
|
-
|
|
4666
4565
|
# DescribeApiDetail请求参数结构体
|
|
4667
4566
|
class DescribeApiDetailRequest < TencentCloud::Common::AbstractModel
|
|
4668
4567
|
# @param MicroserviceId: 微服务id
|
|
@@ -8219,118 +8118,6 @@ module TencentCloud
|
|
|
8219
8118
|
end
|
|
8220
8119
|
end
|
|
8221
8120
|
|
|
8222
|
-
# DescribeServerlessGroup请求参数结构体
|
|
8223
|
-
class DescribeServerlessGroupRequest < TencentCloud::Common::AbstractModel
|
|
8224
|
-
# @param GroupId: 部署组ID
|
|
8225
|
-
# @type GroupId: String
|
|
8226
|
-
|
|
8227
|
-
attr_accessor :GroupId
|
|
8228
|
-
|
|
8229
|
-
def initialize(groupid=nil)
|
|
8230
|
-
@GroupId = groupid
|
|
8231
|
-
end
|
|
8232
|
-
|
|
8233
|
-
def deserialize(params)
|
|
8234
|
-
@GroupId = params['GroupId']
|
|
8235
|
-
end
|
|
8236
|
-
end
|
|
8237
|
-
|
|
8238
|
-
# DescribeServerlessGroup返回参数结构体
|
|
8239
|
-
class DescribeServerlessGroupResponse < TencentCloud::Common::AbstractModel
|
|
8240
|
-
# @param Result: 结果
|
|
8241
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8242
|
-
# @type Result: :class:`Tencentcloud::Tsf.v20180326.models.ServerlessGroup`
|
|
8243
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8244
|
-
# @type RequestId: String
|
|
8245
|
-
|
|
8246
|
-
attr_accessor :Result, :RequestId
|
|
8247
|
-
|
|
8248
|
-
def initialize(result=nil, requestid=nil)
|
|
8249
|
-
@Result = result
|
|
8250
|
-
@RequestId = requestid
|
|
8251
|
-
end
|
|
8252
|
-
|
|
8253
|
-
def deserialize(params)
|
|
8254
|
-
unless params['Result'].nil?
|
|
8255
|
-
@Result = ServerlessGroup.new
|
|
8256
|
-
@Result.deserialize(params['Result'])
|
|
8257
|
-
end
|
|
8258
|
-
@RequestId = params['RequestId']
|
|
8259
|
-
end
|
|
8260
|
-
end
|
|
8261
|
-
|
|
8262
|
-
# DescribeServerlessGroups请求参数结构体
|
|
8263
|
-
class DescribeServerlessGroupsRequest < TencentCloud::Common::AbstractModel
|
|
8264
|
-
# @param SearchWord: 搜索字段,模糊搜索groupName字段
|
|
8265
|
-
# @type SearchWord: String
|
|
8266
|
-
# @param ApplicationId: 分组所属应用ID
|
|
8267
|
-
# @type ApplicationId: String
|
|
8268
|
-
# @param OrderBy: 排序字段,默认为 createTime字段,支持id, name, createTime
|
|
8269
|
-
# @type OrderBy: String
|
|
8270
|
-
# @param OrderType: 排序方式,默认为1:倒序排序,0:正序,1:倒序
|
|
8271
|
-
# @type OrderType: String
|
|
8272
|
-
# @param Offset: 偏移量,取值从0开始
|
|
8273
|
-
# @type Offset: Integer
|
|
8274
|
-
# @param Limit: 分页个数,默认为20, 取值应为1~50
|
|
8275
|
-
# @type Limit: Integer
|
|
8276
|
-
# @param NamespaceId: 分组所属名字空间ID
|
|
8277
|
-
# @type NamespaceId: String
|
|
8278
|
-
# @param ClusterId: 分组所属集群ID
|
|
8279
|
-
# @type ClusterId: String
|
|
8280
|
-
# @param GroupIdList: 无
|
|
8281
|
-
# @type GroupIdList: Array
|
|
8282
|
-
|
|
8283
|
-
attr_accessor :SearchWord, :ApplicationId, :OrderBy, :OrderType, :Offset, :Limit, :NamespaceId, :ClusterId, :GroupIdList
|
|
8284
|
-
|
|
8285
|
-
def initialize(searchword=nil, applicationid=nil, orderby=nil, ordertype=nil, offset=nil, limit=nil, namespaceid=nil, clusterid=nil, groupidlist=nil)
|
|
8286
|
-
@SearchWord = searchword
|
|
8287
|
-
@ApplicationId = applicationid
|
|
8288
|
-
@OrderBy = orderby
|
|
8289
|
-
@OrderType = ordertype
|
|
8290
|
-
@Offset = offset
|
|
8291
|
-
@Limit = limit
|
|
8292
|
-
@NamespaceId = namespaceid
|
|
8293
|
-
@ClusterId = clusterid
|
|
8294
|
-
@GroupIdList = groupidlist
|
|
8295
|
-
end
|
|
8296
|
-
|
|
8297
|
-
def deserialize(params)
|
|
8298
|
-
@SearchWord = params['SearchWord']
|
|
8299
|
-
@ApplicationId = params['ApplicationId']
|
|
8300
|
-
@OrderBy = params['OrderBy']
|
|
8301
|
-
@OrderType = params['OrderType']
|
|
8302
|
-
@Offset = params['Offset']
|
|
8303
|
-
@Limit = params['Limit']
|
|
8304
|
-
@NamespaceId = params['NamespaceId']
|
|
8305
|
-
@ClusterId = params['ClusterId']
|
|
8306
|
-
@GroupIdList = params['GroupIdList']
|
|
8307
|
-
end
|
|
8308
|
-
end
|
|
8309
|
-
|
|
8310
|
-
# DescribeServerlessGroups返回参数结构体
|
|
8311
|
-
class DescribeServerlessGroupsResponse < TencentCloud::Common::AbstractModel
|
|
8312
|
-
# @param Result: 数据列表对象
|
|
8313
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8314
|
-
# @type Result: :class:`Tencentcloud::Tsf.v20180326.models.ServerlessGroupPage`
|
|
8315
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8316
|
-
# @type RequestId: String
|
|
8317
|
-
|
|
8318
|
-
attr_accessor :Result, :RequestId
|
|
8319
|
-
|
|
8320
|
-
def initialize(result=nil, requestid=nil)
|
|
8321
|
-
@Result = result
|
|
8322
|
-
@RequestId = requestid
|
|
8323
|
-
end
|
|
8324
|
-
|
|
8325
|
-
def deserialize(params)
|
|
8326
|
-
unless params['Result'].nil?
|
|
8327
|
-
@Result = ServerlessGroupPage.new
|
|
8328
|
-
@Result.deserialize(params['Result'])
|
|
8329
|
-
end
|
|
8330
|
-
@RequestId = params['RequestId']
|
|
8331
|
-
end
|
|
8332
|
-
end
|
|
8333
|
-
|
|
8334
8121
|
# DescribeSimpleApplications请求参数结构体
|
|
8335
8122
|
class DescribeSimpleApplicationsRequest < TencentCloud::Common::AbstractModel
|
|
8336
8123
|
# @param ApplicationIdList: 应用ID列表
|
|
@@ -14228,142 +14015,6 @@ module TencentCloud
|
|
|
14228
14015
|
end
|
|
14229
14016
|
end
|
|
14230
14017
|
|
|
14231
|
-
# Serverless部署组信息
|
|
14232
|
-
class ServerlessGroup < TencentCloud::Common::AbstractModel
|
|
14233
|
-
# @param GroupId: 部署组ID
|
|
14234
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14235
|
-
# @type GroupId: String
|
|
14236
|
-
# @param GroupName: 分组名称
|
|
14237
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14238
|
-
# @type GroupName: String
|
|
14239
|
-
# @param CreateTime: 创建时间
|
|
14240
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14241
|
-
# @type CreateTime: String
|
|
14242
|
-
# @param Status: 服务状态
|
|
14243
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14244
|
-
# @type Status: String
|
|
14245
|
-
# @param PkgId: 程序包ID
|
|
14246
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14247
|
-
# @type PkgId: String
|
|
14248
|
-
# @param PkgName: 程序包名
|
|
14249
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14250
|
-
# @type PkgName: String
|
|
14251
|
-
# @param ClusterId: 集群id
|
|
14252
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14253
|
-
# @type ClusterId: String
|
|
14254
|
-
# @param ClusterName: 集群名称
|
|
14255
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14256
|
-
# @type ClusterName: String
|
|
14257
|
-
# @param NamespaceId: 命名空间id
|
|
14258
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14259
|
-
# @type NamespaceId: String
|
|
14260
|
-
# @param NamespaceName: 命名空间名称
|
|
14261
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14262
|
-
# @type NamespaceName: String
|
|
14263
|
-
# @param VpcId: vpc ID
|
|
14264
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14265
|
-
# @type VpcId: String
|
|
14266
|
-
# @param SubnetId: vpc 子网ID
|
|
14267
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14268
|
-
# @type SubnetId: String
|
|
14269
|
-
# @param PkgVersion: 程序包版本
|
|
14270
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14271
|
-
# @type PkgVersion: String
|
|
14272
|
-
# @param Memory: 所需实例内存大小
|
|
14273
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14274
|
-
# @type Memory: String
|
|
14275
|
-
# @param InstanceRequest: 要求最小实例数
|
|
14276
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14277
|
-
# @type InstanceRequest: Integer
|
|
14278
|
-
# @param StartupParameters: 部署组启动参数
|
|
14279
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14280
|
-
# @type StartupParameters: String
|
|
14281
|
-
# @param ApplicationId: 应用ID
|
|
14282
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14283
|
-
# @type ApplicationId: String
|
|
14284
|
-
# @param InstanceCount: 部署组实例数
|
|
14285
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14286
|
-
# @type InstanceCount: Integer
|
|
14287
|
-
# @param ApplicationName: 应用名称
|
|
14288
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14289
|
-
# @type ApplicationName: Array
|
|
14290
|
-
|
|
14291
|
-
attr_accessor :GroupId, :GroupName, :CreateTime, :Status, :PkgId, :PkgName, :ClusterId, :ClusterName, :NamespaceId, :NamespaceName, :VpcId, :SubnetId, :PkgVersion, :Memory, :InstanceRequest, :StartupParameters, :ApplicationId, :InstanceCount, :ApplicationName
|
|
14292
|
-
|
|
14293
|
-
def initialize(groupid=nil, groupname=nil, createtime=nil, status=nil, pkgid=nil, pkgname=nil, clusterid=nil, clustername=nil, namespaceid=nil, namespacename=nil, vpcid=nil, subnetid=nil, pkgversion=nil, memory=nil, instancerequest=nil, startupparameters=nil, applicationid=nil, instancecount=nil, applicationname=nil)
|
|
14294
|
-
@GroupId = groupid
|
|
14295
|
-
@GroupName = groupname
|
|
14296
|
-
@CreateTime = createtime
|
|
14297
|
-
@Status = status
|
|
14298
|
-
@PkgId = pkgid
|
|
14299
|
-
@PkgName = pkgname
|
|
14300
|
-
@ClusterId = clusterid
|
|
14301
|
-
@ClusterName = clustername
|
|
14302
|
-
@NamespaceId = namespaceid
|
|
14303
|
-
@NamespaceName = namespacename
|
|
14304
|
-
@VpcId = vpcid
|
|
14305
|
-
@SubnetId = subnetid
|
|
14306
|
-
@PkgVersion = pkgversion
|
|
14307
|
-
@Memory = memory
|
|
14308
|
-
@InstanceRequest = instancerequest
|
|
14309
|
-
@StartupParameters = startupparameters
|
|
14310
|
-
@ApplicationId = applicationid
|
|
14311
|
-
@InstanceCount = instancecount
|
|
14312
|
-
@ApplicationName = applicationname
|
|
14313
|
-
end
|
|
14314
|
-
|
|
14315
|
-
def deserialize(params)
|
|
14316
|
-
@GroupId = params['GroupId']
|
|
14317
|
-
@GroupName = params['GroupName']
|
|
14318
|
-
@CreateTime = params['CreateTime']
|
|
14319
|
-
@Status = params['Status']
|
|
14320
|
-
@PkgId = params['PkgId']
|
|
14321
|
-
@PkgName = params['PkgName']
|
|
14322
|
-
@ClusterId = params['ClusterId']
|
|
14323
|
-
@ClusterName = params['ClusterName']
|
|
14324
|
-
@NamespaceId = params['NamespaceId']
|
|
14325
|
-
@NamespaceName = params['NamespaceName']
|
|
14326
|
-
@VpcId = params['VpcId']
|
|
14327
|
-
@SubnetId = params['SubnetId']
|
|
14328
|
-
@PkgVersion = params['PkgVersion']
|
|
14329
|
-
@Memory = params['Memory']
|
|
14330
|
-
@InstanceRequest = params['InstanceRequest']
|
|
14331
|
-
@StartupParameters = params['StartupParameters']
|
|
14332
|
-
@ApplicationId = params['ApplicationId']
|
|
14333
|
-
@InstanceCount = params['InstanceCount']
|
|
14334
|
-
@ApplicationName = params['ApplicationName']
|
|
14335
|
-
end
|
|
14336
|
-
end
|
|
14337
|
-
|
|
14338
|
-
# ServerlessGroup 翻页对象
|
|
14339
|
-
class ServerlessGroupPage < TencentCloud::Common::AbstractModel
|
|
14340
|
-
# @param TotalCount: 总记录数
|
|
14341
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14342
|
-
# @type TotalCount: Integer
|
|
14343
|
-
# @param Content: 列表信息
|
|
14344
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14345
|
-
# @type Content: Array
|
|
14346
|
-
|
|
14347
|
-
attr_accessor :TotalCount, :Content
|
|
14348
|
-
|
|
14349
|
-
def initialize(totalcount=nil, content=nil)
|
|
14350
|
-
@TotalCount = totalcount
|
|
14351
|
-
@Content = content
|
|
14352
|
-
end
|
|
14353
|
-
|
|
14354
|
-
def deserialize(params)
|
|
14355
|
-
@TotalCount = params['TotalCount']
|
|
14356
|
-
unless params['Content'].nil?
|
|
14357
|
-
@Content = []
|
|
14358
|
-
params['Content'].each do |i|
|
|
14359
|
-
serverlessgroup_tmp = ServerlessGroup.new
|
|
14360
|
-
serverlessgroup_tmp.deserialize(i)
|
|
14361
|
-
@Content << serverlessgroup_tmp
|
|
14362
|
-
end
|
|
14363
|
-
end
|
|
14364
|
-
end
|
|
14365
|
-
end
|
|
14366
|
-
|
|
14367
14018
|
# 服务配置
|
|
14368
14019
|
class ServiceConfig < TencentCloud::Common::AbstractModel
|
|
14369
14020
|
# @param Name: 服务名
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-tsf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.304
|
|
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-04-
|
|
11
|
+
date: 2022-04-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|