tencentcloud-sdk-python 3.0.1191__py2.py3-none-any.whl → 3.0.1192__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1191'
17
+ __version__ = '3.0.1192'
@@ -50,6 +50,9 @@ INVALIDPARAMETERVALUE_SUBNETIDINVALID = 'InvalidParameterValue.SubnetIdInvalid'
50
50
  # 子网不属于zone。
51
51
  INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = 'InvalidParameterValue.SubnetNotBelongToZone'
52
52
 
53
+ # 主题名已存在
54
+ INVALIDPARAMETERVALUE_TOPICNAMEALREADYEXIST = 'InvalidParameterValue.TopicNameAlreadyExist'
55
+
53
56
  # 无效的 Vpc Id。
54
57
  INVALIDPARAMETERVALUE_VPCIDINVALID = 'InvalidParameterValue.VpcIdInvalid'
55
58
 
@@ -107,5 +110,8 @@ UNSUPPORTEDOPERATION = 'UnsupportedOperation'
107
110
  # 批量删除实例限制。
108
111
  UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = 'UnsupportedOperation.BatchDelInstanceLimit'
109
112
 
113
+ # 删除主题频率过快
114
+ UNSUPPORTEDOPERATION_FREQUENCYTOPICDELETEOPERATE = 'UnsupportedOperation.FrequencyTopicDeleteOperate'
115
+
110
116
  # Oss拒绝该操作。
111
117
  UNSUPPORTEDOPERATION_OSSREJECT = 'UnsupportedOperation.OssReject'
File without changes
File without changes
@@ -0,0 +1,49 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ import json
17
+
18
+ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
+ from tencentcloud.common.abstract_client import AbstractClient
20
+ from tencentcloud.cloudapp.v20220530 import models
21
+
22
+
23
+ class CloudappClient(AbstractClient):
24
+ _apiVersion = '2022-05-30'
25
+ _endpoint = 'cloudapp.tencentcloudapi.com'
26
+ _service = 'cloudapp'
27
+
28
+
29
+ def VerifyLicense(self, request):
30
+ """通过运行时roleId查询对应的软件 LICENSE
31
+
32
+ :param request: Request instance for VerifyLicense.
33
+ :type request: :class:`tencentcloud.cloudapp.v20220530.models.VerifyLicenseRequest`
34
+ :rtype: :class:`tencentcloud.cloudapp.v20220530.models.VerifyLicenseResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("VerifyLicense", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.VerifyLicenseResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
@@ -0,0 +1,15 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
@@ -0,0 +1,417 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ import warnings
17
+
18
+ from tencentcloud.common.abstract_model import AbstractModel
19
+
20
+
21
+ class License(AbstractModel):
22
+ """表示应用实例的软件授权,包含颁发信息、激活信息等内容。
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _LicenseId: License ID
29
+ :type LicenseId: str
30
+ :param _LicenseMode: 软件授权模式。
31
+
32
+ <table>
33
+ <thead>
34
+ <tr>
35
+ <th>枚举值</th>
36
+ <th>说明</th>
37
+ </tr>
38
+ </thead>
39
+ <tbody><tr>
40
+ <td>Permanent</td>
41
+ <td>永久授权。该授权不受有效期限制。</td>
42
+ </tr>
43
+ <tr>
44
+ <td>Subscription</td>
45
+ <td>订阅授权。授权如果过了有效期,则会进入过期状态。</td>
46
+ </tr>
47
+ </tbody></table>
48
+ :type LicenseMode: str
49
+ :param _LicenseStatus: 软件的授权状态。
50
+
51
+ <table>
52
+ <thead>
53
+ <tr>
54
+ <th>枚举值</th>
55
+ <th>说明</th>
56
+ </tr>
57
+ </thead>
58
+ <tbody><tr>
59
+ <td>Issued</td>
60
+ <td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td>
61
+ </tr>
62
+ <tr>
63
+ <td>Active</td>
64
+ <td>授权在有效期内,这是软件运行期间最常见的状态。</td>
65
+ </tr>
66
+ <tr>
67
+ <td>Expired</td>
68
+ <td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td>
69
+ </tr>
70
+ <tr>
71
+ <td>Deactivated</td>
72
+ <td>授权已失效。用户如果退货软件,则授权会自动失效。</td>
73
+ </tr>
74
+ </tbody></table>
75
+ :type LicenseStatus: str
76
+ :param _ProviderId: 软件供应方 ID。
77
+ :type ProviderId: int
78
+ :param _SoftwarePackageId: 软件包 ID。
79
+ :type SoftwarePackageId: str
80
+ :param _SoftwarePackageVersion: 软件包版本。
81
+ :type SoftwarePackageVersion: str
82
+ :param _AuthorizedUserUin: 被授权的用户 UIN。
83
+ :type AuthorizedUserUin: str
84
+ :param _AuthorizedCloudappId: 被授权的应用实例 ID。
85
+ :type AuthorizedCloudappId: str
86
+ :param _AuthorizedCloudappRoleId: 被授权的角色 ID。
87
+ :type AuthorizedCloudappRoleId: str
88
+ :param _AuthorizedSpecification: 被授权的软件规格,具体字段请参考结构SaleParam
89
+ :type AuthorizedSpecification: list of SaleParam
90
+ :param _BillingMode: 被授权的软件的计费模式。
91
+
92
+ <table>
93
+ <thead>
94
+ <tr>
95
+ <th>枚举值</th>
96
+ <th>说明</th>
97
+ </tr>
98
+ </thead>
99
+ <tbody><tr>
100
+ <td>1</td>
101
+ <td>线上计费,软件的授权从腾讯云线上购买,支持续费、退款等操作。</td>
102
+ </tr>
103
+ <tr>
104
+ <td>2</td>
105
+ <td>线下计费,软件的授权线下签订合同购买,定向客户交付,无法从线上续费和退款。</td>
106
+ </tr>
107
+ <tr>
108
+ <td>4</td>
109
+ <td>免费</td>
110
+ </tr>
111
+ </tbody></table>
112
+ :type BillingMode: int
113
+ :param _LifeSpan: 授权时长(单位由LifeSpanUnit确定,枚举值有Y年/M月/D日三种)
114
+ :type LifeSpan: int
115
+ :param _IssueDate: 授权颁发时间。
116
+ :type IssueDate: str
117
+ :param _ActivationDate: 授权激活时间,如从未激活则返回 null。
118
+ 注意:此字段可能返回 null,表示取不到有效值。
119
+ :type ActivationDate: str
120
+ :param _ExpirationDate: 授权过期时间,如未过期或者是永久授权,则返回 null。
121
+ 注意:此字段可能返回 null,表示取不到有效值。
122
+ :type ExpirationDate: str
123
+ :param _LifeSpanUnit: 授权时长单位,枚举值有Y年/M月/D日三种
124
+ :type LifeSpanUnit: str
125
+ """
126
+ self._LicenseId = None
127
+ self._LicenseMode = None
128
+ self._LicenseStatus = None
129
+ self._ProviderId = None
130
+ self._SoftwarePackageId = None
131
+ self._SoftwarePackageVersion = None
132
+ self._AuthorizedUserUin = None
133
+ self._AuthorizedCloudappId = None
134
+ self._AuthorizedCloudappRoleId = None
135
+ self._AuthorizedSpecification = None
136
+ self._BillingMode = None
137
+ self._LifeSpan = None
138
+ self._IssueDate = None
139
+ self._ActivationDate = None
140
+ self._ExpirationDate = None
141
+ self._LifeSpanUnit = None
142
+
143
+ @property
144
+ def LicenseId(self):
145
+ return self._LicenseId
146
+
147
+ @LicenseId.setter
148
+ def LicenseId(self, LicenseId):
149
+ self._LicenseId = LicenseId
150
+
151
+ @property
152
+ def LicenseMode(self):
153
+ return self._LicenseMode
154
+
155
+ @LicenseMode.setter
156
+ def LicenseMode(self, LicenseMode):
157
+ self._LicenseMode = LicenseMode
158
+
159
+ @property
160
+ def LicenseStatus(self):
161
+ return self._LicenseStatus
162
+
163
+ @LicenseStatus.setter
164
+ def LicenseStatus(self, LicenseStatus):
165
+ self._LicenseStatus = LicenseStatus
166
+
167
+ @property
168
+ def ProviderId(self):
169
+ return self._ProviderId
170
+
171
+ @ProviderId.setter
172
+ def ProviderId(self, ProviderId):
173
+ self._ProviderId = ProviderId
174
+
175
+ @property
176
+ def SoftwarePackageId(self):
177
+ return self._SoftwarePackageId
178
+
179
+ @SoftwarePackageId.setter
180
+ def SoftwarePackageId(self, SoftwarePackageId):
181
+ self._SoftwarePackageId = SoftwarePackageId
182
+
183
+ @property
184
+ def SoftwarePackageVersion(self):
185
+ return self._SoftwarePackageVersion
186
+
187
+ @SoftwarePackageVersion.setter
188
+ def SoftwarePackageVersion(self, SoftwarePackageVersion):
189
+ self._SoftwarePackageVersion = SoftwarePackageVersion
190
+
191
+ @property
192
+ def AuthorizedUserUin(self):
193
+ return self._AuthorizedUserUin
194
+
195
+ @AuthorizedUserUin.setter
196
+ def AuthorizedUserUin(self, AuthorizedUserUin):
197
+ self._AuthorizedUserUin = AuthorizedUserUin
198
+
199
+ @property
200
+ def AuthorizedCloudappId(self):
201
+ return self._AuthorizedCloudappId
202
+
203
+ @AuthorizedCloudappId.setter
204
+ def AuthorizedCloudappId(self, AuthorizedCloudappId):
205
+ self._AuthorizedCloudappId = AuthorizedCloudappId
206
+
207
+ @property
208
+ def AuthorizedCloudappRoleId(self):
209
+ return self._AuthorizedCloudappRoleId
210
+
211
+ @AuthorizedCloudappRoleId.setter
212
+ def AuthorizedCloudappRoleId(self, AuthorizedCloudappRoleId):
213
+ self._AuthorizedCloudappRoleId = AuthorizedCloudappRoleId
214
+
215
+ @property
216
+ def AuthorizedSpecification(self):
217
+ return self._AuthorizedSpecification
218
+
219
+ @AuthorizedSpecification.setter
220
+ def AuthorizedSpecification(self, AuthorizedSpecification):
221
+ self._AuthorizedSpecification = AuthorizedSpecification
222
+
223
+ @property
224
+ def BillingMode(self):
225
+ return self._BillingMode
226
+
227
+ @BillingMode.setter
228
+ def BillingMode(self, BillingMode):
229
+ self._BillingMode = BillingMode
230
+
231
+ @property
232
+ def LifeSpan(self):
233
+ return self._LifeSpan
234
+
235
+ @LifeSpan.setter
236
+ def LifeSpan(self, LifeSpan):
237
+ self._LifeSpan = LifeSpan
238
+
239
+ @property
240
+ def IssueDate(self):
241
+ return self._IssueDate
242
+
243
+ @IssueDate.setter
244
+ def IssueDate(self, IssueDate):
245
+ self._IssueDate = IssueDate
246
+
247
+ @property
248
+ def ActivationDate(self):
249
+ return self._ActivationDate
250
+
251
+ @ActivationDate.setter
252
+ def ActivationDate(self, ActivationDate):
253
+ self._ActivationDate = ActivationDate
254
+
255
+ @property
256
+ def ExpirationDate(self):
257
+ return self._ExpirationDate
258
+
259
+ @ExpirationDate.setter
260
+ def ExpirationDate(self, ExpirationDate):
261
+ self._ExpirationDate = ExpirationDate
262
+
263
+ @property
264
+ def LifeSpanUnit(self):
265
+ return self._LifeSpanUnit
266
+
267
+ @LifeSpanUnit.setter
268
+ def LifeSpanUnit(self, LifeSpanUnit):
269
+ self._LifeSpanUnit = LifeSpanUnit
270
+
271
+
272
+ def _deserialize(self, params):
273
+ self._LicenseId = params.get("LicenseId")
274
+ self._LicenseMode = params.get("LicenseMode")
275
+ self._LicenseStatus = params.get("LicenseStatus")
276
+ self._ProviderId = params.get("ProviderId")
277
+ self._SoftwarePackageId = params.get("SoftwarePackageId")
278
+ self._SoftwarePackageVersion = params.get("SoftwarePackageVersion")
279
+ self._AuthorizedUserUin = params.get("AuthorizedUserUin")
280
+ self._AuthorizedCloudappId = params.get("AuthorizedCloudappId")
281
+ self._AuthorizedCloudappRoleId = params.get("AuthorizedCloudappRoleId")
282
+ if params.get("AuthorizedSpecification") is not None:
283
+ self._AuthorizedSpecification = []
284
+ for item in params.get("AuthorizedSpecification"):
285
+ obj = SaleParam()
286
+ obj._deserialize(item)
287
+ self._AuthorizedSpecification.append(obj)
288
+ self._BillingMode = params.get("BillingMode")
289
+ self._LifeSpan = params.get("LifeSpan")
290
+ self._IssueDate = params.get("IssueDate")
291
+ self._ActivationDate = params.get("ActivationDate")
292
+ self._ExpirationDate = params.get("ExpirationDate")
293
+ self._LifeSpanUnit = params.get("LifeSpanUnit")
294
+ memeber_set = set(params.keys())
295
+ for name, value in vars(self).items():
296
+ property_name = name[1:]
297
+ if property_name in memeber_set:
298
+ memeber_set.remove(property_name)
299
+ if len(memeber_set) > 0:
300
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
301
+
302
+
303
+
304
+ class SaleParam(AbstractModel):
305
+ """表示商品 SKU 的单个售卖参数
306
+
307
+ """
308
+
309
+ def __init__(self):
310
+ r"""
311
+ :param _ParamKey: 售卖参数标识
312
+ :type ParamKey: str
313
+ :param _ParamValue: 售卖参数值
314
+ :type ParamValue: str
315
+ :param _ParamKeyName: 售卖参数的展示名称
316
+ 注意:此字段可能返回 null,表示取不到有效值。
317
+ :type ParamKeyName: str
318
+ :param _ParamValueName: 售卖参数值的展示名称
319
+ 注意:此字段可能返回 null,表示取不到有效值。
320
+ :type ParamValueName: str
321
+ """
322
+ self._ParamKey = None
323
+ self._ParamValue = None
324
+ self._ParamKeyName = None
325
+ self._ParamValueName = None
326
+
327
+ @property
328
+ def ParamKey(self):
329
+ return self._ParamKey
330
+
331
+ @ParamKey.setter
332
+ def ParamKey(self, ParamKey):
333
+ self._ParamKey = ParamKey
334
+
335
+ @property
336
+ def ParamValue(self):
337
+ return self._ParamValue
338
+
339
+ @ParamValue.setter
340
+ def ParamValue(self, ParamValue):
341
+ self._ParamValue = ParamValue
342
+
343
+ @property
344
+ def ParamKeyName(self):
345
+ return self._ParamKeyName
346
+
347
+ @ParamKeyName.setter
348
+ def ParamKeyName(self, ParamKeyName):
349
+ self._ParamKeyName = ParamKeyName
350
+
351
+ @property
352
+ def ParamValueName(self):
353
+ return self._ParamValueName
354
+
355
+ @ParamValueName.setter
356
+ def ParamValueName(self, ParamValueName):
357
+ self._ParamValueName = ParamValueName
358
+
359
+
360
+ def _deserialize(self, params):
361
+ self._ParamKey = params.get("ParamKey")
362
+ self._ParamValue = params.get("ParamValue")
363
+ self._ParamKeyName = params.get("ParamKeyName")
364
+ self._ParamValueName = params.get("ParamValueName")
365
+ memeber_set = set(params.keys())
366
+ for name, value in vars(self).items():
367
+ property_name = name[1:]
368
+ if property_name in memeber_set:
369
+ memeber_set.remove(property_name)
370
+ if len(memeber_set) > 0:
371
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
372
+
373
+
374
+
375
+ class VerifyLicenseRequest(AbstractModel):
376
+ """VerifyLicense请求参数结构体
377
+
378
+ """
379
+
380
+
381
+ class VerifyLicenseResponse(AbstractModel):
382
+ """VerifyLicense返回参数结构体
383
+
384
+ """
385
+
386
+ def __init__(self):
387
+ r"""
388
+ :param _License: 软件的详细授权信息。
389
+ :type License: :class:`tencentcloud.cloudapp.v20220530.models.License`
390
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
391
+ :type RequestId: str
392
+ """
393
+ self._License = None
394
+ self._RequestId = None
395
+
396
+ @property
397
+ def License(self):
398
+ return self._License
399
+
400
+ @License.setter
401
+ def License(self, License):
402
+ self._License = License
403
+
404
+ @property
405
+ def RequestId(self):
406
+ return self._RequestId
407
+
408
+ @RequestId.setter
409
+ def RequestId(self, RequestId):
410
+ self._RequestId = RequestId
411
+
412
+
413
+ def _deserialize(self, params):
414
+ if params.get("License") is not None:
415
+ self._License = License()
416
+ self._License._deserialize(params.get("License"))
417
+ self._RequestId = params.get("RequestId")
@@ -4452,6 +4452,12 @@ selfbuilt-db 表示自建数据库
4452
4452
  :param _TimingStartTime: 任务定时启动时间,格式如:2006-01-02 15:04:05
4453
4453
  当执行计划(Plan字段)为”立即“时,定时启动时间不会生效,此场景下给该字段传值不会被保存。
4454
4454
  :type TimingStartTime: str
4455
+ :param _Order: random-随机,asc生序,desc降序
4456
+ :type Order: str
4457
+ :param _Rows: 抽样的条数,范围30-1000
4458
+ :type Rows: int
4459
+ :param _GlobalOrderField: 抽样的排序字段
4460
+ :type GlobalOrderField: str
4455
4461
  """
4456
4462
  self._DspaId = None
4457
4463
  self._Name = None
@@ -4466,6 +4472,9 @@ selfbuilt-db 表示自建数据库
4466
4472
  self._Condition = None
4467
4473
  self._ComplianceGroupIds = None
4468
4474
  self._TimingStartTime = None
4475
+ self._Order = None
4476
+ self._Rows = None
4477
+ self._GlobalOrderField = None
4469
4478
 
4470
4479
  @property
4471
4480
  def DspaId(self):
@@ -4571,6 +4580,30 @@ selfbuilt-db 表示自建数据库
4571
4580
  def TimingStartTime(self, TimingStartTime):
4572
4581
  self._TimingStartTime = TimingStartTime
4573
4582
 
4583
+ @property
4584
+ def Order(self):
4585
+ return self._Order
4586
+
4587
+ @Order.setter
4588
+ def Order(self, Order):
4589
+ self._Order = Order
4590
+
4591
+ @property
4592
+ def Rows(self):
4593
+ return self._Rows
4594
+
4595
+ @Rows.setter
4596
+ def Rows(self, Rows):
4597
+ self._Rows = Rows
4598
+
4599
+ @property
4600
+ def GlobalOrderField(self):
4601
+ return self._GlobalOrderField
4602
+
4603
+ @GlobalOrderField.setter
4604
+ def GlobalOrderField(self, GlobalOrderField):
4605
+ self._GlobalOrderField = GlobalOrderField
4606
+
4574
4607
 
4575
4608
  def _deserialize(self, params):
4576
4609
  self._DspaId = params.get("DspaId")
@@ -4586,6 +4619,9 @@ selfbuilt-db 表示自建数据库
4586
4619
  self._Condition = params.get("Condition")
4587
4620
  self._ComplianceGroupIds = params.get("ComplianceGroupIds")
4588
4621
  self._TimingStartTime = params.get("TimingStartTime")
4622
+ self._Order = params.get("Order")
4623
+ self._Rows = params.get("Rows")
4624
+ self._GlobalOrderField = params.get("GlobalOrderField")
4589
4625
  memeber_set = set(params.keys())
4590
4626
  for name, value in vars(self).items():
4591
4627
  property_name = name[1:]
@@ -13877,9 +13913,15 @@ class DescribeDSPAESDataSampleRequest(AbstractModel):
13877
13913
  :type DspaId: str
13878
13914
  :param _FieldResultId: 字段扫描结果ID
13879
13915
  :type FieldResultId: int
13916
+ :param _Order: 排序方式
13917
+ :type Order: str
13918
+ :param _OrderField: 排序字段
13919
+ :type OrderField: str
13880
13920
  """
13881
13921
  self._DspaId = None
13882
13922
  self._FieldResultId = None
13923
+ self._Order = None
13924
+ self._OrderField = None
13883
13925
 
13884
13926
  @property
13885
13927
  def DspaId(self):
@@ -13897,10 +13939,28 @@ class DescribeDSPAESDataSampleRequest(AbstractModel):
13897
13939
  def FieldResultId(self, FieldResultId):
13898
13940
  self._FieldResultId = FieldResultId
13899
13941
 
13942
+ @property
13943
+ def Order(self):
13944
+ return self._Order
13945
+
13946
+ @Order.setter
13947
+ def Order(self, Order):
13948
+ self._Order = Order
13949
+
13950
+ @property
13951
+ def OrderField(self):
13952
+ return self._OrderField
13953
+
13954
+ @OrderField.setter
13955
+ def OrderField(self, OrderField):
13956
+ self._OrderField = OrderField
13957
+
13900
13958
 
13901
13959
  def _deserialize(self, params):
13902
13960
  self._DspaId = params.get("DspaId")
13903
13961
  self._FieldResultId = params.get("FieldResultId")
13962
+ self._Order = params.get("Order")
13963
+ self._OrderField = params.get("OrderField")
13904
13964
  memeber_set = set(params.keys())
13905
13965
  for name, value in vars(self).items():
13906
13966
  property_name = name[1:]
@@ -14654,9 +14714,15 @@ class DescribeDSPATaskResultDataSampleRequest(AbstractModel):
14654
14714
  :type DspaId: str
14655
14715
  :param _FieldResultId: 字段扫描结果ID
14656
14716
  :type FieldResultId: int
14717
+ :param _Order: 排序方式
14718
+ :type Order: str
14719
+ :param _OrderField: 排序字段
14720
+ :type OrderField: str
14657
14721
  """
14658
14722
  self._DspaId = None
14659
14723
  self._FieldResultId = None
14724
+ self._Order = None
14725
+ self._OrderField = None
14660
14726
 
14661
14727
  @property
14662
14728
  def DspaId(self):
@@ -14674,10 +14740,28 @@ class DescribeDSPATaskResultDataSampleRequest(AbstractModel):
14674
14740
  def FieldResultId(self, FieldResultId):
14675
14741
  self._FieldResultId = FieldResultId
14676
14742
 
14743
+ @property
14744
+ def Order(self):
14745
+ return self._Order
14746
+
14747
+ @Order.setter
14748
+ def Order(self, Order):
14749
+ self._Order = Order
14750
+
14751
+ @property
14752
+ def OrderField(self):
14753
+ return self._OrderField
14754
+
14755
+ @OrderField.setter
14756
+ def OrderField(self, OrderField):
14757
+ self._OrderField = OrderField
14758
+
14677
14759
 
14678
14760
  def _deserialize(self, params):
14679
14761
  self._DspaId = params.get("DspaId")
14680
14762
  self._FieldResultId = params.get("FieldResultId")
14763
+ self._Order = params.get("Order")
14764
+ self._OrderField = params.get("OrderField")
14681
14765
  memeber_set = set(params.keys())
14682
14766
  for name, value in vars(self).items():
14683
14767
  property_name = name[1:]
@@ -9804,7 +9804,7 @@ class CreateSealRequest(AbstractModel):
9804
9804
  <li><strong>SealGenerateSourceSystem</strong>: 系统生成印章, 无需上传SealImage图片</li>
9805
9805
  </ul>
9806
9806
  :type GenerateSource: str
9807
- :param _SealType: 电子印章类型 , 可选类型如下: <ul><li>**OFFICIAL**: (默认)公章</li><li>**CONTRACT**: 合同专用章;</li><li>**FINANCE**: 财务专用章;</li><li>**PERSONNEL**: 人事专用章</li><li>**INVOICE**: 发票专用章</li></ul>注: `同企业下只能有<font color="red">一个</font>公章, 重复创建会报错`
9807
+ :param _SealType: 电子印章类型 , 可选类型如下: <ul><li>**OFFICIAL**: (默认)公章</li><li>**CONTRACT**: 合同专用章;</li><li>**FINANCE**: 财务专用章;</li><li>**PERSONNEL**: 人事专用章</li><li>**INVOICE**: 发票专用章</li><li>**OTHER**: 其他</li></ul>注: 同企业下只能有<font color="red">一个</font>公章, 重复创建会报错
9808
9808
  :type SealType: str
9809
9809
  :param _FileName: 电子印章图片文件名称,1-50个中文字符。
9810
9810
  :type FileName: str
@@ -215,7 +215,9 @@ class EssbasicClient(AbstractClient):
215
215
  注:
216
216
  - 使用此接口生成链接,需要提前开通 `使用手机号验证签署方身份` 功能,在 `腾讯电子签网页端-企业设置-拓展服务` 中可以找到。
217
217
  - 参与人点击链接后需短信验证码才能查看合同内容。
218
- - 企业用户批量签署,需要传OrganizationName(参与方所在企业名称)参数生成签署链接,<font color="red">请确保此企业已完成腾讯电子签企业认证</font>。暂时仅支持给<font color="red">自建应用集成企业</font>生成员工批签链接,不支持子客企业。
218
+ - 个人用户批量签署,需要传Name,Mobile,IdCardNumber(IdCardType) 参数。
219
+ - saas企业员工用户批量签署,在传递了姓名等基本信息参数的情况下,还需要传OrganizationName(参与方所在企业名称)参数生成签署链接,<font color="red">请确保此企业已完成腾讯电子签企业认证</font>。
220
+ - 子客企业员工用户批签签署,需要传递员工OpenId和子客企业的OrganizationOpenId。<font color="red">请确保此OrganizationOpenId对应子客已经认证,且OpenId对应员工此子客下已经实名</font>。Name,Mobile, IdCard等信息此时可以不传,系统会查询此OpenId实名信息自动补充。
219
221
  - 生成批量签署链接时,合同目标参与方状态需为<font color="red">待签署</font>状态。
220
222
  - 个人批量签署进行的合同的签名区, 全部变成<font color="red">手写签名</font>(不管合同里边设置的签名限制)来进行。
221
223
 
@@ -2065,12 +2065,12 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
2065
2065
  :param _Name: 签署方经办人的姓名。
2066
2066
  经办人的姓名将用于身份认证和电子签名,请确保填写的姓名为签署方的真实姓名,而非昵称等代名。
2067
2067
 
2068
- 注:`请确保和合同中填入的一致`,`除动态签署人场景外,此参数必填`
2068
+ 注:`请确保和合同中填入的一致`,`除动态签署人或子客员工经办人场景外,此参数必填`
2069
2069
  :type Name: str
2070
2070
  :param _Mobile: 手机号码, 支持国内手机号11位数字(无需加+86前缀或其他字符)。
2071
2071
  请确认手机号所有方为此业务通知方。
2072
2072
 
2073
- 注:`请确保和合同中填入的一致, 若无法保持一致,请确保在发起和生成批量签署链接时传入相同的参与方证件信息`,`除动态签署人场景外,此参数必填`
2073
+ 注:`请确保和合同中填入的一致, 若无法保持一致,请确保在发起和生成批量签署链接时传入相同的参与方证件信息`,`除动态签署人或子客员工经办人场景外,此参数必填`
2074
2074
  :type Mobile: str
2075
2075
  :param _Operator: 执行本接口操作的员工信息。
2076
2076
  注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
@@ -2098,14 +2098,14 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
2098
2098
  :param _FlowIds: 批量签署的合同流程ID数组。
2099
2099
  注: `在调用此接口时,请确保合同流程均为本企业发起,且合同数量不超过100个。`
2100
2100
  :type FlowIds: list of str
2101
- :param _OrganizationName: 目标签署人的企业名称,签署人如果是企业员工身份,需要传此参数。
2101
+ :param _OrganizationName: SaaS平台企业员工签署方的企业名称。目标签署人如果为saas应用企业员工身份,此参数必填。
2102
2102
 
2103
2103
  注:
2104
2104
  <ul>
2105
2105
  <li>请确认该名称与企业营业执照中注册的名称一致。</li>
2106
2106
  <li>如果名称中包含英文括号(),请使用中文括号()代替。</li>
2107
2107
  <li>请确保此企业已完成腾讯电子签企业认证。</li>
2108
- <li>暂时仅支持给`自建应用集成企业` 生成员工批签链接,不支持子客企业。</li>
2108
+ <li>**若为子客企业员工,请使用OpenId,OrganizationOpenId参数,此参数留空即可**</li>
2109
2109
  </ul>
2110
2110
  :type OrganizationName: str
2111
2111
  :param _JumpToDetail: 是否直接跳转至合同内容页面进行签署
@@ -2116,6 +2116,16 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
2116
2116
  :type JumpToDetail: bool
2117
2117
  :param _FlowBatchUrlInfo: 批量签署合同相关信息,指定合同和签署方的信息,用于补充动态签署人。
2118
2118
  :type FlowBatchUrlInfo: :class:`tencentcloud.essbasic.v20210526.models.FlowBatchUrlInfo`
2119
+ :param _OpenId: 第三方平台子客企业员工的标识OpenId,批签合同经办人为子客员工的情况下为必填。
2120
+
2121
+ 注:
2122
+ <ul>
2123
+ <li>传入的OpenId对应员工在此子客企业下必须已经实名</li>
2124
+ <li>传递了此参数可以无需传递Name,Mobile,IdCardNumber,IdCardType参数。系统会根据员工OpenId自动拉取实名信息。</li>
2125
+ </ul>
2126
+ :type OpenId: str
2127
+ :param _OrganizationOpenId: 第三方平台子客企业的企业的标识, 即OrganizationOpenId,批签合同经办人为子客企业员工是为必填。
2128
+ :type OrganizationOpenId: str
2119
2129
  """
2120
2130
  self._Agent = None
2121
2131
  self._Name = None
@@ -2128,6 +2138,8 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
2128
2138
  self._OrganizationName = None
2129
2139
  self._JumpToDetail = None
2130
2140
  self._FlowBatchUrlInfo = None
2141
+ self._OpenId = None
2142
+ self._OrganizationOpenId = None
2131
2143
 
2132
2144
  @property
2133
2145
  def Agent(self):
@@ -2217,6 +2229,22 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
2217
2229
  def FlowBatchUrlInfo(self, FlowBatchUrlInfo):
2218
2230
  self._FlowBatchUrlInfo = FlowBatchUrlInfo
2219
2231
 
2232
+ @property
2233
+ def OpenId(self):
2234
+ return self._OpenId
2235
+
2236
+ @OpenId.setter
2237
+ def OpenId(self, OpenId):
2238
+ self._OpenId = OpenId
2239
+
2240
+ @property
2241
+ def OrganizationOpenId(self):
2242
+ return self._OrganizationOpenId
2243
+
2244
+ @OrganizationOpenId.setter
2245
+ def OrganizationOpenId(self, OrganizationOpenId):
2246
+ self._OrganizationOpenId = OrganizationOpenId
2247
+
2220
2248
 
2221
2249
  def _deserialize(self, params):
2222
2250
  if params.get("Agent") is not None:
@@ -2236,6 +2264,8 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
2236
2264
  if params.get("FlowBatchUrlInfo") is not None:
2237
2265
  self._FlowBatchUrlInfo = FlowBatchUrlInfo()
2238
2266
  self._FlowBatchUrlInfo._deserialize(params.get("FlowBatchUrlInfo"))
2267
+ self._OpenId = params.get("OpenId")
2268
+ self._OrganizationOpenId = params.get("OrganizationOpenId")
2239
2269
  memeber_set = set(params.keys())
2240
2270
  for name, value in vars(self).items():
2241
2271
  property_name = name[1:]
@@ -11349,7 +11379,7 @@ class CreateSealByImageRequest(AbstractModel):
11349
11379
  <li><strong>SealGenerateSourceSystem</strong>: 系统生成印章, 无需上传SealImage图片</li>
11350
11380
  </ul>
11351
11381
  :type GenerateSource: str
11352
- :param _SealType: 电子印章类型 , 可选类型如下: <ul><li>**OFFICIAL**: (默认)公章</li><li>**CONTRACT**: 合同专用章;</li><li>**FINANCE**: 财务专用章;</li><li>**PERSONNEL**: 人事专用章</li><li>**INVOICE**: 发票专用章</li></ul>注: `同企业下只能有<font color="red">一个</font>公章, 重复创建会报错`
11382
+ :param _SealType: 电子印章类型 , 可选类型如下: <ul><li>**OFFICIAL**: (默认)公章</li><li>**CONTRACT**: 合同专用章;</li><li>**FINANCE**: 财务专用章;</li><li>**PERSONNEL**: 人事专用章</li><li>**INVOICE**: 发票专用章</li><li>**OTHER**: 其他</li></ul>注: 同企业下只能有<font color="red">一个</font>公章, 重复创建会报错
11353
11383
  :type SealType: str
11354
11384
  :param _SealHorizontalText: 企业印章横向文字,最多可填15个汉字 (若超过印章最大宽度,优先压缩字间距,其次缩小字号)
11355
11385
  横向文字的位置如下图中的"印章横向文字在这里"
@@ -7260,13 +7260,13 @@ class DescribeZonesRequest(AbstractModel):
7260
7260
  def __init__(self):
7261
7261
  r"""
7262
7262
  :param _OrderField: 可用区列表排序的依据字段。取值范围:
7263
- <li>ZONE:依据可用区排序。
7263
+ <li>ZONE:依据可用区排序。</li>
7264
7264
  <li>INSTANCE_DISPLAY_LABEL:依据可用区展示标签排序,可用区展示标签包括:HIDDEN(隐藏)、NORMAL(普通)、SELECTED(默认选中),默认采用的升序排列为:['HIDDEN', 'NORMAL', 'SELECTED']。
7265
- 默认按可用区排序。
7265
+ 默认按可用区排序。</li>
7266
7266
  :type OrderField: str
7267
7267
  :param _Order: 输出可用区列表的排列顺序。取值范围:
7268
- <li>ASC:升序排列。
7269
- <li>DESC:降序排列。
7268
+ <li>ASC:升序排列。 </li>
7269
+ <li>DESC:降序排列。</li>
7270
7270
  默认按升序排列。
7271
7271
  :type Order: str
7272
7272
  """
@@ -961,7 +961,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
961
961
  :param _ReplicateSetNum: - 创建副本集实例,指副本集数量,该参数只能为1。
962
962
  - 创建分片集群实例,指分片的数量。请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询分片数量的取值范围,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。
963
963
  :type ReplicateSetNum: int
964
- :param _NodeNum: - 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
964
+ :param _NodeNum: - 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
965
965
  - 创建分片集群实例,指每个分片的主从节点数量。每个分片所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
966
966
  :type NodeNum: int
967
967
  :param _MongoVersion: 指版本信息。具体支持的版本信息 ,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
@@ -1370,7 +1370,7 @@ class CreateDBInstanceRequest(AbstractModel):
1370
1370
 
1371
1371
  def __init__(self):
1372
1372
  r"""
1373
- :param _NodeNum: - 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1373
+ :param _NodeNum: - 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1374
1374
  - 创建分片集群实例,指每个分片的主从节点数量。每个分片所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
1375
1375
  :type NodeNum: int
1376
1376
  :param _Memory: 实例内存大小,单位:GB。具体售卖的内存规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
@@ -5944,38 +5944,7 @@ class CreateServiceDiscoveryRequest(AbstractModel):
5944
5944
  <li> 2 = PodMonitor</li>
5945
5945
  <li> 3 = JobMonitor</li>
5946
5946
  :type Type: int
5947
- :param _Yaml: 服务发现配置信息,YAML 格式
5948
-
5949
- 示例值:
5950
-
5951
- ```
5952
- apiVersion: monitoring.coreos.com/v1
5953
- kind: ServiceMonitor
5954
- metadata:
5955
- name: go-demo # 填写一个唯一名称
5956
- namespace: cm-prometheus # namespace固定,不要修改
5957
- spec:
5958
- endpoints:
5959
- - interval: 30s
5960
- # 填写service yaml中Prometheus Exporter对应的Port的Name
5961
- port: 2112
5962
- # 填写Prometheus Exporter对应的Path的值,不填默认/metrics
5963
- path: /metrics
5964
- relabelings:
5965
- # ** 必须要有一个 label 为 application,这里假设 k8s 有一个 label 为 app,
5966
- # 我们通过 relabel 的 replace 动作把它替换成了 application
5967
- - action: replace
5968
- sourceLabels: [__meta_kubernetes_pod_label_app]
5969
- targetLabel: application
5970
- # 选择要监控service所在的namespace
5971
- namespaceSelector:
5972
- matchNames:
5973
- - golang-demo
5974
- # 填写要监控service的Label值,以定位目标service
5975
- selector:
5976
- matchLabels:
5977
- app: golang-app-demo
5978
- ```
5947
+ :param _Yaml: 服务发现配置信息,YAML 格式,[具体YAML参数内容请参考](https://cloud.tencent.com/document/product/1416/55995#service-monitor)
5979
5948
  :type Yaml: str
5980
5949
  """
5981
5950
  self._InstanceId = None
@@ -7586,38 +7555,7 @@ class DeleteServiceDiscoveryRequest(AbstractModel):
7586
7555
  <li> 2 = PodMonitor</li>
7587
7556
  <li> 3 = PodMonitor</li>
7588
7557
  :type Type: int
7589
- :param _Yaml: 服务发现配置信息,YAML 格式
7590
-
7591
- 示例值:
7592
-
7593
- ```
7594
- apiVersion: monitoring.coreos.com/v1
7595
- kind: ServiceMonitor
7596
- metadata:
7597
- name: go-demo # 填写一个唯一名称
7598
- namespace: cm-prometheus # namespace固定,不要修改
7599
- spec:
7600
- endpoints:
7601
- - interval: 30s
7602
- # 填写service yaml中Prometheus Exporter对应的Port的Name
7603
- port: 2112
7604
- # 填写Prometheus Exporter对应的Path的值,不填默认/metrics
7605
- path: /metrics
7606
- relabelings:
7607
- # ** 必须要有一个 label 为 application,这里假设 k8s 有一个 label 为 app,
7608
- # 我们通过 relabel 的 replace 动作把它替换成了 application
7609
- - action: replace
7610
- sourceLabels: [__meta_kubernetes_pod_label_app]
7611
- targetLabel: application
7612
- # 选择要监控service所在的namespace
7613
- namespaceSelector:
7614
- matchNames:
7615
- - golang-demo
7616
- # 填写要监控service的Label值,以定位目标service
7617
- selector:
7618
- matchLabels:
7619
- app: golang-app-demo
7620
- ```
7558
+ :param _Yaml: 服务发现配置信息,YAML 格式,[具体YAML参数内容请参考](https://cloud.tencent.com/document/product/1416/55995#service-monitor)
7621
7559
  :type Yaml: str
7622
7560
  """
7623
7561
  self._InstanceId = None
@@ -16526,9 +16464,9 @@ class DescribePrometheusClusterAgentsRequest(AbstractModel):
16526
16464
  r"""
16527
16465
  :param _InstanceId: 实例id
16528
16466
  :type InstanceId: str
16529
- :param _Offset: 用于分页
16467
+ :param _Offset: 偏移量,默认为0。
16530
16468
  :type Offset: int
16531
- :param _Limit: 用于分页
16469
+ :param _Limit: 返回数量,默认为20,最大值为100。
16532
16470
  :type Limit: int
16533
16471
  :param _ClusterIds: 用于通过集群id过滤被绑定集群
16534
16472
  :type ClusterIds: list of str
@@ -17559,9 +17497,9 @@ class DescribePrometheusInstancesOverviewRequest(AbstractModel):
17559
17497
 
17560
17498
  def __init__(self):
17561
17499
  r"""
17562
- :param _Offset: 用于分页
17500
+ :param _Offset: 分页偏移量,默认为0
17563
17501
  :type Offset: int
17564
- :param _Limit: 用于分页
17502
+ :param _Limit: 返回数量,默认为20,最大值为100
17565
17503
  :type Limit: int
17566
17504
  :param _Filters: 过滤实例,目前支持:
17567
17505
  ID: 通过实例ID来过滤
@@ -18340,7 +18278,7 @@ class DescribePrometheusTargetsTMPRequest(AbstractModel):
18340
18278
  :type ClusterType: str
18341
18279
  :param _Filters: 过滤条件,支持Name=ServiceMonitor/PodMonitor/Probe/RawJob/Job, Value为采集配置名称;Name=Health, Value=up, down, unknown;Name=EndPoint, Value为EndPoint地址
18342
18280
  :type Filters: list of Filter
18343
- :param _Offset: targets偏移量,默认为0
18281
+ :param _Offset: targets分页偏移量,默认为0
18344
18282
  :type Offset: int
18345
18283
  :param _Limit: targets返回数量,默认为20,最大值200
18346
18284
  :type Limit: int
@@ -18478,7 +18416,7 @@ Name 按名称过滤
18478
18416
  Describe 按描述过滤
18479
18417
  ID 按templateId过滤
18480
18418
  :type Filters: list of Filter
18481
- :param _Offset: 分页偏移
18419
+ :param _Offset: 分页偏移量,默认为0
18482
18420
  :type Offset: int
18483
18421
  :param _Limit: 总数限制
18484
18422
  :type Limit: int
@@ -31294,11 +31232,9 @@ class UpdatePrometheusAgentStatusRequest(AbstractModel):
31294
31232
 
31295
31233
  def __init__(self):
31296
31234
  r"""
31297
- :param _InstanceId: Prometheus 实例 ID,例如:prom-abcd1234
31235
+ :param _InstanceId: Prometheus 实例 ID
31298
31236
  :type InstanceId: str
31299
31237
  :param _AgentIds: Agent ID 列表,例如:agent-abcd1234,可在控制台 Agent 管理中获取
31300
-
31301
- 示例值:["agent-abcd1234"]
31302
31238
  :type AgentIds: list of str
31303
31239
  :param _Status: 要更新的状态
31304
31240
  <li> 1= 开启 </li>
@@ -31956,38 +31892,7 @@ class UpdateServiceDiscoveryRequest(AbstractModel):
31956
31892
  <li> 2 = PodMonitor</li>
31957
31893
  <li> 3 = JobMonitor</li>
31958
31894
  :type Type: int
31959
- :param _Yaml: 服务发现配置信息,YAML 格式
31960
-
31961
- 示例值:
31962
-
31963
- ```
31964
- apiVersion: monitoring.coreos.com/v1
31965
- kind: ServiceMonitor
31966
- metadata:
31967
- name: go-demo # 填写一个唯一名称
31968
- namespace: cm-prometheus # namespace固定,不要修改
31969
- spec:
31970
- endpoints:
31971
- - interval: 30s
31972
- # 填写service yaml中Prometheus Exporter对应的Port的Name
31973
- port: 2112
31974
- # 填写Prometheus Exporter对应的Path的值,不填默认/metrics
31975
- path: /metrics
31976
- relabelings:
31977
- # ** 必须要有一个 label 为 application,这里假设 k8s 有一个 label 为 app,
31978
- # 我们通过 relabel 的 replace 动作把它替换成了 application
31979
- - action: replace
31980
- sourceLabels: [__meta_kubernetes_pod_label_app]
31981
- targetLabel: application
31982
- # 选择要监控service所在的namespace
31983
- namespaceSelector:
31984
- matchNames:
31985
- - golang-demo
31986
- # 填写要监控service的Label值,以定位目标service
31987
- selector:
31988
- matchLabels:
31989
- app: golang-app-demo
31990
- ```
31895
+ :param _Yaml: 服务发现配置信息,YAML 格式,[具体YAML参数内容请参考](https://cloud.tencent.com/document/product/1416/55995#service-monitor)
31991
31896
  :type Yaml: str
31992
31897
  """
31993
31898
  self._InstanceId = None
@@ -2909,7 +2909,7 @@ class MonitorClient(AbstractClient):
2909
2909
 
2910
2910
 
2911
2911
  def ModifyPrometheusConfig(self, request):
2912
- """修改prometheus配置,如果配置项不存在,则会新增
2912
+ """修改prometheus采集配置
2913
2913
 
2914
2914
  :param request: Request instance for ModifyPrometheusConfig.
2915
2915
  :type request: :class:`tencentcloud.monitor.v20180724.models.ModifyPrometheusConfigRequest`
@@ -435,7 +435,7 @@ class CheckInstanceNameResponse(AbstractModel):
435
435
  r"""
436
436
  :param _IsValidated: 检查结果,true为合法,false为非法
437
437
  :type IsValidated: bool
438
- :param _DetailCode: 1: Illegal(名子非法), 2:Reserved(名字保留), 3:Existed(名字已存在)
438
+ :param _DetailCode: 1: Illegal(名称非法), 2:Reserved(名字保留), 3:Existed(名字已存在)
439
439
  注意:此字段可能返回 null,表示取不到有效值。
440
440
  :type DetailCode: int
441
441
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1191
3
+ Version: 3.0.1192
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -50,7 +50,7 @@ QcloudApi/modules/vod.py,sha256=l05_qYx0l5bq6LJ8mAX2YO3pRXzxY3JMdDHV1N_SRKE,679
50
50
  QcloudApi/modules/vpc.py,sha256=JBiNpcnrAwf_UJ_UdpxQybKeCTfeveJ9R1B-vO1_w_U,679
51
51
  QcloudApi/modules/wenzhi.py,sha256=hr1rRLU8TxxSfejMqV2O4alO_yXF3C0tfZMSzziu54Q,685
52
52
  QcloudApi/modules/yunsou.py,sha256=JlgzMjnJaho6axFVhSTAv6DS0HLcjl0LJL02q6qI2yY,685
53
- tencentcloud/__init__.py,sha256=XoeGUrBGwr0EF45ON0r_4aM12Ktnts0HNRCG7-ebJJY,631
53
+ tencentcloud/__init__.py,sha256=qGFdqASRcC3F808C9t1RwzhDkMqiVLms5NJUGwSM-ko,631
54
54
  tencentcloud/aa/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  tencentcloud/aa/v20200224/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  tencentcloud/aa/v20200224/aa_client.py,sha256=L7P5zpJElo9WoLSkhvLxnfpEGCZ1q2e5Fzx3wLEioAA,2184
@@ -354,13 +354,18 @@ tencentcloud/cis/v20180408/models.py,sha256=GpGnUBZ9U8vBldTLC0R9w6yFoVU5EtUq7DOq
354
354
  tencentcloud/ckafka/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
355
355
  tencentcloud/ckafka/v20190819/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
356
356
  tencentcloud/ckafka/v20190819/ckafka_client.py,sha256=g5ahu2fR0xRFwp0Tdf4-uYb8LO5w-xq2ty2kcIyLLlI,75494
357
- tencentcloud/ckafka/v20190819/errorcodes.py,sha256=sPYGdgXWt4BcCbJaKnm15NxxtU6Izt8UZNd84ZQExBQ,3315
357
+ tencentcloud/ckafka/v20190819/errorcodes.py,sha256=1tsJbmmTXypZiOeUaWgrwZZa5QbTCweXR2BP1xD1cA4,3559
358
358
  tencentcloud/ckafka/v20190819/models.py,sha256=X34ZsLQv1KLSoSUBQ5G0hMR-fsyRdzwkgPalyktLhpQ,826200
359
359
  tencentcloud/clb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
360
360
  tencentcloud/clb/v20180317/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
361
361
  tencentcloud/clb/v20180317/clb_client.py,sha256=zE2k3NwP2m6IT3hGK6YXgTqgzs-CsBW8nFgD3tYRct0,98185
362
362
  tencentcloud/clb/v20180317/errorcodes.py,sha256=-1jF9sFQP2uW66RiYap59W9MWhxrkY06L_OI7X4ScT0,3889
363
363
  tencentcloud/clb/v20180317/models.py,sha256=noQCmGgQUo42r81PyATaiObYOnj_HRWN2EuPV8eAPwg,557653
364
+ tencentcloud/cloudapp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
365
+ tencentcloud/cloudapp/v20220530/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
366
+ tencentcloud/cloudapp/v20220530/cloudapp_client.py,sha256=Ji3E9XEkmJKsIbcU4mHat-MRxuXLmfYi1weVZaB60Hw,1904
367
+ tencentcloud/cloudapp/v20220530/errorcodes.py,sha256=JjzBKhEAD8EAScLPJdVMhb_AEom5CiRFPj26_h1rg4A,652
368
+ tencentcloud/cloudapp/v20220530/models.py,sha256=r2Bjhzsiv3D0bjcwYYPHf0vOxL3gs4bfLV3zwCS1b6k,12787
364
369
  tencentcloud/cloudaudit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
365
370
  tencentcloud/cloudaudit/v20190319/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
366
371
  tencentcloud/cloudaudit/v20190319/cloudaudit_client.py,sha256=BWA2XgkWy3qamfTBi94zwj3a9rCkDq_8dEqf8JnE4u4,18608
@@ -524,7 +529,7 @@ tencentcloud/dsgc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
524
529
  tencentcloud/dsgc/v20190723/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
525
530
  tencentcloud/dsgc/v20190723/dsgc_client.py,sha256=lxXhyGdHoLb9912i2zWUia-Td2uFyGB0zx-T6i3tJkA,145268
526
531
  tencentcloud/dsgc/v20190723/errorcodes.py,sha256=W7QFkAjX9IhwGlNAiayqmsk8hnBnjLS_FPneZ3vlGNE,1944
527
- tencentcloud/dsgc/v20190723/models.py,sha256=fzrll6wQIwRO0UxbZOvYZSCMqOAgxo4NlJk_y2_a_VI,832082
532
+ tencentcloud/dsgc/v20190723/models.py,sha256=7KTSLQC2Rmrd9CIYw8IXmn4y6rWoi3dRBiYfAArS1yA,834252
528
533
  tencentcloud/dtf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
529
534
  tencentcloud/dtf/v20200506/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
530
535
  tencentcloud/dtf/v20200506/dtf_client.py,sha256=YFbElIcR3VijG9N7BZk574AGQ3IUKwI7Jj2rQ7Eua2A,1887
@@ -587,7 +592,7 @@ tencentcloud/ess/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
587
592
  tencentcloud/ess/v20201111/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
588
593
  tencentcloud/ess/v20201111/errorcodes.py,sha256=2n89U4czb0w4J8VyN7uMdYmbK8tGlK8nJHuVZbGrKRg,25736
589
594
  tencentcloud/ess/v20201111/ess_client.py,sha256=fCJ2ecpYtJZ_CUa_7sQSnPugeM7B1jugeIMmV_7nceU,143879
590
- tencentcloud/ess/v20201111/models.py,sha256=4jWumRNrVhzVQv6CJHnE6qg6f_6KD0Y6RI0qTm68KlE,848094
595
+ tencentcloud/ess/v20201111/models.py,sha256=dyLo3UHsdHbGdrREDsbOI2s-Kdbn9zsA7xk45hTLqzc,848118
591
596
  tencentcloud/essbasic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
592
597
  tencentcloud/essbasic/v20201222/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
593
598
  tencentcloud/essbasic/v20201222/errorcodes.py,sha256=cZPs0vLmArRFQoZqxM4alb0WeBF9f0V0IHmt65dUdxs,5392
@@ -595,8 +600,8 @@ tencentcloud/essbasic/v20201222/essbasic_client.py,sha256=kua9joup-BLKbyITYpVovM
595
600
  tencentcloud/essbasic/v20201222/models.py,sha256=Q2E6jmVT1emRziwRN-qj8XpdzpxvqqHTKOEQz8JaM_s,270905
596
601
  tencentcloud/essbasic/v20210526/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
597
602
  tencentcloud/essbasic/v20210526/errorcodes.py,sha256=L1_0J4AOPtBTgtVqauXq0aVisXRe03bOUWFB0QCnXRs,18219
598
- tencentcloud/essbasic/v20210526/essbasic_client.py,sha256=9lesUNAasSlEzBCFaFzW9xhDswzQgcZP7aGCJxEYGsw,140912
599
- tencentcloud/essbasic/v20210526/models.py,sha256=R-EGwzI95zu_D4FG6kd57GVyw_Y0yz43tCE8od9rAXI,760846
603
+ tencentcloud/essbasic/v20210526/essbasic_client.py,sha256=bZ_dxqSZSHMp4GrcGbKe4xYXMe7V8qL7N8IkOWUmUmc,141303
604
+ tencentcloud/essbasic/v20210526/models.py,sha256=0q46QsTpRwhlPUUh8h5Q7oknXyTemtPZbtAV4PNILik,762112
600
605
  tencentcloud/facefusion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
601
606
  tencentcloud/facefusion/v20181201/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
602
607
  tencentcloud/facefusion/v20181201/errorcodes.py,sha256=v269JghsRzIpaQbiHgyqn8wKNfvjYkVM7SjaPBRQYPs,5731
@@ -804,7 +809,7 @@ tencentcloud/lighthouse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
804
809
  tencentcloud/lighthouse/v20200324/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
805
810
  tencentcloud/lighthouse/v20200324/errorcodes.py,sha256=UkY8Pj7Ocoz-Xf5onVVEIm8xui_kvvbA9oJt3-YxacU,32585
806
811
  tencentcloud/lighthouse/v20200324/lighthouse_client.py,sha256=SdILqZZ7dcHglMjokyrzXmt2E2f1QLTofBPP4bNdlF8,124005
807
- tencentcloud/lighthouse/v20200324/models.py,sha256=2v2QawKHoL7M0QpsB56TgiLqbAdCA5j0Ano7Qoh4yRI,487043
812
+ tencentcloud/lighthouse/v20200324/models.py,sha256=k3HUAc9CfBLwo0-X4NT4Th--K_Km6QguVKvZHgLl9-0,487063
808
813
  tencentcloud/live/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
809
814
  tencentcloud/live/v20180801/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
810
815
  tencentcloud/live/v20180801/errorcodes.py,sha256=zUVXfM5AXka1kCY4cQTVHMa5YlWugx3l2A5yXMC9Ifc,20253
@@ -871,13 +876,13 @@ tencentcloud/mongodb/v20180408/models.py,sha256=J-4PKHcnuJueHQ6YfrAHugV3ImK_jrgn
871
876
  tencentcloud/mongodb/v20180408/mongodb_client.py,sha256=LPLvUOeg8pyXAn1k5RdZaqWrnYSQ0aXJ-ioTuE92R3Q,13654
872
877
  tencentcloud/mongodb/v20190725/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
873
878
  tencentcloud/mongodb/v20190725/errorcodes.py,sha256=_0s-KY88c8BenlQZdgCl247JJ-B-y36mKlrxsUEXACc,8128
874
- tencentcloud/mongodb/v20190725/models.py,sha256=KhVqkg6TIScBsRDifig_l7deTYZfpfQitCm9Ymb_8NQ,281244
879
+ tencentcloud/mongodb/v20190725/models.py,sha256=6LhrEVcr5Ru5avuFeO0fW0BAgtSHSUUfgBb2tuaV3Tw,281238
875
880
  tencentcloud/mongodb/v20190725/mongodb_client.py,sha256=GQ2lrg1eSmxXQe7DqgY1IBni0TLtECUzvrLt19VDJlE,43608
876
881
  tencentcloud/monitor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
877
882
  tencentcloud/monitor/v20180724/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
878
883
  tencentcloud/monitor/v20180724/errorcodes.py,sha256=dukIL6njXDrTpTbojusf4bCgdQtN8E69_kYRXrsrpuU,10438
879
- tencentcloud/monitor/v20180724/models.py,sha256=39_8u36k_o66cTG2fnhksENMWMgdSu3cYLQozC4jHN8,951678
880
- tencentcloud/monitor/v20180724/monitor_client.py,sha256=PHTH0tsfY7lrvgf0gJYLuTjx0xoUWLPu11AfOIp6mOw,153764
884
+ tencentcloud/monitor/v20180724/models.py,sha256=f7V8gZYfCzb-zZpRAJ09D6rRDBUe_lTUM5asFaExaDY,949276
885
+ tencentcloud/monitor/v20180724/monitor_client.py,sha256=a7CPYYNV0C04Nkquzs1NlivIpjYYWCQCuD5CuaU-D64,153728
881
886
  tencentcloud/mps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
882
887
  tencentcloud/mps/v20190612/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
883
888
  tencentcloud/mps/v20190612/errorcodes.py,sha256=ic_v81zaCDl2m-mAAZBLTHVqRmoouFQUrcIwKK9OJfk,20901
@@ -1153,7 +1158,7 @@ tencentcloud/tcm/v20210413/tcm_client.py,sha256=0ecZWFyen_EninsaQ7RWXIxRPdi2-ZQ6
1153
1158
  tencentcloud/tcr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1154
1159
  tencentcloud/tcr/v20190924/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1155
1160
  tencentcloud/tcr/v20190924/errorcodes.py,sha256=4HpgpfFUbqXOfQY_q9EsvzjxrnD2iWGGsm-v3dBDLOI,8622
1156
- tencentcloud/tcr/v20190924/models.py,sha256=7UrL2ykz7F0sV6pguZY9DRif9ylB35SV4MMHsvT8jnQ,446213
1161
+ tencentcloud/tcr/v20190924/models.py,sha256=msULt5JthFwH4mRd80LP4pNRfvzbHzdOzqyqTR8LNRQ,446213
1157
1162
  tencentcloud/tcr/v20190924/tcr_client.py,sha256=_WQf4BifqAitXjb5Kyg_R1g7CExuhSzlkLPE-tyV8L8,102872
1158
1163
  tencentcloud/tcss/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1159
1164
  tencentcloud/tcss/v20201101/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -1449,8 +1454,8 @@ tencentcloud/yunsou/v20191115/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
1449
1454
  tencentcloud/yunsou/v20191115/errorcodes.py,sha256=zB4-XPxmvEhgHoLsKlbayJVRLEagPDcs-UAheVZCoAc,1301
1450
1455
  tencentcloud/yunsou/v20191115/models.py,sha256=sNTR9ixO8CV9yKQahrhOsEJlxOK5d7aXBoIBIPxfJsQ,23137
1451
1456
  tencentcloud/yunsou/v20191115/yunsou_client.py,sha256=ly73Hr8rGamWa6AAvQjurKgd4L83PRY5WjcDv4ziQC8,2741
1452
- tencentcloud_sdk_python-3.0.1191.dist-info/LICENSE,sha256=AJyIQ6mPzTpsFn6i0cG6OPVdhJ85l_mfdoOR7J4DnRw,11351
1453
- tencentcloud_sdk_python-3.0.1191.dist-info/METADATA,sha256=x-ukEh6zpkvdxFCzW-g5TahuG_h6fupArwG7WXen36o,1511
1454
- tencentcloud_sdk_python-3.0.1191.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
1455
- tencentcloud_sdk_python-3.0.1191.dist-info/top_level.txt,sha256=7kItXWSGlPDkhHTt2qPSt8zrlsPHLfRofR1QJo6eV_A,23
1456
- tencentcloud_sdk_python-3.0.1191.dist-info/RECORD,,
1457
+ tencentcloud_sdk_python-3.0.1192.dist-info/LICENSE,sha256=AJyIQ6mPzTpsFn6i0cG6OPVdhJ85l_mfdoOR7J4DnRw,11351
1458
+ tencentcloud_sdk_python-3.0.1192.dist-info/METADATA,sha256=hv7ktHeiB3K1x3TJ_2Aalfka5uOAHBr-uqJYxjdJ_Ss,1511
1459
+ tencentcloud_sdk_python-3.0.1192.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
1460
+ tencentcloud_sdk_python-3.0.1192.dist-info/top_level.txt,sha256=7kItXWSGlPDkhHTt2qPSt8zrlsPHLfRofR1QJo6eV_A,23
1461
+ tencentcloud_sdk_python-3.0.1192.dist-info/RECORD,,