tencentcloud-sdk-python 3.0.1392__py2.py3-none-any.whl → 3.0.1394__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/cdb/v20170320/models.py +4 -0
- tencentcloud/cdc/v20201214/models.py +20 -0
- tencentcloud/cfs/v20190719/cfs_client.py +2 -6
- tencentcloud/cfs/v20190719/models.py +12 -14
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/models.py +186 -0
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/models.py +16 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +85 -0
- tencentcloud/domain/v20180808/models.py +2 -2
- tencentcloud/emr/v20190103/errorcodes.py +9 -0
- tencentcloud/emr/v20190103/models.py +45 -0
- tencentcloud/es/v20250101/es_client.py +0 -23
- tencentcloud/es/v20250101/models.py +1 -352
- tencentcloud/ess/v20201111/models.py +20 -10
- tencentcloud/essbasic/v20210526/models.py +4 -4
- tencentcloud/gs/v20191118/gs_client.py +122 -7
- tencentcloud/gs/v20191118/models.py +748 -6
- tencentcloud/hai/v20230812/models.py +8 -14
- tencentcloud/lke/v20231130/errorcodes.py +0 -6
- tencentcloud/lke/v20231130/lke_client.py +0 -26
- tencentcloud/lke/v20231130/models.py +0 -229
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -5
- tencentcloud/lowcode/v20210108/models.py +90 -0
- tencentcloud/monitor/v20180724/models.py +364 -2
- tencentcloud/monitor/v20180724/monitor_client.py +69 -0
- tencentcloud/mrs/v20200910/models.py +8 -0
- tencentcloud/mrs/v20200910/mrs_client.py +2 -0
- tencentcloud/oceanus/v20190422/models.py +17 -0
- tencentcloud/oceanus/v20190422/oceanus_client.py +1 -1
- tencentcloud/postgres/v20170312/models.py +0 -405
- tencentcloud/postgres/v20170312/postgres_client.py +0 -25
- tencentcloud/privatedns/v20201028/models.py +297 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +23 -0
- tencentcloud/pts/v20210728/models.py +30 -0
- tencentcloud/redis/v20180412/models.py +8 -8
- tencentcloud/tcss/v20201101/models.py +240 -0
- tencentcloud/tms/v20201229/models.py +4 -4
- tencentcloud/vm/v20210922/models.py +4 -16
- tencentcloud/vpc/v20170312/models.py +12 -6
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/RECORD +47 -47
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/top_level.txt +0 -0
@@ -2534,6 +2534,102 @@ class DescribeQuotaUsageResponse(AbstractModel):
|
|
2534
2534
|
self._RequestId = params.get("RequestId")
|
2535
2535
|
|
2536
2536
|
|
2537
|
+
class DescribeRecordRequest(AbstractModel):
|
2538
|
+
"""DescribeRecord请求参数结构体
|
2539
|
+
|
2540
|
+
"""
|
2541
|
+
|
2542
|
+
def __init__(self):
|
2543
|
+
r"""
|
2544
|
+
:param _ZoneId: 私有域ID
|
2545
|
+
:type ZoneId: str
|
2546
|
+
:param _RecordId: 记录ID
|
2547
|
+
:type RecordId: str
|
2548
|
+
"""
|
2549
|
+
self._ZoneId = None
|
2550
|
+
self._RecordId = None
|
2551
|
+
|
2552
|
+
@property
|
2553
|
+
def ZoneId(self):
|
2554
|
+
"""私有域ID
|
2555
|
+
:rtype: str
|
2556
|
+
"""
|
2557
|
+
return self._ZoneId
|
2558
|
+
|
2559
|
+
@ZoneId.setter
|
2560
|
+
def ZoneId(self, ZoneId):
|
2561
|
+
self._ZoneId = ZoneId
|
2562
|
+
|
2563
|
+
@property
|
2564
|
+
def RecordId(self):
|
2565
|
+
"""记录ID
|
2566
|
+
:rtype: str
|
2567
|
+
"""
|
2568
|
+
return self._RecordId
|
2569
|
+
|
2570
|
+
@RecordId.setter
|
2571
|
+
def RecordId(self, RecordId):
|
2572
|
+
self._RecordId = RecordId
|
2573
|
+
|
2574
|
+
|
2575
|
+
def _deserialize(self, params):
|
2576
|
+
self._ZoneId = params.get("ZoneId")
|
2577
|
+
self._RecordId = params.get("RecordId")
|
2578
|
+
memeber_set = set(params.keys())
|
2579
|
+
for name, value in vars(self).items():
|
2580
|
+
property_name = name[1:]
|
2581
|
+
if property_name in memeber_set:
|
2582
|
+
memeber_set.remove(property_name)
|
2583
|
+
if len(memeber_set) > 0:
|
2584
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2585
|
+
|
2586
|
+
|
2587
|
+
|
2588
|
+
class DescribeRecordResponse(AbstractModel):
|
2589
|
+
"""DescribeRecord返回参数结构体
|
2590
|
+
|
2591
|
+
"""
|
2592
|
+
|
2593
|
+
def __init__(self):
|
2594
|
+
r"""
|
2595
|
+
:param _RecordInfo: 记录信息
|
2596
|
+
:type RecordInfo: :class:`tencentcloud.privatedns.v20201028.models.RecordInfo`
|
2597
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2598
|
+
:type RequestId: str
|
2599
|
+
"""
|
2600
|
+
self._RecordInfo = None
|
2601
|
+
self._RequestId = None
|
2602
|
+
|
2603
|
+
@property
|
2604
|
+
def RecordInfo(self):
|
2605
|
+
"""记录信息
|
2606
|
+
:rtype: :class:`tencentcloud.privatedns.v20201028.models.RecordInfo`
|
2607
|
+
"""
|
2608
|
+
return self._RecordInfo
|
2609
|
+
|
2610
|
+
@RecordInfo.setter
|
2611
|
+
def RecordInfo(self, RecordInfo):
|
2612
|
+
self._RecordInfo = RecordInfo
|
2613
|
+
|
2614
|
+
@property
|
2615
|
+
def RequestId(self):
|
2616
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2617
|
+
:rtype: str
|
2618
|
+
"""
|
2619
|
+
return self._RequestId
|
2620
|
+
|
2621
|
+
@RequestId.setter
|
2622
|
+
def RequestId(self, RequestId):
|
2623
|
+
self._RequestId = RequestId
|
2624
|
+
|
2625
|
+
|
2626
|
+
def _deserialize(self, params):
|
2627
|
+
if params.get("RecordInfo") is not None:
|
2628
|
+
self._RecordInfo = RecordInfo()
|
2629
|
+
self._RecordInfo._deserialize(params.get("RecordInfo"))
|
2630
|
+
self._RequestId = params.get("RequestId")
|
2631
|
+
|
2632
|
+
|
2537
2633
|
class DescribeRequestDataRequest(AbstractModel):
|
2538
2634
|
"""DescribeRequestData请求参数结构体
|
2539
2635
|
|
@@ -4221,6 +4317,207 @@ failed 执行失败
|
|
4221
4317
|
self._RequestId = params.get("RequestId")
|
4222
4318
|
|
4223
4319
|
|
4320
|
+
class RecordInfo(AbstractModel):
|
4321
|
+
"""私有域信息
|
4322
|
+
|
4323
|
+
"""
|
4324
|
+
|
4325
|
+
def __init__(self):
|
4326
|
+
r"""
|
4327
|
+
:param _RecordId: 记录id
|
4328
|
+
:type RecordId: str
|
4329
|
+
:param _ZoneId: 私有域id: zone-xxxxxxxx
|
4330
|
+
:type ZoneId: str
|
4331
|
+
:param _SubDomain: 子域名
|
4332
|
+
:type SubDomain: str
|
4333
|
+
:param _RecordType: 记录类型,可选的记录类型为:"A", "AAAA", "CNAME", "MX", "TXT", "PTR"
|
4334
|
+
:type RecordType: str
|
4335
|
+
:param _RecordValue: 记录值
|
4336
|
+
:type RecordValue: str
|
4337
|
+
:param _TTL: 记录缓存时间,数值越小生效越快,取值1-86400s, 默认 600
|
4338
|
+
:type TTL: int
|
4339
|
+
:param _MX: MX优先级:记录类型为MX时必填。取值范围:5,10,15,20,30,40,50
|
4340
|
+
:type MX: int
|
4341
|
+
:param _Weight: 记录权重,值为1-100
|
4342
|
+
:type Weight: int
|
4343
|
+
:param _CreatedOn: 记录创建时间
|
4344
|
+
:type CreatedOn: str
|
4345
|
+
:param _UpdatedOn: 记录更新时间
|
4346
|
+
:type UpdatedOn: str
|
4347
|
+
:param _Enabled: 0暂停,1启用
|
4348
|
+
:type Enabled: int
|
4349
|
+
:param _Remark: 备注
|
4350
|
+
:type Remark: str
|
4351
|
+
"""
|
4352
|
+
self._RecordId = None
|
4353
|
+
self._ZoneId = None
|
4354
|
+
self._SubDomain = None
|
4355
|
+
self._RecordType = None
|
4356
|
+
self._RecordValue = None
|
4357
|
+
self._TTL = None
|
4358
|
+
self._MX = None
|
4359
|
+
self._Weight = None
|
4360
|
+
self._CreatedOn = None
|
4361
|
+
self._UpdatedOn = None
|
4362
|
+
self._Enabled = None
|
4363
|
+
self._Remark = None
|
4364
|
+
|
4365
|
+
@property
|
4366
|
+
def RecordId(self):
|
4367
|
+
"""记录id
|
4368
|
+
:rtype: str
|
4369
|
+
"""
|
4370
|
+
return self._RecordId
|
4371
|
+
|
4372
|
+
@RecordId.setter
|
4373
|
+
def RecordId(self, RecordId):
|
4374
|
+
self._RecordId = RecordId
|
4375
|
+
|
4376
|
+
@property
|
4377
|
+
def ZoneId(self):
|
4378
|
+
"""私有域id: zone-xxxxxxxx
|
4379
|
+
:rtype: str
|
4380
|
+
"""
|
4381
|
+
return self._ZoneId
|
4382
|
+
|
4383
|
+
@ZoneId.setter
|
4384
|
+
def ZoneId(self, ZoneId):
|
4385
|
+
self._ZoneId = ZoneId
|
4386
|
+
|
4387
|
+
@property
|
4388
|
+
def SubDomain(self):
|
4389
|
+
"""子域名
|
4390
|
+
:rtype: str
|
4391
|
+
"""
|
4392
|
+
return self._SubDomain
|
4393
|
+
|
4394
|
+
@SubDomain.setter
|
4395
|
+
def SubDomain(self, SubDomain):
|
4396
|
+
self._SubDomain = SubDomain
|
4397
|
+
|
4398
|
+
@property
|
4399
|
+
def RecordType(self):
|
4400
|
+
"""记录类型,可选的记录类型为:"A", "AAAA", "CNAME", "MX", "TXT", "PTR"
|
4401
|
+
:rtype: str
|
4402
|
+
"""
|
4403
|
+
return self._RecordType
|
4404
|
+
|
4405
|
+
@RecordType.setter
|
4406
|
+
def RecordType(self, RecordType):
|
4407
|
+
self._RecordType = RecordType
|
4408
|
+
|
4409
|
+
@property
|
4410
|
+
def RecordValue(self):
|
4411
|
+
"""记录值
|
4412
|
+
:rtype: str
|
4413
|
+
"""
|
4414
|
+
return self._RecordValue
|
4415
|
+
|
4416
|
+
@RecordValue.setter
|
4417
|
+
def RecordValue(self, RecordValue):
|
4418
|
+
self._RecordValue = RecordValue
|
4419
|
+
|
4420
|
+
@property
|
4421
|
+
def TTL(self):
|
4422
|
+
"""记录缓存时间,数值越小生效越快,取值1-86400s, 默认 600
|
4423
|
+
:rtype: int
|
4424
|
+
"""
|
4425
|
+
return self._TTL
|
4426
|
+
|
4427
|
+
@TTL.setter
|
4428
|
+
def TTL(self, TTL):
|
4429
|
+
self._TTL = TTL
|
4430
|
+
|
4431
|
+
@property
|
4432
|
+
def MX(self):
|
4433
|
+
"""MX优先级:记录类型为MX时必填。取值范围:5,10,15,20,30,40,50
|
4434
|
+
:rtype: int
|
4435
|
+
"""
|
4436
|
+
return self._MX
|
4437
|
+
|
4438
|
+
@MX.setter
|
4439
|
+
def MX(self, MX):
|
4440
|
+
self._MX = MX
|
4441
|
+
|
4442
|
+
@property
|
4443
|
+
def Weight(self):
|
4444
|
+
"""记录权重,值为1-100
|
4445
|
+
:rtype: int
|
4446
|
+
"""
|
4447
|
+
return self._Weight
|
4448
|
+
|
4449
|
+
@Weight.setter
|
4450
|
+
def Weight(self, Weight):
|
4451
|
+
self._Weight = Weight
|
4452
|
+
|
4453
|
+
@property
|
4454
|
+
def CreatedOn(self):
|
4455
|
+
"""记录创建时间
|
4456
|
+
:rtype: str
|
4457
|
+
"""
|
4458
|
+
return self._CreatedOn
|
4459
|
+
|
4460
|
+
@CreatedOn.setter
|
4461
|
+
def CreatedOn(self, CreatedOn):
|
4462
|
+
self._CreatedOn = CreatedOn
|
4463
|
+
|
4464
|
+
@property
|
4465
|
+
def UpdatedOn(self):
|
4466
|
+
"""记录更新时间
|
4467
|
+
:rtype: str
|
4468
|
+
"""
|
4469
|
+
return self._UpdatedOn
|
4470
|
+
|
4471
|
+
@UpdatedOn.setter
|
4472
|
+
def UpdatedOn(self, UpdatedOn):
|
4473
|
+
self._UpdatedOn = UpdatedOn
|
4474
|
+
|
4475
|
+
@property
|
4476
|
+
def Enabled(self):
|
4477
|
+
"""0暂停,1启用
|
4478
|
+
:rtype: int
|
4479
|
+
"""
|
4480
|
+
return self._Enabled
|
4481
|
+
|
4482
|
+
@Enabled.setter
|
4483
|
+
def Enabled(self, Enabled):
|
4484
|
+
self._Enabled = Enabled
|
4485
|
+
|
4486
|
+
@property
|
4487
|
+
def Remark(self):
|
4488
|
+
"""备注
|
4489
|
+
:rtype: str
|
4490
|
+
"""
|
4491
|
+
return self._Remark
|
4492
|
+
|
4493
|
+
@Remark.setter
|
4494
|
+
def Remark(self, Remark):
|
4495
|
+
self._Remark = Remark
|
4496
|
+
|
4497
|
+
|
4498
|
+
def _deserialize(self, params):
|
4499
|
+
self._RecordId = params.get("RecordId")
|
4500
|
+
self._ZoneId = params.get("ZoneId")
|
4501
|
+
self._SubDomain = params.get("SubDomain")
|
4502
|
+
self._RecordType = params.get("RecordType")
|
4503
|
+
self._RecordValue = params.get("RecordValue")
|
4504
|
+
self._TTL = params.get("TTL")
|
4505
|
+
self._MX = params.get("MX")
|
4506
|
+
self._Weight = params.get("Weight")
|
4507
|
+
self._CreatedOn = params.get("CreatedOn")
|
4508
|
+
self._UpdatedOn = params.get("UpdatedOn")
|
4509
|
+
self._Enabled = params.get("Enabled")
|
4510
|
+
self._Remark = params.get("Remark")
|
4511
|
+
memeber_set = set(params.keys())
|
4512
|
+
for name, value in vars(self).items():
|
4513
|
+
property_name = name[1:]
|
4514
|
+
if property_name in memeber_set:
|
4515
|
+
memeber_set.remove(property_name)
|
4516
|
+
if len(memeber_set) > 0:
|
4517
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4518
|
+
|
4519
|
+
|
4520
|
+
|
4224
4521
|
class SubscribePrivateZoneServiceRequest(AbstractModel):
|
4225
4522
|
"""SubscribePrivateZoneService请求参数结构体
|
4226
4523
|
|
@@ -417,6 +417,29 @@ class PrivatednsClient(AbstractClient):
|
|
417
417
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
418
418
|
|
419
419
|
|
420
|
+
def DescribeRecord(self, request):
|
421
|
+
"""获取私有域记录
|
422
|
+
|
423
|
+
:param request: Request instance for DescribeRecord.
|
424
|
+
:type request: :class:`tencentcloud.privatedns.v20201028.models.DescribeRecordRequest`
|
425
|
+
:rtype: :class:`tencentcloud.privatedns.v20201028.models.DescribeRecordResponse`
|
426
|
+
|
427
|
+
"""
|
428
|
+
try:
|
429
|
+
params = request._serialize()
|
430
|
+
headers = request.headers
|
431
|
+
body = self.call("DescribeRecord", params, headers=headers)
|
432
|
+
response = json.loads(body)
|
433
|
+
model = models.DescribeRecordResponse()
|
434
|
+
model._deserialize(response["Response"])
|
435
|
+
return model
|
436
|
+
except Exception as e:
|
437
|
+
if isinstance(e, TencentCloudSDKException):
|
438
|
+
raise
|
439
|
+
else:
|
440
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
441
|
+
|
442
|
+
|
420
443
|
def DescribeRequestData(self, request):
|
421
444
|
"""获取私有域解析请求量
|
422
445
|
|
@@ -217,9 +217,15 @@ class AdjustJobSpeedRequest(AbstractModel):
|
|
217
217
|
:type JobId: str
|
218
218
|
:param _TargetRequestsPerSecond: 目标 RPS。其取值应大于起始 RPS,并且小于最大 RPS
|
219
219
|
:type TargetRequestsPerSecond: int
|
220
|
+
:param _ProjectId: 压测项目ID
|
221
|
+
:type ProjectId: str
|
222
|
+
:param _ScenarioId: 测试场景ID
|
223
|
+
:type ScenarioId: str
|
220
224
|
"""
|
221
225
|
self._JobId = None
|
222
226
|
self._TargetRequestsPerSecond = None
|
227
|
+
self._ProjectId = None
|
228
|
+
self._ScenarioId = None
|
223
229
|
|
224
230
|
@property
|
225
231
|
def JobId(self):
|
@@ -243,10 +249,34 @@ class AdjustJobSpeedRequest(AbstractModel):
|
|
243
249
|
def TargetRequestsPerSecond(self, TargetRequestsPerSecond):
|
244
250
|
self._TargetRequestsPerSecond = TargetRequestsPerSecond
|
245
251
|
|
252
|
+
@property
|
253
|
+
def ProjectId(self):
|
254
|
+
"""压测项目ID
|
255
|
+
:rtype: str
|
256
|
+
"""
|
257
|
+
return self._ProjectId
|
258
|
+
|
259
|
+
@ProjectId.setter
|
260
|
+
def ProjectId(self, ProjectId):
|
261
|
+
self._ProjectId = ProjectId
|
262
|
+
|
263
|
+
@property
|
264
|
+
def ScenarioId(self):
|
265
|
+
"""测试场景ID
|
266
|
+
:rtype: str
|
267
|
+
"""
|
268
|
+
return self._ScenarioId
|
269
|
+
|
270
|
+
@ScenarioId.setter
|
271
|
+
def ScenarioId(self, ScenarioId):
|
272
|
+
self._ScenarioId = ScenarioId
|
273
|
+
|
246
274
|
|
247
275
|
def _deserialize(self, params):
|
248
276
|
self._JobId = params.get("JobId")
|
249
277
|
self._TargetRequestsPerSecond = params.get("TargetRequestsPerSecond")
|
278
|
+
self._ProjectId = params.get("ProjectId")
|
279
|
+
self._ScenarioId = params.get("ScenarioId")
|
250
280
|
memeber_set = set(params.keys())
|
251
281
|
for name, value in vars(self).items():
|
252
282
|
property_name = name[1:]
|
@@ -2444,10 +2444,10 @@ class CreateInstancesRequest(AbstractModel):
|
|
2444
2444
|
- false :默认值。发送正常请求,通过检查后直接创建实例。
|
2445
2445
|
- true:发送检查请求,不会创建实例。
|
2446
2446
|
:type DryRun: bool
|
2447
|
-
:param _ProductVersion:
|
2448
|
-
- local
|
2449
|
-
-
|
2450
|
-
-
|
2447
|
+
:param _ProductVersion: 指实例部署模式。
|
2448
|
+
- local:传统架构,默认为 local。
|
2449
|
+
- cdc:独享集群。
|
2450
|
+
- cloud:云原生,当前已暂停售卖。
|
2451
2451
|
:type ProductVersion: str
|
2452
2452
|
:param _RedisClusterId: 独享集群 ID。当**ProductVersion**设置为**cdc**时,该参数必须设置。
|
2453
2453
|
:type RedisClusterId: str
|
@@ -2768,10 +2768,10 @@ class CreateInstancesRequest(AbstractModel):
|
|
2768
2768
|
|
2769
2769
|
@property
|
2770
2770
|
def ProductVersion(self):
|
2771
|
-
"""
|
2772
|
-
- local
|
2773
|
-
-
|
2774
|
-
-
|
2771
|
+
"""指实例部署模式。
|
2772
|
+
- local:传统架构,默认为 local。
|
2773
|
+
- cdc:独享集群。
|
2774
|
+
- cloud:云原生,当前已暂停售卖。
|
2775
2775
|
:rtype: str
|
2776
2776
|
"""
|
2777
2777
|
return self._ProductVersion
|