tencentcloud-sdk-python 3.0.1437__py2.py3-none-any.whl → 3.0.1439__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/apm/v20210622/models.py +15 -0
- tencentcloud/cdn/v20180606/models.py +8 -0
- tencentcloud/cfw/v20190904/cfw_client.py +0 -75
- tencentcloud/cfw/v20190904/models.py +107 -702
- tencentcloud/ciam/v20220331/errorcodes.py +1 -1
- tencentcloud/cls/v20201016/models.py +38 -24
- tencentcloud/cwp/v20180228/cwp_client.py +2 -2
- tencentcloud/cwp/v20180228/models.py +8 -8
- tencentcloud/dlc/v20210125/models.py +120 -15
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +225 -0
- tencentcloud/ess/v20201111/ess_client.py +0 -3
- tencentcloud/essbasic/v20210526/essbasic_client.py +0 -1
- tencentcloud/essbasic/v20210526/models.py +4 -0
- tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- tencentcloud/iotexplorer/v20190423/models.py +204 -4
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/mna/v20210119/errorcodes.py +1 -1
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/sqlserver/v20180328/models.py +6 -6
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +2 -2
- tencentcloud/ssl/v20191205/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +60 -0
- tencentcloud/sts/v20180813/sts_client.py +16 -4
- tencentcloud/tdmq/v20200217/models.py +102 -0
- tencentcloud/teo/v20220901/models.py +14 -94
- tencentcloud/teo/v20220901/teo_client.py +8 -2
- tencentcloud/thpc/v20230321/errorcodes.py +24 -0
- tencentcloud/thpc/v20230321/models.py +1398 -132
- tencentcloud/thpc/v20230321/thpc_client.py +138 -0
- tencentcloud/trocket/v20230308/models.py +70 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +1211 -0
- tencentcloud/tsf/v20180326/tsf_client.py +69 -0
- tencentcloud/vod/v20180717/models.py +12 -4
- tencentcloud/wedata/v20210820/models.py +285 -19
- {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/RECORD +42 -42
- {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/top_level.txt +0 -0
|
@@ -5869,6 +5869,8 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
5869
5869
|
- `minutely`:分钟级(默认值)
|
|
5870
5870
|
- `immediate`:立即
|
|
5871
5871
|
:type SummaryQOS: str
|
|
5872
|
+
:param _SummaryConfig: 摘要输出配置
|
|
5873
|
+
:type SummaryConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
5872
5874
|
"""
|
|
5873
5875
|
self._ProductId = None
|
|
5874
5876
|
self._DeviceName = None
|
|
@@ -5881,6 +5883,7 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
5881
5883
|
self._IsCustomDevice = None
|
|
5882
5884
|
self._InputType = None
|
|
5883
5885
|
self._SummaryQOS = None
|
|
5886
|
+
self._SummaryConfig = None
|
|
5884
5887
|
|
|
5885
5888
|
@property
|
|
5886
5889
|
def ProductId(self):
|
|
@@ -6009,6 +6012,17 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
6009
6012
|
def SummaryQOS(self, SummaryQOS):
|
|
6010
6013
|
self._SummaryQOS = SummaryQOS
|
|
6011
6014
|
|
|
6015
|
+
@property
|
|
6016
|
+
def SummaryConfig(self):
|
|
6017
|
+
"""摘要输出配置
|
|
6018
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
6019
|
+
"""
|
|
6020
|
+
return self._SummaryConfig
|
|
6021
|
+
|
|
6022
|
+
@SummaryConfig.setter
|
|
6023
|
+
def SummaryConfig(self, SummaryConfig):
|
|
6024
|
+
self._SummaryConfig = SummaryConfig
|
|
6025
|
+
|
|
6012
6026
|
|
|
6013
6027
|
def _deserialize(self, params):
|
|
6014
6028
|
self._ProductId = params.get("ProductId")
|
|
@@ -6022,6 +6036,9 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
6022
6036
|
self._IsCustomDevice = params.get("IsCustomDevice")
|
|
6023
6037
|
self._InputType = params.get("InputType")
|
|
6024
6038
|
self._SummaryQOS = params.get("SummaryQOS")
|
|
6039
|
+
if params.get("SummaryConfig") is not None:
|
|
6040
|
+
self._SummaryConfig = VisionSummaryConfig()
|
|
6041
|
+
self._SummaryConfig._deserialize(params.get("SummaryConfig"))
|
|
6025
6042
|
memeber_set = set(params.keys())
|
|
6026
6043
|
for name, value in vars(self).items():
|
|
6027
6044
|
property_name = name[1:]
|
|
@@ -21158,6 +21175,8 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
21158
21175
|
- `minutely`:分钟级(默认值)
|
|
21159
21176
|
- `immediate`:立即
|
|
21160
21177
|
:type SummaryQOS: str
|
|
21178
|
+
:param _SummaryConfig: 摘要输出配置
|
|
21179
|
+
:type SummaryConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
21161
21180
|
"""
|
|
21162
21181
|
self._ProductId = None
|
|
21163
21182
|
self._DeviceName = None
|
|
@@ -21170,6 +21189,7 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
21170
21189
|
self._IsCustomDevice = None
|
|
21171
21190
|
self._InputType = None
|
|
21172
21191
|
self._SummaryQOS = None
|
|
21192
|
+
self._SummaryConfig = None
|
|
21173
21193
|
|
|
21174
21194
|
@property
|
|
21175
21195
|
def ProductId(self):
|
|
@@ -21298,6 +21318,17 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
21298
21318
|
def SummaryQOS(self, SummaryQOS):
|
|
21299
21319
|
self._SummaryQOS = SummaryQOS
|
|
21300
21320
|
|
|
21321
|
+
@property
|
|
21322
|
+
def SummaryConfig(self):
|
|
21323
|
+
"""摘要输出配置
|
|
21324
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
21325
|
+
"""
|
|
21326
|
+
return self._SummaryConfig
|
|
21327
|
+
|
|
21328
|
+
@SummaryConfig.setter
|
|
21329
|
+
def SummaryConfig(self, SummaryConfig):
|
|
21330
|
+
self._SummaryConfig = SummaryConfig
|
|
21331
|
+
|
|
21301
21332
|
|
|
21302
21333
|
def _deserialize(self, params):
|
|
21303
21334
|
self._ProductId = params.get("ProductId")
|
|
@@ -21311,6 +21342,9 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
21311
21342
|
self._IsCustomDevice = params.get("IsCustomDevice")
|
|
21312
21343
|
self._InputType = params.get("InputType")
|
|
21313
21344
|
self._SummaryQOS = params.get("SummaryQOS")
|
|
21345
|
+
if params.get("SummaryConfig") is not None:
|
|
21346
|
+
self._SummaryConfig = VisionSummaryConfig()
|
|
21347
|
+
self._SummaryConfig._deserialize(params.get("SummaryConfig"))
|
|
21314
21348
|
memeber_set = set(params.keys())
|
|
21315
21349
|
for name, value in vars(self).items():
|
|
21316
21350
|
property_name = name[1:]
|
|
@@ -24750,6 +24784,8 @@ class ModifyTWeSeeConfigRequest(AbstractModel):
|
|
|
24750
24784
|
:type EnableSearch: bool
|
|
24751
24785
|
:param _Config: 配置参数,不传则不修改
|
|
24752
24786
|
:type Config: str
|
|
24787
|
+
:param _SummaryConfig: 视频摘要配置参数,不传则不修改
|
|
24788
|
+
:type SummaryConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
24753
24789
|
"""
|
|
24754
24790
|
self._ProductId = None
|
|
24755
24791
|
self._DeviceName = None
|
|
@@ -24758,6 +24794,7 @@ class ModifyTWeSeeConfigRequest(AbstractModel):
|
|
|
24758
24794
|
self._EnableSummary = None
|
|
24759
24795
|
self._EnableSearch = None
|
|
24760
24796
|
self._Config = None
|
|
24797
|
+
self._SummaryConfig = None
|
|
24761
24798
|
|
|
24762
24799
|
@property
|
|
24763
24800
|
def ProductId(self):
|
|
@@ -24836,6 +24873,17 @@ class ModifyTWeSeeConfigRequest(AbstractModel):
|
|
|
24836
24873
|
def Config(self, Config):
|
|
24837
24874
|
self._Config = Config
|
|
24838
24875
|
|
|
24876
|
+
@property
|
|
24877
|
+
def SummaryConfig(self):
|
|
24878
|
+
"""视频摘要配置参数,不传则不修改
|
|
24879
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
24880
|
+
"""
|
|
24881
|
+
return self._SummaryConfig
|
|
24882
|
+
|
|
24883
|
+
@SummaryConfig.setter
|
|
24884
|
+
def SummaryConfig(self, SummaryConfig):
|
|
24885
|
+
self._SummaryConfig = SummaryConfig
|
|
24886
|
+
|
|
24839
24887
|
|
|
24840
24888
|
def _deserialize(self, params):
|
|
24841
24889
|
self._ProductId = params.get("ProductId")
|
|
@@ -24845,6 +24893,9 @@ class ModifyTWeSeeConfigRequest(AbstractModel):
|
|
|
24845
24893
|
self._EnableSummary = params.get("EnableSummary")
|
|
24846
24894
|
self._EnableSearch = params.get("EnableSearch")
|
|
24847
24895
|
self._Config = params.get("Config")
|
|
24896
|
+
if params.get("SummaryConfig") is not None:
|
|
24897
|
+
self._SummaryConfig = VisionSummaryConfig()
|
|
24898
|
+
self._SummaryConfig._deserialize(params.get("SummaryConfig"))
|
|
24848
24899
|
memeber_set = set(params.keys())
|
|
24849
24900
|
for name, value in vars(self).items():
|
|
24850
24901
|
property_name = name[1:]
|
|
@@ -30421,7 +30472,7 @@ class VisionRecognitionResult(AbstractModel):
|
|
|
30421
30472
|
|
|
30422
30473
|
def __init__(self):
|
|
30423
30474
|
r"""
|
|
30424
|
-
:param _Status: 任务状态(1:分析失败;2:下载/读取视频/图片失败;3
|
|
30475
|
+
:param _Status: 任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
|
|
30425
30476
|
:type Status: int
|
|
30426
30477
|
:param _DetectedClassifications: 识别到的目标类型。可能取值:
|
|
30427
30478
|
|
|
@@ -30433,21 +30484,26 @@ class VisionRecognitionResult(AbstractModel):
|
|
|
30433
30484
|
- `smoke`:烟雾
|
|
30434
30485
|
- `package`:快递包裹
|
|
30435
30486
|
- `license_plate`:车牌
|
|
30436
|
-
|
|
30437
30487
|
:type DetectedClassifications: list of str
|
|
30438
30488
|
:param _Summary: 摘要文本
|
|
30439
30489
|
:type Summary: str
|
|
30440
30490
|
:param _AlternativeSummary: 摘要文本(次选语言)
|
|
30441
30491
|
:type AlternativeSummary: str
|
|
30492
|
+
:param _ErrorCode: 错误码,可能取值:
|
|
30493
|
+
|
|
30494
|
+
- `DownloadFailed`:下载视频/图片文件失败
|
|
30495
|
+
- `ReadFailed`:读取视频/图片文件失败
|
|
30496
|
+
:type ErrorCode: str
|
|
30442
30497
|
"""
|
|
30443
30498
|
self._Status = None
|
|
30444
30499
|
self._DetectedClassifications = None
|
|
30445
30500
|
self._Summary = None
|
|
30446
30501
|
self._AlternativeSummary = None
|
|
30502
|
+
self._ErrorCode = None
|
|
30447
30503
|
|
|
30448
30504
|
@property
|
|
30449
30505
|
def Status(self):
|
|
30450
|
-
"""任务状态(1:分析失败;2:下载/读取视频/图片失败;3
|
|
30506
|
+
"""任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
|
|
30451
30507
|
:rtype: int
|
|
30452
30508
|
"""
|
|
30453
30509
|
return self._Status
|
|
@@ -30468,7 +30524,6 @@ class VisionRecognitionResult(AbstractModel):
|
|
|
30468
30524
|
- `smoke`:烟雾
|
|
30469
30525
|
- `package`:快递包裹
|
|
30470
30526
|
- `license_plate`:车牌
|
|
30471
|
-
|
|
30472
30527
|
:rtype: list of str
|
|
30473
30528
|
"""
|
|
30474
30529
|
return self._DetectedClassifications
|
|
@@ -30499,12 +30554,157 @@ class VisionRecognitionResult(AbstractModel):
|
|
|
30499
30554
|
def AlternativeSummary(self, AlternativeSummary):
|
|
30500
30555
|
self._AlternativeSummary = AlternativeSummary
|
|
30501
30556
|
|
|
30557
|
+
@property
|
|
30558
|
+
def ErrorCode(self):
|
|
30559
|
+
"""错误码,可能取值:
|
|
30560
|
+
|
|
30561
|
+
- `DownloadFailed`:下载视频/图片文件失败
|
|
30562
|
+
- `ReadFailed`:读取视频/图片文件失败
|
|
30563
|
+
:rtype: str
|
|
30564
|
+
"""
|
|
30565
|
+
return self._ErrorCode
|
|
30566
|
+
|
|
30567
|
+
@ErrorCode.setter
|
|
30568
|
+
def ErrorCode(self, ErrorCode):
|
|
30569
|
+
self._ErrorCode = ErrorCode
|
|
30570
|
+
|
|
30502
30571
|
|
|
30503
30572
|
def _deserialize(self, params):
|
|
30504
30573
|
self._Status = params.get("Status")
|
|
30505
30574
|
self._DetectedClassifications = params.get("DetectedClassifications")
|
|
30506
30575
|
self._Summary = params.get("Summary")
|
|
30507
30576
|
self._AlternativeSummary = params.get("AlternativeSummary")
|
|
30577
|
+
self._ErrorCode = params.get("ErrorCode")
|
|
30578
|
+
memeber_set = set(params.keys())
|
|
30579
|
+
for name, value in vars(self).items():
|
|
30580
|
+
property_name = name[1:]
|
|
30581
|
+
if property_name in memeber_set:
|
|
30582
|
+
memeber_set.remove(property_name)
|
|
30583
|
+
if len(memeber_set) > 0:
|
|
30584
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
30585
|
+
|
|
30586
|
+
|
|
30587
|
+
|
|
30588
|
+
class VisionSummaryConfig(AbstractModel):
|
|
30589
|
+
"""视频摘要配置
|
|
30590
|
+
|
|
30591
|
+
"""
|
|
30592
|
+
|
|
30593
|
+
def __init__(self):
|
|
30594
|
+
r"""
|
|
30595
|
+
:param _OutputLang: 主输出语言
|
|
30596
|
+
|
|
30597
|
+
支持列表如下:
|
|
30598
|
+
zh 中文
|
|
30599
|
+
en 英语
|
|
30600
|
+
ja 日语
|
|
30601
|
+
ko 韩文
|
|
30602
|
+
pt-BR 葡萄牙语(巴西)
|
|
30603
|
+
th 泰语
|
|
30604
|
+
|
|
30605
|
+
:type OutputLang: str
|
|
30606
|
+
:param _AlternativeOutputLang: 可选输出语言
|
|
30607
|
+
|
|
30608
|
+
支持列表如下:
|
|
30609
|
+
zh 中文
|
|
30610
|
+
en 英语
|
|
30611
|
+
ja 日语
|
|
30612
|
+
ko 韩文
|
|
30613
|
+
pt-BR 葡萄牙语(巴西)
|
|
30614
|
+
th 泰语
|
|
30615
|
+
|
|
30616
|
+
:type AlternativeOutputLang: str
|
|
30617
|
+
:param _MultiCameraLayout: 多摄像头布局定义。可能取值:
|
|
30618
|
+
|
|
30619
|
+
- 单摄(默认值):`Single`
|
|
30620
|
+
|
|
30621
|
+
- 双摄(纵向排列)- 全部画面:`Vertical,Num=2,Index=0;1`
|
|
30622
|
+
- 双摄(纵向排列)- 画面1:`Vertical,Num=2,Index=0`
|
|
30623
|
+
- 双摄(纵向排列)- 画面2:`Vertical,Num=2,Index=1`
|
|
30624
|
+
|
|
30625
|
+
- 三摄(纵向排列)- 全部画面:`Vertical,Num=3,Index=0;1;2`
|
|
30626
|
+
- 三摄(纵向排列)- 画面1:`Vertical,Num=3,Index=0`
|
|
30627
|
+
- 三摄(纵向排列)- 画面2:`Vertical,Num=3,Index=1`
|
|
30628
|
+
- 三摄(纵向排列)- 画面3:`Vertical,Num=3,Index=2`
|
|
30629
|
+
- 三摄(纵向排列)- 画面1+2:`Vertical,Num=3,Index=0;1`
|
|
30630
|
+
- 三摄(纵向排列)- 画面1+3:`Vertical,Num=3,Index=0;2`
|
|
30631
|
+
- 三摄(纵向排列)- 画面2+3:`Vertical,Num=3,Index=1;2`
|
|
30632
|
+
:type MultiCameraLayout: str
|
|
30633
|
+
"""
|
|
30634
|
+
self._OutputLang = None
|
|
30635
|
+
self._AlternativeOutputLang = None
|
|
30636
|
+
self._MultiCameraLayout = None
|
|
30637
|
+
|
|
30638
|
+
@property
|
|
30639
|
+
def OutputLang(self):
|
|
30640
|
+
"""主输出语言
|
|
30641
|
+
|
|
30642
|
+
支持列表如下:
|
|
30643
|
+
zh 中文
|
|
30644
|
+
en 英语
|
|
30645
|
+
ja 日语
|
|
30646
|
+
ko 韩文
|
|
30647
|
+
pt-BR 葡萄牙语(巴西)
|
|
30648
|
+
th 泰语
|
|
30649
|
+
|
|
30650
|
+
:rtype: str
|
|
30651
|
+
"""
|
|
30652
|
+
return self._OutputLang
|
|
30653
|
+
|
|
30654
|
+
@OutputLang.setter
|
|
30655
|
+
def OutputLang(self, OutputLang):
|
|
30656
|
+
self._OutputLang = OutputLang
|
|
30657
|
+
|
|
30658
|
+
@property
|
|
30659
|
+
def AlternativeOutputLang(self):
|
|
30660
|
+
"""可选输出语言
|
|
30661
|
+
|
|
30662
|
+
支持列表如下:
|
|
30663
|
+
zh 中文
|
|
30664
|
+
en 英语
|
|
30665
|
+
ja 日语
|
|
30666
|
+
ko 韩文
|
|
30667
|
+
pt-BR 葡萄牙语(巴西)
|
|
30668
|
+
th 泰语
|
|
30669
|
+
|
|
30670
|
+
:rtype: str
|
|
30671
|
+
"""
|
|
30672
|
+
return self._AlternativeOutputLang
|
|
30673
|
+
|
|
30674
|
+
@AlternativeOutputLang.setter
|
|
30675
|
+
def AlternativeOutputLang(self, AlternativeOutputLang):
|
|
30676
|
+
self._AlternativeOutputLang = AlternativeOutputLang
|
|
30677
|
+
|
|
30678
|
+
@property
|
|
30679
|
+
def MultiCameraLayout(self):
|
|
30680
|
+
"""多摄像头布局定义。可能取值:
|
|
30681
|
+
|
|
30682
|
+
- 单摄(默认值):`Single`
|
|
30683
|
+
|
|
30684
|
+
- 双摄(纵向排列)- 全部画面:`Vertical,Num=2,Index=0;1`
|
|
30685
|
+
- 双摄(纵向排列)- 画面1:`Vertical,Num=2,Index=0`
|
|
30686
|
+
- 双摄(纵向排列)- 画面2:`Vertical,Num=2,Index=1`
|
|
30687
|
+
|
|
30688
|
+
- 三摄(纵向排列)- 全部画面:`Vertical,Num=3,Index=0;1;2`
|
|
30689
|
+
- 三摄(纵向排列)- 画面1:`Vertical,Num=3,Index=0`
|
|
30690
|
+
- 三摄(纵向排列)- 画面2:`Vertical,Num=3,Index=1`
|
|
30691
|
+
- 三摄(纵向排列)- 画面3:`Vertical,Num=3,Index=2`
|
|
30692
|
+
- 三摄(纵向排列)- 画面1+2:`Vertical,Num=3,Index=0;1`
|
|
30693
|
+
- 三摄(纵向排列)- 画面1+3:`Vertical,Num=3,Index=0;2`
|
|
30694
|
+
- 三摄(纵向排列)- 画面2+3:`Vertical,Num=3,Index=1;2`
|
|
30695
|
+
:rtype: str
|
|
30696
|
+
"""
|
|
30697
|
+
return self._MultiCameraLayout
|
|
30698
|
+
|
|
30699
|
+
@MultiCameraLayout.setter
|
|
30700
|
+
def MultiCameraLayout(self, MultiCameraLayout):
|
|
30701
|
+
self._MultiCameraLayout = MultiCameraLayout
|
|
30702
|
+
|
|
30703
|
+
|
|
30704
|
+
def _deserialize(self, params):
|
|
30705
|
+
self._OutputLang = params.get("OutputLang")
|
|
30706
|
+
self._AlternativeOutputLang = params.get("AlternativeOutputLang")
|
|
30707
|
+
self._MultiCameraLayout = params.get("MultiCameraLayout")
|
|
30508
30708
|
memeber_set = set(params.keys())
|
|
30509
30709
|
for name, value in vars(self).items():
|
|
30510
30710
|
property_name = name[1:]
|
|
@@ -56,6 +56,9 @@ FAILEDOPERATION_DESCRIBEBUNDLEDISCOUNTFAILED = 'FailedOperation.DescribeBundleDi
|
|
|
56
56
|
# 查询套餐失败。
|
|
57
57
|
FAILEDOPERATION_DESCRIBEBUNDLESFAILED = 'FailedOperation.DescribeBundlesFailed'
|
|
58
58
|
|
|
59
|
+
# 查询云硬盘配额失败。
|
|
60
|
+
FAILEDOPERATION_DESCRIBEDISKCONFIGQUOTAFAILED = 'FailedOperation.DescribeDiskConfigQuotaFailed'
|
|
61
|
+
|
|
59
62
|
# 查询云硬盘是否可以退还操作失败。
|
|
60
63
|
FAILEDOPERATION_DESCRIBEDISKSRETURNABLEERROR = 'FailedOperation.DescribeDisksReturnableError'
|
|
61
64
|
|
|
@@ -12233,7 +12233,7 @@ class HKIDCardOCRResponse(AbstractModel):
|
|
|
12233
12233
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12234
12234
|
:type SmallHeadImage: str
|
|
12235
12235
|
:param _WarningCode: 该字段已废弃, 将固定返回空数组,不建议使用。
|
|
12236
|
-
|
|
12236
|
+
|
|
12237
12237
|
:type WarningCode: list of int
|
|
12238
12238
|
:param _WarnCardInfos: 告警码
|
|
12239
12239
|
-9101 证件边框不完整告警
|
|
@@ -12428,7 +12428,7 @@ This field is deprecated and will always return an empty array. Usage is not rec
|
|
|
12428
12428
|
warnings.warn("parameter `WarningCode` is deprecated", DeprecationWarning)
|
|
12429
12429
|
|
|
12430
12430
|
"""该字段已废弃, 将固定返回空数组,不建议使用。
|
|
12431
|
-
|
|
12431
|
+
|
|
12432
12432
|
:rtype: list of int
|
|
12433
12433
|
"""
|
|
12434
12434
|
return self._WarningCode
|
|
@@ -16147,7 +16147,7 @@ class DescribeProductConfigRequest(AbstractModel):
|
|
|
16147
16147
|
|
|
16148
16148
|
def __init__(self):
|
|
16149
16149
|
r"""
|
|
16150
|
-
:param _Zone: 可用区英文ID
|
|
16150
|
+
:param _Zone: 可用区英文 ID
|
|
16151
16151
|
:type Zone: str
|
|
16152
16152
|
:param _InstanceType: 购买实例的类型 HA-本地盘高可用(包括双机高可用,alwaysOn集群),RO-本地盘只读副本,SI-云盘版单节点,BI-商业智能服务,cvmHA-云盘版高可用,cvmRO-云盘版只读副本,MultiHA-多节点,cvmMultiHA-云盘多节点
|
|
16153
16153
|
:type InstanceType: str
|
|
@@ -16157,7 +16157,7 @@ class DescribeProductConfigRequest(AbstractModel):
|
|
|
16157
16157
|
|
|
16158
16158
|
@property
|
|
16159
16159
|
def Zone(self):
|
|
16160
|
-
"""可用区英文ID
|
|
16160
|
+
"""可用区英文 ID
|
|
16161
16161
|
:rtype: str
|
|
16162
16162
|
"""
|
|
16163
16163
|
return self._Zone
|
|
@@ -31863,9 +31863,9 @@ class ZoneStatus(AbstractModel):
|
|
|
31863
31863
|
|
|
31864
31864
|
def __init__(self):
|
|
31865
31865
|
r"""
|
|
31866
|
-
:param _Zone:
|
|
31866
|
+
:param _Zone: 规格可用区
|
|
31867
31867
|
:type Zone: str
|
|
31868
|
-
:param _Region:
|
|
31868
|
+
:param _Region: 规格地域
|
|
31869
31869
|
:type Region: str
|
|
31870
31870
|
:param _Status: 规格在该可用区的售卖状态 1-正常 2-关闭售卖但是可以升级 3-完全关闭售卖
|
|
31871
31871
|
:type Status: int
|
|
@@ -31876,7 +31876,7 @@ class ZoneStatus(AbstractModel):
|
|
|
31876
31876
|
|
|
31877
31877
|
@property
|
|
31878
31878
|
def Zone(self):
|
|
31879
|
-
"""
|
|
31879
|
+
"""规格可用区
|
|
31880
31880
|
:rtype: str
|
|
31881
31881
|
"""
|
|
31882
31882
|
return self._Zone
|
|
@@ -31887,7 +31887,7 @@ class ZoneStatus(AbstractModel):
|
|
|
31887
31887
|
|
|
31888
31888
|
@property
|
|
31889
31889
|
def Region(self):
|
|
31890
|
-
"""
|
|
31890
|
+
"""规格地域
|
|
31891
31891
|
:rtype: str
|
|
31892
31892
|
"""
|
|
31893
31893
|
return self._Region
|
|
@@ -1683,7 +1683,7 @@ class SqlserverClient(AbstractClient):
|
|
|
1683
1683
|
|
|
1684
1684
|
|
|
1685
1685
|
def DescribeProductConfig(self, request):
|
|
1686
|
-
"""
|
|
1686
|
+
"""本接口(DescribeProductConfig)用于查询售卖规格配置。
|
|
1687
1687
|
|
|
1688
1688
|
:param request: Request instance for DescribeProductConfig.
|
|
1689
1689
|
:type request: :class:`tencentcloud.sqlserver.v20180328.models.DescribeProductConfigRequest`
|
|
@@ -2120,7 +2120,7 @@ class SqlserverClient(AbstractClient):
|
|
|
2120
2120
|
|
|
2121
2121
|
|
|
2122
2122
|
def DescribeZones(self, request):
|
|
2123
|
-
"""
|
|
2123
|
+
"""本接口(DescribeZones)用于查询当前可售卖的可用区信息。
|
|
2124
2124
|
|
|
2125
2125
|
:param request: Request instance for DescribeZones.
|
|
2126
2126
|
:type request: :class:`tencentcloud.sqlserver.v20180328.models.DescribeZonesRequest`
|
|
@@ -56,6 +56,9 @@ FAILEDOPERATION_CERTIFICATECANCELFAILEDMULTI = 'FailedOperation.CertificateCance
|
|
|
56
56
|
# 温馨提示:证书链检测异常,请核对每段证书是否存在异常
|
|
57
57
|
FAILEDOPERATION_CERTIFICATECHAINERROR = 'FailedOperation.CertificateChainError'
|
|
58
58
|
|
|
59
|
+
# CSR解析失败。
|
|
60
|
+
FAILEDOPERATION_CERTIFICATECSRPARSEFAILED = 'FailedOperation.CertificateCsrParseFailed'
|
|
61
|
+
|
|
59
62
|
# 记录状态必须完结才可以执行该操作。
|
|
60
63
|
FAILEDOPERATION_CERTIFICATEDEPLOYDETAILROLLBACKSTATUSINVALID = 'FailedOperation.CertificateDeployDetailRollbackStatusInvalid'
|
|
61
64
|
|
|
@@ -14265,6 +14265,14 @@ class DescribeManagerDetailResponse(AbstractModel):
|
|
|
14265
14265
|
:type ManagerId: int
|
|
14266
14266
|
:param _StatusInfo: 审核状态详细信息
|
|
14267
14267
|
:type StatusInfo: list of ManagerStatusInfo
|
|
14268
|
+
:param _ManagerIdType: 管理员证件类型,SFZ代表身份证,HZ代表护照
|
|
14269
|
+
:type ManagerIdType: str
|
|
14270
|
+
:param _ManagerIdNumber: 管理员证件号码
|
|
14271
|
+
:type ManagerIdNumber: str
|
|
14272
|
+
:param _ContactIdType: 联系人证件类型,SFZ代表身份证,HZ代表护照
|
|
14273
|
+
:type ContactIdType: str
|
|
14274
|
+
:param _ContactIdNumber: 联系人证件号码
|
|
14275
|
+
:type ContactIdNumber: str
|
|
14268
14276
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14269
14277
|
:type RequestId: str
|
|
14270
14278
|
"""
|
|
@@ -14287,6 +14295,10 @@ class DescribeManagerDetailResponse(AbstractModel):
|
|
|
14287
14295
|
self._CompanyId = None
|
|
14288
14296
|
self._ManagerId = None
|
|
14289
14297
|
self._StatusInfo = None
|
|
14298
|
+
self._ManagerIdType = None
|
|
14299
|
+
self._ManagerIdNumber = None
|
|
14300
|
+
self._ContactIdType = None
|
|
14301
|
+
self._ContactIdNumber = None
|
|
14290
14302
|
self._RequestId = None
|
|
14291
14303
|
|
|
14292
14304
|
@property
|
|
@@ -14504,6 +14516,50 @@ class DescribeManagerDetailResponse(AbstractModel):
|
|
|
14504
14516
|
def StatusInfo(self, StatusInfo):
|
|
14505
14517
|
self._StatusInfo = StatusInfo
|
|
14506
14518
|
|
|
14519
|
+
@property
|
|
14520
|
+
def ManagerIdType(self):
|
|
14521
|
+
"""管理员证件类型,SFZ代表身份证,HZ代表护照
|
|
14522
|
+
:rtype: str
|
|
14523
|
+
"""
|
|
14524
|
+
return self._ManagerIdType
|
|
14525
|
+
|
|
14526
|
+
@ManagerIdType.setter
|
|
14527
|
+
def ManagerIdType(self, ManagerIdType):
|
|
14528
|
+
self._ManagerIdType = ManagerIdType
|
|
14529
|
+
|
|
14530
|
+
@property
|
|
14531
|
+
def ManagerIdNumber(self):
|
|
14532
|
+
"""管理员证件号码
|
|
14533
|
+
:rtype: str
|
|
14534
|
+
"""
|
|
14535
|
+
return self._ManagerIdNumber
|
|
14536
|
+
|
|
14537
|
+
@ManagerIdNumber.setter
|
|
14538
|
+
def ManagerIdNumber(self, ManagerIdNumber):
|
|
14539
|
+
self._ManagerIdNumber = ManagerIdNumber
|
|
14540
|
+
|
|
14541
|
+
@property
|
|
14542
|
+
def ContactIdType(self):
|
|
14543
|
+
"""联系人证件类型,SFZ代表身份证,HZ代表护照
|
|
14544
|
+
:rtype: str
|
|
14545
|
+
"""
|
|
14546
|
+
return self._ContactIdType
|
|
14547
|
+
|
|
14548
|
+
@ContactIdType.setter
|
|
14549
|
+
def ContactIdType(self, ContactIdType):
|
|
14550
|
+
self._ContactIdType = ContactIdType
|
|
14551
|
+
|
|
14552
|
+
@property
|
|
14553
|
+
def ContactIdNumber(self):
|
|
14554
|
+
"""联系人证件号码
|
|
14555
|
+
:rtype: str
|
|
14556
|
+
"""
|
|
14557
|
+
return self._ContactIdNumber
|
|
14558
|
+
|
|
14559
|
+
@ContactIdNumber.setter
|
|
14560
|
+
def ContactIdNumber(self, ContactIdNumber):
|
|
14561
|
+
self._ContactIdNumber = ContactIdNumber
|
|
14562
|
+
|
|
14507
14563
|
@property
|
|
14508
14564
|
def RequestId(self):
|
|
14509
14565
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -14543,6 +14599,10 @@ class DescribeManagerDetailResponse(AbstractModel):
|
|
|
14543
14599
|
obj = ManagerStatusInfo()
|
|
14544
14600
|
obj._deserialize(item)
|
|
14545
14601
|
self._StatusInfo.append(obj)
|
|
14602
|
+
self._ManagerIdType = params.get("ManagerIdType")
|
|
14603
|
+
self._ManagerIdNumber = params.get("ManagerIdNumber")
|
|
14604
|
+
self._ContactIdType = params.get("ContactIdType")
|
|
14605
|
+
self._ContactIdNumber = params.get("ContactIdNumber")
|
|
14546
14606
|
self._RequestId = params.get("RequestId")
|
|
14547
14607
|
|
|
14548
14608
|
|
|
@@ -140,13 +140,25 @@ class StsClient(AbstractClient):
|
|
|
140
140
|
def GetFederationToken(self, request):
|
|
141
141
|
"""**使用说明**
|
|
142
142
|
|
|
143
|
-
|
|
143
|
+
1. 返回一组临时身份访问凭证,包含token和获取该身份的临时密钥;
|
|
144
|
+
|
|
145
|
+
2. 当您需要将当前账号下的部分权限和资源临时委托给第三方(如合作伙伴、外包团队),且希望避免下发永久密钥时,调用此接口;
|
|
146
|
+
3. 临时身份的权限为:当前调用账号的权限和输入参数 Policy 权限的交集;
|
|
147
|
+
4. 此接口仅支持永久密钥调用。
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
**典型场景**
|
|
151
|
+
|
|
152
|
+
1. 代理应用程序集中申请临时访问凭证,下发给企业网络内的其他分布式终端应用。例如:终端应用上传文件到COS。
|
|
153
|
+
|
|
154
|
+
2. 将指定资源临时委托给第三方代理。例如:申请临时访问凭证,分发给企业外部团队,仅允许查看某个存储桶,有效期结束后权限自动回收。
|
|
155
|
+
|
|
144
156
|
|
|
145
157
|
**最佳实践**
|
|
158
|
+
1. 临时访问凭证在有效期内(Expiration)都可以使用,建议在有效期内重复使用,避免业务请求该接口频率达到上限被限频;
|
|
146
159
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
3. 调用接口的永久密钥,建议不要使用主账号
|
|
160
|
+
2. 授予临时访问凭证权限的CAM策略,建议严格遵循最小权限原则;
|
|
161
|
+
3. 建议不要使用主账号永久密钥,对该接口进行调用。
|
|
150
162
|
|
|
151
163
|
:param request: Request instance for GetFederationToken.
|
|
152
164
|
:type request: :class:`tencentcloud.sts.v20180813.models.GetFederationTokenRequest`
|