tencentcloud-sdk-tsf 1.0.292 → 1.0.295
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 +24 -0
- data/lib/v20180326/models.rb +272 -11
- 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: 7462fd992a36cff1da90fd10447e6a68d54e7f91
|
4
|
+
data.tar.gz: 7eabf9614efcfd1c35c99813dcd5c60116165733
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2f63005d38ce378e9e0bd1e7f83df44c5b4e80310089e4c4e20d4d8fec1aa01f6a8426df4c9b2950d57b0019ba9f83d103ba54bc84c3993071095fb3f96a98b
|
7
|
+
data.tar.gz: 4115cdf90eb43aae16f4aef6a45bd2292a2fddf47cc870f9af964ab48126b1de7d66890ff34f93f4924f9dd6ea644bf38ad44f4073f323fb3590029f1f8d9678
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.295
|
data/lib/v20180326/client.rb
CHANGED
@@ -2143,6 +2143,30 @@ module TencentCloud
|
|
2143
2143
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2144
2144
|
end
|
2145
2145
|
|
2146
|
+
# 无
|
2147
|
+
|
2148
|
+
# @param request: Request instance for DescribeInstances.
|
2149
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeInstancesRequest`
|
2150
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeInstancesResponse`
|
2151
|
+
def DescribeInstances(request)
|
2152
|
+
body = send_request('DescribeInstances', request.serialize)
|
2153
|
+
response = JSON.parse(body)
|
2154
|
+
if response['Response'].key?('Error') == false
|
2155
|
+
model = DescribeInstancesResponse.new
|
2156
|
+
model.deserialize(response['Response'])
|
2157
|
+
model
|
2158
|
+
else
|
2159
|
+
code = response['Response']['Error']['Code']
|
2160
|
+
message = response['Response']['Error']['Message']
|
2161
|
+
reqid = response['Response']['RequestId']
|
2162
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2163
|
+
end
|
2164
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2165
|
+
raise e
|
2166
|
+
rescue StandardError => e
|
2167
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2168
|
+
end
|
2169
|
+
|
2146
2170
|
# 查询调用指标数据变化曲线
|
2147
2171
|
|
2148
2172
|
# @param request: Request instance for DescribeInvocationMetricDataCurve.
|
data/lib/v20180326/models.rb
CHANGED
@@ -1460,10 +1460,13 @@ module TencentCloud
|
|
1460
1460
|
# @param Alias: 部署组备注
|
1461
1461
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1462
1462
|
# @type Alias: String
|
1463
|
+
# @param KubeInjectEnable: KubeInjectEnable值
|
1464
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1465
|
+
# @type KubeInjectEnable: Boolean
|
1463
1466
|
|
1464
|
-
attr_accessor :GroupId, :GroupName, :CreateTime, :Server, :RepoName, :TagName, :ClusterId, :ClusterName, :NamespaceId, :NamespaceName, :CpuRequest, :CpuLimit, :MemRequest, :MemLimit, :Alias
|
1467
|
+
attr_accessor :GroupId, :GroupName, :CreateTime, :Server, :RepoName, :TagName, :ClusterId, :ClusterName, :NamespaceId, :NamespaceName, :CpuRequest, :CpuLimit, :MemRequest, :MemLimit, :Alias, :KubeInjectEnable
|
1465
1468
|
|
1466
|
-
def initialize(groupid=nil, groupname=nil, createtime=nil, server=nil, reponame=nil, tagname=nil, clusterid=nil, clustername=nil, namespaceid=nil, namespacename=nil, cpurequest=nil, cpulimit=nil, memrequest=nil, memlimit=nil, _alias=nil)
|
1469
|
+
def initialize(groupid=nil, groupname=nil, createtime=nil, server=nil, reponame=nil, tagname=nil, clusterid=nil, clustername=nil, namespaceid=nil, namespacename=nil, cpurequest=nil, cpulimit=nil, memrequest=nil, memlimit=nil, _alias=nil, kubeinjectenable=nil)
|
1467
1470
|
@GroupId = groupid
|
1468
1471
|
@GroupName = groupname
|
1469
1472
|
@CreateTime = createtime
|
@@ -1479,6 +1482,7 @@ module TencentCloud
|
|
1479
1482
|
@MemRequest = memrequest
|
1480
1483
|
@MemLimit = memlimit
|
1481
1484
|
@Alias = _alias
|
1485
|
+
@KubeInjectEnable = kubeinjectenable
|
1482
1486
|
end
|
1483
1487
|
|
1484
1488
|
def deserialize(params)
|
@@ -1497,6 +1501,7 @@ module TencentCloud
|
|
1497
1501
|
@MemRequest = params['MemRequest']
|
1498
1502
|
@MemLimit = params['MemLimit']
|
1499
1503
|
@Alias = params['Alias']
|
1504
|
+
@KubeInjectEnable = params['KubeInjectEnable']
|
1500
1505
|
end
|
1501
1506
|
end
|
1502
1507
|
|
@@ -1684,10 +1689,13 @@ module TencentCloud
|
|
1684
1689
|
# @param VolumeMountInfos: 数据卷挂载信息,list
|
1685
1690
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1686
1691
|
# @type VolumeMountInfos: Array
|
1692
|
+
# @param KubeInjectEnable: KubeInjectEnable值
|
1693
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1694
|
+
# @type KubeInjectEnable: Boolean
|
1687
1695
|
|
1688
|
-
attr_accessor :GroupId, :GroupName, :InstanceNum, :CurrentNum, :Server, :Reponame, :TagName, :CpuRequest, :CpuLimit, :MemRequest, :MemLimit, :AccessType, :ProtocolPorts, :UpdateType, :UpdateIvl, :JvmOpts, :SubnetId, :AgentCpuRequest, :AgentCpuLimit, :AgentMemRequest, :AgentMemLimit, :IstioCpuRequest, :IstioCpuLimit, :IstioMemRequest, :IstioMemLimit, :Envs, :HealthCheckSettings, :DeployAgent, :Alias, :DisableService, :HeadlessService, :TcrRepoInfo, :VolumeInfos, :VolumeMountInfos
|
1696
|
+
attr_accessor :GroupId, :GroupName, :InstanceNum, :CurrentNum, :Server, :Reponame, :TagName, :CpuRequest, :CpuLimit, :MemRequest, :MemLimit, :AccessType, :ProtocolPorts, :UpdateType, :UpdateIvl, :JvmOpts, :SubnetId, :AgentCpuRequest, :AgentCpuLimit, :AgentMemRequest, :AgentMemLimit, :IstioCpuRequest, :IstioCpuLimit, :IstioMemRequest, :IstioMemLimit, :Envs, :HealthCheckSettings, :DeployAgent, :Alias, :DisableService, :HeadlessService, :TcrRepoInfo, :VolumeInfos, :VolumeMountInfos, :KubeInjectEnable
|
1689
1697
|
|
1690
|
-
def initialize(groupid=nil, groupname=nil, instancenum=nil, currentnum=nil, server=nil, reponame=nil, tagname=nil, cpurequest=nil, cpulimit=nil, memrequest=nil, memlimit=nil, accesstype=nil, protocolports=nil, updatetype=nil, updateivl=nil, jvmopts=nil, subnetid=nil, agentcpurequest=nil, agentcpulimit=nil, agentmemrequest=nil, agentmemlimit=nil, istiocpurequest=nil, istiocpulimit=nil, istiomemrequest=nil, istiomemlimit=nil, envs=nil, healthchecksettings=nil, deployagent=nil, _alias=nil, disableservice=nil, headlessservice=nil, tcrrepoinfo=nil, volumeinfos=nil, volumemountinfos=nil)
|
1698
|
+
def initialize(groupid=nil, groupname=nil, instancenum=nil, currentnum=nil, server=nil, reponame=nil, tagname=nil, cpurequest=nil, cpulimit=nil, memrequest=nil, memlimit=nil, accesstype=nil, protocolports=nil, updatetype=nil, updateivl=nil, jvmopts=nil, subnetid=nil, agentcpurequest=nil, agentcpulimit=nil, agentmemrequest=nil, agentmemlimit=nil, istiocpurequest=nil, istiocpulimit=nil, istiomemrequest=nil, istiomemlimit=nil, envs=nil, healthchecksettings=nil, deployagent=nil, _alias=nil, disableservice=nil, headlessservice=nil, tcrrepoinfo=nil, volumeinfos=nil, volumemountinfos=nil, kubeinjectenable=nil)
|
1691
1699
|
@GroupId = groupid
|
1692
1700
|
@GroupName = groupname
|
1693
1701
|
@InstanceNum = instancenum
|
@@ -1722,6 +1730,7 @@ module TencentCloud
|
|
1722
1730
|
@TcrRepoInfo = tcrrepoinfo
|
1723
1731
|
@VolumeInfos = volumeinfos
|
1724
1732
|
@VolumeMountInfos = volumemountinfos
|
1733
|
+
@KubeInjectEnable = kubeinjectenable
|
1725
1734
|
end
|
1726
1735
|
|
1727
1736
|
def deserialize(params)
|
@@ -1793,6 +1802,7 @@ module TencentCloud
|
|
1793
1802
|
@VolumeMountInfos << volumemountinfo_tmp
|
1794
1803
|
end
|
1795
1804
|
end
|
1805
|
+
@KubeInjectEnable = params['KubeInjectEnable']
|
1796
1806
|
end
|
1797
1807
|
end
|
1798
1808
|
|
@@ -6772,6 +6782,61 @@ module TencentCloud
|
|
6772
6782
|
end
|
6773
6783
|
end
|
6774
6784
|
|
6785
|
+
# DescribeInstances请求参数结构体
|
6786
|
+
class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
|
6787
|
+
# @param Filters: 过滤条件
|
6788
|
+
# @type Filters: Array
|
6789
|
+
# @param Offset: 偏移量,默认为0
|
6790
|
+
# @type Offset: Integer
|
6791
|
+
# @param Limit: 分页个数,默认为20,最大100
|
6792
|
+
# @type Limit: Integer
|
6793
|
+
|
6794
|
+
attr_accessor :Filters, :Offset, :Limit
|
6795
|
+
|
6796
|
+
def initialize(filters=nil, offset=nil, limit=nil)
|
6797
|
+
@Filters = filters
|
6798
|
+
@Offset = offset
|
6799
|
+
@Limit = limit
|
6800
|
+
end
|
6801
|
+
|
6802
|
+
def deserialize(params)
|
6803
|
+
unless params['Filters'].nil?
|
6804
|
+
@Filters = []
|
6805
|
+
params['Filters'].each do |i|
|
6806
|
+
filter_tmp = Filter.new
|
6807
|
+
filter_tmp.deserialize(i)
|
6808
|
+
@Filters << filter_tmp
|
6809
|
+
end
|
6810
|
+
end
|
6811
|
+
@Offset = params['Offset']
|
6812
|
+
@Limit = params['Limit']
|
6813
|
+
end
|
6814
|
+
end
|
6815
|
+
|
6816
|
+
# DescribeInstances返回参数结构体
|
6817
|
+
class DescribeInstancesResponse < TencentCloud::Common::AbstractModel
|
6818
|
+
# @param Result: 机器列表信息
|
6819
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6820
|
+
# @type Result: :class:`Tencentcloud::Tsf.v20180326.models.InstanceEnrichedInfoPage`
|
6821
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6822
|
+
# @type RequestId: String
|
6823
|
+
|
6824
|
+
attr_accessor :Result, :RequestId
|
6825
|
+
|
6826
|
+
def initialize(result=nil, requestid=nil)
|
6827
|
+
@Result = result
|
6828
|
+
@RequestId = requestid
|
6829
|
+
end
|
6830
|
+
|
6831
|
+
def deserialize(params)
|
6832
|
+
unless params['Result'].nil?
|
6833
|
+
@Result = InstanceEnrichedInfoPage.new
|
6834
|
+
@Result.deserialize(params['Result'])
|
6835
|
+
end
|
6836
|
+
@RequestId = params['RequestId']
|
6837
|
+
end
|
6838
|
+
end
|
6839
|
+
|
6775
6840
|
# DescribeInvocationMetricDataCurve请求参数结构体
|
6776
6841
|
class DescribeInvocationMetricDataCurveRequest < TencentCloud::Common::AbstractModel
|
6777
6842
|
# @param StartTime: 查询开始时间
|
@@ -9782,6 +9847,26 @@ module TencentCloud
|
|
9782
9847
|
end
|
9783
9848
|
end
|
9784
9849
|
|
9850
|
+
# 用于请求参数中的条件过滤字段
|
9851
|
+
class Filter < TencentCloud::Common::AbstractModel
|
9852
|
+
# @param Name: 过滤条件名
|
9853
|
+
# @type Name: String
|
9854
|
+
# @param Values: 过滤条件匹配值,几个条件间是或关系
|
9855
|
+
# @type Values: Array
|
9856
|
+
|
9857
|
+
attr_accessor :Name, :Values
|
9858
|
+
|
9859
|
+
def initialize(name=nil, values=nil)
|
9860
|
+
@Name = name
|
9861
|
+
@Values = values
|
9862
|
+
end
|
9863
|
+
|
9864
|
+
def deserialize(params)
|
9865
|
+
@Name = params['Name']
|
9866
|
+
@Values = params['Values']
|
9867
|
+
end
|
9868
|
+
end
|
9869
|
+
|
9785
9870
|
# 网关分组简单信息
|
9786
9871
|
class GatewayApiGroupVo < TencentCloud::Common::AbstractModel
|
9787
9872
|
# @param GroupId: 分组ID
|
@@ -10598,13 +10683,16 @@ module TencentCloud
|
|
10598
10683
|
# @param ApplicationId: applicationid值
|
10599
10684
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10600
10685
|
# @type ApplicationId: String
|
10601
|
-
# @param ApplicationName: ApplicationName
|
10686
|
+
# @param ApplicationName: ApplicationName值(废弃)
|
10602
10687
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10603
10688
|
# @type ApplicationName: :class:`Tencentcloud::Tsf.v20180326.models.ScalableRule`
|
10689
|
+
# @param ApplicationNameReal: ApplicationName值
|
10690
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10691
|
+
# @type ApplicationNameReal: String
|
10604
10692
|
|
10605
|
-
attr_accessor :Reponame, :Repotype, :TagCount, :IsPublic, :IsUserFavor, :IsQcloudOfficial, :FavorCount, :PullCount, :Description, :CreationTime, :UpdateTime, :TcrRepoInfo, :TcrBindingId, :ApplicationId, :ApplicationName
|
10693
|
+
attr_accessor :Reponame, :Repotype, :TagCount, :IsPublic, :IsUserFavor, :IsQcloudOfficial, :FavorCount, :PullCount, :Description, :CreationTime, :UpdateTime, :TcrRepoInfo, :TcrBindingId, :ApplicationId, :ApplicationName, :ApplicationNameReal
|
10606
10694
|
|
10607
|
-
def initialize(reponame=nil, repotype=nil, tagcount=nil, ispublic=nil, isuserfavor=nil, isqcloudofficial=nil, favorcount=nil, pullcount=nil, description=nil, creationtime=nil, updatetime=nil, tcrrepoinfo=nil, tcrbindingid=nil, applicationid=nil, applicationname=nil)
|
10695
|
+
def initialize(reponame=nil, repotype=nil, tagcount=nil, ispublic=nil, isuserfavor=nil, isqcloudofficial=nil, favorcount=nil, pullcount=nil, description=nil, creationtime=nil, updatetime=nil, tcrrepoinfo=nil, tcrbindingid=nil, applicationid=nil, applicationname=nil, applicationnamereal=nil)
|
10608
10696
|
@Reponame = reponame
|
10609
10697
|
@Repotype = repotype
|
10610
10698
|
@TagCount = tagcount
|
@@ -10620,6 +10708,7 @@ module TencentCloud
|
|
10620
10708
|
@TcrBindingId = tcrbindingid
|
10621
10709
|
@ApplicationId = applicationid
|
10622
10710
|
@ApplicationName = applicationname
|
10711
|
+
@ApplicationNameReal = applicationnamereal
|
10623
10712
|
end
|
10624
10713
|
|
10625
10714
|
def deserialize(params)
|
@@ -10644,6 +10733,7 @@ module TencentCloud
|
|
10644
10733
|
@ApplicationName = ScalableRule.new
|
10645
10734
|
@ApplicationName.deserialize(params['ApplicationName'])
|
10646
10735
|
end
|
10736
|
+
@ApplicationNameReal = params['ApplicationNameReal']
|
10647
10737
|
end
|
10648
10738
|
end
|
10649
10739
|
|
@@ -11041,6 +11131,132 @@ module TencentCloud
|
|
11041
11131
|
end
|
11042
11132
|
end
|
11043
11133
|
|
11134
|
+
# 包含虚拟机所在TSF中的位置信息
|
11135
|
+
class InstanceEnrichedInfo < TencentCloud::Common::AbstractModel
|
11136
|
+
# @param InstanceId: 机器ID
|
11137
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11138
|
+
# @type InstanceId: String
|
11139
|
+
# @param InstanceName: 机器名称
|
11140
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11141
|
+
# @type InstanceName: String
|
11142
|
+
# @param LanIp: 机器内网IP
|
11143
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11144
|
+
# @type LanIp: String
|
11145
|
+
# @param WanIp: 机器外网IP
|
11146
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11147
|
+
# @type WanIp: String
|
11148
|
+
# @param VpcId: 机器所在VPC
|
11149
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11150
|
+
# @type VpcId: String
|
11151
|
+
# @param InstanceStatus: 机器运行状态 Pending Running Stopped Rebooting Starting Stopping Abnormal Unknown
|
11152
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11153
|
+
# @type InstanceStatus: String
|
11154
|
+
# @param InstanceAvailableStatus: 机器可用状态(表示机器上的Agent在线)
|
11155
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11156
|
+
# @type InstanceAvailableStatus: String
|
11157
|
+
# @param ApplicationId: 应用ID
|
11158
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11159
|
+
# @type ApplicationId: String
|
11160
|
+
# @param ApplicationName: 应用名称
|
11161
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11162
|
+
# @type ApplicationName: String
|
11163
|
+
# @param ApplicationType: 应用类型
|
11164
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11165
|
+
# @type ApplicationType: String
|
11166
|
+
# @param ClusterId: 集群ID
|
11167
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11168
|
+
# @type ClusterId: String
|
11169
|
+
# @param ClusterName: 集群名称
|
11170
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11171
|
+
# @type ClusterName: String
|
11172
|
+
# @param ClusterType: 集群类型
|
11173
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11174
|
+
# @type ClusterType: String
|
11175
|
+
# @param NamespaceId: 命名空间ID
|
11176
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11177
|
+
# @type NamespaceId: String
|
11178
|
+
# @param NamespaceName: 命名空间名称
|
11179
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11180
|
+
# @type NamespaceName: String
|
11181
|
+
# @param GroupId: 机器所在部署组ID
|
11182
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11183
|
+
# @type GroupId: String
|
11184
|
+
# @param GroupName: 部署组名称
|
11185
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11186
|
+
# @type GroupName: String
|
11187
|
+
|
11188
|
+
attr_accessor :InstanceId, :InstanceName, :LanIp, :WanIp, :VpcId, :InstanceStatus, :InstanceAvailableStatus, :ApplicationId, :ApplicationName, :ApplicationType, :ClusterId, :ClusterName, :ClusterType, :NamespaceId, :NamespaceName, :GroupId, :GroupName
|
11189
|
+
|
11190
|
+
def initialize(instanceid=nil, instancename=nil, lanip=nil, wanip=nil, vpcid=nil, instancestatus=nil, instanceavailablestatus=nil, applicationid=nil, applicationname=nil, applicationtype=nil, clusterid=nil, clustername=nil, clustertype=nil, namespaceid=nil, namespacename=nil, groupid=nil, groupname=nil)
|
11191
|
+
@InstanceId = instanceid
|
11192
|
+
@InstanceName = instancename
|
11193
|
+
@LanIp = lanip
|
11194
|
+
@WanIp = wanip
|
11195
|
+
@VpcId = vpcid
|
11196
|
+
@InstanceStatus = instancestatus
|
11197
|
+
@InstanceAvailableStatus = instanceavailablestatus
|
11198
|
+
@ApplicationId = applicationid
|
11199
|
+
@ApplicationName = applicationname
|
11200
|
+
@ApplicationType = applicationtype
|
11201
|
+
@ClusterId = clusterid
|
11202
|
+
@ClusterName = clustername
|
11203
|
+
@ClusterType = clustertype
|
11204
|
+
@NamespaceId = namespaceid
|
11205
|
+
@NamespaceName = namespacename
|
11206
|
+
@GroupId = groupid
|
11207
|
+
@GroupName = groupname
|
11208
|
+
end
|
11209
|
+
|
11210
|
+
def deserialize(params)
|
11211
|
+
@InstanceId = params['InstanceId']
|
11212
|
+
@InstanceName = params['InstanceName']
|
11213
|
+
@LanIp = params['LanIp']
|
11214
|
+
@WanIp = params['WanIp']
|
11215
|
+
@VpcId = params['VpcId']
|
11216
|
+
@InstanceStatus = params['InstanceStatus']
|
11217
|
+
@InstanceAvailableStatus = params['InstanceAvailableStatus']
|
11218
|
+
@ApplicationId = params['ApplicationId']
|
11219
|
+
@ApplicationName = params['ApplicationName']
|
11220
|
+
@ApplicationType = params['ApplicationType']
|
11221
|
+
@ClusterId = params['ClusterId']
|
11222
|
+
@ClusterName = params['ClusterName']
|
11223
|
+
@ClusterType = params['ClusterType']
|
11224
|
+
@NamespaceId = params['NamespaceId']
|
11225
|
+
@NamespaceName = params['NamespaceName']
|
11226
|
+
@GroupId = params['GroupId']
|
11227
|
+
@GroupName = params['GroupName']
|
11228
|
+
end
|
11229
|
+
end
|
11230
|
+
|
11231
|
+
# InstanceEnrichedInfo列表结构
|
11232
|
+
class InstanceEnrichedInfoPage < TencentCloud::Common::AbstractModel
|
11233
|
+
# @param TotalCount: 总数量
|
11234
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11235
|
+
# @type TotalCount: Integer
|
11236
|
+
# @param Content: 列表
|
11237
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11238
|
+
# @type Content: Array
|
11239
|
+
|
11240
|
+
attr_accessor :TotalCount, :Content
|
11241
|
+
|
11242
|
+
def initialize(totalcount=nil, content=nil)
|
11243
|
+
@TotalCount = totalcount
|
11244
|
+
@Content = content
|
11245
|
+
end
|
11246
|
+
|
11247
|
+
def deserialize(params)
|
11248
|
+
@TotalCount = params['TotalCount']
|
11249
|
+
unless params['Content'].nil?
|
11250
|
+
@Content = []
|
11251
|
+
params['Content'].each do |i|
|
11252
|
+
instanceenrichedinfo_tmp = InstanceEnrichedInfo.new
|
11253
|
+
instanceenrichedinfo_tmp.deserialize(i)
|
11254
|
+
@Content << instanceenrichedinfo_tmp
|
11255
|
+
end
|
11256
|
+
end
|
11257
|
+
end
|
11258
|
+
end
|
11259
|
+
|
11044
11260
|
# 服务调用监控指标
|
11045
11261
|
class InvocationIndicator < TencentCloud::Common::AbstractModel
|
11046
11262
|
# @param InvocationQuantity: 总请求数
|
@@ -12664,10 +12880,13 @@ module TencentCloud
|
|
12664
12880
|
# @param IsHaEnable: 是否开启高可用
|
12665
12881
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12666
12882
|
# @type IsHaEnable: String
|
12883
|
+
# @param KubeInjectEnable: KubeInjectEnable值
|
12884
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12885
|
+
# @type KubeInjectEnable: Boolean
|
12667
12886
|
|
12668
|
-
attr_accessor :NamespaceId, :NamespaceCode, :NamespaceName, :NamespaceDesc, :IsDefault, :NamespaceStatus, :DeleteFlag, :CreateTime, :UpdateTime, :ClusterList, :ClusterId, :NamespaceResourceType, :NamespaceType, :IsHaEnable
|
12887
|
+
attr_accessor :NamespaceId, :NamespaceCode, :NamespaceName, :NamespaceDesc, :IsDefault, :NamespaceStatus, :DeleteFlag, :CreateTime, :UpdateTime, :ClusterList, :ClusterId, :NamespaceResourceType, :NamespaceType, :IsHaEnable, :KubeInjectEnable
|
12669
12888
|
|
12670
|
-
def initialize(namespaceid=nil, namespacecode=nil, namespacename=nil, namespacedesc=nil, isdefault=nil, namespacestatus=nil, deleteflag=nil, createtime=nil, updatetime=nil, clusterlist=nil, clusterid=nil, namespaceresourcetype=nil, namespacetype=nil, ishaenable=nil)
|
12889
|
+
def initialize(namespaceid=nil, namespacecode=nil, namespacename=nil, namespacedesc=nil, isdefault=nil, namespacestatus=nil, deleteflag=nil, createtime=nil, updatetime=nil, clusterlist=nil, clusterid=nil, namespaceresourcetype=nil, namespacetype=nil, ishaenable=nil, kubeinjectenable=nil)
|
12671
12890
|
@NamespaceId = namespaceid
|
12672
12891
|
@NamespaceCode = namespacecode
|
12673
12892
|
@NamespaceName = namespacename
|
@@ -12682,6 +12901,7 @@ module TencentCloud
|
|
12682
12901
|
@NamespaceResourceType = namespaceresourcetype
|
12683
12902
|
@NamespaceType = namespacetype
|
12684
12903
|
@IsHaEnable = ishaenable
|
12904
|
+
@KubeInjectEnable = kubeinjectenable
|
12685
12905
|
end
|
12686
12906
|
|
12687
12907
|
def deserialize(params)
|
@@ -12706,6 +12926,7 @@ module TencentCloud
|
|
12706
12926
|
@NamespaceResourceType = params['NamespaceResourceType']
|
12707
12927
|
@NamespaceType = params['NamespaceType']
|
12708
12928
|
@IsHaEnable = params['IsHaEnable']
|
12929
|
+
@KubeInjectEnable = params['KubeInjectEnable']
|
12709
12930
|
end
|
12710
12931
|
end
|
12711
12932
|
|
@@ -14299,10 +14520,34 @@ module TencentCloud
|
|
14299
14520
|
# @param DbType: 数据库类型
|
14300
14521
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
14301
14522
|
# @type DbType: String
|
14523
|
+
# @param Apdex: Apdex值
|
14524
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14525
|
+
# @type Apdex: Float
|
14526
|
+
# @param Qps: Qps值
|
14527
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14528
|
+
# @type Qps: Float
|
14529
|
+
# @param InstanceOnlineCount: 实例在线数
|
14530
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14531
|
+
# @type InstanceOnlineCount: Integer
|
14532
|
+
# @param InstanceTotalCount: 实例总数
|
14533
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14534
|
+
# @type InstanceTotalCount: Integer
|
14535
|
+
# @param Status: normal/error
|
14536
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14537
|
+
# @type Status: String
|
14538
|
+
# @param ErrorRateLevel: normal/warn/error
|
14539
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14540
|
+
# @type ErrorRateLevel: String
|
14541
|
+
# @param AvgTimeConsumingLevel: normal/warn/error
|
14542
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14543
|
+
# @type AvgTimeConsumingLevel: String
|
14544
|
+
# @param ApdexLevel: normal/warn/error
|
14545
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14546
|
+
# @type ApdexLevel: String
|
14302
14547
|
|
14303
|
-
attr_accessor :Path, :Method, :MicroserviceId, :MicroserviceName, :RequestCount, :ErrorRate, :AvgTimeConsuming, :MetricDataCurves, :InstanceId, :InstanceName, :GroupId, :GroupName, :ClusterType, :GroupExist, :InstanceExist, :ApplicationId, :MicroserviceType, :CpuPercent, :HeapUsed, :DbName, :Script, :DbType
|
14548
|
+
attr_accessor :Path, :Method, :MicroserviceId, :MicroserviceName, :RequestCount, :ErrorRate, :AvgTimeConsuming, :MetricDataCurves, :InstanceId, :InstanceName, :GroupId, :GroupName, :ClusterType, :GroupExist, :InstanceExist, :ApplicationId, :MicroserviceType, :CpuPercent, :HeapUsed, :DbName, :Script, :DbType, :Apdex, :Qps, :InstanceOnlineCount, :InstanceTotalCount, :Status, :ErrorRateLevel, :AvgTimeConsumingLevel, :ApdexLevel
|
14304
14549
|
|
14305
|
-
def initialize(path=nil, method=nil, microserviceid=nil, microservicename=nil, requestcount=nil, errorrate=nil, avgtimeconsuming=nil, metricdatacurves=nil, instanceid=nil, instancename=nil, groupid=nil, groupname=nil, clustertype=nil, groupexist=nil, instanceexist=nil, applicationid=nil, microservicetype=nil, cpupercent=nil, heapused=nil, dbname=nil, script=nil, dbtype=nil)
|
14550
|
+
def initialize(path=nil, method=nil, microserviceid=nil, microservicename=nil, requestcount=nil, errorrate=nil, avgtimeconsuming=nil, metricdatacurves=nil, instanceid=nil, instancename=nil, groupid=nil, groupname=nil, clustertype=nil, groupexist=nil, instanceexist=nil, applicationid=nil, microservicetype=nil, cpupercent=nil, heapused=nil, dbname=nil, script=nil, dbtype=nil, apdex=nil, qps=nil, instanceonlinecount=nil, instancetotalcount=nil, status=nil, errorratelevel=nil, avgtimeconsuminglevel=nil, apdexlevel=nil)
|
14306
14551
|
@Path = path
|
14307
14552
|
@Method = method
|
14308
14553
|
@MicroserviceId = microserviceid
|
@@ -14325,6 +14570,14 @@ module TencentCloud
|
|
14325
14570
|
@DbName = dbname
|
14326
14571
|
@Script = script
|
14327
14572
|
@DbType = dbtype
|
14573
|
+
@Apdex = apdex
|
14574
|
+
@Qps = qps
|
14575
|
+
@InstanceOnlineCount = instanceonlinecount
|
14576
|
+
@InstanceTotalCount = instancetotalcount
|
14577
|
+
@Status = status
|
14578
|
+
@ErrorRateLevel = errorratelevel
|
14579
|
+
@AvgTimeConsumingLevel = avgtimeconsuminglevel
|
14580
|
+
@ApdexLevel = apdexlevel
|
14328
14581
|
end
|
14329
14582
|
|
14330
14583
|
def deserialize(params)
|
@@ -14357,6 +14610,14 @@ module TencentCloud
|
|
14357
14610
|
@DbName = params['DbName']
|
14358
14611
|
@Script = params['Script']
|
14359
14612
|
@DbType = params['DbType']
|
14613
|
+
@Apdex = params['Apdex']
|
14614
|
+
@Qps = params['Qps']
|
14615
|
+
@InstanceOnlineCount = params['InstanceOnlineCount']
|
14616
|
+
@InstanceTotalCount = params['InstanceTotalCount']
|
14617
|
+
@Status = params['Status']
|
14618
|
+
@ErrorRateLevel = params['ErrorRateLevel']
|
14619
|
+
@AvgTimeConsumingLevel = params['AvgTimeConsumingLevel']
|
14620
|
+
@ApdexLevel = params['ApdexLevel']
|
14360
14621
|
end
|
14361
14622
|
end
|
14362
14623
|
|
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.295
|
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-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|