tencentcloud-sdk-python 3.0.1257__py2.py3-none-any.whl → 3.0.1259__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/apm/v20210622/models.py +26 -0
- tencentcloud/asr/v20190614/models.py +3 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
- tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +18 -2
- tencentcloud/bi/v20220105/models.py +44 -4
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/errorcodes.py +6 -0
- tencentcloud/billing/v20180709/models.py +424 -0
- tencentcloud/bsca/v20210811/models.py +306 -1
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +237 -136
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +13 -1
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwdoris/v20211228/models.py +16 -2
- tencentcloud/cfw/v20190904/cfw_client.py +7 -33
- tencentcloud/cfw/v20190904/models.py +711 -1329
- tencentcloud/ciam/v20220331/models.py +13 -0
- tencentcloud/ckafka/v20190819/models.py +4 -4
- tencentcloud/clb/v20180317/models.py +2 -4
- tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
- tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
- tencentcloud/cloudaudit/v20190319/models.py +328 -254
- tencentcloud/cls/v20201016/cls_client.py +8 -1
- tencentcloud/cls/v20201016/models.py +551 -109
- tencentcloud/csip/v20221121/models.py +226 -136
- tencentcloud/cvm/v20170312/errorcodes.py +6 -0
- tencentcloud/cvm/v20170312/models.py +78 -0
- tencentcloud/cwp/v20180228/cwp_client.py +6 -2
- tencentcloud/cwp/v20180228/models.py +240 -114
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
- tencentcloud/cynosdb/v20190107/models.py +78 -0
- tencentcloud/dasb/v20191018/models.py +155 -0
- tencentcloud/domain/v20180808/errorcodes.py +45 -0
- tencentcloud/eb/v20210416/models.py +19 -19
- tencentcloud/es/v20180416/errorcodes.py +4 -1
- tencentcloud/es/v20180416/es_client.py +92 -0
- tencentcloud/es/v20180416/models.py +770 -12
- tencentcloud/ess/v20201111/ess_client.py +87 -8
- tencentcloud/ess/v20201111/models.py +239 -11
- tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
- tencentcloud/essbasic/v20210526/models.py +365 -19
- tencentcloud/gaap/v20180529/models.py +40 -3
- tencentcloud/hunyuan/v20230901/models.py +12 -0
- tencentcloud/ioa/v20220601/errorcodes.py +15 -0
- tencentcloud/ioa/v20220601/ioa_client.py +26 -2
- tencentcloud/ioa/v20220601/models.py +516 -46
- tencentcloud/iotexplorer/v20190423/models.py +52 -0
- tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
- tencentcloud/iotvideo/v20191126/models.py +379 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
- tencentcloud/live/v20180801/models.py +51 -0
- tencentcloud/mongodb/v20190725/models.py +3 -7
- tencentcloud/mqtt/v20240516/models.py +2 -2
- tencentcloud/mrs/v20200910/models.py +22 -0
- tencentcloud/ms/v20180408/models.py +101 -62
- tencentcloud/ocr/v20181119/models.py +7 -16
- tencentcloud/ocr/v20181119/ocr_client.py +1 -0
- tencentcloud/organization/v20210331/errorcodes.py +30 -0
- tencentcloud/organization/v20210331/models.py +674 -0
- tencentcloud/organization/v20210331/organization_client.py +138 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
- tencentcloud/privatedns/v20201028/models.py +858 -4
- tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
- tencentcloud/redis/v20180412/models.py +14 -14
- tencentcloud/redis/v20180412/redis_client.py +2 -0
- tencentcloud/region/v20220627/models.py +0 -1
- tencentcloud/scf/v20180416/models.py +889 -8
- tencentcloud/scf/v20180416/scf_client.py +115 -0
- tencentcloud/smop/v20201203/models.py +17 -17
- tencentcloud/ssl/v20191205/models.py +1 -1
- tencentcloud/ssm/v20190923/models.py +84 -0
- tencentcloud/tat/v20201028/models.py +1 -29
- tencentcloud/tcss/v20201101/models.py +472 -46
- tencentcloud/tcss/v20201101/tcss_client.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +7 -7
- tencentcloud/tem/v20210701/models.py +202 -198
- tencentcloud/teo/v20220901/errorcodes.py +30 -0
- tencentcloud/teo/v20220901/models.py +1466 -93
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/tke/v20180525/models.py +70 -0
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tms/v20201229/models.py +0 -558
- tencentcloud/tms/v20201229/tms_client.py +0 -23
- tencentcloud/trp/v20210515/models.py +6 -6
- tencentcloud/trtc/v20190722/models.py +353 -4
- tencentcloud/tse/v20201207/models.py +94 -0
- tencentcloud/tse/v20201207/tse_client.py +23 -0
- tencentcloud/vclm/v20240523/models.py +166 -0
- tencentcloud/vpc/v20170312/models.py +134 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/waf/v20180125/models.py +239 -531
- tencentcloud/waf/v20180125/waf_client.py +23 -25
- tencentcloud/wedata/v20210820/models.py +991 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/RECORD +103 -108
- tencentcloud/cr/__init__.py +0 -0
- tencentcloud/cr/v20180321/__init__.py +0 -0
- tencentcloud/cr/v20180321/cr_client.py +0 -672
- tencentcloud/cr/v20180321/errorcodes.py +0 -114
- tencentcloud/cr/v20180321/models.py +0 -4966
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/top_level.txt +0 -0
@@ -374,6 +374,29 @@ class TeoClient(AbstractClient):
|
|
374
374
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
375
375
|
|
376
376
|
|
377
|
+
def CreateLoadBalancer(self, request):
|
378
|
+
"""创建负载均衡实例。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223)。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
|
379
|
+
|
380
|
+
:param request: Request instance for CreateLoadBalancer.
|
381
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.CreateLoadBalancerRequest`
|
382
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.CreateLoadBalancerResponse`
|
383
|
+
|
384
|
+
"""
|
385
|
+
try:
|
386
|
+
params = request._serialize()
|
387
|
+
headers = request.headers
|
388
|
+
body = self.call("CreateLoadBalancer", params, headers=headers)
|
389
|
+
response = json.loads(body)
|
390
|
+
model = models.CreateLoadBalancerResponse()
|
391
|
+
model._deserialize(response["Response"])
|
392
|
+
return model
|
393
|
+
except Exception as e:
|
394
|
+
if isinstance(e, TencentCloudSDKException):
|
395
|
+
raise
|
396
|
+
else:
|
397
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
398
|
+
|
399
|
+
|
377
400
|
def CreateOriginGroup(self, request):
|
378
401
|
"""创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
|
379
402
|
|
@@ -818,6 +841,29 @@ class TeoClient(AbstractClient):
|
|
818
841
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
819
842
|
|
820
843
|
|
844
|
+
def DeleteLoadBalancer(self, request):
|
845
|
+
"""删除负载均衡实例,若负载均衡示例被其他服务(例如:四层代理等)引用的时候,示例无法被删除,需要先解除引用关系。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
|
846
|
+
|
847
|
+
:param request: Request instance for DeleteLoadBalancer.
|
848
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteLoadBalancerRequest`
|
849
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DeleteLoadBalancerResponse`
|
850
|
+
|
851
|
+
"""
|
852
|
+
try:
|
853
|
+
params = request._serialize()
|
854
|
+
headers = request.headers
|
855
|
+
body = self.call("DeleteLoadBalancer", params, headers=headers)
|
856
|
+
response = json.loads(body)
|
857
|
+
model = models.DeleteLoadBalancerResponse()
|
858
|
+
model._deserialize(response["Response"])
|
859
|
+
return model
|
860
|
+
except Exception as e:
|
861
|
+
if isinstance(e, TencentCloudSDKException):
|
862
|
+
raise
|
863
|
+
else:
|
864
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
865
|
+
|
866
|
+
|
821
867
|
def DeleteOriginGroup(self, request):
|
822
868
|
"""删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
|
823
869
|
|
@@ -1508,6 +1554,29 @@ class TeoClient(AbstractClient):
|
|
1508
1554
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1509
1555
|
|
1510
1556
|
|
1557
|
+
def DescribeLoadBalancerList(self, request):
|
1558
|
+
"""查询负载均衡实例列表。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
|
1559
|
+
|
1560
|
+
:param request: Request instance for DescribeLoadBalancerList.
|
1561
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeLoadBalancerListRequest`
|
1562
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeLoadBalancerListResponse`
|
1563
|
+
|
1564
|
+
"""
|
1565
|
+
try:
|
1566
|
+
params = request._serialize()
|
1567
|
+
headers = request.headers
|
1568
|
+
body = self.call("DescribeLoadBalancerList", params, headers=headers)
|
1569
|
+
response = json.loads(body)
|
1570
|
+
model = models.DescribeLoadBalancerListResponse()
|
1571
|
+
model._deserialize(response["Response"])
|
1572
|
+
return model
|
1573
|
+
except Exception as e:
|
1574
|
+
if isinstance(e, TencentCloudSDKException):
|
1575
|
+
raise
|
1576
|
+
else:
|
1577
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1578
|
+
|
1579
|
+
|
1511
1580
|
def DescribeOriginGroup(self, request):
|
1512
1581
|
"""获取源站组列表
|
1513
1582
|
|
@@ -1531,6 +1600,29 @@ class TeoClient(AbstractClient):
|
|
1531
1600
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1532
1601
|
|
1533
1602
|
|
1603
|
+
def DescribeOriginGroupHealthStatus(self, request):
|
1604
|
+
"""查询负载均衡实例下源站组健康状态。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
|
1605
|
+
|
1606
|
+
:param request: Request instance for DescribeOriginGroupHealthStatus.
|
1607
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeOriginGroupHealthStatusRequest`
|
1608
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeOriginGroupHealthStatusResponse`
|
1609
|
+
|
1610
|
+
"""
|
1611
|
+
try:
|
1612
|
+
params = request._serialize()
|
1613
|
+
headers = request.headers
|
1614
|
+
body = self.call("DescribeOriginGroupHealthStatus", params, headers=headers)
|
1615
|
+
response = json.loads(body)
|
1616
|
+
model = models.DescribeOriginGroupHealthStatusResponse()
|
1617
|
+
model._deserialize(response["Response"])
|
1618
|
+
return model
|
1619
|
+
except Exception as e:
|
1620
|
+
if isinstance(e, TencentCloudSDKException):
|
1621
|
+
raise
|
1622
|
+
else:
|
1623
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1624
|
+
|
1625
|
+
|
1534
1626
|
def DescribeOriginProtection(self, request):
|
1535
1627
|
"""查询源站防护信息
|
1536
1628
|
|
@@ -2468,6 +2560,29 @@ class TeoClient(AbstractClient):
|
|
2468
2560
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2469
2561
|
|
2470
2562
|
|
2563
|
+
def ModifyLoadBalancer(self, request):
|
2564
|
+
"""修改负载均衡实例配置。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
|
2565
|
+
|
2566
|
+
:param request: Request instance for ModifyLoadBalancer.
|
2567
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyLoadBalancerRequest`
|
2568
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyLoadBalancerResponse`
|
2569
|
+
|
2570
|
+
"""
|
2571
|
+
try:
|
2572
|
+
params = request._serialize()
|
2573
|
+
headers = request.headers
|
2574
|
+
body = self.call("ModifyLoadBalancer", params, headers=headers)
|
2575
|
+
response = json.loads(body)
|
2576
|
+
model = models.ModifyLoadBalancerResponse()
|
2577
|
+
model._deserialize(response["Response"])
|
2578
|
+
return model
|
2579
|
+
except Exception as e:
|
2580
|
+
if isinstance(e, TencentCloudSDKException):
|
2581
|
+
raise
|
2582
|
+
else:
|
2583
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2584
|
+
|
2585
|
+
|
2471
2586
|
def ModifyOriginGroup(self, request):
|
2472
2587
|
"""修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
|
2473
2588
|
|
@@ -28824,6 +28824,76 @@ class ModifyClusterEndpointSPResponse(AbstractModel):
|
|
28824
28824
|
self._RequestId = params.get("RequestId")
|
28825
28825
|
|
28826
28826
|
|
28827
|
+
class ModifyClusterImageRequest(AbstractModel):
|
28828
|
+
"""ModifyClusterImage请求参数结构体
|
28829
|
+
|
28830
|
+
"""
|
28831
|
+
|
28832
|
+
def __init__(self):
|
28833
|
+
r"""
|
28834
|
+
:param _ClusterId: 集群ID
|
28835
|
+
:type ClusterId: str
|
28836
|
+
:param _ImageId: 指定有效的镜像ID,格式形如img-xxxx。可通过登录控制台查询,也可调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715),取返回信息中的ImageId字段。
|
28837
|
+
:type ImageId: str
|
28838
|
+
"""
|
28839
|
+
self._ClusterId = None
|
28840
|
+
self._ImageId = None
|
28841
|
+
|
28842
|
+
@property
|
28843
|
+
def ClusterId(self):
|
28844
|
+
return self._ClusterId
|
28845
|
+
|
28846
|
+
@ClusterId.setter
|
28847
|
+
def ClusterId(self, ClusterId):
|
28848
|
+
self._ClusterId = ClusterId
|
28849
|
+
|
28850
|
+
@property
|
28851
|
+
def ImageId(self):
|
28852
|
+
return self._ImageId
|
28853
|
+
|
28854
|
+
@ImageId.setter
|
28855
|
+
def ImageId(self, ImageId):
|
28856
|
+
self._ImageId = ImageId
|
28857
|
+
|
28858
|
+
|
28859
|
+
def _deserialize(self, params):
|
28860
|
+
self._ClusterId = params.get("ClusterId")
|
28861
|
+
self._ImageId = params.get("ImageId")
|
28862
|
+
memeber_set = set(params.keys())
|
28863
|
+
for name, value in vars(self).items():
|
28864
|
+
property_name = name[1:]
|
28865
|
+
if property_name in memeber_set:
|
28866
|
+
memeber_set.remove(property_name)
|
28867
|
+
if len(memeber_set) > 0:
|
28868
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
28869
|
+
|
28870
|
+
|
28871
|
+
|
28872
|
+
class ModifyClusterImageResponse(AbstractModel):
|
28873
|
+
"""ModifyClusterImage返回参数结构体
|
28874
|
+
|
28875
|
+
"""
|
28876
|
+
|
28877
|
+
def __init__(self):
|
28878
|
+
r"""
|
28879
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
28880
|
+
:type RequestId: str
|
28881
|
+
"""
|
28882
|
+
self._RequestId = None
|
28883
|
+
|
28884
|
+
@property
|
28885
|
+
def RequestId(self):
|
28886
|
+
return self._RequestId
|
28887
|
+
|
28888
|
+
@RequestId.setter
|
28889
|
+
def RequestId(self, RequestId):
|
28890
|
+
self._RequestId = RequestId
|
28891
|
+
|
28892
|
+
|
28893
|
+
def _deserialize(self, params):
|
28894
|
+
self._RequestId = params.get("RequestId")
|
28895
|
+
|
28896
|
+
|
28827
28897
|
class ModifyClusterNodePoolRequest(AbstractModel):
|
28828
28898
|
"""ModifyClusterNodePool请求参数结构体
|
28829
28899
|
|
@@ -4350,6 +4350,29 @@ class TkeClient(AbstractClient):
|
|
4350
4350
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4351
4351
|
|
4352
4352
|
|
4353
|
+
def ModifyClusterImage(self, request):
|
4354
|
+
"""修改集群镜像
|
4355
|
+
|
4356
|
+
:param request: Request instance for ModifyClusterImage.
|
4357
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.ModifyClusterImageRequest`
|
4358
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.ModifyClusterImageResponse`
|
4359
|
+
|
4360
|
+
"""
|
4361
|
+
try:
|
4362
|
+
params = request._serialize()
|
4363
|
+
headers = request.headers
|
4364
|
+
body = self.call("ModifyClusterImage", params, headers=headers)
|
4365
|
+
response = json.loads(body)
|
4366
|
+
model = models.ModifyClusterImageResponse()
|
4367
|
+
model._deserialize(response["Response"])
|
4368
|
+
return model
|
4369
|
+
except Exception as e:
|
4370
|
+
if isinstance(e, TencentCloudSDKException):
|
4371
|
+
raise
|
4372
|
+
else:
|
4373
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4374
|
+
|
4375
|
+
|
4353
4376
|
def ModifyClusterNodePool(self, request):
|
4354
4377
|
"""编辑节点池
|
4355
4378
|
|