tencentcloud-sdk-python 3.0.976__py2.py3-none-any.whl → 3.0.978__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/antiddos/v20200309/antiddos_client.py +1 -1
- tencentcloud/antiddos/v20200309/models.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +14 -0
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cdc/v20201214/models.py +194 -0
- tencentcloud/cdn/v20180606/errorcodes.py +6 -0
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/models.py +75 -0
- tencentcloud/cfw/v20190904/cfw_client.py +644 -0
- tencentcloud/cfw/v20190904/models.py +11557 -5960
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/csip/v20221121/models.py +13 -0
- tencentcloud/dnspod/v20210323/models.py +1 -1
- tencentcloud/domain/v20180808/errorcodes.py +1 -1
- tencentcloud/eb/v20210416/eb_client.py +92 -0
- tencentcloud/eb/v20210416/models.py +407 -0
- tencentcloud/ess/v20201111/ess_client.py +68 -26
- tencentcloud/ess/v20201111/models.py +453 -222
- tencentcloud/essbasic/v20210526/models.py +129 -4
- tencentcloud/facefusion/v20181201/facefusion_client.py +3 -1
- tencentcloud/iai/v20180301/iai_client.py +0 -1
- tencentcloud/iai/v20180301/models.py +1 -5
- tencentcloud/iai/v20200303/models.py +2 -6
- tencentcloud/lcic/v20220817/models.py +12 -0
- tencentcloud/mrs/v20200910/models.py +8965 -4033
- tencentcloud/mrs/v20200910/mrs_client.py +23 -0
- tencentcloud/ocr/v20181119/models.py +24 -0
- tencentcloud/ses/v20201002/models.py +180 -0
- tencentcloud/ses/v20201002/ses_client.py +23 -0
- tencentcloud/sqlserver/v20180328/models.py +315 -0
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +46 -0
- tencentcloud/ssa/v20180608/models.py +249 -0
- tencentcloud/ssa/v20180608/ssa_client.py +23 -0
- tencentcloud/ssl/v20191205/models.py +75 -0
- tencentcloud/tcr/v20190924/models.py +17 -3
- tencentcloud/tcr/v20190924/tcr_client.py +1 -1
- tencentcloud/teo/v20220901/errorcodes.py +9 -0
- tencentcloud/trocket/v20230308/errorcodes.py +24 -0
- tencentcloud/trocket/v20230308/models.py +2627 -360
- tencentcloud/trocket/v20230308/trocket_client.py +301 -0
- tencentcloud/trtc/v20190722/models.py +1 -1
- tencentcloud/tsf/v20180326/models.py +88 -28
- tencentcloud/vod/v20180717/errorcodes.py +15 -0
- tencentcloud/vod/v20180717/models.py +330 -0
- tencentcloud/vod/v20180717/vod_client.py +69 -0
- tencentcloud/vpc/v20170312/models.py +48 -0
- tencentcloud/waf/v20180125/models.py +122 -181
- tencentcloud/waf/v20180125/waf_client.py +23 -46
- {tencentcloud_sdk_python-3.0.976.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.976.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/RECORD +54 -54
- {tencentcloud_sdk_python-3.0.976.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.976.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.976.dist-info → tencentcloud_sdk_python-3.0.978.dist-info}/top_level.txt +0 -0
|
@@ -68,6 +68,45 @@ class AggregationObj(AbstractModel):
|
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
|
|
71
|
+
class AlarmInfoRsp(AbstractModel):
|
|
72
|
+
"""用户威胁告警信息
|
|
73
|
+
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
def __init__(self):
|
|
77
|
+
r"""
|
|
78
|
+
:param _AttackEvent: 近7天威胁告警
|
|
79
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
80
|
+
:type AttackEvent: list of AttackEvent
|
|
81
|
+
"""
|
|
82
|
+
self._AttackEvent = None
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def AttackEvent(self):
|
|
86
|
+
return self._AttackEvent
|
|
87
|
+
|
|
88
|
+
@AttackEvent.setter
|
|
89
|
+
def AttackEvent(self, AttackEvent):
|
|
90
|
+
self._AttackEvent = AttackEvent
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
def _deserialize(self, params):
|
|
94
|
+
if params.get("AttackEvent") is not None:
|
|
95
|
+
self._AttackEvent = []
|
|
96
|
+
for item in params.get("AttackEvent"):
|
|
97
|
+
obj = AttackEvent()
|
|
98
|
+
obj._deserialize(item)
|
|
99
|
+
self._AttackEvent.append(obj)
|
|
100
|
+
memeber_set = set(params.keys())
|
|
101
|
+
for name, value in vars(self).items():
|
|
102
|
+
property_name = name[1:]
|
|
103
|
+
if property_name in memeber_set:
|
|
104
|
+
memeber_set.remove(property_name)
|
|
105
|
+
if len(memeber_set) > 0:
|
|
106
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
71
110
|
class AlertDetail(AbstractModel):
|
|
72
111
|
"""告警详情
|
|
73
112
|
|
|
@@ -1909,6 +1948,131 @@ class AssetTypeStatistic(AbstractModel):
|
|
|
1909
1948
|
|
|
1910
1949
|
|
|
1911
1950
|
|
|
1951
|
+
class AttackEvent(AbstractModel):
|
|
1952
|
+
"""攻击事件
|
|
1953
|
+
|
|
1954
|
+
"""
|
|
1955
|
+
|
|
1956
|
+
def __init__(self):
|
|
1957
|
+
r"""
|
|
1958
|
+
:param _SsaSrcIp: 来源ip
|
|
1959
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1960
|
+
:type SsaSrcIp: str
|
|
1961
|
+
:param _SsaDstIp: 目标ip
|
|
1962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1963
|
+
:type SsaDstIp: str
|
|
1964
|
+
:param _SsaDstProvince: 目标省份
|
|
1965
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1966
|
+
:type SsaDstProvince: str
|
|
1967
|
+
:param _SsaDstCity: 目标城市
|
|
1968
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1969
|
+
:type SsaDstCity: str
|
|
1970
|
+
:param _SsaDstCountry: 目标国家
|
|
1971
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1972
|
+
:type SsaDstCountry: str
|
|
1973
|
+
:param _SsaSrcProvince: 来源省份
|
|
1974
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1975
|
+
:type SsaSrcProvince: str
|
|
1976
|
+
:param _SsaSrcCountry: 来源国家
|
|
1977
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1978
|
+
:type SsaSrcCountry: str
|
|
1979
|
+
:param _SsaSrcCity: 来源城市
|
|
1980
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1981
|
+
:type SsaSrcCity: str
|
|
1982
|
+
"""
|
|
1983
|
+
self._SsaSrcIp = None
|
|
1984
|
+
self._SsaDstIp = None
|
|
1985
|
+
self._SsaDstProvince = None
|
|
1986
|
+
self._SsaDstCity = None
|
|
1987
|
+
self._SsaDstCountry = None
|
|
1988
|
+
self._SsaSrcProvince = None
|
|
1989
|
+
self._SsaSrcCountry = None
|
|
1990
|
+
self._SsaSrcCity = None
|
|
1991
|
+
|
|
1992
|
+
@property
|
|
1993
|
+
def SsaSrcIp(self):
|
|
1994
|
+
return self._SsaSrcIp
|
|
1995
|
+
|
|
1996
|
+
@SsaSrcIp.setter
|
|
1997
|
+
def SsaSrcIp(self, SsaSrcIp):
|
|
1998
|
+
self._SsaSrcIp = SsaSrcIp
|
|
1999
|
+
|
|
2000
|
+
@property
|
|
2001
|
+
def SsaDstIp(self):
|
|
2002
|
+
return self._SsaDstIp
|
|
2003
|
+
|
|
2004
|
+
@SsaDstIp.setter
|
|
2005
|
+
def SsaDstIp(self, SsaDstIp):
|
|
2006
|
+
self._SsaDstIp = SsaDstIp
|
|
2007
|
+
|
|
2008
|
+
@property
|
|
2009
|
+
def SsaDstProvince(self):
|
|
2010
|
+
return self._SsaDstProvince
|
|
2011
|
+
|
|
2012
|
+
@SsaDstProvince.setter
|
|
2013
|
+
def SsaDstProvince(self, SsaDstProvince):
|
|
2014
|
+
self._SsaDstProvince = SsaDstProvince
|
|
2015
|
+
|
|
2016
|
+
@property
|
|
2017
|
+
def SsaDstCity(self):
|
|
2018
|
+
return self._SsaDstCity
|
|
2019
|
+
|
|
2020
|
+
@SsaDstCity.setter
|
|
2021
|
+
def SsaDstCity(self, SsaDstCity):
|
|
2022
|
+
self._SsaDstCity = SsaDstCity
|
|
2023
|
+
|
|
2024
|
+
@property
|
|
2025
|
+
def SsaDstCountry(self):
|
|
2026
|
+
return self._SsaDstCountry
|
|
2027
|
+
|
|
2028
|
+
@SsaDstCountry.setter
|
|
2029
|
+
def SsaDstCountry(self, SsaDstCountry):
|
|
2030
|
+
self._SsaDstCountry = SsaDstCountry
|
|
2031
|
+
|
|
2032
|
+
@property
|
|
2033
|
+
def SsaSrcProvince(self):
|
|
2034
|
+
return self._SsaSrcProvince
|
|
2035
|
+
|
|
2036
|
+
@SsaSrcProvince.setter
|
|
2037
|
+
def SsaSrcProvince(self, SsaSrcProvince):
|
|
2038
|
+
self._SsaSrcProvince = SsaSrcProvince
|
|
2039
|
+
|
|
2040
|
+
@property
|
|
2041
|
+
def SsaSrcCountry(self):
|
|
2042
|
+
return self._SsaSrcCountry
|
|
2043
|
+
|
|
2044
|
+
@SsaSrcCountry.setter
|
|
2045
|
+
def SsaSrcCountry(self, SsaSrcCountry):
|
|
2046
|
+
self._SsaSrcCountry = SsaSrcCountry
|
|
2047
|
+
|
|
2048
|
+
@property
|
|
2049
|
+
def SsaSrcCity(self):
|
|
2050
|
+
return self._SsaSrcCity
|
|
2051
|
+
|
|
2052
|
+
@SsaSrcCity.setter
|
|
2053
|
+
def SsaSrcCity(self, SsaSrcCity):
|
|
2054
|
+
self._SsaSrcCity = SsaSrcCity
|
|
2055
|
+
|
|
2056
|
+
|
|
2057
|
+
def _deserialize(self, params):
|
|
2058
|
+
self._SsaSrcIp = params.get("SsaSrcIp")
|
|
2059
|
+
self._SsaDstIp = params.get("SsaDstIp")
|
|
2060
|
+
self._SsaDstProvince = params.get("SsaDstProvince")
|
|
2061
|
+
self._SsaDstCity = params.get("SsaDstCity")
|
|
2062
|
+
self._SsaDstCountry = params.get("SsaDstCountry")
|
|
2063
|
+
self._SsaSrcProvince = params.get("SsaSrcProvince")
|
|
2064
|
+
self._SsaSrcCountry = params.get("SsaSrcCountry")
|
|
2065
|
+
self._SsaSrcCity = params.get("SsaSrcCity")
|
|
2066
|
+
memeber_set = set(params.keys())
|
|
2067
|
+
for name, value in vars(self).items():
|
|
2068
|
+
property_name = name[1:]
|
|
2069
|
+
if property_name in memeber_set:
|
|
2070
|
+
memeber_set.remove(property_name)
|
|
2071
|
+
if len(memeber_set) > 0:
|
|
2072
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2073
|
+
|
|
2074
|
+
|
|
2075
|
+
|
|
1912
2076
|
class Bucket(AbstractModel):
|
|
1913
2077
|
"""es聚合数据类型
|
|
1914
2078
|
|
|
@@ -4217,6 +4381,91 @@ class DataEvent(AbstractModel):
|
|
|
4217
4381
|
|
|
4218
4382
|
|
|
4219
4383
|
|
|
4384
|
+
class DescribeAlarmStatRequest(AbstractModel):
|
|
4385
|
+
"""DescribeAlarmStat请求参数结构体
|
|
4386
|
+
|
|
4387
|
+
"""
|
|
4388
|
+
|
|
4389
|
+
def __init__(self):
|
|
4390
|
+
r"""
|
|
4391
|
+
:param _StartTime: 开始时间
|
|
4392
|
+
:type StartTime: str
|
|
4393
|
+
:param _EndTime: 结束时间
|
|
4394
|
+
:type EndTime: str
|
|
4395
|
+
"""
|
|
4396
|
+
self._StartTime = None
|
|
4397
|
+
self._EndTime = None
|
|
4398
|
+
|
|
4399
|
+
@property
|
|
4400
|
+
def StartTime(self):
|
|
4401
|
+
return self._StartTime
|
|
4402
|
+
|
|
4403
|
+
@StartTime.setter
|
|
4404
|
+
def StartTime(self, StartTime):
|
|
4405
|
+
self._StartTime = StartTime
|
|
4406
|
+
|
|
4407
|
+
@property
|
|
4408
|
+
def EndTime(self):
|
|
4409
|
+
return self._EndTime
|
|
4410
|
+
|
|
4411
|
+
@EndTime.setter
|
|
4412
|
+
def EndTime(self, EndTime):
|
|
4413
|
+
self._EndTime = EndTime
|
|
4414
|
+
|
|
4415
|
+
|
|
4416
|
+
def _deserialize(self, params):
|
|
4417
|
+
self._StartTime = params.get("StartTime")
|
|
4418
|
+
self._EndTime = params.get("EndTime")
|
|
4419
|
+
memeber_set = set(params.keys())
|
|
4420
|
+
for name, value in vars(self).items():
|
|
4421
|
+
property_name = name[1:]
|
|
4422
|
+
if property_name in memeber_set:
|
|
4423
|
+
memeber_set.remove(property_name)
|
|
4424
|
+
if len(memeber_set) > 0:
|
|
4425
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4426
|
+
|
|
4427
|
+
|
|
4428
|
+
|
|
4429
|
+
class DescribeAlarmStatResponse(AbstractModel):
|
|
4430
|
+
"""DescribeAlarmStat返回参数结构体
|
|
4431
|
+
|
|
4432
|
+
"""
|
|
4433
|
+
|
|
4434
|
+
def __init__(self):
|
|
4435
|
+
r"""
|
|
4436
|
+
:param _Data: 威胁告警信息
|
|
4437
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4438
|
+
:type Data: :class:`tencentcloud.ssa.v20180608.models.AlarmInfoRsp`
|
|
4439
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4440
|
+
:type RequestId: str
|
|
4441
|
+
"""
|
|
4442
|
+
self._Data = None
|
|
4443
|
+
self._RequestId = None
|
|
4444
|
+
|
|
4445
|
+
@property
|
|
4446
|
+
def Data(self):
|
|
4447
|
+
return self._Data
|
|
4448
|
+
|
|
4449
|
+
@Data.setter
|
|
4450
|
+
def Data(self, Data):
|
|
4451
|
+
self._Data = Data
|
|
4452
|
+
|
|
4453
|
+
@property
|
|
4454
|
+
def RequestId(self):
|
|
4455
|
+
return self._RequestId
|
|
4456
|
+
|
|
4457
|
+
@RequestId.setter
|
|
4458
|
+
def RequestId(self, RequestId):
|
|
4459
|
+
self._RequestId = RequestId
|
|
4460
|
+
|
|
4461
|
+
|
|
4462
|
+
def _deserialize(self, params):
|
|
4463
|
+
if params.get("Data") is not None:
|
|
4464
|
+
self._Data = AlarmInfoRsp()
|
|
4465
|
+
self._Data._deserialize(params.get("Data"))
|
|
4466
|
+
self._RequestId = params.get("RequestId")
|
|
4467
|
+
|
|
4468
|
+
|
|
4220
4469
|
class DescribeAssetDetailListRequest(AbstractModel):
|
|
4221
4470
|
"""DescribeAssetDetailList请求参数结构体
|
|
4222
4471
|
|
|
@@ -26,6 +26,29 @@ class SsaClient(AbstractClient):
|
|
|
26
26
|
_service = 'ssa'
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
def DescribeAlarmStat(self, request):
|
|
30
|
+
"""安全大屏-用户威胁告警信息
|
|
31
|
+
|
|
32
|
+
:param request: Request instance for DescribeAlarmStat.
|
|
33
|
+
:type request: :class:`tencentcloud.ssa.v20180608.models.DescribeAlarmStatRequest`
|
|
34
|
+
:rtype: :class:`tencentcloud.ssa.v20180608.models.DescribeAlarmStatResponse`
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
try:
|
|
38
|
+
params = request._serialize()
|
|
39
|
+
headers = request.headers
|
|
40
|
+
body = self.call("DescribeAlarmStat", params, headers=headers)
|
|
41
|
+
response = json.loads(body)
|
|
42
|
+
model = models.DescribeAlarmStatResponse()
|
|
43
|
+
model._deserialize(response["Response"])
|
|
44
|
+
return model
|
|
45
|
+
except Exception as e:
|
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
|
47
|
+
raise
|
|
48
|
+
else:
|
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
|
+
|
|
51
|
+
|
|
29
52
|
def DescribeAssetDetail(self, request):
|
|
30
53
|
"""资产安全页资产详情
|
|
31
54
|
|
|
@@ -1085,6 +1085,15 @@ null = 用户上传证书(没有套餐类型),
|
|
|
1085
1085
|
:param _AutoRenewFlag: 是否自动续费
|
|
1086
1086
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1087
1087
|
:type AutoRenewFlag: int
|
|
1088
|
+
:param _HostingStatus: 托管状态,0,托管中,5,资源替换中, 10, 托管完成, -1未托管
|
|
1089
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1090
|
+
:type HostingStatus: int
|
|
1091
|
+
:param _HostingCompleteTime: 托管完成时间
|
|
1092
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1093
|
+
:type HostingCompleteTime: str
|
|
1094
|
+
:param _HostingRenewCertId: 托管新证书ID
|
|
1095
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1096
|
+
:type HostingRenewCertId: str
|
|
1088
1097
|
"""
|
|
1089
1098
|
self._OwnerUin = None
|
|
1090
1099
|
self._ProjectId = None
|
|
@@ -1124,6 +1133,9 @@ null = 用户上传证书(没有套餐类型),
|
|
|
1124
1133
|
self._CACommonNames = None
|
|
1125
1134
|
self._PreAuditInfo = None
|
|
1126
1135
|
self._AutoRenewFlag = None
|
|
1136
|
+
self._HostingStatus = None
|
|
1137
|
+
self._HostingCompleteTime = None
|
|
1138
|
+
self._HostingRenewCertId = None
|
|
1127
1139
|
|
|
1128
1140
|
@property
|
|
1129
1141
|
def OwnerUin(self):
|
|
@@ -1429,6 +1441,30 @@ null = 用户上传证书(没有套餐类型),
|
|
|
1429
1441
|
def AutoRenewFlag(self, AutoRenewFlag):
|
|
1430
1442
|
self._AutoRenewFlag = AutoRenewFlag
|
|
1431
1443
|
|
|
1444
|
+
@property
|
|
1445
|
+
def HostingStatus(self):
|
|
1446
|
+
return self._HostingStatus
|
|
1447
|
+
|
|
1448
|
+
@HostingStatus.setter
|
|
1449
|
+
def HostingStatus(self, HostingStatus):
|
|
1450
|
+
self._HostingStatus = HostingStatus
|
|
1451
|
+
|
|
1452
|
+
@property
|
|
1453
|
+
def HostingCompleteTime(self):
|
|
1454
|
+
return self._HostingCompleteTime
|
|
1455
|
+
|
|
1456
|
+
@HostingCompleteTime.setter
|
|
1457
|
+
def HostingCompleteTime(self, HostingCompleteTime):
|
|
1458
|
+
self._HostingCompleteTime = HostingCompleteTime
|
|
1459
|
+
|
|
1460
|
+
@property
|
|
1461
|
+
def HostingRenewCertId(self):
|
|
1462
|
+
return self._HostingRenewCertId
|
|
1463
|
+
|
|
1464
|
+
@HostingRenewCertId.setter
|
|
1465
|
+
def HostingRenewCertId(self, HostingRenewCertId):
|
|
1466
|
+
self._HostingRenewCertId = HostingRenewCertId
|
|
1467
|
+
|
|
1432
1468
|
|
|
1433
1469
|
def _deserialize(self, params):
|
|
1434
1470
|
self._OwnerUin = params.get("OwnerUin")
|
|
@@ -1480,6 +1516,9 @@ null = 用户上传证书(没有套餐类型),
|
|
|
1480
1516
|
self._PreAuditInfo = PreAuditInfo()
|
|
1481
1517
|
self._PreAuditInfo._deserialize(params.get("PreAuditInfo"))
|
|
1482
1518
|
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
|
1519
|
+
self._HostingStatus = params.get("HostingStatus")
|
|
1520
|
+
self._HostingCompleteTime = params.get("HostingCompleteTime")
|
|
1521
|
+
self._HostingRenewCertId = params.get("HostingRenewCertId")
|
|
1483
1522
|
memeber_set = set(params.keys())
|
|
1484
1523
|
for name, value in vars(self).items():
|
|
1485
1524
|
property_name = name[1:]
|
|
@@ -7300,12 +7339,21 @@ class DescribeHostTeoInstanceListRequest(AbstractModel):
|
|
|
7300
7339
|
:type Filters: list of Filter
|
|
7301
7340
|
:param _OldCertificateId: 已部署的证书ID
|
|
7302
7341
|
:type OldCertificateId: str
|
|
7342
|
+
:param _Offset: 分页偏移量,从0开始。
|
|
7343
|
+
:type Offset: int
|
|
7344
|
+
:param _Limit: 每页数量,默认10。
|
|
7345
|
+
:type Limit: int
|
|
7346
|
+
:param _AsyncCache: 是否异步
|
|
7347
|
+
:type AsyncCache: int
|
|
7303
7348
|
"""
|
|
7304
7349
|
self._CertificateId = None
|
|
7305
7350
|
self._ResourceType = None
|
|
7306
7351
|
self._IsCache = None
|
|
7307
7352
|
self._Filters = None
|
|
7308
7353
|
self._OldCertificateId = None
|
|
7354
|
+
self._Offset = None
|
|
7355
|
+
self._Limit = None
|
|
7356
|
+
self._AsyncCache = None
|
|
7309
7357
|
|
|
7310
7358
|
@property
|
|
7311
7359
|
def CertificateId(self):
|
|
@@ -7347,6 +7395,30 @@ class DescribeHostTeoInstanceListRequest(AbstractModel):
|
|
|
7347
7395
|
def OldCertificateId(self, OldCertificateId):
|
|
7348
7396
|
self._OldCertificateId = OldCertificateId
|
|
7349
7397
|
|
|
7398
|
+
@property
|
|
7399
|
+
def Offset(self):
|
|
7400
|
+
return self._Offset
|
|
7401
|
+
|
|
7402
|
+
@Offset.setter
|
|
7403
|
+
def Offset(self, Offset):
|
|
7404
|
+
self._Offset = Offset
|
|
7405
|
+
|
|
7406
|
+
@property
|
|
7407
|
+
def Limit(self):
|
|
7408
|
+
return self._Limit
|
|
7409
|
+
|
|
7410
|
+
@Limit.setter
|
|
7411
|
+
def Limit(self, Limit):
|
|
7412
|
+
self._Limit = Limit
|
|
7413
|
+
|
|
7414
|
+
@property
|
|
7415
|
+
def AsyncCache(self):
|
|
7416
|
+
return self._AsyncCache
|
|
7417
|
+
|
|
7418
|
+
@AsyncCache.setter
|
|
7419
|
+
def AsyncCache(self, AsyncCache):
|
|
7420
|
+
self._AsyncCache = AsyncCache
|
|
7421
|
+
|
|
7350
7422
|
|
|
7351
7423
|
def _deserialize(self, params):
|
|
7352
7424
|
self._CertificateId = params.get("CertificateId")
|
|
@@ -7359,6 +7431,9 @@ class DescribeHostTeoInstanceListRequest(AbstractModel):
|
|
|
7359
7431
|
obj._deserialize(item)
|
|
7360
7432
|
self._Filters.append(obj)
|
|
7361
7433
|
self._OldCertificateId = params.get("OldCertificateId")
|
|
7434
|
+
self._Offset = params.get("Offset")
|
|
7435
|
+
self._Limit = params.get("Limit")
|
|
7436
|
+
self._AsyncCache = params.get("AsyncCache")
|
|
7362
7437
|
memeber_set = set(params.keys())
|
|
7363
7438
|
for name, value in vars(self).items():
|
|
7364
7439
|
property_name = name[1:]
|
|
@@ -8493,7 +8493,7 @@ class DescribeServiceAccountsRequest(AbstractModel):
|
|
|
8493
8493
|
:type RegistryId: str
|
|
8494
8494
|
:param _All: 列出所有服务级账号
|
|
8495
8495
|
:type All: bool
|
|
8496
|
-
:param _EmbedPermission:
|
|
8496
|
+
:param _EmbedPermission: 是否填充权限信息
|
|
8497
8497
|
:type EmbedPermission: bool
|
|
8498
8498
|
:param _Filters: 过滤条件
|
|
8499
8499
|
:type Filters: list of Filter
|
|
@@ -8590,7 +8590,7 @@ class DescribeServiceAccountsResponse(AbstractModel):
|
|
|
8590
8590
|
:param _ServiceAccounts: 服务级账号列表
|
|
8591
8591
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8592
8592
|
:type ServiceAccounts: list of ServiceAccount
|
|
8593
|
-
:param _TotalCount:
|
|
8593
|
+
:param _TotalCount: 服务级账户数量
|
|
8594
8594
|
:type TotalCount: int
|
|
8595
8595
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8596
8596
|
:type RequestId: str
|
|
@@ -12453,7 +12453,7 @@ class Permission(AbstractModel):
|
|
|
12453
12453
|
:param _Resource: 资源路径,目前仅支持Namespace
|
|
12454
12454
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12455
12455
|
:type Resource: str
|
|
12456
|
-
:param _Actions: 动作,目前仅支持:tcr:PushRepository、tcr:PullRepository
|
|
12456
|
+
:param _Actions: 动作,目前仅支持:tcr:PushRepository、tcr:PullRepository、tcr:CreateRepository、tcr:CreateHelmChart、tcr:DescribeHelmCharts
|
|
12457
12457
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12458
12458
|
:type Actions: list of str
|
|
12459
12459
|
"""
|
|
@@ -12648,6 +12648,8 @@ class Registry(AbstractModel):
|
|
|
12648
12648
|
:param _RenewFlag: 预付费续费标识,0表示手动续费,1表示自动续费,2不续费并且不通知
|
|
12649
12649
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12650
12650
|
:type RenewFlag: int
|
|
12651
|
+
:param _DeletionProtection: 是否开启实例删除保护,false表示不开启
|
|
12652
|
+
:type DeletionProtection: bool
|
|
12651
12653
|
"""
|
|
12652
12654
|
self._RegistryId = None
|
|
12653
12655
|
self._RegistryName = None
|
|
@@ -12664,6 +12666,7 @@ class Registry(AbstractModel):
|
|
|
12664
12666
|
self._ExpiredAt = None
|
|
12665
12667
|
self._PayMod = None
|
|
12666
12668
|
self._RenewFlag = None
|
|
12669
|
+
self._DeletionProtection = None
|
|
12667
12670
|
|
|
12668
12671
|
@property
|
|
12669
12672
|
def RegistryId(self):
|
|
@@ -12785,6 +12788,14 @@ class Registry(AbstractModel):
|
|
|
12785
12788
|
def RenewFlag(self, RenewFlag):
|
|
12786
12789
|
self._RenewFlag = RenewFlag
|
|
12787
12790
|
|
|
12791
|
+
@property
|
|
12792
|
+
def DeletionProtection(self):
|
|
12793
|
+
return self._DeletionProtection
|
|
12794
|
+
|
|
12795
|
+
@DeletionProtection.setter
|
|
12796
|
+
def DeletionProtection(self, DeletionProtection):
|
|
12797
|
+
self._DeletionProtection = DeletionProtection
|
|
12798
|
+
|
|
12788
12799
|
|
|
12789
12800
|
def _deserialize(self, params):
|
|
12790
12801
|
self._RegistryId = params.get("RegistryId")
|
|
@@ -12804,6 +12815,7 @@ class Registry(AbstractModel):
|
|
|
12804
12815
|
self._ExpiredAt = params.get("ExpiredAt")
|
|
12805
12816
|
self._PayMod = params.get("PayMod")
|
|
12806
12817
|
self._RenewFlag = params.get("RenewFlag")
|
|
12818
|
+
self._DeletionProtection = params.get("DeletionProtection")
|
|
12807
12819
|
memeber_set = set(params.keys())
|
|
12808
12820
|
for name, value in vars(self).items():
|
|
12809
12821
|
property_name = name[1:]
|
|
@@ -14491,8 +14503,10 @@ class Tag(AbstractModel):
|
|
|
14491
14503
|
def __init__(self):
|
|
14492
14504
|
r"""
|
|
14493
14505
|
:param _Key: 云标签的key
|
|
14506
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14494
14507
|
:type Key: str
|
|
14495
14508
|
:param _Value: 云标签的值
|
|
14509
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14496
14510
|
:type Value: str
|
|
14497
14511
|
"""
|
|
14498
14512
|
self._Key = None
|
|
@@ -464,7 +464,7 @@ class TcrClient(AbstractClient):
|
|
|
464
464
|
|
|
465
465
|
|
|
466
466
|
def CreateServiceAccount(self, request):
|
|
467
|
-
"""
|
|
467
|
+
"""创建服务级账户
|
|
468
468
|
|
|
469
469
|
:param request: Request instance for CreateServiceAccount.
|
|
470
470
|
:type request: :class:`tencentcloud.tcr.v20190924.models.CreateServiceAccountRequest`
|
|
@@ -410,6 +410,9 @@ INVALIDPARAMETER_UPLOADURL = 'InvalidParameter.UploadUrl'
|
|
|
410
410
|
# 站点已被绑定。
|
|
411
411
|
INVALIDPARAMETER_ZONEHASBEENBOUND = 'InvalidParameter.ZoneHasBeenBound'
|
|
412
412
|
|
|
413
|
+
# 站点升级中,暂不支持进行变更操作,请稍后再试。
|
|
414
|
+
INVALIDPARAMETER_ZONEISGRAYPUBLISHING = 'InvalidParameter.ZoneIsGrayPublishing'
|
|
415
|
+
|
|
413
416
|
# 站点不存在。
|
|
414
417
|
INVALIDPARAMETER_ZONENOTFOUND = 'InvalidParameter.ZoneNotFound'
|
|
415
418
|
|
|
@@ -443,6 +446,9 @@ INVALIDPARAMETERVALUE_INVALIDDOMAINNAME = 'InvalidParameterValue.InvalidDomainNa
|
|
|
443
446
|
# 加速域名状态不符合要求。
|
|
444
447
|
INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = 'InvalidParameterValue.InvalidDomainStatus'
|
|
445
448
|
|
|
449
|
+
# DNS 代理域名源站错误。
|
|
450
|
+
INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = 'InvalidParameterValue.InvalidProxyOrigin'
|
|
451
|
+
|
|
446
452
|
# 不支持接入泛域名 CNAME
|
|
447
453
|
INVALIDPARAMETERVALUE_NOTALLOWEDWILDCARDSHAREDCNAME = 'InvalidParameterValue.NotAllowedWildcardSharedCNAME'
|
|
448
454
|
|
|
@@ -482,6 +488,9 @@ OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = 'OperationDenied.AccelerateMainlandD
|
|
|
482
488
|
# 中国大陆加速与IPv6冲突,不能同时配置。
|
|
483
489
|
OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = 'OperationDenied.AccelerateMainlandIpv6Conflict'
|
|
484
490
|
|
|
491
|
+
# 配置已被锁定,请解除配置锁定之后在重试。
|
|
492
|
+
OPERATIONDENIED_CONFIGLOCKED = 'OperationDenied.ConfigLocked'
|
|
493
|
+
|
|
485
494
|
# 站点停用未完毕,请稍后再试。
|
|
486
495
|
OPERATIONDENIED_DISABLEZONENOTCOMPLETED = 'OperationDenied.DisableZoneNotCompleted'
|
|
487
496
|
|
|
@@ -17,5 +17,29 @@
|
|
|
17
17
|
# 操作失败。
|
|
18
18
|
FAILEDOPERATION = 'FailedOperation'
|
|
19
19
|
|
|
20
|
+
# 实例未就绪,请稍后重试。
|
|
21
|
+
FAILEDOPERATION_INSTANCENOTREADY = 'FailedOperation.InstanceNotReady'
|
|
22
|
+
|
|
23
|
+
# 已达到主题数上限。
|
|
24
|
+
LIMITEXCEEDED_TOPICNUM = 'LimitExceeded.TopicNum'
|
|
25
|
+
|
|
26
|
+
# 操作被拒绝。
|
|
27
|
+
OPERATIONDENIED = 'OperationDenied'
|
|
28
|
+
|
|
29
|
+
# 资源被占用。
|
|
30
|
+
RESOURCEINUSE = 'ResourceInUse'
|
|
31
|
+
|
|
32
|
+
# 消费组不存在,请检查后重试。
|
|
33
|
+
RESOURCENOTFOUND_GROUP = 'ResourceNotFound.Group'
|
|
34
|
+
|
|
20
35
|
# 实例不存在。
|
|
21
36
|
RESOURCENOTFOUND_INSTANCE = 'ResourceNotFound.Instance'
|
|
37
|
+
|
|
38
|
+
# 主题不存在,请检查后重试。
|
|
39
|
+
RESOURCENOTFOUND_TOPIC = 'ResourceNotFound.Topic'
|
|
40
|
+
|
|
41
|
+
# 资源不可用。
|
|
42
|
+
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
|
43
|
+
|
|
44
|
+
# 资源已存在,请检查后重试。
|
|
45
|
+
UNSUPPORTEDOPERATION_RESOURCEALREADYEXISTS = 'UnsupportedOperation.ResourceAlreadyExists'
|