tencentcloud-sdk-python-es 3.0.1436__tar.gz → 3.0.1440__tar.gz

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.
Files changed (20) hide show
  1. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/setup.py +1 -1
  3. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud/es/v20180416/errorcodes.py +3 -0
  5. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud/es/v20180416/models.py +225 -0
  6. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud_sdk_python_es.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-es-3.0.1440/tencentcloud_sdk_python_es.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-es-3.0.1436/tencentcloud_sdk_python_es.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/README.rst +0 -0
  10. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud/es/__init__.py +0 -0
  12. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud/es/v20180416/__init__.py +0 -0
  13. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud/es/v20180416/es_client.py +0 -0
  14. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud/es/v20250101/__init__.py +0 -0
  15. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud/es/v20250101/errorcodes.py +0 -0
  16. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud/es/v20250101/es_client.py +0 -0
  17. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud/es/v20250101/models.py +0 -0
  18. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud_sdk_python_es.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud_sdk_python_es.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-es-3.0.1436 → tencentcloud-sdk-python-es-3.0.1440}/tencentcloud_sdk_python_es.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-es
3
- Version: 3.0.1436
3
+ Version: 3.0.1440
4
4
  Summary: Tencent Cloud Es SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-es',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1436,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1440,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Es SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1436'
17
+ __version__ = '3.0.1440'
@@ -617,6 +617,9 @@ UNSUPPORTEDOPERATION_MIGRATE = 'UnsupportedOperation.Migrate'
617
617
  # 不支持多可用区变配。
618
618
  UNSUPPORTEDOPERATION_MULTIZONESUPGRADE = 'UnsupportedOperation.MultiZonesUpgrade'
619
619
 
620
+ # 抱歉,您需要前往ES控制台购买页完成确认认证,我们才能为您提供所选的腾讯云服务。如果对于确认流程有任何疑问,可以联系我们:https://www.tencentcloud.com/zh/contact-us。
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:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-es
3
- Version: 3.0.1436
3
+ Version: 3.0.1440
4
4
  Summary: Tencent Cloud Es SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1440
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1436