tencentcloud-sdk-python 3.0.1442__py2.py3-none-any.whl → 3.0.1443__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/batch/v20170312/models.py +28 -48
- tencentcloud/ckafka/v20190819/models.py +23 -23
- tencentcloud/clb/v20180317/models.py +4 -4
- tencentcloud/cls/v20201016/cls_client.py +3 -3
- tencentcloud/cls/v20201016/errorcodes.py +3 -0
- tencentcloud/cls/v20201016/models.py +943 -214
- tencentcloud/common/credential.py +20 -2
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +17 -2
- tencentcloud/es/v20180416/models.py +30 -0
- tencentcloud/ess/v20201111/ess_client.py +3 -1
- tencentcloud/ess/v20201111/models.py +2 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -1
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/iai/v20200303/models.py +19 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +27 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +53 -0
- tencentcloud/lighthouse/v20200324/models.py +534 -0
- tencentcloud/live/v20180801/models.py +2 -10
- tencentcloud/lke/v20231130/lke_client.py +0 -23
- tencentcloud/lke/v20231130/models.py +40 -128
- tencentcloud/ocr/v20181119/models.py +34 -0
- tencentcloud/organization/v20210331/models.py +24 -26
- tencentcloud/ssl/v20191205/models.py +2 -2
- tencentcloud/tbaas/v20180416/errorcodes.py +6 -0
- tencentcloud/teo/v20220901/models.py +18 -18
- tencentcloud/tms/v20201229/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/errorcodes.py +15 -0
- tencentcloud/trtc/v20190722/models.py +482 -0
- tencentcloud/trtc/v20190722/trtc_client.py +64 -0
- tencentcloud/tse/v20201207/models.py +30 -0
- tencentcloud/tsf/v20180326/errorcodes.py +32 -11
- tencentcloud/tsf/v20180326/models.py +976 -778
- tencentcloud/tsf/v20180326/tsf_client.py +18 -18
- tencentcloud/vod/v20180717/models.py +15 -0
- tencentcloud/vpc/v20170312/models.py +35 -0
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/wsa/v20250508/models.py +42 -6
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1443.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1443.dist-info}/RECORD +44 -44
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1443.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1443.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1443.dist-info}/top_level.txt +0 -0
|
@@ -388,14 +388,17 @@ class OIDCRoleArnCredential(object):
|
|
|
388
388
|
_service = "sts"
|
|
389
389
|
_action = 'AssumeRoleWithWebIdentity'
|
|
390
390
|
_default_session_name = 'tencentcloud-python-sdk-'
|
|
391
|
+
_endpoint = "sts.tencentcloudapi.com"
|
|
391
392
|
|
|
392
|
-
def __init__(self, region, provider_id, web_identity_token, role_arn, role_session_name, duration_seconds=7200):
|
|
393
|
+
def __init__(self, region, provider_id, web_identity_token, role_arn, role_session_name, duration_seconds=7200, endpoint=None):
|
|
393
394
|
self._region = region
|
|
394
395
|
self._provider_id = provider_id
|
|
395
396
|
self._web_identity_token = web_identity_token
|
|
396
397
|
self._role_arn = role_arn
|
|
397
398
|
self._role_session_name = role_session_name
|
|
398
399
|
self._duration_seconds = duration_seconds
|
|
400
|
+
if endpoint:
|
|
401
|
+
self._endpoint = endpoint
|
|
399
402
|
|
|
400
403
|
self._token = None
|
|
401
404
|
self._tmp_secret_id = None
|
|
@@ -428,6 +431,14 @@ class OIDCRoleArnCredential(object):
|
|
|
428
431
|
self._keep_fresh()
|
|
429
432
|
return self._token
|
|
430
433
|
|
|
434
|
+
@property
|
|
435
|
+
def endpoint(self):
|
|
436
|
+
return self._endpoint
|
|
437
|
+
|
|
438
|
+
@endpoint.setter
|
|
439
|
+
def endpoint(self, endpoint):
|
|
440
|
+
self._endpoint = endpoint
|
|
441
|
+
|
|
431
442
|
def _keep_fresh(self):
|
|
432
443
|
if None in [self._token, self._tmp_secret_key, self._tmp_secret_id] or self._expired_time < int(time.time()):
|
|
433
444
|
self.refresh()
|
|
@@ -435,7 +446,14 @@ class OIDCRoleArnCredential(object):
|
|
|
435
446
|
def refresh(self):
|
|
436
447
|
if self._is_tke:
|
|
437
448
|
self._init_from_tke()
|
|
438
|
-
|
|
449
|
+
|
|
450
|
+
http_profile = HttpProfile()
|
|
451
|
+
http_profile.endpoint = self._endpoint
|
|
452
|
+
client_profile = ClientProfile()
|
|
453
|
+
client_profile.httpProfile = http_profile
|
|
454
|
+
|
|
455
|
+
common_client = CommonClient(credential=None, region=self._region, version=self._version,
|
|
456
|
+
service=self._service, profile=client_profile)
|
|
439
457
|
params = {
|
|
440
458
|
"ProviderId": self._provider_id,
|
|
441
459
|
"WebIdentityToken": self._web_identity_token,
|
|
@@ -137,6 +137,9 @@ FAILEDOPERATION_TRANSFERTOPERSONDENIED = 'FailedOperation.TransferToPersonDenied
|
|
|
137
137
|
# 操作未响应,请稍后重试。
|
|
138
138
|
FAILEDOPERATION_UNKNOWERROR = 'FailedOperation.UnknowError'
|
|
139
139
|
|
|
140
|
+
# 目标用户不允许转入域名
|
|
141
|
+
FAILEDOPERATION_USERNOTALLOWTRANSFER = 'FailedOperation.UserNotAllowTransfer'
|
|
142
|
+
|
|
140
143
|
# 域名已经提交过订单并且正在审核中,请稍候。
|
|
141
144
|
FAILEDOPERATION_VERIFYINGBILLEXISTS = 'FailedOperation.VerifyingBillExists'
|
|
142
145
|
|
|
@@ -13914,7 +13914,7 @@ class ModifyDomainOwnerRequest(AbstractModel):
|
|
|
13914
13914
|
r"""
|
|
13915
13915
|
:param _Domain: 域名
|
|
13916
13916
|
:type Domain: str
|
|
13917
|
-
:param _Account:
|
|
13917
|
+
:param _Account: 域名需要转入的账号Uin
|
|
13918
13918
|
:type Account: str
|
|
13919
13919
|
:param _DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId
|
|
13920
13920
|
:type DomainId: int
|
|
@@ -13936,7 +13936,7 @@ class ModifyDomainOwnerRequest(AbstractModel):
|
|
|
13936
13936
|
|
|
13937
13937
|
@property
|
|
13938
13938
|
def Account(self):
|
|
13939
|
-
"""
|
|
13939
|
+
"""域名需要转入的账号Uin
|
|
13940
13940
|
:rtype: str
|
|
13941
13941
|
"""
|
|
13942
13942
|
return self._Account
|
|
@@ -20036,6 +20036,8 @@ class WhoisInfo(AbstractModel):
|
|
|
20036
20036
|
:param _Dnssec: dnssec
|
|
20037
20037
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20038
20038
|
:type Dnssec: str
|
|
20039
|
+
:param _RegistrarType: 腾讯注册商资质
|
|
20040
|
+
:type RegistrarType: str
|
|
20039
20041
|
"""
|
|
20040
20042
|
self._Contacts = None
|
|
20041
20043
|
self._CreationDate = None
|
|
@@ -20048,6 +20050,7 @@ class WhoisInfo(AbstractModel):
|
|
|
20048
20050
|
self._Status = None
|
|
20049
20051
|
self._UpdatedDate = None
|
|
20050
20052
|
self._Dnssec = None
|
|
20053
|
+
self._RegistrarType = None
|
|
20051
20054
|
|
|
20052
20055
|
@property
|
|
20053
20056
|
def Contacts(self):
|
|
@@ -20181,6 +20184,17 @@ class WhoisInfo(AbstractModel):
|
|
|
20181
20184
|
def Dnssec(self, Dnssec):
|
|
20182
20185
|
self._Dnssec = Dnssec
|
|
20183
20186
|
|
|
20187
|
+
@property
|
|
20188
|
+
def RegistrarType(self):
|
|
20189
|
+
"""腾讯注册商资质
|
|
20190
|
+
:rtype: str
|
|
20191
|
+
"""
|
|
20192
|
+
return self._RegistrarType
|
|
20193
|
+
|
|
20194
|
+
@RegistrarType.setter
|
|
20195
|
+
def RegistrarType(self, RegistrarType):
|
|
20196
|
+
self._RegistrarType = RegistrarType
|
|
20197
|
+
|
|
20184
20198
|
|
|
20185
20199
|
def _deserialize(self, params):
|
|
20186
20200
|
if params.get("Contacts") is not None:
|
|
@@ -20196,6 +20210,7 @@ class WhoisInfo(AbstractModel):
|
|
|
20196
20210
|
self._Status = params.get("Status")
|
|
20197
20211
|
self._UpdatedDate = params.get("UpdatedDate")
|
|
20198
20212
|
self._Dnssec = params.get("Dnssec")
|
|
20213
|
+
self._RegistrarType = params.get("RegistrarType")
|
|
20199
20214
|
memeber_set = set(params.keys())
|
|
20200
20215
|
for name, value in vars(self).items():
|
|
20201
20216
|
property_name = name[1:]
|
|
@@ -10737,6 +10737,8 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
|
10737
10737
|
:param _EnableDestroyProtection: 开启集群保护:OPEN-开启,CLOSE-关闭
|
|
10738
10738
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10739
10739
|
:type EnableDestroyProtection: str
|
|
10740
|
+
:param _ShowKibanaIpPort: kibana内网访问地址
|
|
10741
|
+
:type ShowKibanaIpPort: str
|
|
10740
10742
|
"""
|
|
10741
10743
|
self._InstanceId = None
|
|
10742
10744
|
self._InstanceName = None
|
|
@@ -10832,6 +10834,7 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
|
10832
10834
|
self._EnableScheduleRecoverGroup = None
|
|
10833
10835
|
self._EnableScheduleOperationDuration = None
|
|
10834
10836
|
self._EnableDestroyProtection = None
|
|
10837
|
+
self._ShowKibanaIpPort = None
|
|
10835
10838
|
|
|
10836
10839
|
@property
|
|
10837
10840
|
def InstanceId(self):
|
|
@@ -11930,6 +11933,17 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
|
11930
11933
|
def EnableDestroyProtection(self, EnableDestroyProtection):
|
|
11931
11934
|
self._EnableDestroyProtection = EnableDestroyProtection
|
|
11932
11935
|
|
|
11936
|
+
@property
|
|
11937
|
+
def ShowKibanaIpPort(self):
|
|
11938
|
+
"""kibana内网访问地址
|
|
11939
|
+
:rtype: str
|
|
11940
|
+
"""
|
|
11941
|
+
return self._ShowKibanaIpPort
|
|
11942
|
+
|
|
11943
|
+
@ShowKibanaIpPort.setter
|
|
11944
|
+
def ShowKibanaIpPort(self, ShowKibanaIpPort):
|
|
11945
|
+
self._ShowKibanaIpPort = ShowKibanaIpPort
|
|
11946
|
+
|
|
11933
11947
|
|
|
11934
11948
|
def _deserialize(self, params):
|
|
11935
11949
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -12074,6 +12088,7 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
|
12074
12088
|
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration()
|
|
12075
12089
|
self._EnableScheduleOperationDuration._deserialize(params.get("EnableScheduleOperationDuration"))
|
|
12076
12090
|
self._EnableDestroyProtection = params.get("EnableDestroyProtection")
|
|
12091
|
+
self._ShowKibanaIpPort = params.get("ShowKibanaIpPort")
|
|
12077
12092
|
memeber_set = set(params.keys())
|
|
12078
12093
|
for name, value in vars(self).items():
|
|
12079
12094
|
property_name = name[1:]
|
|
@@ -15874,6 +15889,8 @@ class RestartNodesRequest(AbstractModel):
|
|
|
15874
15889
|
:type EnableScheduleRecoverGroup: bool
|
|
15875
15890
|
:param _EnableScheduleOperationDuration: 置放群组异步任务时间段
|
|
15876
15891
|
:type EnableScheduleOperationDuration: :class:`tencentcloud.es.v20180416.models.EnableScheduleOperationDuration`
|
|
15892
|
+
:param _EventTypeIds: 事件id列表
|
|
15893
|
+
:type EventTypeIds: list of str
|
|
15877
15894
|
"""
|
|
15878
15895
|
self._InstanceId = None
|
|
15879
15896
|
self._NodeNames = None
|
|
@@ -15885,6 +15902,7 @@ class RestartNodesRequest(AbstractModel):
|
|
|
15885
15902
|
self._ShardAllocationBytes = None
|
|
15886
15903
|
self._EnableScheduleRecoverGroup = None
|
|
15887
15904
|
self._EnableScheduleOperationDuration = None
|
|
15905
|
+
self._EventTypeIds = None
|
|
15888
15906
|
|
|
15889
15907
|
@property
|
|
15890
15908
|
def InstanceId(self):
|
|
@@ -15996,6 +16014,17 @@ class RestartNodesRequest(AbstractModel):
|
|
|
15996
16014
|
def EnableScheduleOperationDuration(self, EnableScheduleOperationDuration):
|
|
15997
16015
|
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration
|
|
15998
16016
|
|
|
16017
|
+
@property
|
|
16018
|
+
def EventTypeIds(self):
|
|
16019
|
+
"""事件id列表
|
|
16020
|
+
:rtype: list of str
|
|
16021
|
+
"""
|
|
16022
|
+
return self._EventTypeIds
|
|
16023
|
+
|
|
16024
|
+
@EventTypeIds.setter
|
|
16025
|
+
def EventTypeIds(self, EventTypeIds):
|
|
16026
|
+
self._EventTypeIds = EventTypeIds
|
|
16027
|
+
|
|
15999
16028
|
|
|
16000
16029
|
def _deserialize(self, params):
|
|
16001
16030
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -16010,6 +16039,7 @@ class RestartNodesRequest(AbstractModel):
|
|
|
16010
16039
|
if params.get("EnableScheduleOperationDuration") is not None:
|
|
16011
16040
|
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration()
|
|
16012
16041
|
self._EnableScheduleOperationDuration._deserialize(params.get("EnableScheduleOperationDuration"))
|
|
16042
|
+
self._EventTypeIds = params.get("EventTypeIds")
|
|
16013
16043
|
memeber_set = set(params.keys())
|
|
16014
16044
|
for name, value in vars(self).items():
|
|
16015
16045
|
property_name = name[1:]
|
|
@@ -3479,7 +3479,9 @@ class EssClient(AbstractClient):
|
|
|
3479
3479
|
|
|
3480
3480
|
|
|
3481
3481
|
def RenewAutoSignLicense(self, request):
|
|
3482
|
-
"""
|
|
3482
|
+
"""已经不再使用
|
|
3483
|
+
|
|
3484
|
+
给医疗个人自动签许可续期。续期成功后,可对医疗自动签许可追加一年有效期,只可续期一次。
|
|
3483
3485
|
|
|
3484
3486
|
注意: `处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。`
|
|
3485
3487
|
|
|
@@ -16611,7 +16611,7 @@ class CreateSealRequest(AbstractModel):
|
|
|
16611
16611
|
<ul><li>**circle**:(默认)圆形印章</li>
|
|
16612
16612
|
<li>**ellipse**:椭圆印章</li></ul>
|
|
16613
16613
|
:type SealStyle: str
|
|
16614
|
-
:param _SealSize: 印章尺寸取值描述, 可以选择的尺寸如下: <ul><li> **38_38**: 圆形企业公章直径38mm, 当SealStyle是圆形的时候才有效</li> <li> **40_40**: 圆形企业公章直径40mm, 当SealStyle是圆形的时候才有效</li> <li> **42_42**(默认): 圆形企业公章直径42mm, 当SealStyle是圆形的时候才有效</li> <li> **45_45**: 圆形企业印章直径45mm, 当SealStyle是圆形的时候才有效</li> <li> **50_50**: 圆形企业印章直径
|
|
16614
|
+
:param _SealSize: 印章尺寸取值描述, 可以选择的尺寸如下: <ul><li> **38_38**: 圆形企业公章直径38mm, 当SealStyle是圆形的时候才有效</li> <li> **40_40**: 圆形企业公章直径40mm, 当SealStyle是圆形的时候才有效</li> <li> **42_42**(默认): 圆形企业公章直径42mm, 当SealStyle是圆形的时候才有效</li> <li> **45_45**: 圆形企业印章直径45mm, 当SealStyle是圆形的时候才有效</li> <li> **50_50**: 圆形企业印章直径50mm, 当SealStyle是圆形的时候才有效</li> <li> **58_58**: 圆形企业印章直径58mm, 当SealStyle是圆形的时候才有效</li> <li> **40_30**: 椭圆形印章40mm x 30mm, 当SealStyle是椭圆的时候才有效</li> <li> **45_30**: 椭圆形印章45mm x 30mm, 当SealStyle是椭圆的时候才有效</li> </ul>
|
|
16615
16615
|
:type SealSize: str
|
|
16616
16616
|
:param _TaxIdentifyCode: 企业税号
|
|
16617
16617
|
注:
|
|
@@ -16828,7 +16828,7 @@ class CreateSealRequest(AbstractModel):
|
|
|
16828
16828
|
|
|
16829
16829
|
@property
|
|
16830
16830
|
def SealSize(self):
|
|
16831
|
-
"""印章尺寸取值描述, 可以选择的尺寸如下: <ul><li> **38_38**: 圆形企业公章直径38mm, 当SealStyle是圆形的时候才有效</li> <li> **40_40**: 圆形企业公章直径40mm, 当SealStyle是圆形的时候才有效</li> <li> **42_42**(默认): 圆形企业公章直径42mm, 当SealStyle是圆形的时候才有效</li> <li> **45_45**: 圆形企业印章直径45mm, 当SealStyle是圆形的时候才有效</li> <li> **50_50**: 圆形企业印章直径
|
|
16831
|
+
"""印章尺寸取值描述, 可以选择的尺寸如下: <ul><li> **38_38**: 圆形企业公章直径38mm, 当SealStyle是圆形的时候才有效</li> <li> **40_40**: 圆形企业公章直径40mm, 当SealStyle是圆形的时候才有效</li> <li> **42_42**(默认): 圆形企业公章直径42mm, 当SealStyle是圆形的时候才有效</li> <li> **45_45**: 圆形企业印章直径45mm, 当SealStyle是圆形的时候才有效</li> <li> **50_50**: 圆形企业印章直径50mm, 当SealStyle是圆形的时候才有效</li> <li> **58_58**: 圆形企业印章直径58mm, 当SealStyle是圆形的时候才有效</li> <li> **40_30**: 椭圆形印章40mm x 30mm, 当SealStyle是椭圆的时候才有效</li> <li> **45_30**: 椭圆形印章45mm x 30mm, 当SealStyle是椭圆的时候才有效</li> </ul>
|
|
16832
16832
|
:rtype: str
|
|
16833
16833
|
"""
|
|
16834
16834
|
return self._SealSize
|
|
@@ -1584,7 +1584,9 @@ class EssbasicClient(AbstractClient):
|
|
|
1584
1584
|
|
|
1585
1585
|
|
|
1586
1586
|
def ChannelRenewAutoSignLicense(self, request):
|
|
1587
|
-
"""
|
|
1587
|
+
"""已经不再使用
|
|
1588
|
+
|
|
1589
|
+
给医疗个人自动签许可续期。续期成功后,可对医疗自动签许可追加一年有效期,只可续期一次。
|
|
1588
1590
|
|
|
1589
1591
|
注意: `处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。`
|
|
1590
1592
|
|
|
@@ -17673,7 +17673,7 @@ class CreateSealByImageRequest(AbstractModel):
|
|
|
17673
17673
|
<ul><li>**circle**:(默认)圆形印章</li>
|
|
17674
17674
|
<li>**ellipse**:椭圆印章</li></ul>
|
|
17675
17675
|
:type SealStyle: str
|
|
17676
|
-
:param _SealSize: 印章尺寸取值描述, 可以选择的尺寸如下: <ul><li> **38_38**: 圆形企业公章直径38mm, 当SealStyle是圆形的时候才有效</li> <li> **40_40**: 圆形企业公章直径40mm, 当SealStyle是圆形的时候才有效</li> <li> **42_42**(默认): 圆形企业公章直径42mm, 当SealStyle是圆形的时候才有效</li> <li> **45_45**: 圆形企业印章直径45mm, 当SealStyle是圆形的时候才有效</li> <li> **50_50**: 圆形企业印章直径
|
|
17676
|
+
:param _SealSize: 印章尺寸取值描述, 可以选择的尺寸如下: <ul><li> **38_38**: 圆形企业公章直径38mm, 当SealStyle是圆形的时候才有效</li> <li> **40_40**: 圆形企业公章直径40mm, 当SealStyle是圆形的时候才有效</li> <li> **42_42**(默认): 圆形企业公章直径42mm, 当SealStyle是圆形的时候才有效</li> <li> **45_45**: 圆形企业印章直径45mm, 当SealStyle是圆形的时候才有效</li> <li> **50_50**: 圆形企业印章直径50mm, 当SealStyle是圆形的时候才有效</li> <li> **58_58**: 圆形企业印章直径58mm, 当SealStyle是圆形的时候才有效</li> <li> **40_30**: 椭圆形印章40mm x 30mm, 当SealStyle是椭圆的时候才有效</li> <li> **45_30**: 椭圆形印章45mm x 30mm, 当SealStyle是椭圆的时候才有效</li> </ul>
|
|
17677
17677
|
:type SealSize: str
|
|
17678
17678
|
:param _TaxIdentifyCode: 企业税号
|
|
17679
17679
|
|
|
@@ -17812,7 +17812,7 @@ class CreateSealByImageRequest(AbstractModel):
|
|
|
17812
17812
|
|
|
17813
17813
|
@property
|
|
17814
17814
|
def SealSize(self):
|
|
17815
|
-
"""印章尺寸取值描述, 可以选择的尺寸如下: <ul><li> **38_38**: 圆形企业公章直径38mm, 当SealStyle是圆形的时候才有效</li> <li> **40_40**: 圆形企业公章直径40mm, 当SealStyle是圆形的时候才有效</li> <li> **42_42**(默认): 圆形企业公章直径42mm, 当SealStyle是圆形的时候才有效</li> <li> **45_45**: 圆形企业印章直径45mm, 当SealStyle是圆形的时候才有效</li> <li> **50_50**: 圆形企业印章直径
|
|
17815
|
+
"""印章尺寸取值描述, 可以选择的尺寸如下: <ul><li> **38_38**: 圆形企业公章直径38mm, 当SealStyle是圆形的时候才有效</li> <li> **40_40**: 圆形企业公章直径40mm, 当SealStyle是圆形的时候才有效</li> <li> **42_42**(默认): 圆形企业公章直径42mm, 当SealStyle是圆形的时候才有效</li> <li> **45_45**: 圆形企业印章直径45mm, 当SealStyle是圆形的时候才有效</li> <li> **50_50**: 圆形企业印章直径50mm, 当SealStyle是圆形的时候才有效</li> <li> **58_58**: 圆形企业印章直径58mm, 当SealStyle是圆形的时候才有效</li> <li> **40_30**: 椭圆形印章40mm x 30mm, 当SealStyle是椭圆的时候才有效</li> <li> **45_30**: 椭圆形印章45mm x 30mm, 当SealStyle是椭圆的时候才有效</li> </ul>
|
|
17816
17816
|
:rtype: str
|
|
17817
17817
|
"""
|
|
17818
17818
|
return self._SealSize
|
|
@@ -719,6 +719,10 @@ class CompareFaceRequest(AbstractModel):
|
|
|
719
719
|
- 本参数的作用为,当图片中的人脸被旋转且图片没有exif信息时,如果不开启图片旋转识别支持则无法正确检测、识别图片中的人脸。
|
|
720
720
|
- 若您确认图片包含exif信息或者您确认输入图中人脸不会出现被旋转情况,请不要开启本参数。开启后,整体耗时将可能增加数百毫秒。
|
|
721
721
|
:type NeedRotateDetection: int
|
|
722
|
+
:param _FaceMatchingStrategy: 若图片中包含多张人脸,指定选取策略,默认为0。
|
|
723
|
+
- 0:选取其中置信度最高的人脸
|
|
724
|
+
- 1:选取其中面积最大的人脸。
|
|
725
|
+
:type FaceMatchingStrategy: int
|
|
722
726
|
"""
|
|
723
727
|
self._ImageA = None
|
|
724
728
|
self._ImageB = None
|
|
@@ -727,6 +731,7 @@ class CompareFaceRequest(AbstractModel):
|
|
|
727
731
|
self._FaceModelVersion = None
|
|
728
732
|
self._QualityControl = None
|
|
729
733
|
self._NeedRotateDetection = None
|
|
734
|
+
self._FaceMatchingStrategy = None
|
|
730
735
|
|
|
731
736
|
@property
|
|
732
737
|
def ImageA(self):
|
|
@@ -844,6 +849,19 @@ class CompareFaceRequest(AbstractModel):
|
|
|
844
849
|
def NeedRotateDetection(self, NeedRotateDetection):
|
|
845
850
|
self._NeedRotateDetection = NeedRotateDetection
|
|
846
851
|
|
|
852
|
+
@property
|
|
853
|
+
def FaceMatchingStrategy(self):
|
|
854
|
+
"""若图片中包含多张人脸,指定选取策略,默认为0。
|
|
855
|
+
- 0:选取其中置信度最高的人脸
|
|
856
|
+
- 1:选取其中面积最大的人脸。
|
|
857
|
+
:rtype: int
|
|
858
|
+
"""
|
|
859
|
+
return self._FaceMatchingStrategy
|
|
860
|
+
|
|
861
|
+
@FaceMatchingStrategy.setter
|
|
862
|
+
def FaceMatchingStrategy(self, FaceMatchingStrategy):
|
|
863
|
+
self._FaceMatchingStrategy = FaceMatchingStrategy
|
|
864
|
+
|
|
847
865
|
|
|
848
866
|
def _deserialize(self, params):
|
|
849
867
|
self._ImageA = params.get("ImageA")
|
|
@@ -853,6 +871,7 @@ class CompareFaceRequest(AbstractModel):
|
|
|
853
871
|
self._FaceModelVersion = params.get("FaceModelVersion")
|
|
854
872
|
self._QualityControl = params.get("QualityControl")
|
|
855
873
|
self._NeedRotateDetection = params.get("NeedRotateDetection")
|
|
874
|
+
self._FaceMatchingStrategy = params.get("FaceMatchingStrategy")
|
|
856
875
|
memeber_set = set(params.keys())
|
|
857
876
|
for name, value in vars(self).items():
|
|
858
877
|
property_name = name[1:]
|
|
@@ -62,6 +62,9 @@ FAILEDOPERATION_DESCRIBEDISKCONFIGQUOTAFAILED = 'FailedOperation.DescribeDiskCon
|
|
|
62
62
|
# 查询云硬盘是否可以退还操作失败。
|
|
63
63
|
FAILEDOPERATION_DESCRIBEDISKSRETURNABLEERROR = 'FailedOperation.DescribeDisksReturnableError'
|
|
64
64
|
|
|
65
|
+
# 查询CVM镜像列表失败。
|
|
66
|
+
FAILEDOPERATION_DESCRIBEIMAGESFAILED = 'FailedOperation.DescribeImagesFailed'
|
|
67
|
+
|
|
65
68
|
# 查询实例状态错误。
|
|
66
69
|
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = 'FailedOperation.DescribeInstanceStatus'
|
|
67
70
|
|
|
@@ -89,6 +92,9 @@ FAILEDOPERATION_DOCKEROPERATIONFAILED = 'FailedOperation.DockerOperationFailed'
|
|
|
89
92
|
# 对防火墙规则的操作失败。
|
|
90
93
|
FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = 'FailedOperation.FirewallRulesOperationFailed'
|
|
91
94
|
|
|
95
|
+
# 操作镜像失败。
|
|
96
|
+
FAILEDOPERATION_IMAGEOPERATIONFAILED = 'FailedOperation.ImageOperationFailed'
|
|
97
|
+
|
|
92
98
|
# 对密钥对的导入操作失败。
|
|
93
99
|
FAILEDOPERATION_IMPORTKEYPAIRFAILED = 'FailedOperation.ImportKeyPairFailed'
|
|
94
100
|
|
|
@@ -377,6 +383,9 @@ INVALIDPARAMETERVALUE_INVALIDDISKSIZE = 'InvalidParameterValue.InvalidDiskSize'
|
|
|
377
383
|
# 云硬盘类型非法。
|
|
378
384
|
INVALIDPARAMETERVALUE_INVALIDDISKTYPE = 'InvalidParameterValue.InvalidDiskType'
|
|
379
385
|
|
|
386
|
+
# 镜像ID格式非法。
|
|
387
|
+
INVALIDPARAMETERVALUE_INVALIDIMAGEIDMALFORMED = 'InvalidParameterValue.InvalidImageIdMalformed'
|
|
388
|
+
|
|
380
389
|
# 参数值非法,IP 地址格式非法。
|
|
381
390
|
INVALIDPARAMETERVALUE_INVALIDIPFORMAT = 'InvalidParameterValue.InvalidIpFormat'
|
|
382
391
|
|
|
@@ -566,6 +575,9 @@ RESOURCEINUSE_BLUEPRINTMODIFYINGSHAREPERMISSION = 'ResourceInUse.BlueprintModify
|
|
|
566
575
|
# 磁盘备份点正在使用中,不支持此操作。
|
|
567
576
|
RESOURCEINUSE_DISKBACKUPINUSE = 'ResourceInUse.DiskBackupInUse'
|
|
568
577
|
|
|
578
|
+
# 镜像在使用中,不支持此操作。
|
|
579
|
+
RESOURCEINUSE_IMAGEINUSE = 'ResourceInUse.ImageInUse'
|
|
580
|
+
|
|
569
581
|
# 密钥对正在使用中。
|
|
570
582
|
RESOURCEINUSE_KEYPAIRINUSE = 'ResourceInUse.KeyPairInUse'
|
|
571
583
|
|
|
@@ -611,6 +623,9 @@ RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = 'ResourceNotFound.FirewallTemplateNo
|
|
|
611
623
|
# 防火墙模板规则不存在。
|
|
612
624
|
RESOURCENOTFOUND_FIREWALLTEMPLATERULENOTFOUND = 'ResourceNotFound.FirewallTemplateRuleNotFound'
|
|
613
625
|
|
|
626
|
+
# 镜像ID不存在。
|
|
627
|
+
RESOURCENOTFOUND_IMAGEIDNOTFOUND = 'ResourceNotFound.ImageIdNotFound'
|
|
628
|
+
|
|
614
629
|
# 实例镜像不存在。
|
|
615
630
|
RESOURCENOTFOUND_INSTANCEBLUEPRINTNOTFOUND = 'ResourceNotFound.InstanceBlueprintNotFound'
|
|
616
631
|
|
|
@@ -716,6 +731,9 @@ UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
|
|
716
731
|
# 将磁盘备份点回滚到其他盘,不支持该操作。
|
|
717
732
|
UNSUPPORTEDOPERATION_APPLYDISKBACKUPTOANOTHERDISK = 'UnsupportedOperation.ApplyDiskBackupToAnotherDisk'
|
|
718
733
|
|
|
734
|
+
# 获取角色授权失败,请授予 Lighthouse 相关角色后进行重试。
|
|
735
|
+
UNSUPPORTEDOPERATION_ASSUMEROLEFAILED = 'UnsupportedOperation.AssumeRoleFailed'
|
|
736
|
+
|
|
719
737
|
# 没有实例不支持关联到云联网。
|
|
720
738
|
UNSUPPORTEDOPERATION_ATTACHCCNCONDITIONUNSATISFIED = 'UnsupportedOperation.AttachCcnConditionUnsatisfied'
|
|
721
739
|
|
|
@@ -767,6 +785,15 @@ UNSUPPORTEDOPERATION_FIREWALLBUSY = 'UnsupportedOperation.FirewallBusy'
|
|
|
767
785
|
# 指定的防火墙版本号和当前版本不一致。
|
|
768
786
|
UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = 'UnsupportedOperation.FirewallVersionMismatch'
|
|
769
787
|
|
|
788
|
+
# 镜像已经被共享。不支持此操作。
|
|
789
|
+
UNSUPPORTEDOPERATION_IMAGEALREADYSHARED = 'UnsupportedOperation.ImageAlreadyShared'
|
|
790
|
+
|
|
791
|
+
# 镜像整在被资源进行操作,镜像被占用,不支持此操作。请稍后再试。
|
|
792
|
+
UNSUPPORTEDOPERATION_IMAGEOCCUPIED = 'UnsupportedOperation.ImageOccupied'
|
|
793
|
+
|
|
794
|
+
# 镜像不支持共享。
|
|
795
|
+
UNSUPPORTEDOPERATION_IMAGEUNABLETOSHARE = 'UnsupportedOperation.ImageUnableToShare'
|
|
796
|
+
|
|
770
797
|
# 实例展示区域不支持该操作。
|
|
771
798
|
UNSUPPORTEDOPERATION_INSTANCEDISPLAYAREANOTSUPPORTOPERATION = 'UnsupportedOperation.InstanceDisplayAreaNotSupportOperation'
|
|
772
799
|
|
|
@@ -1172,6 +1172,29 @@ class LighthouseClient(AbstractClient):
|
|
|
1172
1172
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1173
1173
|
|
|
1174
1174
|
|
|
1175
|
+
def DescribeImagesToShare(self, request):
|
|
1176
|
+
"""本接口 (DescribeImagesToShare) 用于查询CVM的自定义镜像列表共享到轻量应用服务器。
|
|
1177
|
+
|
|
1178
|
+
:param request: Request instance for DescribeImagesToShare.
|
|
1179
|
+
:type request: :class:`tencentcloud.lighthouse.v20200324.models.DescribeImagesToShareRequest`
|
|
1180
|
+
:rtype: :class:`tencentcloud.lighthouse.v20200324.models.DescribeImagesToShareResponse`
|
|
1181
|
+
|
|
1182
|
+
"""
|
|
1183
|
+
try:
|
|
1184
|
+
params = request._serialize()
|
|
1185
|
+
headers = request.headers
|
|
1186
|
+
body = self.call("DescribeImagesToShare", params, headers=headers)
|
|
1187
|
+
response = json.loads(body)
|
|
1188
|
+
model = models.DescribeImagesToShareResponse()
|
|
1189
|
+
model._deserialize(response["Response"])
|
|
1190
|
+
return model
|
|
1191
|
+
except Exception as e:
|
|
1192
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1193
|
+
raise
|
|
1194
|
+
else:
|
|
1195
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1196
|
+
|
|
1197
|
+
|
|
1175
1198
|
def DescribeInstanceVncUrl(self, request):
|
|
1176
1199
|
"""本接口 ( DescribeInstanceVncUrl ) 用于查询实例管理终端地址,获取的地址可用于实例的 VNC 登录。
|
|
1177
1200
|
|
|
@@ -2021,6 +2044,36 @@ class LighthouseClient(AbstractClient):
|
|
|
2021
2044
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2022
2045
|
|
|
2023
2046
|
|
|
2047
|
+
def ModifyImageSharePermission(self, request):
|
|
2048
|
+
"""本接口 (ModifyImageSharePermission) 用于共享和取消共享CVM自定义镜像到轻量应用服务器服务。
|
|
2049
|
+
CVM镜像共享到轻量应用服务器镜像需要满足如下条件:
|
|
2050
|
+
1.已共享过的镜像不支持再次共享。
|
|
2051
|
+
2.外部导入的镜像不支持共享。
|
|
2052
|
+
3.整机镜像不支持共享。
|
|
2053
|
+
4.镜像要支持Cloudinit才支持共享。
|
|
2054
|
+
5.镜像的Platform和OsName要满足。
|
|
2055
|
+
6.NORMAL状态的镜像才支持共享。
|
|
2056
|
+
|
|
2057
|
+
:param request: Request instance for ModifyImageSharePermission.
|
|
2058
|
+
:type request: :class:`tencentcloud.lighthouse.v20200324.models.ModifyImageSharePermissionRequest`
|
|
2059
|
+
:rtype: :class:`tencentcloud.lighthouse.v20200324.models.ModifyImageSharePermissionResponse`
|
|
2060
|
+
|
|
2061
|
+
"""
|
|
2062
|
+
try:
|
|
2063
|
+
params = request._serialize()
|
|
2064
|
+
headers = request.headers
|
|
2065
|
+
body = self.call("ModifyImageSharePermission", params, headers=headers)
|
|
2066
|
+
response = json.loads(body)
|
|
2067
|
+
model = models.ModifyImageSharePermissionResponse()
|
|
2068
|
+
model._deserialize(response["Response"])
|
|
2069
|
+
return model
|
|
2070
|
+
except Exception as e:
|
|
2071
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2072
|
+
raise
|
|
2073
|
+
else:
|
|
2074
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2075
|
+
|
|
2076
|
+
|
|
2024
2077
|
def ModifyInstancesAttribute(self, request):
|
|
2025
2078
|
"""本接口(ModifyInstancesAttribute)用于修改实例的属性。
|
|
2026
2079
|
* “实例名称”仅为方便用户自己管理之用。
|