tencentcloud-sdk-python 3.0.1405__py2.py3-none-any.whl → 3.0.1407__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/antiddos/v20200309/models.py +4 -4
- tencentcloud/asr/v20190614/models.py +2 -2
- tencentcloud/captcha/v20190722/models.py +15 -0
- tencentcloud/cdb/v20170320/models.py +2 -0
- tencentcloud/cdwdoris/v20211228/models.py +4 -4
- tencentcloud/cfs/v20190719/models.py +6 -6
- tencentcloud/cfw/v20190904/models.py +15 -0
- tencentcloud/cme/v20191029/cme_client.py +13 -13
- tencentcloud/csip/v20221121/models.py +15 -0
- tencentcloud/domain/v20180808/errorcodes.py +6 -0
- tencentcloud/es/v20250101/models.py +117 -0
- tencentcloud/ess/v20201111/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/ess_client.py +51 -0
- tencentcloud/ess/v20201111/models.py +409 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +54 -1
- tencentcloud/essbasic/v20210526/models.py +367 -0
- tencentcloud/gs/v20191118/models.py +17 -2
- tencentcloud/hunyuan/v20230901/models.py +9 -5
- tencentcloud/lighthouse/v20200324/errorcodes.py +21 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +29 -0
- tencentcloud/lighthouse/v20200324/models.py +79 -0
- tencentcloud/live/v20180801/live_client.py +115 -0
- tencentcloud/live/v20180801/models.py +1006 -48
- tencentcloud/lke/v20231130/lke_client.py +46 -0
- tencentcloud/lke/v20231130/models.py +248 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +8 -4
- tencentcloud/mps/v20190612/models.py +202 -2
- tencentcloud/tdmq/v20200217/models.py +247 -33
- tencentcloud/teo/v20220901/models.py +2 -2
- tencentcloud/tiia/v20190529/models.py +0 -262
- tencentcloud/tiia/v20190529/tiia_client.py +0 -26
- tencentcloud/tione/v20211111/models.py +348 -0
- tencentcloud/tione/v20211111/tione_client.py +92 -0
- tencentcloud/tke/v20180525/errorcodes.py +1 -1
- tencentcloud/tke/v20220501/errorcodes.py +1 -1
- tencentcloud/trocket/v20230308/models.py +581 -2
- tencentcloud/trocket/v20230308/trocket_client.py +56 -0
- tencentcloud/trtc/v20190722/models.py +1 -1
- tencentcloud/tsf/v20180326/models.py +8 -0
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/RECORD +46 -46
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/top_level.txt +0 -0
@@ -1351,6 +1351,122 @@ class BaseFlowInfo(AbstractModel):
|
|
1351
1351
|
|
1352
1352
|
|
1353
1353
|
|
1354
|
+
class BatchOrganizationRegistrationTasksDetails(AbstractModel):
|
1355
|
+
"""批量认证企业任务详情信息,其中包括 TaskId,状态信息等等
|
1356
|
+
|
1357
|
+
"""
|
1358
|
+
|
1359
|
+
def __init__(self):
|
1360
|
+
r"""
|
1361
|
+
:param _TaskId: 生成注册链接的任务Id
|
1362
|
+
:type TaskId: str
|
1363
|
+
:param _Status: 批量创建企业任务的状态
|
1364
|
+
<ul>
|
1365
|
+
<li>Processing</li>
|
1366
|
+
<li>Create</li>
|
1367
|
+
<li>Submit</li>
|
1368
|
+
<li>Authorization</li>
|
1369
|
+
<li>Failed</li>
|
1370
|
+
</ul>
|
1371
|
+
|
1372
|
+
各个状态所代表的含义如下表格所示:
|
1373
|
+
<table>
|
1374
|
+
<thead align="center" valign="center">
|
1375
|
+
<tr><th>任务状态名称</th><th>任务状态详情</th></tr>
|
1376
|
+
</thead>
|
1377
|
+
<tbody>
|
1378
|
+
<tr><th align="center" valign="center">Processing</th><th>企业认证任务处理中,用户调用了<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks">CreateBatchOrganizationRegistrationTasks</a>接口,但是任务还在处理中的状态</th></tr>
|
1379
|
+
<tr><th align="center" valign="center">Create</th><th>创建企业认证链接任务完成,可以调用生成任务链接接口</th></tr>
|
1380
|
+
<tr><th align="center" valign="center">Submit</th><th>企业认证任务已提交,到如下界面之后,会变为这个状态
|
1381
|
+
|
1382
|
+
</th></tr>
|
1383
|
+
<tr><th align="center" valign="center">Authorization</th><th>企业认证任务认证成功,点击下图下一步,进入到授权书上传或者法人认证,则会变为这个状态
|
1384
|
+
|
1385
|
+
</th></tr>
|
1386
|
+
<tr><th align="center" valign="center">Failed</th><th>企业认证任务失败</th></tr>
|
1387
|
+
</tbody>
|
1388
|
+
</table>
|
1389
|
+
:type Status: str
|
1390
|
+
:param _ErrorMessage: 如果任务失败,会返回错误信息
|
1391
|
+
:type ErrorMessage: str
|
1392
|
+
"""
|
1393
|
+
self._TaskId = None
|
1394
|
+
self._Status = None
|
1395
|
+
self._ErrorMessage = None
|
1396
|
+
|
1397
|
+
@property
|
1398
|
+
def TaskId(self):
|
1399
|
+
"""生成注册链接的任务Id
|
1400
|
+
:rtype: str
|
1401
|
+
"""
|
1402
|
+
return self._TaskId
|
1403
|
+
|
1404
|
+
@TaskId.setter
|
1405
|
+
def TaskId(self, TaskId):
|
1406
|
+
self._TaskId = TaskId
|
1407
|
+
|
1408
|
+
@property
|
1409
|
+
def Status(self):
|
1410
|
+
"""批量创建企业任务的状态
|
1411
|
+
<ul>
|
1412
|
+
<li>Processing</li>
|
1413
|
+
<li>Create</li>
|
1414
|
+
<li>Submit</li>
|
1415
|
+
<li>Authorization</li>
|
1416
|
+
<li>Failed</li>
|
1417
|
+
</ul>
|
1418
|
+
|
1419
|
+
各个状态所代表的含义如下表格所示:
|
1420
|
+
<table>
|
1421
|
+
<thead align="center" valign="center">
|
1422
|
+
<tr><th>任务状态名称</th><th>任务状态详情</th></tr>
|
1423
|
+
</thead>
|
1424
|
+
<tbody>
|
1425
|
+
<tr><th align="center" valign="center">Processing</th><th>企业认证任务处理中,用户调用了<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks">CreateBatchOrganizationRegistrationTasks</a>接口,但是任务还在处理中的状态</th></tr>
|
1426
|
+
<tr><th align="center" valign="center">Create</th><th>创建企业认证链接任务完成,可以调用生成任务链接接口</th></tr>
|
1427
|
+
<tr><th align="center" valign="center">Submit</th><th>企业认证任务已提交,到如下界面之后,会变为这个状态
|
1428
|
+
|
1429
|
+
</th></tr>
|
1430
|
+
<tr><th align="center" valign="center">Authorization</th><th>企业认证任务认证成功,点击下图下一步,进入到授权书上传或者法人认证,则会变为这个状态
|
1431
|
+
|
1432
|
+
</th></tr>
|
1433
|
+
<tr><th align="center" valign="center">Failed</th><th>企业认证任务失败</th></tr>
|
1434
|
+
</tbody>
|
1435
|
+
</table>
|
1436
|
+
:rtype: str
|
1437
|
+
"""
|
1438
|
+
return self._Status
|
1439
|
+
|
1440
|
+
@Status.setter
|
1441
|
+
def Status(self, Status):
|
1442
|
+
self._Status = Status
|
1443
|
+
|
1444
|
+
@property
|
1445
|
+
def ErrorMessage(self):
|
1446
|
+
"""如果任务失败,会返回错误信息
|
1447
|
+
:rtype: str
|
1448
|
+
"""
|
1449
|
+
return self._ErrorMessage
|
1450
|
+
|
1451
|
+
@ErrorMessage.setter
|
1452
|
+
def ErrorMessage(self, ErrorMessage):
|
1453
|
+
self._ErrorMessage = ErrorMessage
|
1454
|
+
|
1455
|
+
|
1456
|
+
def _deserialize(self, params):
|
1457
|
+
self._TaskId = params.get("TaskId")
|
1458
|
+
self._Status = params.get("Status")
|
1459
|
+
self._ErrorMessage = params.get("ErrorMessage")
|
1460
|
+
memeber_set = set(params.keys())
|
1461
|
+
for name, value in vars(self).items():
|
1462
|
+
property_name = name[1:]
|
1463
|
+
if property_name in memeber_set:
|
1464
|
+
memeber_set.remove(property_name)
|
1465
|
+
if len(memeber_set) > 0:
|
1466
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1467
|
+
|
1468
|
+
|
1469
|
+
|
1354
1470
|
class CancelFailureFlow(AbstractModel):
|
1355
1471
|
"""撤销失败的流程信息
|
1356
1472
|
|
@@ -13922,10 +14038,13 @@ class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
|
13922
14038
|
|
13923
14039
|
|
13924
14040
|
:type Endpoint: str
|
14041
|
+
:param _BatchAuthMethod: 认证链接使用单链接还是多链接模式<ul><li>0 - 多链接(默认),指批量生成链接, 每一个企业会拥有一个认证链接,然后分别认证</li><li>1 - 单链接 , 指批量生成链接,然后会将多个链接聚合成一个链接,进行认证</li></ul>p.s.请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。
|
14042
|
+
:type BatchAuthMethod: int
|
13925
14043
|
"""
|
13926
14044
|
self._Agent = None
|
13927
14045
|
self._RegistrationOrganizations = None
|
13928
14046
|
self._Endpoint = None
|
14047
|
+
self._BatchAuthMethod = None
|
13929
14048
|
|
13930
14049
|
@property
|
13931
14050
|
def Agent(self):
|
@@ -13974,6 +14093,17 @@ class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
|
13974
14093
|
def Endpoint(self, Endpoint):
|
13975
14094
|
self._Endpoint = Endpoint
|
13976
14095
|
|
14096
|
+
@property
|
14097
|
+
def BatchAuthMethod(self):
|
14098
|
+
"""认证链接使用单链接还是多链接模式<ul><li>0 - 多链接(默认),指批量生成链接, 每一个企业会拥有一个认证链接,然后分别认证</li><li>1 - 单链接 , 指批量生成链接,然后会将多个链接聚合成一个链接,进行认证</li></ul>p.s.请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。
|
14099
|
+
:rtype: int
|
14100
|
+
"""
|
14101
|
+
return self._BatchAuthMethod
|
14102
|
+
|
14103
|
+
@BatchAuthMethod.setter
|
14104
|
+
def BatchAuthMethod(self, BatchAuthMethod):
|
14105
|
+
self._BatchAuthMethod = BatchAuthMethod
|
14106
|
+
|
13977
14107
|
|
13978
14108
|
def _deserialize(self, params):
|
13979
14109
|
if params.get("Agent") is not None:
|
@@ -13986,6 +14116,7 @@ class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
|
13986
14116
|
obj._deserialize(item)
|
13987
14117
|
self._RegistrationOrganizations.append(obj)
|
13988
14118
|
self._Endpoint = params.get("Endpoint")
|
14119
|
+
self._BatchAuthMethod = params.get("BatchAuthMethod")
|
13989
14120
|
memeber_set = set(params.keys())
|
13990
14121
|
for name, value in vars(self).items():
|
13991
14122
|
property_name = name[1:]
|
@@ -16628,6 +16759,129 @@ class CreateLegalSealQrCodeResponse(AbstractModel):
|
|
16628
16759
|
self._RequestId = params.get("RequestId")
|
16629
16760
|
|
16630
16761
|
|
16762
|
+
class CreateModifyAdminAuthorizationUrlRequest(AbstractModel):
|
16763
|
+
"""CreateModifyAdminAuthorizationUrl请求参数结构体
|
16764
|
+
|
16765
|
+
"""
|
16766
|
+
|
16767
|
+
def __init__(self):
|
16768
|
+
r"""
|
16769
|
+
:param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
16770
|
+
|
16771
|
+
此接口下面信息必填。
|
16772
|
+
<ul>
|
16773
|
+
<li>渠道应用标识: Agent.AppId</li>
|
16774
|
+
</ul>
|
16775
|
+
|
16776
|
+
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
16777
|
+
:param _AuthorizationId: 企业认证流Id,可以通过回调[授权书认证审核结果回调](https://qian.tencent.com/developers/company/callback_types_staffs#%E5%8D%81%E5%85%AD-%E6%8E%88%E6%9D%83%E4%B9%A6%E8%AE%A4%E8%AF%81%E5%AE%A1%E6%A0%B8%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)得到
|
16778
|
+
:type AuthorizationId: str
|
16779
|
+
:param _Endpoint: 要跳转的链接类型<ul><li> **HTTP**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)</li><li>**HTTP_SHORT_URL**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链</li><li>**APP**: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型</li><li>**PC**: 跳转电子签web 端控制台的链接。</li></ul>
|
16780
|
+
:type Endpoint: str
|
16781
|
+
"""
|
16782
|
+
self._Agent = None
|
16783
|
+
self._AuthorizationId = None
|
16784
|
+
self._Endpoint = None
|
16785
|
+
|
16786
|
+
@property
|
16787
|
+
def Agent(self):
|
16788
|
+
"""关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
16789
|
+
|
16790
|
+
此接口下面信息必填。
|
16791
|
+
<ul>
|
16792
|
+
<li>渠道应用标识: Agent.AppId</li>
|
16793
|
+
</ul>
|
16794
|
+
|
16795
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
16796
|
+
"""
|
16797
|
+
return self._Agent
|
16798
|
+
|
16799
|
+
@Agent.setter
|
16800
|
+
def Agent(self, Agent):
|
16801
|
+
self._Agent = Agent
|
16802
|
+
|
16803
|
+
@property
|
16804
|
+
def AuthorizationId(self):
|
16805
|
+
"""企业认证流Id,可以通过回调[授权书认证审核结果回调](https://qian.tencent.com/developers/company/callback_types_staffs#%E5%8D%81%E5%85%AD-%E6%8E%88%E6%9D%83%E4%B9%A6%E8%AE%A4%E8%AF%81%E5%AE%A1%E6%A0%B8%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)得到
|
16806
|
+
:rtype: str
|
16807
|
+
"""
|
16808
|
+
return self._AuthorizationId
|
16809
|
+
|
16810
|
+
@AuthorizationId.setter
|
16811
|
+
def AuthorizationId(self, AuthorizationId):
|
16812
|
+
self._AuthorizationId = AuthorizationId
|
16813
|
+
|
16814
|
+
@property
|
16815
|
+
def Endpoint(self):
|
16816
|
+
"""要跳转的链接类型<ul><li> **HTTP**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)</li><li>**HTTP_SHORT_URL**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链</li><li>**APP**: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型</li><li>**PC**: 跳转电子签web 端控制台的链接。</li></ul>
|
16817
|
+
:rtype: str
|
16818
|
+
"""
|
16819
|
+
return self._Endpoint
|
16820
|
+
|
16821
|
+
@Endpoint.setter
|
16822
|
+
def Endpoint(self, Endpoint):
|
16823
|
+
self._Endpoint = Endpoint
|
16824
|
+
|
16825
|
+
|
16826
|
+
def _deserialize(self, params):
|
16827
|
+
if params.get("Agent") is not None:
|
16828
|
+
self._Agent = Agent()
|
16829
|
+
self._Agent._deserialize(params.get("Agent"))
|
16830
|
+
self._AuthorizationId = params.get("AuthorizationId")
|
16831
|
+
self._Endpoint = params.get("Endpoint")
|
16832
|
+
memeber_set = set(params.keys())
|
16833
|
+
for name, value in vars(self).items():
|
16834
|
+
property_name = name[1:]
|
16835
|
+
if property_name in memeber_set:
|
16836
|
+
memeber_set.remove(property_name)
|
16837
|
+
if len(memeber_set) > 0:
|
16838
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16839
|
+
|
16840
|
+
|
16841
|
+
|
16842
|
+
class CreateModifyAdminAuthorizationUrlResponse(AbstractModel):
|
16843
|
+
"""CreateModifyAdminAuthorizationUrl返回参数结构体
|
16844
|
+
|
16845
|
+
"""
|
16846
|
+
|
16847
|
+
def __init__(self):
|
16848
|
+
r"""
|
16849
|
+
:param _Url: 变更企业超管授权书链接。没有有效期限制。注意:此链接仅能由当时认证企业的认证人使用。
|
16850
|
+
:type Url: str
|
16851
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16852
|
+
:type RequestId: str
|
16853
|
+
"""
|
16854
|
+
self._Url = None
|
16855
|
+
self._RequestId = None
|
16856
|
+
|
16857
|
+
@property
|
16858
|
+
def Url(self):
|
16859
|
+
"""变更企业超管授权书链接。没有有效期限制。注意:此链接仅能由当时认证企业的认证人使用。
|
16860
|
+
:rtype: str
|
16861
|
+
"""
|
16862
|
+
return self._Url
|
16863
|
+
|
16864
|
+
@Url.setter
|
16865
|
+
def Url(self, Url):
|
16866
|
+
self._Url = Url
|
16867
|
+
|
16868
|
+
@property
|
16869
|
+
def RequestId(self):
|
16870
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16871
|
+
:rtype: str
|
16872
|
+
"""
|
16873
|
+
return self._RequestId
|
16874
|
+
|
16875
|
+
@RequestId.setter
|
16876
|
+
def RequestId(self, RequestId):
|
16877
|
+
self._RequestId = RequestId
|
16878
|
+
|
16879
|
+
|
16880
|
+
def _deserialize(self, params):
|
16881
|
+
self._Url = params.get("Url")
|
16882
|
+
self._RequestId = params.get("RequestId")
|
16883
|
+
|
16884
|
+
|
16631
16885
|
class CreateOrganizationAuthFileRequest(AbstractModel):
|
16632
16886
|
"""CreateOrganizationAuthFile请求参数结构体
|
16633
16887
|
|
@@ -18299,6 +18553,119 @@ class Department(AbstractModel):
|
|
18299
18553
|
|
18300
18554
|
|
18301
18555
|
|
18556
|
+
class DescribeBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
18557
|
+
"""DescribeBatchOrganizationRegistrationTasks请求参数结构体
|
18558
|
+
|
18559
|
+
"""
|
18560
|
+
|
18561
|
+
def __init__(self):
|
18562
|
+
r"""
|
18563
|
+
:param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
18564
|
+
|
18565
|
+
此接口下面信息必填。
|
18566
|
+
<ul>
|
18567
|
+
<li>渠道应用标识: Agent.AppId</li>
|
18568
|
+
</ul>
|
18569
|
+
|
18570
|
+
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
18571
|
+
:param _TaskIds: 企业批量认证链接的子任务 SubTaskId,该 SubTaskId 是通过接口[查询企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/DescribeBatchOrganizationRegistrationUrls)可以得到。
|
18572
|
+
:type TaskIds: list of str
|
18573
|
+
"""
|
18574
|
+
self._Agent = None
|
18575
|
+
self._TaskIds = None
|
18576
|
+
|
18577
|
+
@property
|
18578
|
+
def Agent(self):
|
18579
|
+
"""关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
18580
|
+
|
18581
|
+
此接口下面信息必填。
|
18582
|
+
<ul>
|
18583
|
+
<li>渠道应用标识: Agent.AppId</li>
|
18584
|
+
</ul>
|
18585
|
+
|
18586
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
18587
|
+
"""
|
18588
|
+
return self._Agent
|
18589
|
+
|
18590
|
+
@Agent.setter
|
18591
|
+
def Agent(self, Agent):
|
18592
|
+
self._Agent = Agent
|
18593
|
+
|
18594
|
+
@property
|
18595
|
+
def TaskIds(self):
|
18596
|
+
"""企业批量认证链接的子任务 SubTaskId,该 SubTaskId 是通过接口[查询企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/DescribeBatchOrganizationRegistrationUrls)可以得到。
|
18597
|
+
:rtype: list of str
|
18598
|
+
"""
|
18599
|
+
return self._TaskIds
|
18600
|
+
|
18601
|
+
@TaskIds.setter
|
18602
|
+
def TaskIds(self, TaskIds):
|
18603
|
+
self._TaskIds = TaskIds
|
18604
|
+
|
18605
|
+
|
18606
|
+
def _deserialize(self, params):
|
18607
|
+
if params.get("Agent") is not None:
|
18608
|
+
self._Agent = Agent()
|
18609
|
+
self._Agent._deserialize(params.get("Agent"))
|
18610
|
+
self._TaskIds = params.get("TaskIds")
|
18611
|
+
memeber_set = set(params.keys())
|
18612
|
+
for name, value in vars(self).items():
|
18613
|
+
property_name = name[1:]
|
18614
|
+
if property_name in memeber_set:
|
18615
|
+
memeber_set.remove(property_name)
|
18616
|
+
if len(memeber_set) > 0:
|
18617
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
18618
|
+
|
18619
|
+
|
18620
|
+
|
18621
|
+
class DescribeBatchOrganizationRegistrationTasksResponse(AbstractModel):
|
18622
|
+
"""DescribeBatchOrganizationRegistrationTasks返回参数结构体
|
18623
|
+
|
18624
|
+
"""
|
18625
|
+
|
18626
|
+
def __init__(self):
|
18627
|
+
r"""
|
18628
|
+
:param _Details: 企业批量任务状态明细
|
18629
|
+
:type Details: list of BatchOrganizationRegistrationTasksDetails
|
18630
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18631
|
+
:type RequestId: str
|
18632
|
+
"""
|
18633
|
+
self._Details = None
|
18634
|
+
self._RequestId = None
|
18635
|
+
|
18636
|
+
@property
|
18637
|
+
def Details(self):
|
18638
|
+
"""企业批量任务状态明细
|
18639
|
+
:rtype: list of BatchOrganizationRegistrationTasksDetails
|
18640
|
+
"""
|
18641
|
+
return self._Details
|
18642
|
+
|
18643
|
+
@Details.setter
|
18644
|
+
def Details(self, Details):
|
18645
|
+
self._Details = Details
|
18646
|
+
|
18647
|
+
@property
|
18648
|
+
def RequestId(self):
|
18649
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18650
|
+
:rtype: str
|
18651
|
+
"""
|
18652
|
+
return self._RequestId
|
18653
|
+
|
18654
|
+
@RequestId.setter
|
18655
|
+
def RequestId(self, RequestId):
|
18656
|
+
self._RequestId = RequestId
|
18657
|
+
|
18658
|
+
|
18659
|
+
def _deserialize(self, params):
|
18660
|
+
if params.get("Details") is not None:
|
18661
|
+
self._Details = []
|
18662
|
+
for item in params.get("Details"):
|
18663
|
+
obj = BatchOrganizationRegistrationTasksDetails()
|
18664
|
+
obj._deserialize(item)
|
18665
|
+
self._Details.append(obj)
|
18666
|
+
self._RequestId = params.get("RequestId")
|
18667
|
+
|
18668
|
+
|
18302
18669
|
class DescribeBatchOrganizationRegistrationUrlsRequest(AbstractModel):
|
18303
18670
|
"""DescribeBatchOrganizationRegistrationUrls请求参数结构体
|
18304
18671
|
|
@@ -39,6 +39,8 @@ class AndroidApp(AbstractModel):
|
|
39
39
|
:type UserId: str
|
40
40
|
:param _AppMode: 应用模式(NORMAL : 普通模式;ADVANCED : 高级模式)
|
41
41
|
:type AppMode: str
|
42
|
+
:param _UpdateState: 应用更新状态,取值:UPLOADING 上传中、CREATING 创建中、CREATE_FAIL 创建失败、CREATE_SUCCESS 创建成功、NORMAL 默认状态
|
43
|
+
:type UpdateState: str
|
42
44
|
"""
|
43
45
|
self._AndroidAppId = None
|
44
46
|
self._Name = None
|
@@ -47,6 +49,7 @@ class AndroidApp(AbstractModel):
|
|
47
49
|
self._CreateTime = None
|
48
50
|
self._UserId = None
|
49
51
|
self._AppMode = None
|
52
|
+
self._UpdateState = None
|
50
53
|
|
51
54
|
@property
|
52
55
|
def AndroidAppId(self):
|
@@ -125,6 +128,17 @@ class AndroidApp(AbstractModel):
|
|
125
128
|
def AppMode(self, AppMode):
|
126
129
|
self._AppMode = AppMode
|
127
130
|
|
131
|
+
@property
|
132
|
+
def UpdateState(self):
|
133
|
+
"""应用更新状态,取值:UPLOADING 上传中、CREATING 创建中、CREATE_FAIL 创建失败、CREATE_SUCCESS 创建成功、NORMAL 默认状态
|
134
|
+
:rtype: str
|
135
|
+
"""
|
136
|
+
return self._UpdateState
|
137
|
+
|
138
|
+
@UpdateState.setter
|
139
|
+
def UpdateState(self, UpdateState):
|
140
|
+
self._UpdateState = UpdateState
|
141
|
+
|
128
142
|
|
129
143
|
def _deserialize(self, params):
|
130
144
|
self._AndroidAppId = params.get("AndroidAppId")
|
@@ -139,6 +153,7 @@ class AndroidApp(AbstractModel):
|
|
139
153
|
self._CreateTime = params.get("CreateTime")
|
140
154
|
self._UserId = params.get("UserId")
|
141
155
|
self._AppMode = params.get("AppMode")
|
156
|
+
self._UpdateState = params.get("UpdateState")
|
142
157
|
memeber_set = set(params.keys())
|
143
158
|
for name, value in vars(self).items():
|
144
159
|
property_name = name[1:]
|
@@ -4120,7 +4135,7 @@ class DescribeAndroidAppsRequest(AbstractModel):
|
|
4120
4135
|
:type Limit: int
|
4121
4136
|
:param _AndroidAppIds: 应用ID数组
|
4122
4137
|
:type AndroidAppIds: list of str
|
4123
|
-
:param _Filters: 过滤条件,支持过滤的字段有:UserId
|
4138
|
+
:param _Filters: 过滤条件,支持过滤的字段有:UserId、State、UpdateState、Name、AppMode 。其中 Name 为模糊匹配,其他参数为精确匹配。
|
4124
4139
|
:type Filters: list of Filter
|
4125
4140
|
"""
|
4126
4141
|
self._Offset = None
|
@@ -4163,7 +4178,7 @@ class DescribeAndroidAppsRequest(AbstractModel):
|
|
4163
4178
|
|
4164
4179
|
@property
|
4165
4180
|
def Filters(self):
|
4166
|
-
"""过滤条件,支持过滤的字段有:UserId
|
4181
|
+
"""过滤条件,支持过滤的字段有:UserId、State、UpdateState、Name、AppMode 。其中 Name 为模糊匹配,其他参数为精确匹配。
|
4167
4182
|
:rtype: list of Filter
|
4168
4183
|
"""
|
4169
4184
|
return self._Filters
|
@@ -236,7 +236,9 @@ class ChatCompletionsRequest(AbstractModel):
|
|
236
236
|
|
237
237
|
def __init__(self):
|
238
238
|
r"""
|
239
|
-
:param _Model:
|
239
|
+
:param _Model: 模型名称,可选值参考 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中混元生文模型列表。
|
240
|
+
示例值:hunyuan-turbos-latest
|
241
|
+
各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。
|
240
242
|
:type Model: str
|
241
243
|
:param _Messages: 聊天上下文信息。
|
242
244
|
说明:
|
@@ -363,7 +365,9 @@ class ChatCompletionsRequest(AbstractModel):
|
|
363
365
|
|
364
366
|
@property
|
365
367
|
def Model(self):
|
366
|
-
"""
|
368
|
+
"""模型名称,可选值参考 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中混元生文模型列表。
|
369
|
+
示例值:hunyuan-turbos-latest
|
370
|
+
各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。
|
367
371
|
:rtype: str
|
368
372
|
"""
|
369
373
|
return self._Model
|
@@ -1340,7 +1344,7 @@ tool_calls 标识函数调用。
|
|
1340
1344
|
|
1341
1345
|
|
1342
1346
|
class Content(AbstractModel):
|
1343
|
-
"""
|
1347
|
+
"""可以传入多种类型的内容,如图片、文本。
|
1344
1348
|
|
1345
1349
|
"""
|
1346
1350
|
|
@@ -1348,7 +1352,7 @@ class Content(AbstractModel):
|
|
1348
1352
|
r"""
|
1349
1353
|
:param _Type: 内容类型
|
1350
1354
|
注意:
|
1351
|
-
需包含至少一个 Type 为"text"
|
1355
|
+
需包含至少一个 Type 为"text"的参数。
|
1352
1356
|
参数值可选范围:[text", "image_url"]
|
1353
1357
|
注意:此字段可能返回 null,表示取不到有效值。
|
1354
1358
|
:type Type: str
|
@@ -1368,7 +1372,7 @@ class Content(AbstractModel):
|
|
1368
1372
|
def Type(self):
|
1369
1373
|
"""内容类型
|
1370
1374
|
注意:
|
1371
|
-
需包含至少一个 Type 为"text"
|
1375
|
+
需包含至少一个 Type 为"text"的参数。
|
1372
1376
|
参数值可选范围:[text", "image_url"]
|
1373
1377
|
注意:此字段可能返回 null,表示取不到有效值。
|
1374
1378
|
:rtype: str
|
@@ -41,6 +41,9 @@ FAILEDOPERATION_CREATEKEYPAIRFAILED = 'FailedOperation.CreateKeyPairFailed'
|
|
41
41
|
# 对密钥对的删除操作失败。
|
42
42
|
FAILEDOPERATION_DELETEKEYPAIRFAILED = 'FailedOperation.DeleteKeyPairFailed'
|
43
43
|
|
44
|
+
# 查询镜像配额失败。
|
45
|
+
FAILEDOPERATION_DESCRIBEBLUEPRINTQUOTAFAILED = 'FailedOperation.DescribeBlueprintQuotaFailed'
|
46
|
+
|
44
47
|
# 查询镜像失败,请稍后再试。
|
45
48
|
FAILEDOPERATION_DESCRIBEBLUEPRINTSFAILED = 'FailedOperation.DescribeBlueprintsFailed'
|
46
49
|
|
@@ -134,6 +137,9 @@ FAILEDOPERATION_UNABLETOCREATEBLUEPRINT = 'FailedOperation.UnableToCreateBluepri
|
|
134
137
|
# 无法创建实例。
|
135
138
|
FAILEDOPERATION_UNABLETOCREATEINSTANCES = 'FailedOperation.UnableToCreateInstances'
|
136
139
|
|
140
|
+
# 当前镜像状态无法进行跨地域同步。
|
141
|
+
FAILEDOPERATION_UNABLETOSYNCBLUEPRINT = 'FailedOperation.UnableToSyncBlueprint'
|
142
|
+
|
137
143
|
# 内部错误。
|
138
144
|
INTERNALERROR = 'InternalError'
|
139
145
|
|
@@ -191,6 +197,9 @@ INVALIDPARAMETER_CONFLICT = 'InvalidParameter.Conflict'
|
|
191
197
|
# 参数冲突。
|
192
198
|
INVALIDPARAMETER_CONFLICTPARAMETER = 'InvalidParameter.ConflictParameter'
|
193
199
|
|
200
|
+
# 创建游戏专区实例不支持该参数。
|
201
|
+
INVALIDPARAMETER_CREATINGGAMEPORTALINSTANCENOTSUPPORTPARAMETER = 'InvalidParameter.CreatingGamePortalInstanceNotSupportParameter'
|
202
|
+
|
194
203
|
# 参数非法,Filter 参数中的 Values 取值数量超过允许的最大数量。
|
195
204
|
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = 'InvalidParameter.FilterValueLimitExceeded'
|
196
205
|
|
@@ -272,6 +281,9 @@ INVALIDPARAMETERVALUE_CCNIDMALFORMED = 'InvalidParameterValue.CcnIdMalformed'
|
|
272
281
|
# 客户令牌长度超出限制。
|
273
282
|
INVALIDPARAMETERVALUE_CLIENTTOKENTOOLONG = 'InvalidParameterValue.ClientTokenTooLong'
|
274
283
|
|
284
|
+
# 目的地域与源地域相同。
|
285
|
+
INVALIDPARAMETERVALUE_DESTINATIONREGIONSAMEASSOURCEREGION = 'InvalidParameterValue.DestinationRegionSameAsSourceRegion'
|
286
|
+
|
275
287
|
# 参数值非法,云硬盘备份点 ID 格式非法。
|
276
288
|
INVALIDPARAMETERVALUE_DISKBACKUPIDMALFORMED = 'InvalidParameterValue.DiskBackupIdMalformed'
|
277
289
|
|
@@ -398,6 +410,9 @@ INVALIDPARAMETERVALUE_NEGATIVE = 'InvalidParameterValue.Negative'
|
|
398
410
|
# 不允许改变平台类型。
|
399
411
|
INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = 'InvalidParameterValue.NotAllowToChangePlatformType'
|
400
412
|
|
413
|
+
# 不支持跨境同步镜像。
|
414
|
+
INVALIDPARAMETERVALUE_NOTSUPPORTCROSSBORDERSYNCBLUEPRINT = 'InvalidParameterValue.NotSupportCrossBorderSyncBlueprint'
|
415
|
+
|
401
416
|
# 实例套餐的套餐类型不支持表更至新套餐。
|
402
417
|
INVALIDPARAMETERVALUE_NOTSUPPORTMODIFYINSTANCEBUNDLETYPE = 'InvalidParameterValue.NotSupportModifyInstanceBundleType'
|
403
418
|
|
@@ -437,6 +452,9 @@ INVALIDPARAMETERVALUE_TOOLONG = 'InvalidParameterValue.TooLong'
|
|
437
452
|
# 参数值非法,小于有效值。
|
438
453
|
INVALIDPARAMETERVALUE_TOOSMALL = 'InvalidParameterValue.TooSmall'
|
439
454
|
|
455
|
+
# 地域不可用。
|
456
|
+
INVALIDPARAMETERVALUE_UNAVAILABLEREGION = 'InvalidParameterValue.UnavailableRegion'
|
457
|
+
|
440
458
|
# 非法的可用区。
|
441
459
|
INVALIDPARAMETERVALUE_ZONEINVALID = 'InvalidParameterValue.ZoneInvalid'
|
442
460
|
|
@@ -476,6 +494,9 @@ LIMITEXCEEDED_SHAREBLUEPRINTACROSSACCOUNTQUOTALIMITEXCEEDED = 'LimitExceeded.Sha
|
|
476
494
|
# 超过快照配额。
|
477
495
|
LIMITEXCEEDED_SNAPSHOTQUOTALIMITEXCEEDED = 'LimitExceeded.SnapshotQuotaLimitExceeded'
|
478
496
|
|
497
|
+
# 超过同步镜像目的地域镜像配额。
|
498
|
+
LIMITEXCEEDED_SYNCBLUEPRINTQUOTALIMITEXCEEDED = 'LimitExceeded.SyncBlueprintQuotaLimitExceeded'
|
499
|
+
|
479
500
|
# 缺少参数错误。
|
480
501
|
MISSINGPARAMETER = 'MissingParameter'
|
481
502
|
|
@@ -2594,6 +2594,35 @@ class LighthouseClient(AbstractClient):
|
|
2594
2594
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2595
2595
|
|
2596
2596
|
|
2597
|
+
def SyncBlueprint(self, request):
|
2598
|
+
"""本接口 (SyncBlueprint) 用于将自定义镜像同步到其它地域。
|
2599
|
+
|
2600
|
+
* 支持向多个地域同步。最多10个地域。
|
2601
|
+
* 不支持向源地域同步。
|
2602
|
+
* 只支持NORMAL状态的镜像进行同步。
|
2603
|
+
* 不支持中国大陆地域和非中国大陆地域之间同步。
|
2604
|
+
* 可以通过[DescribeBlueprints](https://cloud.tencent.com/document/api/1207/47689)查询镜像状态,当镜像状态为NORMAL时表示源地域同步结束。
|
2605
|
+
|
2606
|
+
:param request: Request instance for SyncBlueprint.
|
2607
|
+
:type request: :class:`tencentcloud.lighthouse.v20200324.models.SyncBlueprintRequest`
|
2608
|
+
:rtype: :class:`tencentcloud.lighthouse.v20200324.models.SyncBlueprintResponse`
|
2609
|
+
|
2610
|
+
"""
|
2611
|
+
try:
|
2612
|
+
params = request._serialize()
|
2613
|
+
headers = request.headers
|
2614
|
+
body = self.call("SyncBlueprint", params, headers=headers)
|
2615
|
+
response = json.loads(body)
|
2616
|
+
model = models.SyncBlueprintResponse()
|
2617
|
+
model._deserialize(response["Response"])
|
2618
|
+
return model
|
2619
|
+
except Exception as e:
|
2620
|
+
if isinstance(e, TencentCloudSDKException):
|
2621
|
+
raise
|
2622
|
+
else:
|
2623
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2624
|
+
|
2625
|
+
|
2597
2626
|
def TerminateDisks(self, request):
|
2598
2627
|
"""本接口(TerminateDisks)用于销毁一个或多个云硬盘。
|
2599
2628
|
云硬盘状态必须处于SHUTDOWN(已隔离)状态。
|