tencentcloud-sdk-python 3.0.1210__py2.py3-none-any.whl → 3.0.1212__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/billing/v20180709/models.py +155 -0
- tencentcloud/dlc/v20210125/models.py +139 -0
- tencentcloud/es/v20180416/es_client.py +1 -0
- tencentcloud/es/v20180416/models.py +126 -1
- tencentcloud/ess/v20201111/ess_client.py +58 -0
- tencentcloud/ess/v20201111/models.py +361 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +29 -0
- tencentcloud/essbasic/v20210526/models.py +149 -0
- tencentcloud/faceid/v20180301/models.py +2 -0
- tencentcloud/goosefs/v20220519/models.py +61 -0
- tencentcloud/hunyuan/v20230901/models.py +12 -0
- tencentcloud/iss/v20230517/errorcodes.py +15 -0
- tencentcloud/iss/v20230517/models.py +75 -0
- tencentcloud/lke/v20231130/errorcodes.py +1 -1
- tencentcloud/mna/v20210119/errorcodes.py +6 -0
- tencentcloud/mna/v20210119/mna_client.py +23 -0
- tencentcloud/mna/v20210119/models.py +120 -0
- tencentcloud/mongodb/v20180408/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +59 -40
- tencentcloud/ms/v20180408/ms_client.py +69 -23
- tencentcloud/ocr/v20181119/models.py +1 -1
- tencentcloud/organization/v20210331/errorcodes.py +231 -0
- tencentcloud/organization/v20210331/models.py +12119 -4358
- tencentcloud/organization/v20210331/organization_client.py +1104 -0
- tencentcloud/tat/v20201028/errorcodes.py +9 -0
- tencentcloud/tat/v20201028/models.py +221 -1
- tencentcloud/tat/v20201028/tat_client.py +23 -0
- tencentcloud/teo/v20220901/models.py +2 -3
- tencentcloud/trocket/v20230308/models.py +71 -7
- tencentcloud/trtc/v20190722/models.py +26 -0
- tencentcloud/vclm/v20240523/errorcodes.py +18 -0
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1212.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1212.dist-info}/RECORD +38 -38
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1212.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1212.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1212.dist-info}/top_level.txt +0 -0
@@ -2093,12 +2093,15 @@ class CreateServerlessSpaceV2Request(AbstractModel):
|
|
2093
2093
|
:type KibanaWhiteIpList: list of str
|
2094
2094
|
:param _ZoneId: 空间id
|
2095
2095
|
:type ZoneId: int
|
2096
|
+
:param _TagList: 标签信息
|
2097
|
+
:type TagList: list of TagInfo
|
2096
2098
|
"""
|
2097
2099
|
self._VpcInfo = None
|
2098
2100
|
self._SpaceName = None
|
2099
2101
|
self._Zone = None
|
2100
2102
|
self._KibanaWhiteIpList = None
|
2101
2103
|
self._ZoneId = None
|
2104
|
+
self._TagList = None
|
2102
2105
|
|
2103
2106
|
@property
|
2104
2107
|
def VpcInfo(self):
|
@@ -2140,6 +2143,14 @@ class CreateServerlessSpaceV2Request(AbstractModel):
|
|
2140
2143
|
def ZoneId(self, ZoneId):
|
2141
2144
|
self._ZoneId = ZoneId
|
2142
2145
|
|
2146
|
+
@property
|
2147
|
+
def TagList(self):
|
2148
|
+
return self._TagList
|
2149
|
+
|
2150
|
+
@TagList.setter
|
2151
|
+
def TagList(self, TagList):
|
2152
|
+
self._TagList = TagList
|
2153
|
+
|
2143
2154
|
|
2144
2155
|
def _deserialize(self, params):
|
2145
2156
|
if params.get("VpcInfo") is not None:
|
@@ -2152,6 +2163,12 @@ class CreateServerlessSpaceV2Request(AbstractModel):
|
|
2152
2163
|
self._Zone = params.get("Zone")
|
2153
2164
|
self._KibanaWhiteIpList = params.get("KibanaWhiteIpList")
|
2154
2165
|
self._ZoneId = params.get("ZoneId")
|
2166
|
+
if params.get("TagList") is not None:
|
2167
|
+
self._TagList = []
|
2168
|
+
for item in params.get("TagList"):
|
2169
|
+
obj = TagInfo()
|
2170
|
+
obj._deserialize(item)
|
2171
|
+
self._TagList.append(obj)
|
2155
2172
|
memeber_set = set(params.keys())
|
2156
2173
|
for name, value in vars(self).items():
|
2157
2174
|
property_name = name[1:]
|
@@ -4706,12 +4723,15 @@ class DescribeServerlessMetricsRequest(AbstractModel):
|
|
4706
4723
|
:type SpaceId: str
|
4707
4724
|
:param _IndexId: index索引id
|
4708
4725
|
:type IndexId: str
|
4709
|
-
:param _MetricType: 指标类型,暂时只支持Storage
|
4726
|
+
:param _MetricType: 指标类型,暂时只支持Storage(存储大小),AllMetric(所有存储指标:索引流量、存储大小、文档数量、读请求和写请求)
|
4710
4727
|
:type MetricType: list of str
|
4728
|
+
:param _DurationType: 时间长度类型DurationType(1: 3小时, 2: 昨天1天,3: 今日0点到现在)
|
4729
|
+
:type DurationType: int
|
4711
4730
|
"""
|
4712
4731
|
self._SpaceId = None
|
4713
4732
|
self._IndexId = None
|
4714
4733
|
self._MetricType = None
|
4734
|
+
self._DurationType = None
|
4715
4735
|
|
4716
4736
|
@property
|
4717
4737
|
def SpaceId(self):
|
@@ -4737,11 +4757,20 @@ class DescribeServerlessMetricsRequest(AbstractModel):
|
|
4737
4757
|
def MetricType(self, MetricType):
|
4738
4758
|
self._MetricType = MetricType
|
4739
4759
|
|
4760
|
+
@property
|
4761
|
+
def DurationType(self):
|
4762
|
+
return self._DurationType
|
4763
|
+
|
4764
|
+
@DurationType.setter
|
4765
|
+
def DurationType(self, DurationType):
|
4766
|
+
self._DurationType = DurationType
|
4767
|
+
|
4740
4768
|
|
4741
4769
|
def _deserialize(self, params):
|
4742
4770
|
self._SpaceId = params.get("SpaceId")
|
4743
4771
|
self._IndexId = params.get("IndexId")
|
4744
4772
|
self._MetricType = params.get("MetricType")
|
4773
|
+
self._DurationType = params.get("DurationType")
|
4745
4774
|
memeber_set = set(params.keys())
|
4746
4775
|
for name, value in vars(self).items():
|
4747
4776
|
property_name = name[1:]
|
@@ -4761,10 +4790,22 @@ class DescribeServerlessMetricsResponse(AbstractModel):
|
|
4761
4790
|
r"""
|
4762
4791
|
:param _Storage: storage指标值,单位byte
|
4763
4792
|
:type Storage: float
|
4793
|
+
:param _IndexTraffic: IndexTraffic指标值,单位byte
|
4794
|
+
:type IndexTraffic: float
|
4795
|
+
:param _ReadReqTimes: 读请求数,单位次数
|
4796
|
+
:type ReadReqTimes: int
|
4797
|
+
:param _WriteReqTimes: 写请求数,单位次数
|
4798
|
+
:type WriteReqTimes: int
|
4799
|
+
:param _DocCount: 文档数量,单位个数
|
4800
|
+
:type DocCount: int
|
4764
4801
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4765
4802
|
:type RequestId: str
|
4766
4803
|
"""
|
4767
4804
|
self._Storage = None
|
4805
|
+
self._IndexTraffic = None
|
4806
|
+
self._ReadReqTimes = None
|
4807
|
+
self._WriteReqTimes = None
|
4808
|
+
self._DocCount = None
|
4768
4809
|
self._RequestId = None
|
4769
4810
|
|
4770
4811
|
@property
|
@@ -4775,6 +4816,38 @@ class DescribeServerlessMetricsResponse(AbstractModel):
|
|
4775
4816
|
def Storage(self, Storage):
|
4776
4817
|
self._Storage = Storage
|
4777
4818
|
|
4819
|
+
@property
|
4820
|
+
def IndexTraffic(self):
|
4821
|
+
return self._IndexTraffic
|
4822
|
+
|
4823
|
+
@IndexTraffic.setter
|
4824
|
+
def IndexTraffic(self, IndexTraffic):
|
4825
|
+
self._IndexTraffic = IndexTraffic
|
4826
|
+
|
4827
|
+
@property
|
4828
|
+
def ReadReqTimes(self):
|
4829
|
+
return self._ReadReqTimes
|
4830
|
+
|
4831
|
+
@ReadReqTimes.setter
|
4832
|
+
def ReadReqTimes(self, ReadReqTimes):
|
4833
|
+
self._ReadReqTimes = ReadReqTimes
|
4834
|
+
|
4835
|
+
@property
|
4836
|
+
def WriteReqTimes(self):
|
4837
|
+
return self._WriteReqTimes
|
4838
|
+
|
4839
|
+
@WriteReqTimes.setter
|
4840
|
+
def WriteReqTimes(self, WriteReqTimes):
|
4841
|
+
self._WriteReqTimes = WriteReqTimes
|
4842
|
+
|
4843
|
+
@property
|
4844
|
+
def DocCount(self):
|
4845
|
+
return self._DocCount
|
4846
|
+
|
4847
|
+
@DocCount.setter
|
4848
|
+
def DocCount(self, DocCount):
|
4849
|
+
self._DocCount = DocCount
|
4850
|
+
|
4778
4851
|
@property
|
4779
4852
|
def RequestId(self):
|
4780
4853
|
return self._RequestId
|
@@ -4786,6 +4859,10 @@ class DescribeServerlessMetricsResponse(AbstractModel):
|
|
4786
4859
|
|
4787
4860
|
def _deserialize(self, params):
|
4788
4861
|
self._Storage = params.get("Storage")
|
4862
|
+
self._IndexTraffic = params.get("IndexTraffic")
|
4863
|
+
self._ReadReqTimes = params.get("ReadReqTimes")
|
4864
|
+
self._WriteReqTimes = params.get("WriteReqTimes")
|
4865
|
+
self._DocCount = params.get("DocCount")
|
4789
4866
|
self._RequestId = params.get("RequestId")
|
4790
4867
|
|
4791
4868
|
|
@@ -4957,6 +5034,8 @@ class DescribeServerlessSpacesRequest(AbstractModel):
|
|
4957
5034
|
:type Offset: int
|
4958
5035
|
:param _Limit: 分页条数
|
4959
5036
|
:type Limit: int
|
5037
|
+
:param _TagList: 标签信息
|
5038
|
+
:type TagList: list of TagInfo
|
4960
5039
|
"""
|
4961
5040
|
self._SpaceIds = None
|
4962
5041
|
self._SpaceNames = None
|
@@ -4965,6 +5044,7 @@ class DescribeServerlessSpacesRequest(AbstractModel):
|
|
4965
5044
|
self._VpcIds = None
|
4966
5045
|
self._Offset = None
|
4967
5046
|
self._Limit = None
|
5047
|
+
self._TagList = None
|
4968
5048
|
|
4969
5049
|
@property
|
4970
5050
|
def SpaceIds(self):
|
@@ -5022,6 +5102,14 @@ class DescribeServerlessSpacesRequest(AbstractModel):
|
|
5022
5102
|
def Limit(self, Limit):
|
5023
5103
|
self._Limit = Limit
|
5024
5104
|
|
5105
|
+
@property
|
5106
|
+
def TagList(self):
|
5107
|
+
return self._TagList
|
5108
|
+
|
5109
|
+
@TagList.setter
|
5110
|
+
def TagList(self, TagList):
|
5111
|
+
self._TagList = TagList
|
5112
|
+
|
5025
5113
|
|
5026
5114
|
def _deserialize(self, params):
|
5027
5115
|
self._SpaceIds = params.get("SpaceIds")
|
@@ -5031,6 +5119,12 @@ class DescribeServerlessSpacesRequest(AbstractModel):
|
|
5031
5119
|
self._VpcIds = params.get("VpcIds")
|
5032
5120
|
self._Offset = params.get("Offset")
|
5033
5121
|
self._Limit = params.get("Limit")
|
5122
|
+
if params.get("TagList") is not None:
|
5123
|
+
self._TagList = []
|
5124
|
+
for item in params.get("TagList"):
|
5125
|
+
obj = TagInfo()
|
5126
|
+
obj._deserialize(item)
|
5127
|
+
self._TagList.append(obj)
|
5034
5128
|
memeber_set = set(params.keys())
|
5035
5129
|
for name, value in vars(self).items():
|
5036
5130
|
property_name = name[1:]
|
@@ -12057,6 +12151,9 @@ class ServerlessIndexMetaField(AbstractModel):
|
|
12057
12151
|
:type StorageType: int
|
12058
12152
|
:param _TagList: 标签信息
|
12059
12153
|
:type TagList: list of TagInfo
|
12154
|
+
:param _IndexTraffic: 3782478.47
|
12155
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12156
|
+
:type IndexTraffic: float
|
12060
12157
|
"""
|
12061
12158
|
self._AppId = None
|
12062
12159
|
self._IndexName = None
|
@@ -12075,6 +12172,7 @@ class ServerlessIndexMetaField(AbstractModel):
|
|
12075
12172
|
self._SpaceName = None
|
12076
12173
|
self._StorageType = None
|
12077
12174
|
self._TagList = None
|
12175
|
+
self._IndexTraffic = None
|
12078
12176
|
|
12079
12177
|
@property
|
12080
12178
|
def AppId(self):
|
@@ -12212,6 +12310,14 @@ class ServerlessIndexMetaField(AbstractModel):
|
|
12212
12310
|
def TagList(self, TagList):
|
12213
12311
|
self._TagList = TagList
|
12214
12312
|
|
12313
|
+
@property
|
12314
|
+
def IndexTraffic(self):
|
12315
|
+
return self._IndexTraffic
|
12316
|
+
|
12317
|
+
@IndexTraffic.setter
|
12318
|
+
def IndexTraffic(self, IndexTraffic):
|
12319
|
+
self._IndexTraffic = IndexTraffic
|
12320
|
+
|
12215
12321
|
|
12216
12322
|
def _deserialize(self, params):
|
12217
12323
|
self._AppId = params.get("AppId")
|
@@ -12242,6 +12348,7 @@ class ServerlessIndexMetaField(AbstractModel):
|
|
12242
12348
|
obj = TagInfo()
|
12243
12349
|
obj._deserialize(item)
|
12244
12350
|
self._TagList.append(obj)
|
12351
|
+
self._IndexTraffic = params.get("IndexTraffic")
|
12245
12352
|
memeber_set = set(params.keys())
|
12246
12353
|
for name, value in vars(self).items():
|
12247
12354
|
property_name = name[1:]
|
@@ -12517,6 +12624,9 @@ class ServerlessSpace(AbstractModel):
|
|
12517
12624
|
:param _ClusterType: 0
|
12518
12625
|
注意:此字段可能返回 null,表示取不到有效值。
|
12519
12626
|
:type ClusterType: int
|
12627
|
+
:param _TagList: key:value
|
12628
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12629
|
+
:type TagList: list of TagInfo
|
12520
12630
|
"""
|
12521
12631
|
self._SpaceId = None
|
12522
12632
|
self._SpaceName = None
|
@@ -12537,6 +12647,7 @@ class ServerlessSpace(AbstractModel):
|
|
12537
12647
|
self._AppId = None
|
12538
12648
|
self._KibanaLanguage = None
|
12539
12649
|
self._ClusterType = None
|
12650
|
+
self._TagList = None
|
12540
12651
|
|
12541
12652
|
@property
|
12542
12653
|
def SpaceId(self):
|
@@ -12690,6 +12801,14 @@ class ServerlessSpace(AbstractModel):
|
|
12690
12801
|
def ClusterType(self, ClusterType):
|
12691
12802
|
self._ClusterType = ClusterType
|
12692
12803
|
|
12804
|
+
@property
|
12805
|
+
def TagList(self):
|
12806
|
+
return self._TagList
|
12807
|
+
|
12808
|
+
@TagList.setter
|
12809
|
+
def TagList(self, TagList):
|
12810
|
+
self._TagList = TagList
|
12811
|
+
|
12693
12812
|
|
12694
12813
|
def _deserialize(self, params):
|
12695
12814
|
self._SpaceId = params.get("SpaceId")
|
@@ -12720,6 +12839,12 @@ class ServerlessSpace(AbstractModel):
|
|
12720
12839
|
self._AppId = params.get("AppId")
|
12721
12840
|
self._KibanaLanguage = params.get("KibanaLanguage")
|
12722
12841
|
self._ClusterType = params.get("ClusterType")
|
12842
|
+
if params.get("TagList") is not None:
|
12843
|
+
self._TagList = []
|
12844
|
+
for item in params.get("TagList"):
|
12845
|
+
obj = TagInfo()
|
12846
|
+
obj._deserialize(item)
|
12847
|
+
self._TagList.append(obj)
|
12723
12848
|
memeber_set = set(params.keys())
|
12724
12849
|
for name, value in vars(self).items():
|
12725
12850
|
property_name = name[1:]
|
@@ -178,6 +178,64 @@ class EssClient(AbstractClient):
|
|
178
178
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
179
179
|
|
180
180
|
|
181
|
+
def CreateBatchInitOrganizationUrl(self, request):
|
182
|
+
"""支持企业进行批量初始化操作:
|
183
|
+
|
184
|
+
此接口存在以下限制:
|
185
|
+
1. 若批量操作中包含<font color="red">加入集团企业</font>操作,则调用此接口的员工须有<font color="red">集团企业管理权限</font>。
|
186
|
+
2. 批量操作的企业需要已经完成电子签的认证流程。
|
187
|
+
3. 通过此接口生成的链接在小程序端进行操作时,操作人需要是<font color="red">所有企业的超管或法人</font>。
|
188
|
+
4. 批量操作的企业,需要是<a href="https://qian.tencent.com/developers/companyApis/organizations/CreateOrganizationAuthUrl" target="_blank">通过平台方引导认证</a>的企业。
|
189
|
+
5. <font color="red">操作链接过期时间默认为生成链接后7天。</font>
|
190
|
+
|
191
|
+
:param request: Request instance for CreateBatchInitOrganizationUrl.
|
192
|
+
:type request: :class:`tencentcloud.ess.v20201111.models.CreateBatchInitOrganizationUrlRequest`
|
193
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.CreateBatchInitOrganizationUrlResponse`
|
194
|
+
|
195
|
+
"""
|
196
|
+
try:
|
197
|
+
params = request._serialize()
|
198
|
+
headers = request.headers
|
199
|
+
body = self.call("CreateBatchInitOrganizationUrl", params, headers=headers)
|
200
|
+
response = json.loads(body)
|
201
|
+
model = models.CreateBatchInitOrganizationUrlResponse()
|
202
|
+
model._deserialize(response["Response"])
|
203
|
+
return model
|
204
|
+
except Exception as e:
|
205
|
+
if isinstance(e, TencentCloudSDKException):
|
206
|
+
raise
|
207
|
+
else:
|
208
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
209
|
+
|
210
|
+
|
211
|
+
def CreateBatchOrganizationAuthorizationUrl(self, request):
|
212
|
+
"""此接口用于获取企业批量认证链接-单链接包含多条认证流。
|
213
|
+
|
214
|
+
前提条件:已调用 [CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口](https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationRegistrationTasks) 和[查询企业批量认证链接DescribeBatchOrganizationRegistrationUrls](https://qian.tencent.com/developers/companyApis/organizations/DescribeBatchOrganizationRegistrationUrls) 确保认证任务已经完成。
|
215
|
+
|
216
|
+
异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间。
|
217
|
+
此链接包含多条认证流程,使用该链接可以批量的对企业进行认证。
|
218
|
+
|
219
|
+
:param request: Request instance for CreateBatchOrganizationAuthorizationUrl.
|
220
|
+
:type request: :class:`tencentcloud.ess.v20201111.models.CreateBatchOrganizationAuthorizationUrlRequest`
|
221
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.CreateBatchOrganizationAuthorizationUrlResponse`
|
222
|
+
|
223
|
+
"""
|
224
|
+
try:
|
225
|
+
params = request._serialize()
|
226
|
+
headers = request.headers
|
227
|
+
body = self.call("CreateBatchOrganizationAuthorizationUrl", params, headers=headers)
|
228
|
+
response = json.loads(body)
|
229
|
+
model = models.CreateBatchOrganizationAuthorizationUrlResponse()
|
230
|
+
model._deserialize(response["Response"])
|
231
|
+
return model
|
232
|
+
except Exception as e:
|
233
|
+
if isinstance(e, TencentCloudSDKException):
|
234
|
+
raise
|
235
|
+
else:
|
236
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
237
|
+
|
238
|
+
|
181
239
|
def CreateBatchOrganizationRegistrationTasks(self, request):
|
182
240
|
"""本接口(CreateBatchOrganizationRegistrationTasks)用于批量创建企业认证链接
|
183
241
|
该接口为异步提交任务接口,需要跟查询企业批量认证链接(DescribeBatchOrganizationRegistrationUrls) 配合使用.
|