tencentcloud-sdk-python 3.0.1281__py2.py3-none-any.whl → 3.0.1283__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/cdb/v20170320/models.py +8 -4
- tencentcloud/cwp/v20180228/cwp_client.py +138 -0
- tencentcloud/cwp/v20180228/models.py +1015 -162
- tencentcloud/ess/v20201111/models.py +8 -4
- tencentcloud/essbasic/v20210526/models.py +40 -14
- tencentcloud/faceid/v20180301/models.py +34 -0
- tencentcloud/hunyuan/v20230901/models.py +15 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +52 -2
- tencentcloud/iotexplorer/v20190423/models.py +301 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +46 -0
- tencentcloud/iotvideo/v20211125/models.py +301 -0
- tencentcloud/lighthouse/v20200324/models.py +12 -1
- tencentcloud/lke/v20231130/models.py +4 -4
- tencentcloud/memcached/v20190318/models.py +0 -6
- tencentcloud/ocr/v20181119/ocr_client.py +2 -0
- tencentcloud/ssl/v20191205/models.py +15 -0
- tencentcloud/tcbr/v20220217/models.py +0 -42
- tencentcloud/trocket/v20230308/models.py +30 -0
- tencentcloud/tsf/v20180326/errorcodes.py +18 -0
- tencentcloud/tsf/v20180326/models.py +106 -30
- tencentcloud/vpc/v20170312/models.py +23 -0
- tencentcloud/wedata/v20210820/models.py +147 -0
- {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/RECORD +28 -28
- {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/top_level.txt +0 -0
@@ -11200,6 +11200,9 @@ class FirewallTemplateApplyRecord(AbstractModel):
|
|
11200
11200
|
:param _TemplateRuleSet: 模板规则列表。
|
11201
11201
|
:type TemplateRuleSet: list of FirewallTemplateRule
|
11202
11202
|
:param _ApplyState: 应用模板的执行状态。
|
11203
|
+
|
11204
|
+
- SUCCESS:成功
|
11205
|
+
- FAILED:失败
|
11203
11206
|
:type ApplyState: str
|
11204
11207
|
:param _SuccessCount: 应用成功的实例数量。
|
11205
11208
|
:type SuccessCount: int
|
@@ -11255,6 +11258,9 @@ class FirewallTemplateApplyRecord(AbstractModel):
|
|
11255
11258
|
@property
|
11256
11259
|
def ApplyState(self):
|
11257
11260
|
"""应用模板的执行状态。
|
11261
|
+
|
11262
|
+
- SUCCESS:成功
|
11263
|
+
- FAILED:失败
|
11258
11264
|
:rtype: str
|
11259
11265
|
"""
|
11260
11266
|
return self._ApplyState
|
@@ -11347,6 +11353,9 @@ class FirewallTemplateApplyRecordDetail(AbstractModel):
|
|
11347
11353
|
:param _Instance: 实例标识信息。
|
11348
11354
|
:type Instance: :class:`tencentcloud.lighthouse.v20200324.models.InstanceIdentifier`
|
11349
11355
|
:param _ApplyState: 防火墙模板应用状态。
|
11356
|
+
|
11357
|
+
- SUCCESS:成功
|
11358
|
+
- FAILED:失败
|
11350
11359
|
:type ApplyState: str
|
11351
11360
|
:param _ErrorMessage: 防火墙模板应用错误信息。
|
11352
11361
|
:type ErrorMessage: str
|
@@ -11369,6 +11378,9 @@ class FirewallTemplateApplyRecordDetail(AbstractModel):
|
|
11369
11378
|
@property
|
11370
11379
|
def ApplyState(self):
|
11371
11380
|
"""防火墙模板应用状态。
|
11381
|
+
|
11382
|
+
- SUCCESS:成功
|
11383
|
+
- FAILED:失败
|
11372
11384
|
:rtype: str
|
11373
11385
|
"""
|
11374
11386
|
return self._ApplyState
|
@@ -11514,7 +11526,6 @@ class FirewallTemplateRuleInfo(AbstractModel):
|
|
11514
11526
|
class GeneralResourceQuota(AbstractModel):
|
11515
11527
|
"""描述通用资源配额信息。
|
11516
11528
|
|
11517
|
-
|
11518
11529
|
"""
|
11519
11530
|
|
11520
11531
|
def __init__(self):
|
@@ -7857,9 +7857,9 @@ class DescribeTokenUsageRequest(AbstractModel):
|
|
7857
7857
|
:type SubBizType: str
|
7858
7858
|
:param _ModelName: 模型标识
|
7859
7859
|
:type ModelName: str
|
7860
|
-
:param _StartTime: 开始时间戳, 单位为秒
|
7860
|
+
:param _StartTime: 开始时间戳, 单位为秒(默认值0)
|
7861
7861
|
:type StartTime: str
|
7862
|
-
:param _EndTime: 结束时间戳, 单位为秒
|
7862
|
+
:param _EndTime: 结束时间戳, 单位为秒(默认值0, 必须大于开始时间戳)
|
7863
7863
|
:type EndTime: str
|
7864
7864
|
:param _AppBizIds: 应用id列表
|
7865
7865
|
:type AppBizIds: list of str
|
@@ -7933,7 +7933,7 @@ class DescribeTokenUsageRequest(AbstractModel):
|
|
7933
7933
|
|
7934
7934
|
@property
|
7935
7935
|
def StartTime(self):
|
7936
|
-
"""开始时间戳, 单位为秒
|
7936
|
+
"""开始时间戳, 单位为秒(默认值0)
|
7937
7937
|
:rtype: str
|
7938
7938
|
"""
|
7939
7939
|
return self._StartTime
|
@@ -7944,7 +7944,7 @@ class DescribeTokenUsageRequest(AbstractModel):
|
|
7944
7944
|
|
7945
7945
|
@property
|
7946
7946
|
def EndTime(self):
|
7947
|
-
"""结束时间戳, 单位为秒
|
7947
|
+
"""结束时间戳, 单位为秒(默认值0, 必须大于开始时间戳)
|
7948
7948
|
:rtype: str
|
7949
7949
|
"""
|
7950
7950
|
return self._EndTime
|
@@ -287,7 +287,6 @@ class InstanceListInfo(AbstractModel):
|
|
287
287
|
:param _CmemId: 实例内置ID
|
288
288
|
:type CmemId: int
|
289
289
|
:param _Tags: 实例关联的标签信息
|
290
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
291
290
|
:type Tags: list of TagInfo
|
292
291
|
:param _InstanceId: 实例ID
|
293
292
|
:type InstanceId: str
|
@@ -418,7 +417,6 @@ class InstanceListInfo(AbstractModel):
|
|
418
417
|
@property
|
419
418
|
def Tags(self):
|
420
419
|
"""实例关联的标签信息
|
421
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
422
420
|
:rtype: list of TagInfo
|
423
421
|
"""
|
424
422
|
return self._Tags
|
@@ -663,10 +661,8 @@ class TagInfo(AbstractModel):
|
|
663
661
|
def __init__(self):
|
664
662
|
r"""
|
665
663
|
:param _TagKey: 标签键
|
666
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
667
664
|
:type TagKey: str
|
668
665
|
:param _TagValue: 标签值
|
669
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
670
666
|
:type TagValue: str
|
671
667
|
"""
|
672
668
|
self._TagKey = None
|
@@ -675,7 +671,6 @@ class TagInfo(AbstractModel):
|
|
675
671
|
@property
|
676
672
|
def TagKey(self):
|
677
673
|
"""标签键
|
678
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
679
674
|
:rtype: str
|
680
675
|
"""
|
681
676
|
return self._TagKey
|
@@ -687,7 +682,6 @@ class TagInfo(AbstractModel):
|
|
687
682
|
@property
|
688
683
|
def TagValue(self):
|
689
684
|
"""标签值
|
690
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
691
685
|
:rtype: str
|
692
686
|
"""
|
693
687
|
return self._TagValue
|
@@ -2235,6 +2235,8 @@ class OcrClient(AbstractClient):
|
|
2235
2235
|
def TextDetect(self, request):
|
2236
2236
|
"""本接口通过检测图片中的文字信息特征,快速判断图片中有无文字并返回判断结果,帮助用户过滤无文字的图片。
|
2237
2237
|
|
2238
|
+
默认接口请求频率限制:5次/秒。
|
2239
|
+
|
2238
2240
|
:param request: Request instance for TextDetect.
|
2239
2241
|
:type request: :class:`tencentcloud.ocr.v20181119.models.TextDetectRequest`
|
2240
2242
|
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectResponse`
|
@@ -15430,6 +15430,8 @@ class SubmitCertificateInformationRequest(AbstractModel):
|
|
15430
15430
|
:type ContactNumber: str
|
15431
15431
|
:param _ContactPosition: 联系人职位。
|
15432
15432
|
:type ContactPosition: str
|
15433
|
+
:param _IsDV: 是否DV证书。默认false
|
15434
|
+
:type IsDV: bool
|
15433
15435
|
"""
|
15434
15436
|
self._CertificateId = None
|
15435
15437
|
self._CsrType = None
|
@@ -15457,6 +15459,7 @@ class SubmitCertificateInformationRequest(AbstractModel):
|
|
15457
15459
|
self._ContactEmail = None
|
15458
15460
|
self._ContactNumber = None
|
15459
15461
|
self._ContactPosition = None
|
15462
|
+
self._IsDV = None
|
15460
15463
|
|
15461
15464
|
@property
|
15462
15465
|
def CertificateId(self):
|
@@ -15744,6 +15747,17 @@ class SubmitCertificateInformationRequest(AbstractModel):
|
|
15744
15747
|
def ContactPosition(self, ContactPosition):
|
15745
15748
|
self._ContactPosition = ContactPosition
|
15746
15749
|
|
15750
|
+
@property
|
15751
|
+
def IsDV(self):
|
15752
|
+
"""是否DV证书。默认false
|
15753
|
+
:rtype: bool
|
15754
|
+
"""
|
15755
|
+
return self._IsDV
|
15756
|
+
|
15757
|
+
@IsDV.setter
|
15758
|
+
def IsDV(self, IsDV):
|
15759
|
+
self._IsDV = IsDV
|
15760
|
+
|
15747
15761
|
|
15748
15762
|
def _deserialize(self, params):
|
15749
15763
|
self._CertificateId = params.get("CertificateId")
|
@@ -15772,6 +15786,7 @@ class SubmitCertificateInformationRequest(AbstractModel):
|
|
15772
15786
|
self._ContactEmail = params.get("ContactEmail")
|
15773
15787
|
self._ContactNumber = params.get("ContactNumber")
|
15774
15788
|
self._ContactPosition = params.get("ContactPosition")
|
15789
|
+
self._IsDV = params.get("IsDV")
|
15775
15790
|
memeber_set = set(params.keys())
|
15776
15791
|
for name, value in vars(self).items():
|
15777
15792
|
property_name = name[1:]
|
@@ -937,13 +937,10 @@ class DescribeCloudRunServerDetailResponse(AbstractModel):
|
|
937
937
|
def __init__(self):
|
938
938
|
r"""
|
939
939
|
:param _BaseInfo: 服务基本信息
|
940
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
941
940
|
:type BaseInfo: :class:`tencentcloud.tcbr.v20220217.models.ServerBaseInfo`
|
942
941
|
:param _ServerConfig: 服务配置信息
|
943
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
944
942
|
:type ServerConfig: :class:`tencentcloud.tcbr.v20220217.models.ServerBaseConfig`
|
945
943
|
:param _OnlineVersionInfos: 在线版本信息
|
946
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
947
944
|
:type OnlineVersionInfos: list of OnlineVersionInfo
|
948
945
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
949
946
|
:type RequestId: str
|
@@ -956,7 +953,6 @@ class DescribeCloudRunServerDetailResponse(AbstractModel):
|
|
956
953
|
@property
|
957
954
|
def BaseInfo(self):
|
958
955
|
"""服务基本信息
|
959
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
960
956
|
:rtype: :class:`tencentcloud.tcbr.v20220217.models.ServerBaseInfo`
|
961
957
|
"""
|
962
958
|
return self._BaseInfo
|
@@ -968,7 +964,6 @@ class DescribeCloudRunServerDetailResponse(AbstractModel):
|
|
968
964
|
@property
|
969
965
|
def ServerConfig(self):
|
970
966
|
"""服务配置信息
|
971
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
972
967
|
:rtype: :class:`tencentcloud.tcbr.v20220217.models.ServerBaseConfig`
|
973
968
|
"""
|
974
969
|
return self._ServerConfig
|
@@ -980,7 +975,6 @@ class DescribeCloudRunServerDetailResponse(AbstractModel):
|
|
980
975
|
@property
|
981
976
|
def OnlineVersionInfos(self):
|
982
977
|
"""在线版本信息
|
983
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
984
978
|
:rtype: list of OnlineVersionInfo
|
985
979
|
"""
|
986
980
|
return self._OnlineVersionInfos
|
@@ -1552,24 +1546,18 @@ class EnvInfo(AbstractModel):
|
|
1552
1546
|
<li>UNAVAILABLE:服务不可用,可能是尚未初始化或者初始化过程中</li>
|
1553
1547
|
:type Status: str
|
1554
1548
|
:param _IsAutoDegrade: 是否到期自动降为免费版
|
1555
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1556
1549
|
:type IsAutoDegrade: bool
|
1557
1550
|
:param _EnvChannel: 环境渠道
|
1558
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1559
1551
|
:type EnvChannel: str
|
1560
1552
|
:param _PayMode: 支付方式。包含以下取值:
|
1561
1553
|
<li> prepayment:预付费</li>
|
1562
1554
|
<li> postpaid:后付费</li>
|
1563
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1564
1555
|
:type PayMode: str
|
1565
1556
|
:param _IsDefault: 是否为默认环境
|
1566
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1567
1557
|
:type IsDefault: bool
|
1568
1558
|
:param _Region: 环境所属地域
|
1569
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1570
1559
|
:type Region: str
|
1571
1560
|
:param _EnvType: 环境类型:baas, run, hosting, weda,tcbr
|
1572
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1573
1561
|
:type EnvType: str
|
1574
1562
|
:param _Databases: 数据库列表
|
1575
1563
|
:type Databases: list of DatabasesInfo
|
@@ -1578,22 +1566,16 @@ class EnvInfo(AbstractModel):
|
|
1578
1566
|
:param _Functions: 函数列表
|
1579
1567
|
:type Functions: list of FunctionInfo
|
1580
1568
|
:param _LogServices: 云日志服务列表
|
1581
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1582
1569
|
:type LogServices: list of LogServiceInfo
|
1583
1570
|
:param _StaticStorages: 静态资源信息
|
1584
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1585
1571
|
:type StaticStorages: list of StaticStorageInfo
|
1586
1572
|
:param _Tags: 环境标签列表
|
1587
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1588
1573
|
:type Tags: list of Tag
|
1589
1574
|
:param _CustomLogServices: 自定义日志服务
|
1590
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1591
1575
|
:type CustomLogServices: list of ClsInfo
|
1592
1576
|
:param _PackageId: tcb产品套餐ID,参考DescribePackages接口的返回值。
|
1593
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1594
1577
|
:type PackageId: str
|
1595
1578
|
:param _PackageName: 套餐中文名称,参考DescribePackages接口的返回值。
|
1596
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1597
1579
|
:type PackageName: str
|
1598
1580
|
"""
|
1599
1581
|
self._EnvId = None
|
@@ -1691,7 +1673,6 @@ class EnvInfo(AbstractModel):
|
|
1691
1673
|
@property
|
1692
1674
|
def IsAutoDegrade(self):
|
1693
1675
|
"""是否到期自动降为免费版
|
1694
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1695
1676
|
:rtype: bool
|
1696
1677
|
"""
|
1697
1678
|
return self._IsAutoDegrade
|
@@ -1703,7 +1684,6 @@ class EnvInfo(AbstractModel):
|
|
1703
1684
|
@property
|
1704
1685
|
def EnvChannel(self):
|
1705
1686
|
"""环境渠道
|
1706
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1707
1687
|
:rtype: str
|
1708
1688
|
"""
|
1709
1689
|
return self._EnvChannel
|
@@ -1717,7 +1697,6 @@ class EnvInfo(AbstractModel):
|
|
1717
1697
|
"""支付方式。包含以下取值:
|
1718
1698
|
<li> prepayment:预付费</li>
|
1719
1699
|
<li> postpaid:后付费</li>
|
1720
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1721
1700
|
:rtype: str
|
1722
1701
|
"""
|
1723
1702
|
return self._PayMode
|
@@ -1729,7 +1708,6 @@ class EnvInfo(AbstractModel):
|
|
1729
1708
|
@property
|
1730
1709
|
def IsDefault(self):
|
1731
1710
|
"""是否为默认环境
|
1732
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1733
1711
|
:rtype: bool
|
1734
1712
|
"""
|
1735
1713
|
return self._IsDefault
|
@@ -1741,7 +1719,6 @@ class EnvInfo(AbstractModel):
|
|
1741
1719
|
@property
|
1742
1720
|
def Region(self):
|
1743
1721
|
"""环境所属地域
|
1744
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1745
1722
|
:rtype: str
|
1746
1723
|
"""
|
1747
1724
|
return self._Region
|
@@ -1753,7 +1730,6 @@ class EnvInfo(AbstractModel):
|
|
1753
1730
|
@property
|
1754
1731
|
def EnvType(self):
|
1755
1732
|
"""环境类型:baas, run, hosting, weda,tcbr
|
1756
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1757
1733
|
:rtype: str
|
1758
1734
|
"""
|
1759
1735
|
return self._EnvType
|
@@ -1798,7 +1774,6 @@ class EnvInfo(AbstractModel):
|
|
1798
1774
|
@property
|
1799
1775
|
def LogServices(self):
|
1800
1776
|
"""云日志服务列表
|
1801
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1802
1777
|
:rtype: list of LogServiceInfo
|
1803
1778
|
"""
|
1804
1779
|
return self._LogServices
|
@@ -1810,7 +1785,6 @@ class EnvInfo(AbstractModel):
|
|
1810
1785
|
@property
|
1811
1786
|
def StaticStorages(self):
|
1812
1787
|
"""静态资源信息
|
1813
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1814
1788
|
:rtype: list of StaticStorageInfo
|
1815
1789
|
"""
|
1816
1790
|
return self._StaticStorages
|
@@ -1822,7 +1796,6 @@ class EnvInfo(AbstractModel):
|
|
1822
1796
|
@property
|
1823
1797
|
def Tags(self):
|
1824
1798
|
"""环境标签列表
|
1825
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1826
1799
|
:rtype: list of Tag
|
1827
1800
|
"""
|
1828
1801
|
return self._Tags
|
@@ -1834,7 +1807,6 @@ class EnvInfo(AbstractModel):
|
|
1834
1807
|
@property
|
1835
1808
|
def CustomLogServices(self):
|
1836
1809
|
"""自定义日志服务
|
1837
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1838
1810
|
:rtype: list of ClsInfo
|
1839
1811
|
"""
|
1840
1812
|
return self._CustomLogServices
|
@@ -1846,7 +1818,6 @@ class EnvInfo(AbstractModel):
|
|
1846
1818
|
@property
|
1847
1819
|
def PackageId(self):
|
1848
1820
|
"""tcb产品套餐ID,参考DescribePackages接口的返回值。
|
1849
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1850
1821
|
:rtype: str
|
1851
1822
|
"""
|
1852
1823
|
return self._PackageId
|
@@ -1858,7 +1829,6 @@ class EnvInfo(AbstractModel):
|
|
1858
1829
|
@property
|
1859
1830
|
def PackageName(self):
|
1860
1831
|
"""套餐中文名称,参考DescribePackages接口的返回值。
|
1861
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1862
1832
|
:rtype: str
|
1863
1833
|
"""
|
1864
1834
|
return self._PackageName
|
@@ -1996,10 +1966,8 @@ class HpaPolicy(AbstractModel):
|
|
1996
1966
|
def __init__(self):
|
1997
1967
|
r"""
|
1998
1968
|
:param _PolicyType: 扩缩容类型
|
1999
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2000
1969
|
:type PolicyType: str
|
2001
1970
|
:param _PolicyThreshold: 扩缩容阈值
|
2002
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2003
1971
|
:type PolicyThreshold: int
|
2004
1972
|
"""
|
2005
1973
|
self._PolicyType = None
|
@@ -2008,7 +1976,6 @@ class HpaPolicy(AbstractModel):
|
|
2008
1976
|
@property
|
2009
1977
|
def PolicyType(self):
|
2010
1978
|
"""扩缩容类型
|
2011
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2012
1979
|
:rtype: str
|
2013
1980
|
"""
|
2014
1981
|
return self._PolicyType
|
@@ -2020,7 +1987,6 @@ class HpaPolicy(AbstractModel):
|
|
2020
1987
|
@property
|
2021
1988
|
def PolicyThreshold(self):
|
2022
1989
|
"""扩缩容阈值
|
2023
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2024
1990
|
:rtype: int
|
2025
1991
|
"""
|
2026
1992
|
return self._PolicyThreshold
|
@@ -2198,13 +2164,10 @@ class OnlineVersionInfo(AbstractModel):
|
|
2198
2164
|
def __init__(self):
|
2199
2165
|
r"""
|
2200
2166
|
:param _VersionName: 版本名
|
2201
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2202
2167
|
:type VersionName: str
|
2203
2168
|
:param _ImageUrl: 镜像url
|
2204
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2205
2169
|
:type ImageUrl: str
|
2206
2170
|
:param _FlowRatio: 流量
|
2207
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2208
2171
|
:type FlowRatio: str
|
2209
2172
|
"""
|
2210
2173
|
self._VersionName = None
|
@@ -2214,7 +2177,6 @@ class OnlineVersionInfo(AbstractModel):
|
|
2214
2177
|
@property
|
2215
2178
|
def VersionName(self):
|
2216
2179
|
"""版本名
|
2217
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2218
2180
|
:rtype: str
|
2219
2181
|
"""
|
2220
2182
|
return self._VersionName
|
@@ -2226,7 +2188,6 @@ class OnlineVersionInfo(AbstractModel):
|
|
2226
2188
|
@property
|
2227
2189
|
def ImageUrl(self):
|
2228
2190
|
"""镜像url
|
2229
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2230
2191
|
:rtype: str
|
2231
2192
|
"""
|
2232
2193
|
return self._ImageUrl
|
@@ -2238,7 +2199,6 @@ class OnlineVersionInfo(AbstractModel):
|
|
2238
2199
|
@property
|
2239
2200
|
def FlowRatio(self):
|
2240
2201
|
"""流量
|
2241
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2242
2202
|
:rtype: str
|
2243
2203
|
"""
|
2244
2204
|
return self._FlowRatio
|
@@ -2659,7 +2619,6 @@ class ServerBaseConfig(AbstractModel):
|
|
2659
2619
|
:param _LogParseType: 解析类型:json | line
|
2660
2620
|
:type LogParseType: str
|
2661
2621
|
:param _Tag: 服务标签, function: 函数托管
|
2662
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2663
2622
|
:type Tag: str
|
2664
2623
|
"""
|
2665
2624
|
self._EnvId = None
|
@@ -2907,7 +2866,6 @@ class ServerBaseConfig(AbstractModel):
|
|
2907
2866
|
@property
|
2908
2867
|
def Tag(self):
|
2909
2868
|
"""服务标签, function: 函数托管
|
2910
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2911
2869
|
:rtype: str
|
2912
2870
|
"""
|
2913
2871
|
return self._Tag
|
@@ -411,6 +411,8 @@ PLATINUM 铂金版
|
|
411
411
|
:type TimeSpan: int
|
412
412
|
:param _MaxTopicNum: 最大可创建主题数
|
413
413
|
:type MaxTopicNum: int
|
414
|
+
:param _ZoneIds: 部署可用区列表
|
415
|
+
:type ZoneIds: list of int
|
414
416
|
"""
|
415
417
|
self._InstanceType = None
|
416
418
|
self._Name = None
|
@@ -427,6 +429,7 @@ PLATINUM 铂金版
|
|
427
429
|
self._RenewFlag = None
|
428
430
|
self._TimeSpan = None
|
429
431
|
self._MaxTopicNum = None
|
432
|
+
self._ZoneIds = None
|
430
433
|
|
431
434
|
@property
|
432
435
|
def InstanceType(self):
|
@@ -597,6 +600,17 @@ PLATINUM 铂金版
|
|
597
600
|
def MaxTopicNum(self, MaxTopicNum):
|
598
601
|
self._MaxTopicNum = MaxTopicNum
|
599
602
|
|
603
|
+
@property
|
604
|
+
def ZoneIds(self):
|
605
|
+
"""部署可用区列表
|
606
|
+
:rtype: list of int
|
607
|
+
"""
|
608
|
+
return self._ZoneIds
|
609
|
+
|
610
|
+
@ZoneIds.setter
|
611
|
+
def ZoneIds(self, ZoneIds):
|
612
|
+
self._ZoneIds = ZoneIds
|
613
|
+
|
600
614
|
|
601
615
|
def _deserialize(self, params):
|
602
616
|
self._InstanceType = params.get("InstanceType")
|
@@ -629,6 +643,7 @@ PLATINUM 铂金版
|
|
629
643
|
self._RenewFlag = params.get("RenewFlag")
|
630
644
|
self._TimeSpan = params.get("TimeSpan")
|
631
645
|
self._MaxTopicNum = params.get("MaxTopicNum")
|
646
|
+
self._ZoneIds = params.get("ZoneIds")
|
632
647
|
memeber_set = set(params.keys())
|
633
648
|
for name, value in vars(self).items():
|
634
649
|
property_name = name[1:]
|
@@ -3207,6 +3222,8 @@ PLATINUM 铂金版
|
|
3207
3222
|
:param _TopicNumUpperLimit: 最大可设置的topic个数
|
3208
3223
|
注意:此字段可能返回 null,表示取不到有效值。
|
3209
3224
|
:type TopicNumUpperLimit: int
|
3225
|
+
:param _ZoneIds: 可用区列表
|
3226
|
+
:type ZoneIds: list of int
|
3210
3227
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3211
3228
|
:type RequestId: str
|
3212
3229
|
"""
|
@@ -3240,6 +3257,7 @@ PLATINUM 铂金版
|
|
3240
3257
|
self._AclEnabled = None
|
3241
3258
|
self._TopicNumLowerLimit = None
|
3242
3259
|
self._TopicNumUpperLimit = None
|
3260
|
+
self._ZoneIds = None
|
3243
3261
|
self._RequestId = None
|
3244
3262
|
|
3245
3263
|
@property
|
@@ -3581,6 +3599,17 @@ PLATINUM 铂金版
|
|
3581
3599
|
def TopicNumUpperLimit(self, TopicNumUpperLimit):
|
3582
3600
|
self._TopicNumUpperLimit = TopicNumUpperLimit
|
3583
3601
|
|
3602
|
+
@property
|
3603
|
+
def ZoneIds(self):
|
3604
|
+
"""可用区列表
|
3605
|
+
:rtype: list of int
|
3606
|
+
"""
|
3607
|
+
return self._ZoneIds
|
3608
|
+
|
3609
|
+
@ZoneIds.setter
|
3610
|
+
def ZoneIds(self, ZoneIds):
|
3611
|
+
self._ZoneIds = ZoneIds
|
3612
|
+
|
3584
3613
|
@property
|
3585
3614
|
def RequestId(self):
|
3586
3615
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -3634,6 +3663,7 @@ PLATINUM 铂金版
|
|
3634
3663
|
self._AclEnabled = params.get("AclEnabled")
|
3635
3664
|
self._TopicNumLowerLimit = params.get("TopicNumLowerLimit")
|
3636
3665
|
self._TopicNumUpperLimit = params.get("TopicNumUpperLimit")
|
3666
|
+
self._ZoneIds = params.get("ZoneIds")
|
3637
3667
|
self._RequestId = params.get("RequestId")
|
3638
3668
|
|
3639
3669
|
|
@@ -17,6 +17,9 @@
|
|
17
17
|
# API元数据解析失败。
|
18
18
|
FAILEDOPERATION_APIMETAPARSEFAILED = 'FailedOperation.ApiMetaParseFailed'
|
19
19
|
|
20
|
+
# 调用TSF-APM服务获取配置列表失败
|
21
|
+
FAILEDOPERATION_APMGETCONFIGSFAILED = 'FailedOperation.ApmGetConfigsFailed'
|
22
|
+
|
20
23
|
# 创建应用,获取ES鉴权信息失败。
|
21
24
|
FAILEDOPERATION_APPLICATIONCREATEESATUHERROR = 'FailedOperation.ApplicationCreateEsAtuhError'
|
22
25
|
|
@@ -26,6 +29,12 @@ FAILEDOPERATION_APPLICATIONQUERYFAILED = 'FailedOperation.ApplicationQueryFailed
|
|
26
29
|
# TSF应用性能管理调用tsf-dcfg模块失败
|
27
30
|
FAILEDOPERATION_CALLTSFDCFGFAILED = 'FailedOperation.CallTsfDcfgFailed'
|
28
31
|
|
32
|
+
# 调用CDI状态接口失败
|
33
|
+
FAILEDOPERATION_CDISTATUSFAILED = 'FailedOperation.CdiStatusFailed'
|
34
|
+
|
35
|
+
# 调用CDI状态返回数据异常
|
36
|
+
FAILEDOPERATION_CDISTATUSINVALID = 'FailedOperation.CdiStatusInvalid'
|
37
|
+
|
29
38
|
# TSF云API请求调用失败。
|
30
39
|
FAILEDOPERATION_CLOUDAPIPROXYERROR = 'FailedOperation.CloudApiProxyError'
|
31
40
|
|
@@ -185,6 +194,12 @@ FAILEDOPERATION_SERVICEINSERTFAILED = 'FailedOperation.ServiceInsertFailed'
|
|
185
194
|
# 服务查询失败。
|
186
195
|
FAILEDOPERATION_SERVICEQUERYFAILED = 'FailedOperation.ServiceQueryFailed'
|
187
196
|
|
197
|
+
# 可观测性支持依赖TAPM业务系统绑定
|
198
|
+
FAILEDOPERATION_TAPMBINDREQUIRED = 'FailedOperation.TapmBindRequired'
|
199
|
+
|
200
|
+
# 请使用TAPM提供的Otel探针
|
201
|
+
FAILEDOPERATION_TAPMEXPIREDOTEL = 'FailedOperation.TapmExpiredOtel'
|
202
|
+
|
188
203
|
# 任务创建异常。
|
189
204
|
FAILEDOPERATION_TASKCREATEERROR = 'FailedOperation.TaskCreateError'
|
190
205
|
|
@@ -314,6 +329,9 @@ INTERNALERROR_CAMROLEREQUESTERROR = 'InternalError.CamRoleRequestError'
|
|
314
329
|
# 配置发布失败:无法连接配置中心服务器。
|
315
330
|
INTERNALERROR_CANNOTCONNCONSULSERVER = 'InternalError.CanNotConnConsulServer'
|
316
331
|
|
332
|
+
# 调用CDI状态接口返回数据异常
|
333
|
+
INTERNALERROR_CDISTATUSDATAINVALID = 'InternalError.CdiStatusDataInvalid'
|
334
|
+
|
317
335
|
# TSF云API请求调用失败。
|
318
336
|
INTERNALERROR_CLOUDAPIPROXYERROR = 'InternalError.CloudApiProxyError'
|
319
337
|
|