tencentcloud-sdk-python 3.0.1438__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/cls/v20201016/models.py +38 -24
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +225 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/mna/v20210119/errorcodes.py +1 -1
- tencentcloud/ssl/v20191205/models.py +60 -0
- tencentcloud/sts/v20180813/sts_client.py +16 -4
- tencentcloud/tdmq/v20200217/models.py +102 -0
- 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/vod/v20180717/models.py +12 -4
- tencentcloud/wedata/v20210820/models.py +15 -15
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/RECORD +21 -21
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -7748,7 +7748,8 @@ class CreateIndexRequest(AbstractModel):
|
|
|
7748
7748
|
|
|
7749
7749
|
def __init__(self):
|
|
7750
7750
|
r"""
|
|
7751
|
-
:param _TopicId: 日志主题
|
|
7751
|
+
:param _TopicId: 日志主题Id。
|
|
7752
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
7752
7753
|
:type TopicId: str
|
|
7753
7754
|
:param _Rule: 索引规则
|
|
7754
7755
|
:type Rule: :class:`tencentcloud.cls.v20201016.models.RuleInfo`
|
|
@@ -7772,7 +7773,8 @@ class CreateIndexRequest(AbstractModel):
|
|
|
7772
7773
|
|
|
7773
7774
|
@property
|
|
7774
7775
|
def TopicId(self):
|
|
7775
|
-
"""日志主题
|
|
7776
|
+
"""日志主题Id。
|
|
7777
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
7776
7778
|
:rtype: str
|
|
7777
7779
|
"""
|
|
7778
7780
|
return self._TopicId
|
|
@@ -8119,7 +8121,9 @@ class CreateLogsetRequest(AbstractModel):
|
|
|
8119
8121
|
|
|
8120
8122
|
def __init__(self):
|
|
8121
8123
|
r"""
|
|
8122
|
-
:param _LogsetName:
|
|
8124
|
+
:param _LogsetName: 日志集名字。
|
|
8125
|
+
|
|
8126
|
+
- 最大支持255个字符。不支持`|`字符。
|
|
8123
8127
|
:type LogsetName: str
|
|
8124
8128
|
:param _Tags: 标签描述列表。最大支持10个标签键值对,并且不能有重复的键值对
|
|
8125
8129
|
:type Tags: list of Tag
|
|
@@ -8132,7 +8136,9 @@ class CreateLogsetRequest(AbstractModel):
|
|
|
8132
8136
|
|
|
8133
8137
|
@property
|
|
8134
8138
|
def LogsetName(self):
|
|
8135
|
-
"""
|
|
8139
|
+
"""日志集名字。
|
|
8140
|
+
|
|
8141
|
+
- 最大支持255个字符。不支持`|`字符。
|
|
8136
8142
|
:rtype: str
|
|
8137
8143
|
"""
|
|
8138
8144
|
return self._LogsetName
|
|
@@ -11549,14 +11555,16 @@ class DeleteIndexRequest(AbstractModel):
|
|
|
11549
11555
|
|
|
11550
11556
|
def __init__(self):
|
|
11551
11557
|
r"""
|
|
11552
|
-
:param _TopicId: 日志主题
|
|
11558
|
+
:param _TopicId: 日志主题Id。
|
|
11559
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
11553
11560
|
:type TopicId: str
|
|
11554
11561
|
"""
|
|
11555
11562
|
self._TopicId = None
|
|
11556
11563
|
|
|
11557
11564
|
@property
|
|
11558
11565
|
def TopicId(self):
|
|
11559
|
-
"""日志主题
|
|
11566
|
+
"""日志主题Id。
|
|
11567
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
11560
11568
|
:rtype: str
|
|
11561
11569
|
"""
|
|
11562
11570
|
return self._TopicId
|
|
@@ -11692,14 +11700,14 @@ class DeleteLogsetRequest(AbstractModel):
|
|
|
11692
11700
|
|
|
11693
11701
|
def __init__(self):
|
|
11694
11702
|
r"""
|
|
11695
|
-
:param _LogsetId: 日志集
|
|
11703
|
+
:param _LogsetId: 日志集Id。通过 [获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集Id。
|
|
11696
11704
|
:type LogsetId: str
|
|
11697
11705
|
"""
|
|
11698
11706
|
self._LogsetId = None
|
|
11699
11707
|
|
|
11700
11708
|
@property
|
|
11701
11709
|
def LogsetId(self):
|
|
11702
|
-
"""日志集
|
|
11710
|
+
"""日志集Id。通过 [获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集Id。
|
|
11703
11711
|
:rtype: str
|
|
11704
11712
|
"""
|
|
11705
11713
|
return self._LogsetId
|
|
@@ -14579,14 +14587,16 @@ class DescribeIndexRequest(AbstractModel):
|
|
|
14579
14587
|
|
|
14580
14588
|
def __init__(self):
|
|
14581
14589
|
r"""
|
|
14582
|
-
:param _TopicId: 日志主题
|
|
14590
|
+
:param _TopicId: 日志主题Id。
|
|
14591
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
14583
14592
|
:type TopicId: str
|
|
14584
14593
|
"""
|
|
14585
14594
|
self._TopicId = None
|
|
14586
14595
|
|
|
14587
14596
|
@property
|
|
14588
14597
|
def TopicId(self):
|
|
14589
|
-
"""日志主题
|
|
14598
|
+
"""日志主题Id。
|
|
14599
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
14590
14600
|
:rtype: str
|
|
14591
14601
|
"""
|
|
14592
14602
|
return self._TopicId
|
|
@@ -14615,14 +14625,15 @@ class DescribeIndexResponse(AbstractModel):
|
|
|
14615
14625
|
|
|
14616
14626
|
def __init__(self):
|
|
14617
14627
|
r"""
|
|
14618
|
-
:param _TopicId: 日志主题
|
|
14628
|
+
:param _TopicId: 日志主题Id
|
|
14619
14629
|
:type TopicId: str
|
|
14620
|
-
:param _Status:
|
|
14630
|
+
:param _Status: 索引状态。true:开启状态,false:关闭状态
|
|
14631
|
+
开启后可对日志进行检索分析,将产生索引流量、索引存储及相应费用。[费用详情](https://cloud.tencent.com/document/product/614/45802#.E8.AE.A1.E8.B4.B9.E9.A1.B9)
|
|
14621
14632
|
:type Status: bool
|
|
14622
14633
|
:param _Rule: 索引配置信息
|
|
14623
14634
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14624
14635
|
:type Rule: :class:`tencentcloud.cls.v20201016.models.RuleInfo`
|
|
14625
|
-
:param _ModifyTime:
|
|
14636
|
+
:param _ModifyTime: 索引修改时间,初始值为索引创建时间。格式 `YYYY-MM-DD HH:MM:SS`
|
|
14626
14637
|
:type ModifyTime: str
|
|
14627
14638
|
:param _IncludeInternalFields: 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引
|
|
14628
14639
|
* false:不包含
|
|
@@ -14646,7 +14657,7 @@ class DescribeIndexResponse(AbstractModel):
|
|
|
14646
14657
|
|
|
14647
14658
|
@property
|
|
14648
14659
|
def TopicId(self):
|
|
14649
|
-
"""日志主题
|
|
14660
|
+
"""日志主题Id
|
|
14650
14661
|
:rtype: str
|
|
14651
14662
|
"""
|
|
14652
14663
|
return self._TopicId
|
|
@@ -14657,7 +14668,8 @@ class DescribeIndexResponse(AbstractModel):
|
|
|
14657
14668
|
|
|
14658
14669
|
@property
|
|
14659
14670
|
def Status(self):
|
|
14660
|
-
"""
|
|
14671
|
+
"""索引状态。true:开启状态,false:关闭状态
|
|
14672
|
+
开启后可对日志进行检索分析,将产生索引流量、索引存储及相应费用。[费用详情](https://cloud.tencent.com/document/product/614/45802#.E8.AE.A1.E8.B4.B9.E9.A1.B9)
|
|
14661
14673
|
:rtype: bool
|
|
14662
14674
|
"""
|
|
14663
14675
|
return self._Status
|
|
@@ -14680,7 +14692,7 @@ class DescribeIndexResponse(AbstractModel):
|
|
|
14680
14692
|
|
|
14681
14693
|
@property
|
|
14682
14694
|
def ModifyTime(self):
|
|
14683
|
-
"""
|
|
14695
|
+
"""索引修改时间,初始值为索引创建时间。格式 `YYYY-MM-DD HH:MM:SS`
|
|
14684
14696
|
:rtype: str
|
|
14685
14697
|
"""
|
|
14686
14698
|
return self._ModifyTime
|
|
@@ -15451,11 +15463,12 @@ class DescribeLogsetsRequest(AbstractModel):
|
|
|
15451
15463
|
- 按照【日志集名称】进行过滤。
|
|
15452
15464
|
- 类型:String
|
|
15453
15465
|
- 必选:否
|
|
15454
|
-
|
|
15466
|
+
- 通过 [获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集名称。
|
|
15455
15467
|
logsetId
|
|
15456
15468
|
- 按照【日志集ID】进行过滤。
|
|
15457
15469
|
- 类型:String
|
|
15458
15470
|
- 必选:否
|
|
15471
|
+
- 通过 [获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集Id。
|
|
15459
15472
|
|
|
15460
15473
|
tagKey
|
|
15461
15474
|
- 按照【标签键】进行过滤。
|
|
@@ -15484,11 +15497,12 @@ tag:tagKey
|
|
|
15484
15497
|
- 按照【日志集名称】进行过滤。
|
|
15485
15498
|
- 类型:String
|
|
15486
15499
|
- 必选:否
|
|
15487
|
-
|
|
15500
|
+
- 通过 [获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集名称。
|
|
15488
15501
|
logsetId
|
|
15489
15502
|
- 按照【日志集ID】进行过滤。
|
|
15490
15503
|
- 类型:String
|
|
15491
15504
|
- 必选:否
|
|
15505
|
+
- 通过 [获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集Id。
|
|
15492
15506
|
|
|
15493
15507
|
tagKey
|
|
15494
15508
|
- 按照【标签键】进行过滤。
|
|
@@ -20413,7 +20427,7 @@ class LogsetInfo(AbstractModel):
|
|
|
20413
20427
|
:type LogsetId: str
|
|
20414
20428
|
:param _LogsetName: 日志集名称
|
|
20415
20429
|
:type LogsetName: str
|
|
20416
|
-
:param _CreateTime:
|
|
20430
|
+
:param _CreateTime: 创建时间。格式 `YYYY-MM-DD HH:MM:SS`
|
|
20417
20431
|
:type CreateTime: str
|
|
20418
20432
|
:param _AssumerName: 云产品标识,日志集由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE
|
|
20419
20433
|
:type AssumerName: str
|
|
@@ -20456,7 +20470,7 @@ class LogsetInfo(AbstractModel):
|
|
|
20456
20470
|
|
|
20457
20471
|
@property
|
|
20458
20472
|
def CreateTime(self):
|
|
20459
|
-
"""
|
|
20473
|
+
"""创建时间。格式 `YYYY-MM-DD HH:MM:SS`
|
|
20460
20474
|
:rtype: str
|
|
20461
20475
|
"""
|
|
20462
20476
|
return self._CreateTime
|
|
@@ -23987,9 +24001,9 @@ class ModifyLogsetRequest(AbstractModel):
|
|
|
23987
24001
|
|
|
23988
24002
|
def __init__(self):
|
|
23989
24003
|
r"""
|
|
23990
|
-
:param _LogsetId: 日志集
|
|
24004
|
+
:param _LogsetId: 日志集Id。通过 [获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集Id。
|
|
23991
24005
|
:type LogsetId: str
|
|
23992
|
-
:param _LogsetName:
|
|
24006
|
+
:param _LogsetName: 日志集名字。- 最大支持255个字符。不支持`|`字符。
|
|
23993
24007
|
:type LogsetName: str
|
|
23994
24008
|
:param _Tags: 日志集的绑定的标签键值对。最大支持10个标签键值对,同一个资源只能同时绑定一个标签键。
|
|
23995
24009
|
:type Tags: list of Tag
|
|
@@ -24000,7 +24014,7 @@ class ModifyLogsetRequest(AbstractModel):
|
|
|
24000
24014
|
|
|
24001
24015
|
@property
|
|
24002
24016
|
def LogsetId(self):
|
|
24003
|
-
"""日志集
|
|
24017
|
+
"""日志集Id。通过 [获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集Id。
|
|
24004
24018
|
:rtype: str
|
|
24005
24019
|
"""
|
|
24006
24020
|
return self._LogsetId
|
|
@@ -24011,7 +24025,7 @@ class ModifyLogsetRequest(AbstractModel):
|
|
|
24011
24025
|
|
|
24012
24026
|
@property
|
|
24013
24027
|
def LogsetName(self):
|
|
24014
|
-
"""
|
|
24028
|
+
"""日志集名字。- 最大支持255个字符。不支持`|`字符。
|
|
24015
24029
|
:rtype: str
|
|
24016
24030
|
"""
|
|
24017
24031
|
return self._LogsetName
|
|
@@ -617,6 +617,9 @@ UNSUPPORTEDOPERATION_MIGRATE = 'UnsupportedOperation.Migrate'
|
|
|
617
617
|
# 不支持多可用区变配。
|
|
618
618
|
UNSUPPORTEDOPERATION_MULTIZONESUPGRADE = 'UnsupportedOperation.MultiZonesUpgrade'
|
|
619
619
|
|
|
620
|
+
# UIN注册地为美加墨或者服务地域在美国,协议签署不是Agree
|
|
621
|
+
UNSUPPORTEDOPERATION_NOTAGREEMENT = 'UnsupportedOperation.NotAgreement'
|
|
622
|
+
|
|
620
623
|
# 用户同步日志的配置passLogstashId为空,不支持该操作。
|
|
621
624
|
UNSUPPORTEDOPERATION_PASSLOGSTASHID = 'UnsupportedOperation.PassLogstashId'
|
|
622
625
|
|
|
@@ -18,6 +18,146 @@ import warnings
|
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
class AutoScaleDiskInfo(AbstractModel):
|
|
22
|
+
"""cvm 自动扩盘参数
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self):
|
|
27
|
+
r"""
|
|
28
|
+
:param _NodeType: 节点类型 hotData,warmData
|
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30
|
+
:type NodeType: str
|
|
31
|
+
:param _ScaleType: 0:百分比扩容;1:绝对值扩容
|
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33
|
+
:type ScaleType: int
|
|
34
|
+
:param _Threshold: 触发阈值,单位%,例如80%
|
|
35
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
36
|
+
:type Threshold: int
|
|
37
|
+
:param _Duration: 触发持续时间,单位分钟,例如60
|
|
38
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
39
|
+
:type Duration: int
|
|
40
|
+
:param _PercentSize: 每次扩容比例,单位%,例如20%
|
|
41
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
42
|
+
:type PercentSize: int
|
|
43
|
+
:param _FixSize: 绝对值扩容,单位GB,例如100GB
|
|
44
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
45
|
+
:type FixSize: int
|
|
46
|
+
:param _MaxSize: 扩容上限,单位GB,例如500GB
|
|
47
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
48
|
+
:type MaxSize: int
|
|
49
|
+
"""
|
|
50
|
+
self._NodeType = None
|
|
51
|
+
self._ScaleType = None
|
|
52
|
+
self._Threshold = None
|
|
53
|
+
self._Duration = None
|
|
54
|
+
self._PercentSize = None
|
|
55
|
+
self._FixSize = None
|
|
56
|
+
self._MaxSize = None
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
def NodeType(self):
|
|
60
|
+
"""节点类型 hotData,warmData
|
|
61
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
62
|
+
:rtype: str
|
|
63
|
+
"""
|
|
64
|
+
return self._NodeType
|
|
65
|
+
|
|
66
|
+
@NodeType.setter
|
|
67
|
+
def NodeType(self, NodeType):
|
|
68
|
+
self._NodeType = NodeType
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def ScaleType(self):
|
|
72
|
+
"""0:百分比扩容;1:绝对值扩容
|
|
73
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
74
|
+
:rtype: int
|
|
75
|
+
"""
|
|
76
|
+
return self._ScaleType
|
|
77
|
+
|
|
78
|
+
@ScaleType.setter
|
|
79
|
+
def ScaleType(self, ScaleType):
|
|
80
|
+
self._ScaleType = ScaleType
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
def Threshold(self):
|
|
84
|
+
"""触发阈值,单位%,例如80%
|
|
85
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
86
|
+
:rtype: int
|
|
87
|
+
"""
|
|
88
|
+
return self._Threshold
|
|
89
|
+
|
|
90
|
+
@Threshold.setter
|
|
91
|
+
def Threshold(self, Threshold):
|
|
92
|
+
self._Threshold = Threshold
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
def Duration(self):
|
|
96
|
+
"""触发持续时间,单位分钟,例如60
|
|
97
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
98
|
+
:rtype: int
|
|
99
|
+
"""
|
|
100
|
+
return self._Duration
|
|
101
|
+
|
|
102
|
+
@Duration.setter
|
|
103
|
+
def Duration(self, Duration):
|
|
104
|
+
self._Duration = Duration
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def PercentSize(self):
|
|
108
|
+
"""每次扩容比例,单位%,例如20%
|
|
109
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
110
|
+
:rtype: int
|
|
111
|
+
"""
|
|
112
|
+
return self._PercentSize
|
|
113
|
+
|
|
114
|
+
@PercentSize.setter
|
|
115
|
+
def PercentSize(self, PercentSize):
|
|
116
|
+
self._PercentSize = PercentSize
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
def FixSize(self):
|
|
120
|
+
"""绝对值扩容,单位GB,例如100GB
|
|
121
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
122
|
+
:rtype: int
|
|
123
|
+
"""
|
|
124
|
+
return self._FixSize
|
|
125
|
+
|
|
126
|
+
@FixSize.setter
|
|
127
|
+
def FixSize(self, FixSize):
|
|
128
|
+
self._FixSize = FixSize
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def MaxSize(self):
|
|
132
|
+
"""扩容上限,单位GB,例如500GB
|
|
133
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
134
|
+
:rtype: int
|
|
135
|
+
"""
|
|
136
|
+
return self._MaxSize
|
|
137
|
+
|
|
138
|
+
@MaxSize.setter
|
|
139
|
+
def MaxSize(self, MaxSize):
|
|
140
|
+
self._MaxSize = MaxSize
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def _deserialize(self, params):
|
|
144
|
+
self._NodeType = params.get("NodeType")
|
|
145
|
+
self._ScaleType = params.get("ScaleType")
|
|
146
|
+
self._Threshold = params.get("Threshold")
|
|
147
|
+
self._Duration = params.get("Duration")
|
|
148
|
+
self._PercentSize = params.get("PercentSize")
|
|
149
|
+
self._FixSize = params.get("FixSize")
|
|
150
|
+
self._MaxSize = params.get("MaxSize")
|
|
151
|
+
memeber_set = set(params.keys())
|
|
152
|
+
for name, value in vars(self).items():
|
|
153
|
+
property_name = name[1:]
|
|
154
|
+
if property_name in memeber_set:
|
|
155
|
+
memeber_set.remove(property_name)
|
|
156
|
+
if len(memeber_set) > 0:
|
|
157
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
21
161
|
class BackingIndexMetaField(AbstractModel):
|
|
22
162
|
"""后备索引元数据字段
|
|
23
163
|
|
|
@@ -1508,6 +1648,10 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
1508
1648
|
:type EnableScheduleRecoverGroup: bool
|
|
1509
1649
|
:param _EnableScheduleOperationDuration: 置放群组开启异步任务的可维护时间段
|
|
1510
1650
|
:type EnableScheduleOperationDuration: :class:`tencentcloud.es.v20180416.models.EnableScheduleOperationDuration`
|
|
1651
|
+
:param _AutoScaleDiskInfoList: 自动扩盘参数列表
|
|
1652
|
+
:type AutoScaleDiskInfoList: list of AutoScaleDiskInfo
|
|
1653
|
+
:param _EnableKibanaPublicAccess: 是否开启kibana公网访问,不传默认开启
|
|
1654
|
+
:type EnableKibanaPublicAccess: str
|
|
1511
1655
|
"""
|
|
1512
1656
|
self._Zone = None
|
|
1513
1657
|
self._EsVersion = None
|
|
@@ -1549,6 +1693,8 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
1549
1693
|
self._ReadWriteMode = None
|
|
1550
1694
|
self._EnableScheduleRecoverGroup = None
|
|
1551
1695
|
self._EnableScheduleOperationDuration = None
|
|
1696
|
+
self._AutoScaleDiskInfoList = None
|
|
1697
|
+
self._EnableKibanaPublicAccess = None
|
|
1552
1698
|
|
|
1553
1699
|
@property
|
|
1554
1700
|
def Zone(self):
|
|
@@ -1998,6 +2144,28 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
1998
2144
|
def EnableScheduleOperationDuration(self, EnableScheduleOperationDuration):
|
|
1999
2145
|
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration
|
|
2000
2146
|
|
|
2147
|
+
@property
|
|
2148
|
+
def AutoScaleDiskInfoList(self):
|
|
2149
|
+
"""自动扩盘参数列表
|
|
2150
|
+
:rtype: list of AutoScaleDiskInfo
|
|
2151
|
+
"""
|
|
2152
|
+
return self._AutoScaleDiskInfoList
|
|
2153
|
+
|
|
2154
|
+
@AutoScaleDiskInfoList.setter
|
|
2155
|
+
def AutoScaleDiskInfoList(self, AutoScaleDiskInfoList):
|
|
2156
|
+
self._AutoScaleDiskInfoList = AutoScaleDiskInfoList
|
|
2157
|
+
|
|
2158
|
+
@property
|
|
2159
|
+
def EnableKibanaPublicAccess(self):
|
|
2160
|
+
"""是否开启kibana公网访问,不传默认开启
|
|
2161
|
+
:rtype: str
|
|
2162
|
+
"""
|
|
2163
|
+
return self._EnableKibanaPublicAccess
|
|
2164
|
+
|
|
2165
|
+
@EnableKibanaPublicAccess.setter
|
|
2166
|
+
def EnableKibanaPublicAccess(self, EnableKibanaPublicAccess):
|
|
2167
|
+
self._EnableKibanaPublicAccess = EnableKibanaPublicAccess
|
|
2168
|
+
|
|
2001
2169
|
|
|
2002
2170
|
def _deserialize(self, params):
|
|
2003
2171
|
self._Zone = params.get("Zone")
|
|
@@ -2061,6 +2229,13 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
2061
2229
|
if params.get("EnableScheduleOperationDuration") is not None:
|
|
2062
2230
|
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration()
|
|
2063
2231
|
self._EnableScheduleOperationDuration._deserialize(params.get("EnableScheduleOperationDuration"))
|
|
2232
|
+
if params.get("AutoScaleDiskInfoList") is not None:
|
|
2233
|
+
self._AutoScaleDiskInfoList = []
|
|
2234
|
+
for item in params.get("AutoScaleDiskInfoList"):
|
|
2235
|
+
obj = AutoScaleDiskInfo()
|
|
2236
|
+
obj._deserialize(item)
|
|
2237
|
+
self._AutoScaleDiskInfoList.append(obj)
|
|
2238
|
+
self._EnableKibanaPublicAccess = params.get("EnableKibanaPublicAccess")
|
|
2064
2239
|
memeber_set = set(params.keys())
|
|
2065
2240
|
for name, value in vars(self).items():
|
|
2066
2241
|
property_name = name[1:]
|
|
@@ -14702,6 +14877,8 @@ class Operation(AbstractModel):
|
|
|
14702
14877
|
:param _SubAccountUin: 操作者Uin
|
|
14703
14878
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14704
14879
|
:type SubAccountUin: str
|
|
14880
|
+
:param _AutoScaleTag: 自动扩容标识:0-非自动,1-自动
|
|
14881
|
+
:type AutoScaleTag: int
|
|
14705
14882
|
"""
|
|
14706
14883
|
self._Id = None
|
|
14707
14884
|
self._StartTime = None
|
|
@@ -14712,6 +14889,7 @@ class Operation(AbstractModel):
|
|
|
14712
14889
|
self._Progress = None
|
|
14713
14890
|
self._RollbackTag = None
|
|
14714
14891
|
self._SubAccountUin = None
|
|
14892
|
+
self._AutoScaleTag = None
|
|
14715
14893
|
|
|
14716
14894
|
@property
|
|
14717
14895
|
def Id(self):
|
|
@@ -14813,6 +14991,17 @@ class Operation(AbstractModel):
|
|
|
14813
14991
|
def SubAccountUin(self, SubAccountUin):
|
|
14814
14992
|
self._SubAccountUin = SubAccountUin
|
|
14815
14993
|
|
|
14994
|
+
@property
|
|
14995
|
+
def AutoScaleTag(self):
|
|
14996
|
+
"""自动扩容标识:0-非自动,1-自动
|
|
14997
|
+
:rtype: int
|
|
14998
|
+
"""
|
|
14999
|
+
return self._AutoScaleTag
|
|
15000
|
+
|
|
15001
|
+
@AutoScaleTag.setter
|
|
15002
|
+
def AutoScaleTag(self, AutoScaleTag):
|
|
15003
|
+
self._AutoScaleTag = AutoScaleTag
|
|
15004
|
+
|
|
14816
15005
|
|
|
14817
15006
|
def _deserialize(self, params):
|
|
14818
15007
|
self._Id = params.get("Id")
|
|
@@ -14831,6 +15020,7 @@ class Operation(AbstractModel):
|
|
|
14831
15020
|
self._Progress = params.get("Progress")
|
|
14832
15021
|
self._RollbackTag = params.get("RollbackTag")
|
|
14833
15022
|
self._SubAccountUin = params.get("SubAccountUin")
|
|
15023
|
+
self._AutoScaleTag = params.get("AutoScaleTag")
|
|
14834
15024
|
memeber_set = set(params.keys())
|
|
14835
15025
|
for name, value in vars(self).items():
|
|
14836
15026
|
property_name = name[1:]
|
|
@@ -18707,6 +18897,10 @@ CLOSE 关闭
|
|
|
18707
18897
|
:type EnableScheduleOperationDuration: :class:`tencentcloud.es.v20180416.models.EnableScheduleOperationDuration`
|
|
18708
18898
|
:param _EnableDestroyProtection: 开启集群保护:OPEN-开启,CLOSE-关闭
|
|
18709
18899
|
:type EnableDestroyProtection: str
|
|
18900
|
+
:param _AutoScaleDiskInfoList: 自动扩盘参数
|
|
18901
|
+
:type AutoScaleDiskInfoList: list of AutoScaleDiskInfo
|
|
18902
|
+
:param _AutoScaleDiskDeleteNodeTypeList: 自动扩盘删除参数
|
|
18903
|
+
:type AutoScaleDiskDeleteNodeTypeList: list of str
|
|
18710
18904
|
"""
|
|
18711
18905
|
self._InstanceId = None
|
|
18712
18906
|
self._InstanceName = None
|
|
@@ -18752,6 +18946,8 @@ CLOSE 关闭
|
|
|
18752
18946
|
self._EnableScheduleRecoverGroup = None
|
|
18753
18947
|
self._EnableScheduleOperationDuration = None
|
|
18754
18948
|
self._EnableDestroyProtection = None
|
|
18949
|
+
self._AutoScaleDiskInfoList = None
|
|
18950
|
+
self._AutoScaleDiskDeleteNodeTypeList = None
|
|
18755
18951
|
|
|
18756
18952
|
@property
|
|
18757
18953
|
def InstanceId(self):
|
|
@@ -19258,6 +19454,28 @@ CLOSE 关闭
|
|
|
19258
19454
|
def EnableDestroyProtection(self, EnableDestroyProtection):
|
|
19259
19455
|
self._EnableDestroyProtection = EnableDestroyProtection
|
|
19260
19456
|
|
|
19457
|
+
@property
|
|
19458
|
+
def AutoScaleDiskInfoList(self):
|
|
19459
|
+
"""自动扩盘参数
|
|
19460
|
+
:rtype: list of AutoScaleDiskInfo
|
|
19461
|
+
"""
|
|
19462
|
+
return self._AutoScaleDiskInfoList
|
|
19463
|
+
|
|
19464
|
+
@AutoScaleDiskInfoList.setter
|
|
19465
|
+
def AutoScaleDiskInfoList(self, AutoScaleDiskInfoList):
|
|
19466
|
+
self._AutoScaleDiskInfoList = AutoScaleDiskInfoList
|
|
19467
|
+
|
|
19468
|
+
@property
|
|
19469
|
+
def AutoScaleDiskDeleteNodeTypeList(self):
|
|
19470
|
+
"""自动扩盘删除参数
|
|
19471
|
+
:rtype: list of str
|
|
19472
|
+
"""
|
|
19473
|
+
return self._AutoScaleDiskDeleteNodeTypeList
|
|
19474
|
+
|
|
19475
|
+
@AutoScaleDiskDeleteNodeTypeList.setter
|
|
19476
|
+
def AutoScaleDiskDeleteNodeTypeList(self, AutoScaleDiskDeleteNodeTypeList):
|
|
19477
|
+
self._AutoScaleDiskDeleteNodeTypeList = AutoScaleDiskDeleteNodeTypeList
|
|
19478
|
+
|
|
19261
19479
|
|
|
19262
19480
|
def _deserialize(self, params):
|
|
19263
19481
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -19333,6 +19551,13 @@ CLOSE 关闭
|
|
|
19333
19551
|
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration()
|
|
19334
19552
|
self._EnableScheduleOperationDuration._deserialize(params.get("EnableScheduleOperationDuration"))
|
|
19335
19553
|
self._EnableDestroyProtection = params.get("EnableDestroyProtection")
|
|
19554
|
+
if params.get("AutoScaleDiskInfoList") is not None:
|
|
19555
|
+
self._AutoScaleDiskInfoList = []
|
|
19556
|
+
for item in params.get("AutoScaleDiskInfoList"):
|
|
19557
|
+
obj = AutoScaleDiskInfo()
|
|
19558
|
+
obj._deserialize(item)
|
|
19559
|
+
self._AutoScaleDiskInfoList.append(obj)
|
|
19560
|
+
self._AutoScaleDiskDeleteNodeTypeList = params.get("AutoScaleDiskDeleteNodeTypeList")
|
|
19336
19561
|
memeber_set = set(params.keys())
|
|
19337
19562
|
for name, value in vars(self).items():
|
|
19338
19563
|
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
|
|
|
@@ -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`
|