tencentcloud-sdk-python 3.0.1170__py2.py3-none-any.whl → 3.0.1172__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apm/v20210622/errorcodes.py +6 -0
- tencentcloud/cdwdoris/v20211228/models.py +24 -0
- tencentcloud/ckafka/v20190819/models.py +77 -12
- tencentcloud/csip/v20221121/csip_client.py +46 -0
- tencentcloud/csip/v20221121/models.py +1133 -74
- tencentcloud/cynosdb/v20190107/models.py +534 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +45 -0
- tencentcloud/emr/v20190103/models.py +1 -1
- tencentcloud/ess/v20201111/ess_client.py +2 -2
- tencentcloud/ess/v20201111/models.py +3 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +13 -2
- tencentcloud/essbasic/v20210526/models.py +3 -2
- tencentcloud/gaap/v20180529/models.py +26 -0
- tencentcloud/iecp/v20210914/iecp_client.py +60 -20
- tencentcloud/ims/v20201229/ims_client.py +4 -3
- tencentcloud/lke/v20231130/errorcodes.py +33 -0
- tencentcloud/lke/v20231130/lke_client.py +69 -0
- tencentcloud/lke/v20231130/models.py +852 -0
- tencentcloud/monitor/v20180724/models.py +12 -0
- tencentcloud/ocr/v20181119/models.py +22 -16
- tencentcloud/redis/v20180412/models.py +33 -12
- tencentcloud/redis/v20180412/redis_client.py +2 -2
- tencentcloud/sms/v20210111/sms_client.py +33 -65
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +263 -4
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tse/v20201207/models.py +18 -1
- tencentcloud/tsf/v20180326/tsf_client.py +3 -1
- tencentcloud/waf/v20180125/models.py +103 -12
- tencentcloud/wedata/v20210820/models.py +164 -29
- tencentcloud/wedata/v20210820/wedata_client.py +24 -1
- {tencentcloud_sdk_python-3.0.1170.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1170.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/RECORD +38 -38
- {tencentcloud_sdk_python-3.0.1170.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1170.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1170.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/top_level.txt +0 -0
@@ -7023,13 +7023,13 @@ class CreateImageCacheRequest(AbstractModel):
|
|
7023
7023
|
r"""
|
7024
7024
|
:param _Images: 用于制作镜像缓存的容器镜像列表
|
7025
7025
|
:type Images: list of str
|
7026
|
-
:param _SubnetId: 实例所属子网
|
7026
|
+
:param _SubnetId: 实例所属子网 ID
|
7027
7027
|
:type SubnetId: str
|
7028
|
-
:param _VpcId: 实例所属VPC
|
7028
|
+
:param _VpcId: 实例所属 VPC ID
|
7029
7029
|
:type VpcId: str
|
7030
7030
|
:param _ImageCacheName: 镜像缓存名称
|
7031
7031
|
:type ImageCacheName: str
|
7032
|
-
:param _SecurityGroupIds: 安全组
|
7032
|
+
:param _SecurityGroupIds: 安全组 ID
|
7033
7033
|
:type SecurityGroupIds: list of str
|
7034
7034
|
:param _ImageRegistryCredentials: 镜像仓库凭证数组
|
7035
7035
|
:type ImageRegistryCredentials: list of ImageRegistryCredential
|
@@ -16381,6 +16381,9 @@ class DescribeIPAMDResponse(AbstractModel):
|
|
16381
16381
|
:param _ClaimExpiredDuration: 固定ip回收时间,已安装eniipamd组件才会有值
|
16382
16382
|
注意:此字段可能返回 null,表示取不到有效值。
|
16383
16383
|
:type ClaimExpiredDuration: str
|
16384
|
+
:param _EnableTrunkingENI: 是否开启了中继网卡模式
|
16385
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16386
|
+
:type EnableTrunkingENI: bool
|
16384
16387
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16385
16388
|
:type RequestId: str
|
16386
16389
|
"""
|
@@ -16391,6 +16394,7 @@ class DescribeIPAMDResponse(AbstractModel):
|
|
16391
16394
|
self._Reason = None
|
16392
16395
|
self._SubnetIds = None
|
16393
16396
|
self._ClaimExpiredDuration = None
|
16397
|
+
self._EnableTrunkingENI = None
|
16394
16398
|
self._RequestId = None
|
16395
16399
|
|
16396
16400
|
@property
|
@@ -16449,6 +16453,14 @@ class DescribeIPAMDResponse(AbstractModel):
|
|
16449
16453
|
def ClaimExpiredDuration(self, ClaimExpiredDuration):
|
16450
16454
|
self._ClaimExpiredDuration = ClaimExpiredDuration
|
16451
16455
|
|
16456
|
+
@property
|
16457
|
+
def EnableTrunkingENI(self):
|
16458
|
+
return self._EnableTrunkingENI
|
16459
|
+
|
16460
|
+
@EnableTrunkingENI.setter
|
16461
|
+
def EnableTrunkingENI(self, EnableTrunkingENI):
|
16462
|
+
self._EnableTrunkingENI = EnableTrunkingENI
|
16463
|
+
|
16452
16464
|
@property
|
16453
16465
|
def RequestId(self):
|
16454
16466
|
return self._RequestId
|
@@ -16466,6 +16478,7 @@ class DescribeIPAMDResponse(AbstractModel):
|
|
16466
16478
|
self._Reason = params.get("Reason")
|
16467
16479
|
self._SubnetIds = params.get("SubnetIds")
|
16468
16480
|
self._ClaimExpiredDuration = params.get("ClaimExpiredDuration")
|
16481
|
+
self._EnableTrunkingENI = params.get("EnableTrunkingENI")
|
16469
16482
|
self._RequestId = params.get("RequestId")
|
16470
16483
|
|
16471
16484
|
|
@@ -16762,6 +16775,117 @@ class DescribeLogSwitchesResponse(AbstractModel):
|
|
16762
16775
|
self._RequestId = params.get("RequestId")
|
16763
16776
|
|
16764
16777
|
|
16778
|
+
class DescribePodChargeInfoRequest(AbstractModel):
|
16779
|
+
"""DescribePodChargeInfo请求参数结构体
|
16780
|
+
|
16781
|
+
"""
|
16782
|
+
|
16783
|
+
def __init__(self):
|
16784
|
+
r"""
|
16785
|
+
:param _ClusterId: 集群ID
|
16786
|
+
:type ClusterId: str
|
16787
|
+
:param _Namespace: 命名空间
|
16788
|
+
:type Namespace: str
|
16789
|
+
:param _Name: Pod名称
|
16790
|
+
:type Name: str
|
16791
|
+
:param _Uids: Pod的Uid
|
16792
|
+
:type Uids: list of str
|
16793
|
+
"""
|
16794
|
+
self._ClusterId = None
|
16795
|
+
self._Namespace = None
|
16796
|
+
self._Name = None
|
16797
|
+
self._Uids = None
|
16798
|
+
|
16799
|
+
@property
|
16800
|
+
def ClusterId(self):
|
16801
|
+
return self._ClusterId
|
16802
|
+
|
16803
|
+
@ClusterId.setter
|
16804
|
+
def ClusterId(self, ClusterId):
|
16805
|
+
self._ClusterId = ClusterId
|
16806
|
+
|
16807
|
+
@property
|
16808
|
+
def Namespace(self):
|
16809
|
+
return self._Namespace
|
16810
|
+
|
16811
|
+
@Namespace.setter
|
16812
|
+
def Namespace(self, Namespace):
|
16813
|
+
self._Namespace = Namespace
|
16814
|
+
|
16815
|
+
@property
|
16816
|
+
def Name(self):
|
16817
|
+
return self._Name
|
16818
|
+
|
16819
|
+
@Name.setter
|
16820
|
+
def Name(self, Name):
|
16821
|
+
self._Name = Name
|
16822
|
+
|
16823
|
+
@property
|
16824
|
+
def Uids(self):
|
16825
|
+
return self._Uids
|
16826
|
+
|
16827
|
+
@Uids.setter
|
16828
|
+
def Uids(self, Uids):
|
16829
|
+
self._Uids = Uids
|
16830
|
+
|
16831
|
+
|
16832
|
+
def _deserialize(self, params):
|
16833
|
+
self._ClusterId = params.get("ClusterId")
|
16834
|
+
self._Namespace = params.get("Namespace")
|
16835
|
+
self._Name = params.get("Name")
|
16836
|
+
self._Uids = params.get("Uids")
|
16837
|
+
memeber_set = set(params.keys())
|
16838
|
+
for name, value in vars(self).items():
|
16839
|
+
property_name = name[1:]
|
16840
|
+
if property_name in memeber_set:
|
16841
|
+
memeber_set.remove(property_name)
|
16842
|
+
if len(memeber_set) > 0:
|
16843
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16844
|
+
|
16845
|
+
|
16846
|
+
|
16847
|
+
class DescribePodChargeInfoResponse(AbstractModel):
|
16848
|
+
"""DescribePodChargeInfo返回参数结构体
|
16849
|
+
|
16850
|
+
"""
|
16851
|
+
|
16852
|
+
def __init__(self):
|
16853
|
+
r"""
|
16854
|
+
:param _ChargeInfoSet: Pod计费信息
|
16855
|
+
:type ChargeInfoSet: list of PodChargeInfo
|
16856
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16857
|
+
:type RequestId: str
|
16858
|
+
"""
|
16859
|
+
self._ChargeInfoSet = None
|
16860
|
+
self._RequestId = None
|
16861
|
+
|
16862
|
+
@property
|
16863
|
+
def ChargeInfoSet(self):
|
16864
|
+
return self._ChargeInfoSet
|
16865
|
+
|
16866
|
+
@ChargeInfoSet.setter
|
16867
|
+
def ChargeInfoSet(self, ChargeInfoSet):
|
16868
|
+
self._ChargeInfoSet = ChargeInfoSet
|
16869
|
+
|
16870
|
+
@property
|
16871
|
+
def RequestId(self):
|
16872
|
+
return self._RequestId
|
16873
|
+
|
16874
|
+
@RequestId.setter
|
16875
|
+
def RequestId(self, RequestId):
|
16876
|
+
self._RequestId = RequestId
|
16877
|
+
|
16878
|
+
|
16879
|
+
def _deserialize(self, params):
|
16880
|
+
if params.get("ChargeInfoSet") is not None:
|
16881
|
+
self._ChargeInfoSet = []
|
16882
|
+
for item in params.get("ChargeInfoSet"):
|
16883
|
+
obj = PodChargeInfo()
|
16884
|
+
obj._deserialize(item)
|
16885
|
+
self._ChargeInfoSet.append(obj)
|
16886
|
+
self._RequestId = params.get("RequestId")
|
16887
|
+
|
16888
|
+
|
16765
16889
|
class DescribePodDeductionRateRequest(AbstractModel):
|
16766
16890
|
"""DescribePodDeductionRate请求参数结构体
|
16767
16891
|
|
@@ -30418,6 +30542,141 @@ class PendingRelease(AbstractModel):
|
|
30418
30542
|
|
30419
30543
|
|
30420
30544
|
|
30545
|
+
class PodChargeInfo(AbstractModel):
|
30546
|
+
"""Pod计费信息
|
30547
|
+
|
30548
|
+
"""
|
30549
|
+
|
30550
|
+
def __init__(self):
|
30551
|
+
r"""
|
30552
|
+
:param _StartTime: Pod计费开始时间
|
30553
|
+
:type StartTime: str
|
30554
|
+
:param _Uid: Pod的Uid
|
30555
|
+
:type Uid: str
|
30556
|
+
:param _Cpu: Pod的CPU
|
30557
|
+
:type Cpu: float
|
30558
|
+
:param _Memory: Pod的内存
|
30559
|
+
:type Memory: float
|
30560
|
+
:param _Type: Pod类型:intel、amd、v100、t4、a10\*gnv4、a10\*gnv4v等。
|
30561
|
+
:type Type: str
|
30562
|
+
:param _Gpu: Pod是GPU时,表示GPU卡数
|
30563
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30564
|
+
:type Gpu: str
|
30565
|
+
:param _ChargeType: 计费类型
|
30566
|
+
PREPAID:Pod调度到包月超级节点
|
30567
|
+
POSTPAID_BY_HOUR:按量计费
|
30568
|
+
RESERVED_INSTANCE:上个周期被预留券抵扣
|
30569
|
+
SPOT:竞价实例
|
30570
|
+
TPOD:特惠实例
|
30571
|
+
:type ChargeType: str
|
30572
|
+
:param _Namespace: 命名空间
|
30573
|
+
:type Namespace: str
|
30574
|
+
:param _Name: Pod名称
|
30575
|
+
:type Name: str
|
30576
|
+
"""
|
30577
|
+
self._StartTime = None
|
30578
|
+
self._Uid = None
|
30579
|
+
self._Cpu = None
|
30580
|
+
self._Memory = None
|
30581
|
+
self._Type = None
|
30582
|
+
self._Gpu = None
|
30583
|
+
self._ChargeType = None
|
30584
|
+
self._Namespace = None
|
30585
|
+
self._Name = None
|
30586
|
+
|
30587
|
+
@property
|
30588
|
+
def StartTime(self):
|
30589
|
+
return self._StartTime
|
30590
|
+
|
30591
|
+
@StartTime.setter
|
30592
|
+
def StartTime(self, StartTime):
|
30593
|
+
self._StartTime = StartTime
|
30594
|
+
|
30595
|
+
@property
|
30596
|
+
def Uid(self):
|
30597
|
+
return self._Uid
|
30598
|
+
|
30599
|
+
@Uid.setter
|
30600
|
+
def Uid(self, Uid):
|
30601
|
+
self._Uid = Uid
|
30602
|
+
|
30603
|
+
@property
|
30604
|
+
def Cpu(self):
|
30605
|
+
return self._Cpu
|
30606
|
+
|
30607
|
+
@Cpu.setter
|
30608
|
+
def Cpu(self, Cpu):
|
30609
|
+
self._Cpu = Cpu
|
30610
|
+
|
30611
|
+
@property
|
30612
|
+
def Memory(self):
|
30613
|
+
return self._Memory
|
30614
|
+
|
30615
|
+
@Memory.setter
|
30616
|
+
def Memory(self, Memory):
|
30617
|
+
self._Memory = Memory
|
30618
|
+
|
30619
|
+
@property
|
30620
|
+
def Type(self):
|
30621
|
+
return self._Type
|
30622
|
+
|
30623
|
+
@Type.setter
|
30624
|
+
def Type(self, Type):
|
30625
|
+
self._Type = Type
|
30626
|
+
|
30627
|
+
@property
|
30628
|
+
def Gpu(self):
|
30629
|
+
return self._Gpu
|
30630
|
+
|
30631
|
+
@Gpu.setter
|
30632
|
+
def Gpu(self, Gpu):
|
30633
|
+
self._Gpu = Gpu
|
30634
|
+
|
30635
|
+
@property
|
30636
|
+
def ChargeType(self):
|
30637
|
+
return self._ChargeType
|
30638
|
+
|
30639
|
+
@ChargeType.setter
|
30640
|
+
def ChargeType(self, ChargeType):
|
30641
|
+
self._ChargeType = ChargeType
|
30642
|
+
|
30643
|
+
@property
|
30644
|
+
def Namespace(self):
|
30645
|
+
return self._Namespace
|
30646
|
+
|
30647
|
+
@Namespace.setter
|
30648
|
+
def Namespace(self, Namespace):
|
30649
|
+
self._Namespace = Namespace
|
30650
|
+
|
30651
|
+
@property
|
30652
|
+
def Name(self):
|
30653
|
+
return self._Name
|
30654
|
+
|
30655
|
+
@Name.setter
|
30656
|
+
def Name(self, Name):
|
30657
|
+
self._Name = Name
|
30658
|
+
|
30659
|
+
|
30660
|
+
def _deserialize(self, params):
|
30661
|
+
self._StartTime = params.get("StartTime")
|
30662
|
+
self._Uid = params.get("Uid")
|
30663
|
+
self._Cpu = params.get("Cpu")
|
30664
|
+
self._Memory = params.get("Memory")
|
30665
|
+
self._Type = params.get("Type")
|
30666
|
+
self._Gpu = params.get("Gpu")
|
30667
|
+
self._ChargeType = params.get("ChargeType")
|
30668
|
+
self._Namespace = params.get("Namespace")
|
30669
|
+
self._Name = params.get("Name")
|
30670
|
+
memeber_set = set(params.keys())
|
30671
|
+
for name, value in vars(self).items():
|
30672
|
+
property_name = name[1:]
|
30673
|
+
if property_name in memeber_set:
|
30674
|
+
memeber_set.remove(property_name)
|
30675
|
+
if len(memeber_set) > 0:
|
30676
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
30677
|
+
|
30678
|
+
|
30679
|
+
|
30421
30680
|
class PodDeductionRate(AbstractModel):
|
30422
30681
|
"""可被预留券抵扣的 Pod 某种规格的抵扣率
|
30423
30682
|
|
@@ -38275,7 +38534,7 @@ class UpdateImageCacheRequest(AbstractModel):
|
|
38275
38534
|
|
38276
38535
|
def __init__(self):
|
38277
38536
|
r"""
|
38278
|
-
:param _ImageCacheId: 镜像缓存
|
38537
|
+
:param _ImageCacheId: 镜像缓存ID
|
38279
38538
|
:type ImageCacheId: str
|
38280
38539
|
:param _ImageCacheName: 镜像缓存名称
|
38281
38540
|
:type ImageCacheName: str
|
@@ -2811,6 +2811,29 @@ class TkeClient(AbstractClient):
|
|
2811
2811
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2812
2812
|
|
2813
2813
|
|
2814
|
+
def DescribePodChargeInfo(self, request):
|
2815
|
+
"""查询正在运行中Pod的计费信息。可以通过 Namespace 和 Name 来查询某个 Pod 的信息,也可以通过 Pod 的 Uid 批量查询。
|
2816
|
+
|
2817
|
+
:param request: Request instance for DescribePodChargeInfo.
|
2818
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.DescribePodChargeInfoRequest`
|
2819
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.DescribePodChargeInfoResponse`
|
2820
|
+
|
2821
|
+
"""
|
2822
|
+
try:
|
2823
|
+
params = request._serialize()
|
2824
|
+
headers = request.headers
|
2825
|
+
body = self.call("DescribePodChargeInfo", params, headers=headers)
|
2826
|
+
response = json.loads(body)
|
2827
|
+
model = models.DescribePodChargeInfoResponse()
|
2828
|
+
model._deserialize(response["Response"])
|
2829
|
+
return model
|
2830
|
+
except Exception as e:
|
2831
|
+
if isinstance(e, TencentCloudSDKException):
|
2832
|
+
raise
|
2833
|
+
else:
|
2834
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2835
|
+
|
2836
|
+
|
2814
2837
|
def DescribePodDeductionRate(self, request):
|
2815
2838
|
"""查询各个规格的 Pod 的抵扣率
|
2816
2839
|
|
@@ -24128,9 +24128,12 @@ class UpstreamHealthCheckConfig(AbstractModel):
|
|
24128
24128
|
:param _UnhealthyHttpStatuses: 异常HTTP状态码
|
24129
24129
|
注意:此字段可能返回 null,表示取不到有效值。
|
24130
24130
|
:type UnhealthyHttpStatuses: list of int non-negative
|
24131
|
-
:param _IgnoreZeroWeightNodes:
|
24131
|
+
:param _IgnoreZeroWeightNodes: 健康检查监控上报的数据屏蔽权重为0的节点
|
24132
24132
|
注意:此字段可能返回 null,表示取不到有效值。
|
24133
24133
|
:type IgnoreZeroWeightNodes: bool
|
24134
|
+
:param _ZeroWeightHeathCheck: 健康检查支持权重为0节点
|
24135
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
24136
|
+
:type ZeroWeightHeathCheck: bool
|
24134
24137
|
"""
|
24135
24138
|
self._EnableActiveHealthCheck = None
|
24136
24139
|
self._ActiveHealthCheck = None
|
@@ -24142,6 +24145,7 @@ class UpstreamHealthCheckConfig(AbstractModel):
|
|
24142
24145
|
self._HealthyHttpStatuses = None
|
24143
24146
|
self._UnhealthyHttpStatuses = None
|
24144
24147
|
self._IgnoreZeroWeightNodes = None
|
24148
|
+
self._ZeroWeightHeathCheck = None
|
24145
24149
|
|
24146
24150
|
@property
|
24147
24151
|
def EnableActiveHealthCheck(self):
|
@@ -24217,12 +24221,24 @@ class UpstreamHealthCheckConfig(AbstractModel):
|
|
24217
24221
|
|
24218
24222
|
@property
|
24219
24223
|
def IgnoreZeroWeightNodes(self):
|
24224
|
+
warnings.warn("parameter `IgnoreZeroWeightNodes` is deprecated", DeprecationWarning)
|
24225
|
+
|
24220
24226
|
return self._IgnoreZeroWeightNodes
|
24221
24227
|
|
24222
24228
|
@IgnoreZeroWeightNodes.setter
|
24223
24229
|
def IgnoreZeroWeightNodes(self, IgnoreZeroWeightNodes):
|
24230
|
+
warnings.warn("parameter `IgnoreZeroWeightNodes` is deprecated", DeprecationWarning)
|
24231
|
+
|
24224
24232
|
self._IgnoreZeroWeightNodes = IgnoreZeroWeightNodes
|
24225
24233
|
|
24234
|
+
@property
|
24235
|
+
def ZeroWeightHeathCheck(self):
|
24236
|
+
return self._ZeroWeightHeathCheck
|
24237
|
+
|
24238
|
+
@ZeroWeightHeathCheck.setter
|
24239
|
+
def ZeroWeightHeathCheck(self, ZeroWeightHeathCheck):
|
24240
|
+
self._ZeroWeightHeathCheck = ZeroWeightHeathCheck
|
24241
|
+
|
24226
24242
|
|
24227
24243
|
def _deserialize(self, params):
|
24228
24244
|
self._EnableActiveHealthCheck = params.get("EnableActiveHealthCheck")
|
@@ -24239,6 +24255,7 @@ class UpstreamHealthCheckConfig(AbstractModel):
|
|
24239
24255
|
self._HealthyHttpStatuses = params.get("HealthyHttpStatuses")
|
24240
24256
|
self._UnhealthyHttpStatuses = params.get("UnhealthyHttpStatuses")
|
24241
24257
|
self._IgnoreZeroWeightNodes = params.get("IgnoreZeroWeightNodes")
|
24258
|
+
self._ZeroWeightHeathCheck = params.get("ZeroWeightHeathCheck")
|
24242
24259
|
memeber_set = set(params.keys())
|
24243
24260
|
for name, value in vars(self).items():
|
24244
24261
|
property_name = name[1:]
|
@@ -1661,7 +1661,9 @@ class TsfClient(AbstractClient):
|
|
1661
1661
|
|
1662
1662
|
|
1663
1663
|
def DescribeApplicationBusinessLogConfig(self, request):
|
1664
|
-
"""
|
1664
|
+
"""接口未使用,废弃录用
|
1665
|
+
|
1666
|
+
查询应用关联日志配置项信息
|
1665
1667
|
|
1666
1668
|
:param request: Request instance for DescribeApplicationBusinessLogConfig.
|
1667
1669
|
:type request: :class:`tencentcloud.tsf.v20180326.models.DescribeApplicationBusinessLogConfigRequest`
|
@@ -18,6 +18,63 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class AccessFieldValueRatioInfo(AbstractModel):
|
22
|
+
"""DescribeAccessFastAnalysis接口的出参
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _Count: 日志条数
|
29
|
+
:type Count: int
|
30
|
+
:param _Ratio: 对应的Value值的百分比
|
31
|
+
:type Ratio: float
|
32
|
+
:param _Value: 字段对应的值
|
33
|
+
:type Value: str
|
34
|
+
"""
|
35
|
+
self._Count = None
|
36
|
+
self._Ratio = None
|
37
|
+
self._Value = None
|
38
|
+
|
39
|
+
@property
|
40
|
+
def Count(self):
|
41
|
+
return self._Count
|
42
|
+
|
43
|
+
@Count.setter
|
44
|
+
def Count(self, Count):
|
45
|
+
self._Count = Count
|
46
|
+
|
47
|
+
@property
|
48
|
+
def Ratio(self):
|
49
|
+
return self._Ratio
|
50
|
+
|
51
|
+
@Ratio.setter
|
52
|
+
def Ratio(self, Ratio):
|
53
|
+
self._Ratio = Ratio
|
54
|
+
|
55
|
+
@property
|
56
|
+
def Value(self):
|
57
|
+
return self._Value
|
58
|
+
|
59
|
+
@Value.setter
|
60
|
+
def Value(self, Value):
|
61
|
+
self._Value = Value
|
62
|
+
|
63
|
+
|
64
|
+
def _deserialize(self, params):
|
65
|
+
self._Count = params.get("Count")
|
66
|
+
self._Ratio = params.get("Ratio")
|
67
|
+
self._Value = params.get("Value")
|
68
|
+
memeber_set = set(params.keys())
|
69
|
+
for name, value in vars(self).items():
|
70
|
+
property_name = name[1:]
|
71
|
+
if property_name in memeber_set:
|
72
|
+
memeber_set.remove(property_name)
|
73
|
+
if len(memeber_set) > 0:
|
74
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
75
|
+
|
76
|
+
|
77
|
+
|
21
78
|
class AccessFullTextInfo(AbstractModel):
|
22
79
|
"""DescribeAccessIndex
|
23
80
|
|
@@ -6688,8 +6745,6 @@ class DescribeAccessFastAnalysisRequest(AbstractModel):
|
|
6688
6745
|
|
6689
6746
|
def __init__(self):
|
6690
6747
|
r"""
|
6691
|
-
:param _TopicId: 客户要查询的日志主题ID,每个客户都有对应的一个主题
|
6692
|
-
:type TopicId: str
|
6693
6748
|
:param _From: 要查询的日志的起始时间,Unix时间戳,单位ms
|
6694
6749
|
:type From: int
|
6695
6750
|
:param _To: 要查询的日志的结束时间,Unix时间戳,单位ms
|
@@ -6698,27 +6753,21 @@ class DescribeAccessFastAnalysisRequest(AbstractModel):
|
|
6698
6753
|
:type Query: str
|
6699
6754
|
:param _FieldName: 需要分析统计的字段名
|
6700
6755
|
:type FieldName: str
|
6756
|
+
:param _TopicId: 客户要查询的日志主题ID,每个客户都有对应的一个主题
|
6757
|
+
:type TopicId: str
|
6701
6758
|
:param _Sort: 排序字段,升序asc,降序desc,默认降序desc
|
6702
6759
|
:type Sort: str
|
6703
6760
|
:param _Count: 返回的top数,默认返回top5
|
6704
6761
|
:type Count: int
|
6705
6762
|
"""
|
6706
|
-
self._TopicId = None
|
6707
6763
|
self._From = None
|
6708
6764
|
self._To = None
|
6709
6765
|
self._Query = None
|
6710
6766
|
self._FieldName = None
|
6767
|
+
self._TopicId = None
|
6711
6768
|
self._Sort = None
|
6712
6769
|
self._Count = None
|
6713
6770
|
|
6714
|
-
@property
|
6715
|
-
def TopicId(self):
|
6716
|
-
return self._TopicId
|
6717
|
-
|
6718
|
-
@TopicId.setter
|
6719
|
-
def TopicId(self, TopicId):
|
6720
|
-
self._TopicId = TopicId
|
6721
|
-
|
6722
6771
|
@property
|
6723
6772
|
def From(self):
|
6724
6773
|
return self._From
|
@@ -6751,6 +6800,18 @@ class DescribeAccessFastAnalysisRequest(AbstractModel):
|
|
6751
6800
|
def FieldName(self, FieldName):
|
6752
6801
|
self._FieldName = FieldName
|
6753
6802
|
|
6803
|
+
@property
|
6804
|
+
def TopicId(self):
|
6805
|
+
warnings.warn("parameter `TopicId` is deprecated", DeprecationWarning)
|
6806
|
+
|
6807
|
+
return self._TopicId
|
6808
|
+
|
6809
|
+
@TopicId.setter
|
6810
|
+
def TopicId(self, TopicId):
|
6811
|
+
warnings.warn("parameter `TopicId` is deprecated", DeprecationWarning)
|
6812
|
+
|
6813
|
+
self._TopicId = TopicId
|
6814
|
+
|
6754
6815
|
@property
|
6755
6816
|
def Sort(self):
|
6756
6817
|
return self._Sort
|
@@ -6769,11 +6830,11 @@ class DescribeAccessFastAnalysisRequest(AbstractModel):
|
|
6769
6830
|
|
6770
6831
|
|
6771
6832
|
def _deserialize(self, params):
|
6772
|
-
self._TopicId = params.get("TopicId")
|
6773
6833
|
self._From = params.get("From")
|
6774
6834
|
self._To = params.get("To")
|
6775
6835
|
self._Query = params.get("Query")
|
6776
6836
|
self._FieldName = params.get("FieldName")
|
6837
|
+
self._TopicId = params.get("TopicId")
|
6777
6838
|
self._Sort = params.get("Sort")
|
6778
6839
|
self._Count = params.get("Count")
|
6779
6840
|
memeber_set = set(params.keys())
|
@@ -6793,11 +6854,34 @@ class DescribeAccessFastAnalysisResponse(AbstractModel):
|
|
6793
6854
|
|
6794
6855
|
def __init__(self):
|
6795
6856
|
r"""
|
6857
|
+
:param _FieldValueRatioInfos: 注意:此字段可能返回 null,表示取不到有效值
|
6858
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6859
|
+
:type FieldValueRatioInfos: list of AccessFieldValueRatioInfo
|
6860
|
+
:param _TotalCount: 日志条数
|
6861
|
+
:type TotalCount: int
|
6796
6862
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6797
6863
|
:type RequestId: str
|
6798
6864
|
"""
|
6865
|
+
self._FieldValueRatioInfos = None
|
6866
|
+
self._TotalCount = None
|
6799
6867
|
self._RequestId = None
|
6800
6868
|
|
6869
|
+
@property
|
6870
|
+
def FieldValueRatioInfos(self):
|
6871
|
+
return self._FieldValueRatioInfos
|
6872
|
+
|
6873
|
+
@FieldValueRatioInfos.setter
|
6874
|
+
def FieldValueRatioInfos(self, FieldValueRatioInfos):
|
6875
|
+
self._FieldValueRatioInfos = FieldValueRatioInfos
|
6876
|
+
|
6877
|
+
@property
|
6878
|
+
def TotalCount(self):
|
6879
|
+
return self._TotalCount
|
6880
|
+
|
6881
|
+
@TotalCount.setter
|
6882
|
+
def TotalCount(self, TotalCount):
|
6883
|
+
self._TotalCount = TotalCount
|
6884
|
+
|
6801
6885
|
@property
|
6802
6886
|
def RequestId(self):
|
6803
6887
|
return self._RequestId
|
@@ -6808,6 +6892,13 @@ class DescribeAccessFastAnalysisResponse(AbstractModel):
|
|
6808
6892
|
|
6809
6893
|
|
6810
6894
|
def _deserialize(self, params):
|
6895
|
+
if params.get("FieldValueRatioInfos") is not None:
|
6896
|
+
self._FieldValueRatioInfos = []
|
6897
|
+
for item in params.get("FieldValueRatioInfos"):
|
6898
|
+
obj = AccessFieldValueRatioInfo()
|
6899
|
+
obj._deserialize(item)
|
6900
|
+
self._FieldValueRatioInfos.append(obj)
|
6901
|
+
self._TotalCount = params.get("TotalCount")
|
6811
6902
|
self._RequestId = params.get("RequestId")
|
6812
6903
|
|
6813
6904
|
|