tencentcloud-sdk-python 3.0.1358__py2.py3-none-any.whl → 3.0.1360__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/batch/v20170312/models.py +14 -44
- tencentcloud/bh/v20230418/bh_client.py +92 -0
- tencentcloud/bh/v20230418/models.py +855 -61
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/ccc/v20200210/ccc_client.py +69 -0
- tencentcloud/ccc/v20200210/models.py +559 -0
- tencentcloud/cdwpg/v20201230/models.py +0 -8
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +367 -0
- tencentcloud/clb/v20180317/models.py +17 -0
- tencentcloud/cvm/v20170312/cvm_client.py +10 -7
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +166 -164
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +2 -2
- tencentcloud/cynosdb/v20190107/models.py +60 -0
- tencentcloud/ess/v20201111/ess_client.py +5 -4
- tencentcloud/essbasic/v20210526/essbasic_client.py +4 -4
- tencentcloud/gs/v20191118/errorcodes.py +24 -0
- tencentcloud/gs/v20191118/gs_client.py +138 -0
- tencentcloud/gs/v20191118/models.py +683 -21
- tencentcloud/gwlb/v20240906/gwlb_client.py +5 -7
- tencentcloud/gwlb/v20240906/models.py +72 -54
- tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +46 -0
- tencentcloud/hunyuan/v20230901/models.py +345 -0
- tencentcloud/live/v20180801/models.py +2 -14
- tencentcloud/lke/v20231130/models.py +232 -2
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +34 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +46 -26
- tencentcloud/privatedns/v20201028/models.py +30 -0
- tencentcloud/tcb/v20180608/models.py +60 -0
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +53 -0
- tencentcloud/trtc/v20190722/models.py +4 -10
- tencentcloud/trtc/v20190722/trtc_client.py +4 -0
- tencentcloud/tse/v20201207/models.py +0 -2
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +263 -81
- tencentcloud/vpc/v20170312/vpc_client.py +25 -2
- tencentcloud/wedata/v20210820/models.py +2691 -4
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/RECORD +51 -51
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/top_level.txt +0 -0
@@ -28,7 +28,7 @@ class GwlbClient(AbstractClient):
|
|
28
28
|
|
29
29
|
def AssociateTargetGroups(self, request):
|
30
30
|
"""本接口(AssociateTargetGroups)用来将目标组绑定到负载均衡。
|
31
|
-
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
|
31
|
+
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
32
32
|
|
33
33
|
:param request: Request instance for AssociateTargetGroups.
|
34
34
|
:type request: :class:`tencentcloud.gwlb.v20240906.models.AssociateTargetGroupsRequest`
|
@@ -53,7 +53,7 @@ class GwlbClient(AbstractClient):
|
|
53
53
|
def CreateGatewayLoadBalancer(self, request):
|
54
54
|
"""本接口(CreateGatewayLoadBalancer)用来创建网关负载均衡实例。为了使用网关负载均衡服务,您必须购买一个或多个网关负载均衡实例。成功调用该接口后,会返回网关负载均衡实例的唯一 ID。
|
55
55
|
注意:单个账号在每个地域的默认购买配额为:10个。
|
56
|
-
本接口为异步接口,接口成功返回后,可使用
|
56
|
+
本接口为异步接口,接口成功返回后,可使用 [DescribeTaskStatus](https://cloud.tencent.com/document/api/1782/111700) 接口查询负载均衡实例的状态。
|
57
57
|
|
58
58
|
:param request: Request instance for CreateGatewayLoadBalancer.
|
59
59
|
:type request: :class:`tencentcloud.gwlb.v20240906.models.CreateGatewayLoadBalancerRequest`
|
@@ -76,7 +76,7 @@ class GwlbClient(AbstractClient):
|
|
76
76
|
|
77
77
|
|
78
78
|
def CreateTargetGroup(self, request):
|
79
|
-
"""
|
79
|
+
"""创建目标组。
|
80
80
|
|
81
81
|
:param request: Request instance for CreateTargetGroup.
|
82
82
|
:type request: :class:`tencentcloud.gwlb.v20240906.models.CreateTargetGroupRequest`
|
@@ -100,7 +100,7 @@ class GwlbClient(AbstractClient):
|
|
100
100
|
|
101
101
|
def DeleteGatewayLoadBalancer(self, request):
|
102
102
|
"""DeleteGatewayLoadBalancer 接口用以删除指定的一个或多个网关负载均衡实例。成功删除后,会把网关负载均衡实例与后端服务解绑。
|
103
|
-
本接口为异步接口,接口返回成功后,需以返回的 RequestId 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
|
103
|
+
本接口为异步接口,接口返回成功后,需以返回的 RequestId 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/api/1782/111700) 接口查询本次任务是否成功。
|
104
104
|
|
105
105
|
:param request: Request instance for DeleteGatewayLoadBalancer.
|
106
106
|
:type request: :class:`tencentcloud.gwlb.v20240906.models.DeleteGatewayLoadBalancerRequest`
|
@@ -147,7 +147,6 @@ class GwlbClient(AbstractClient):
|
|
147
147
|
|
148
148
|
def DeregisterTargetGroupInstances(self, request):
|
149
149
|
"""从目标组中解绑服务器。
|
150
|
-
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
|
151
150
|
|
152
151
|
:param request: Request instance for DeregisterTargetGroupInstances.
|
153
152
|
:type request: :class:`tencentcloud.gwlb.v20240906.models.DeregisterTargetGroupInstancesRequest`
|
@@ -309,7 +308,7 @@ class GwlbClient(AbstractClient):
|
|
309
308
|
|
310
309
|
def DisassociateTargetGroups(self, request):
|
311
310
|
"""解除负载均衡和目标组的关联关系。
|
312
|
-
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
|
311
|
+
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
313
312
|
|
314
313
|
:param request: Request instance for DisassociateTargetGroups.
|
315
314
|
:type request: :class:`tencentcloud.gwlb.v20240906.models.DisassociateTargetGroupsRequest`
|
@@ -426,7 +425,6 @@ class GwlbClient(AbstractClient):
|
|
426
425
|
|
427
426
|
def RegisterTargetGroupInstances(self, request):
|
428
427
|
"""注册服务器到目标组。
|
429
|
-
本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
|
430
428
|
|
431
429
|
:param request: Request instance for RegisterTargetGroupInstances.
|
432
430
|
:type request: :class:`tencentcloud.gwlb.v20240906.models.RegisterTargetGroupInstancesRequest`
|
@@ -147,7 +147,7 @@ class CreateGatewayLoadBalancerRequest(AbstractModel):
|
|
147
147
|
r"""
|
148
148
|
:param _VpcId: 网关负载均衡后端目标设备所属的私有网络 ID,如vpc-azd4dt1c,可以通过 [DescribeVpcs](https://cloud.tencent.com/document/product/215/15778) 接口获取。
|
149
149
|
:type VpcId: str
|
150
|
-
:param _SubnetId: 网关负载均衡后端目标设备所属的私有网络的子网ID
|
150
|
+
:param _SubnetId: 网关负载均衡后端目标设备所属的私有网络的子网ID。可通过[DescribeSubnets](https://cloud.tencent.com/document/product/215/15784)接口获取。
|
151
151
|
:type SubnetId: str
|
152
152
|
:param _LoadBalancerName: 网关负载均衡实例名称。可支持输入1-60个字符。不填写时默认自动生成。
|
153
153
|
:type LoadBalancerName: str
|
@@ -155,7 +155,7 @@ class CreateGatewayLoadBalancerRequest(AbstractModel):
|
|
155
155
|
:type Number: int
|
156
156
|
:param _Tags: 购买网关负载均衡的同时,给负载均衡打上标签,最大支持20个标签键值对。
|
157
157
|
:type Tags: list of TagInfo
|
158
|
-
:param _LBChargeType: 网关负载均衡实例计费类型,当前只支持传POSTPAID_BY_HOUR
|
158
|
+
:param _LBChargeType: 网关负载均衡实例计费类型,当前只支持传POSTPAID_BY_HOUR(按量计费),默认是POSTPAID_BY_HOUR。
|
159
159
|
:type LBChargeType: str
|
160
160
|
"""
|
161
161
|
self._VpcId = None
|
@@ -178,7 +178,7 @@ class CreateGatewayLoadBalancerRequest(AbstractModel):
|
|
178
178
|
|
179
179
|
@property
|
180
180
|
def SubnetId(self):
|
181
|
-
"""网关负载均衡后端目标设备所属的私有网络的子网ID
|
181
|
+
"""网关负载均衡后端目标设备所属的私有网络的子网ID。可通过[DescribeSubnets](https://cloud.tencent.com/document/product/215/15784)接口获取。
|
182
182
|
:rtype: str
|
183
183
|
"""
|
184
184
|
return self._SubnetId
|
@@ -222,7 +222,7 @@ class CreateGatewayLoadBalancerRequest(AbstractModel):
|
|
222
222
|
|
223
223
|
@property
|
224
224
|
def LBChargeType(self):
|
225
|
-
"""网关负载均衡实例计费类型,当前只支持传POSTPAID_BY_HOUR
|
225
|
+
"""网关负载均衡实例计费类型,当前只支持传POSTPAID_BY_HOUR(按量计费),默认是POSTPAID_BY_HOUR。
|
226
226
|
:rtype: str
|
227
227
|
"""
|
228
228
|
return self._LBChargeType
|
@@ -327,7 +327,7 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
327
327
|
r"""
|
328
328
|
:param _TargetGroupName: 目标组名称,限定60个字符。
|
329
329
|
:type TargetGroupName: str
|
330
|
-
:param _VpcId:
|
330
|
+
:param _VpcId: 网关负载均衡后端目标组所属的网络 ID,如vpc-12345678,可以通过 [DescribeVpcs](https://cloud.tencent.com/document/product/215/15778) 接口获取。 不填此参数则默认为DefaultVPC。
|
331
331
|
:type VpcId: str
|
332
332
|
:param _Port: 目标组的默认端口, 后续添加服务器时可使用该默认端口。Port和TargetGroupInstances.N中的port二者必填其一。仅支持6081。
|
333
333
|
:type Port: int
|
@@ -370,7 +370,7 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
370
370
|
|
371
371
|
@property
|
372
372
|
def VpcId(self):
|
373
|
-
"""
|
373
|
+
"""网关负载均衡后端目标组所属的网络 ID,如vpc-12345678,可以通过 [DescribeVpcs](https://cloud.tencent.com/document/product/215/15778) 接口获取。 不填此参数则默认为DefaultVPC。
|
374
374
|
:rtype: str
|
375
375
|
"""
|
376
376
|
return self._VpcId
|
@@ -542,14 +542,14 @@ class DeleteGatewayLoadBalancerRequest(AbstractModel):
|
|
542
542
|
|
543
543
|
def __init__(self):
|
544
544
|
r"""
|
545
|
-
:param _LoadBalancerIds: 要删除的网关负载均衡实例 ID数组,数组大小最大支持20
|
545
|
+
:param _LoadBalancerIds: 要删除的网关负载均衡实例 ID数组,数组大小最大支持20。可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/api/1782/111683) 接口获取。
|
546
546
|
:type LoadBalancerIds: list of str
|
547
547
|
"""
|
548
548
|
self._LoadBalancerIds = None
|
549
549
|
|
550
550
|
@property
|
551
551
|
def LoadBalancerIds(self):
|
552
|
-
"""要删除的网关负载均衡实例 ID数组,数组大小最大支持20
|
552
|
+
"""要删除的网关负载均衡实例 ID数组,数组大小最大支持20。可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/api/1782/111683) 接口获取。
|
553
553
|
:rtype: list of str
|
554
554
|
"""
|
555
555
|
return self._LoadBalancerIds
|
@@ -606,14 +606,14 @@ class DeleteTargetGroupsRequest(AbstractModel):
|
|
606
606
|
|
607
607
|
def __init__(self):
|
608
608
|
r"""
|
609
|
-
:param _TargetGroupIds: 目标组ID列表。
|
609
|
+
:param _TargetGroupIds: 目标组ID列表。 可以通过接口[DescribeTargetGroups](https://cloud.tencent.com/document/product/214/40554)获取。
|
610
610
|
:type TargetGroupIds: list of str
|
611
611
|
"""
|
612
612
|
self._TargetGroupIds = None
|
613
613
|
|
614
614
|
@property
|
615
615
|
def TargetGroupIds(self):
|
616
|
-
"""目标组ID列表。
|
616
|
+
"""目标组ID列表。 可以通过接口[DescribeTargetGroups](https://cloud.tencent.com/document/product/214/40554)获取。
|
617
617
|
:rtype: list of str
|
618
618
|
"""
|
619
619
|
return self._TargetGroupIds
|
@@ -670,7 +670,7 @@ class DeregisterTargetGroupInstancesRequest(AbstractModel):
|
|
670
670
|
|
671
671
|
def __init__(self):
|
672
672
|
r"""
|
673
|
-
:param _TargetGroupId: 目标组ID
|
673
|
+
:param _TargetGroupId: 目标组ID。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
|
674
674
|
:type TargetGroupId: str
|
675
675
|
:param _TargetGroupInstances: 待解绑的服务器信息。
|
676
676
|
:type TargetGroupInstances: list of TargetGroupInstance
|
@@ -680,7 +680,7 @@ class DeregisterTargetGroupInstancesRequest(AbstractModel):
|
|
680
680
|
|
681
681
|
@property
|
682
682
|
def TargetGroupId(self):
|
683
|
-
"""目标组ID
|
683
|
+
"""目标组ID。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
|
684
684
|
:rtype: str
|
685
685
|
"""
|
686
686
|
return self._TargetGroupId
|
@@ -928,7 +928,7 @@ class DescribeTargetGroupInstanceStatusRequest(AbstractModel):
|
|
928
928
|
|
929
929
|
def __init__(self):
|
930
930
|
r"""
|
931
|
-
:param _TargetGroupId: 目标组唯一id
|
931
|
+
:param _TargetGroupId: 目标组唯一id。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
|
932
932
|
:type TargetGroupId: str
|
933
933
|
:param _TargetGroupInstanceIps: 目标组绑定的后端服务ip列表
|
934
934
|
:type TargetGroupInstanceIps: list of str
|
@@ -938,7 +938,7 @@ class DescribeTargetGroupInstanceStatusRequest(AbstractModel):
|
|
938
938
|
|
939
939
|
@property
|
940
940
|
def TargetGroupId(self):
|
941
|
-
"""目标组唯一id
|
941
|
+
"""目标组唯一id。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
|
942
942
|
:rtype: str
|
943
943
|
"""
|
944
944
|
return self._TargetGroupId
|
@@ -1029,11 +1029,11 @@ class DescribeTargetGroupInstancesRequest(AbstractModel):
|
|
1029
1029
|
r"""
|
1030
1030
|
:param _Filters: 过滤条件,当前仅支持TargetGroupId,BindIP,InstanceId过滤。
|
1031
1031
|
|
1032
|
-
- TargetGroupId - String - 是否必填:否 - (过滤条件)目标组ID,如“lbtg-5xunivs0
|
1033
|
-
- BindIP - String - 是否必填:否 - (过滤条件)目标组绑定实例的内网IP地址,如“10.1.1.1
|
1034
|
-
- InstanceId - String - 是否必填:否 - (过滤条件)目标组绑定实例的名称,如“ins-mxzlf9ke
|
1032
|
+
- TargetGroupId - String - 是否必填:否 - (过滤条件)目标组ID,如“lbtg-5xunivs0”。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
|
1033
|
+
- BindIP - String - 是否必填:否 - (过滤条件)目标组绑定实例的内网IP地址,如“10.1.1.1”。
|
1034
|
+
- InstanceId - String - 是否必填:否 - (过滤条件)目标组绑定实例的名称,如“ins-mxzlf9ke”。可通过[DescribeInstances](https://cloud.tencent.com/document/product/213/15728) 接口获取。
|
1035
1035
|
:type Filters: list of Filter
|
1036
|
-
:param _Limit: 显示数量限制,默认20。
|
1036
|
+
:param _Limit: 显示数量限制,默认20,最大1000。
|
1037
1037
|
:type Limit: int
|
1038
1038
|
:param _Offset: 显示的偏移量,默认为0。
|
1039
1039
|
:type Offset: int
|
@@ -1046,9 +1046,9 @@ class DescribeTargetGroupInstancesRequest(AbstractModel):
|
|
1046
1046
|
def Filters(self):
|
1047
1047
|
"""过滤条件,当前仅支持TargetGroupId,BindIP,InstanceId过滤。
|
1048
1048
|
|
1049
|
-
- TargetGroupId - String - 是否必填:否 - (过滤条件)目标组ID,如“lbtg-5xunivs0
|
1050
|
-
- BindIP - String - 是否必填:否 - (过滤条件)目标组绑定实例的内网IP地址,如“10.1.1.1
|
1051
|
-
- InstanceId - String - 是否必填:否 - (过滤条件)目标组绑定实例的名称,如“ins-mxzlf9ke
|
1049
|
+
- TargetGroupId - String - 是否必填:否 - (过滤条件)目标组ID,如“lbtg-5xunivs0”。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
|
1050
|
+
- BindIP - String - 是否必填:否 - (过滤条件)目标组绑定实例的内网IP地址,如“10.1.1.1”。
|
1051
|
+
- InstanceId - String - 是否必填:否 - (过滤条件)目标组绑定实例的名称,如“ins-mxzlf9ke”。可通过[DescribeInstances](https://cloud.tencent.com/document/product/213/15728) 接口获取。
|
1052
1052
|
:rtype: list of Filter
|
1053
1053
|
"""
|
1054
1054
|
return self._Filters
|
@@ -1059,7 +1059,7 @@ class DescribeTargetGroupInstancesRequest(AbstractModel):
|
|
1059
1059
|
|
1060
1060
|
@property
|
1061
1061
|
def Limit(self):
|
1062
|
-
"""显示数量限制,默认20。
|
1062
|
+
"""显示数量限制,默认20,最大1000。
|
1063
1063
|
:rtype: int
|
1064
1064
|
"""
|
1065
1065
|
return self._Limit
|
@@ -1188,12 +1188,12 @@ class DescribeTargetGroupListRequest(AbstractModel):
|
|
1188
1188
|
:type TargetGroupIds: list of str
|
1189
1189
|
:param _Filters: 过滤条件数组。
|
1190
1190
|
|
1191
|
-
- TargetGroupVpcId - String - 是否必填:否 -
|
1191
|
+
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,可以通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)获取,如“vpc-bhqk****”。
|
1192
1192
|
- TargetGroupName - String - 是否必填:否 - (过滤条件)按照目标组的名称过滤,如“tg_name”
|
1193
1193
|
:type Filters: list of Filter
|
1194
|
-
:param _Offset:
|
1194
|
+
:param _Offset: 显示的偏移起始量,默认为0。
|
1195
1195
|
:type Offset: int
|
1196
|
-
:param _Limit: 显示条数限制,默认为20。
|
1196
|
+
:param _Limit: 显示条数限制,默认为20,最大值为1000。
|
1197
1197
|
:type Limit: int
|
1198
1198
|
"""
|
1199
1199
|
self._TargetGroupIds = None
|
@@ -1216,7 +1216,7 @@ class DescribeTargetGroupListRequest(AbstractModel):
|
|
1216
1216
|
def Filters(self):
|
1217
1217
|
"""过滤条件数组。
|
1218
1218
|
|
1219
|
-
- TargetGroupVpcId - String - 是否必填:否 -
|
1219
|
+
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,可以通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)获取,如“vpc-bhqk****”。
|
1220
1220
|
- TargetGroupName - String - 是否必填:否 - (过滤条件)按照目标组的名称过滤,如“tg_name”
|
1221
1221
|
:rtype: list of Filter
|
1222
1222
|
"""
|
@@ -1228,7 +1228,7 @@ class DescribeTargetGroupListRequest(AbstractModel):
|
|
1228
1228
|
|
1229
1229
|
@property
|
1230
1230
|
def Offset(self):
|
1231
|
-
"""
|
1231
|
+
"""显示的偏移起始量,默认为0。
|
1232
1232
|
:rtype: int
|
1233
1233
|
"""
|
1234
1234
|
return self._Offset
|
@@ -1239,7 +1239,7 @@ class DescribeTargetGroupListRequest(AbstractModel):
|
|
1239
1239
|
|
1240
1240
|
@property
|
1241
1241
|
def Limit(self):
|
1242
|
-
"""显示条数限制,默认为20。
|
1242
|
+
"""显示条数限制,默认为20,最大值为1000。
|
1243
1243
|
:rtype: int
|
1244
1244
|
"""
|
1245
1245
|
return self._Limit
|
@@ -1339,15 +1339,14 @@ class DescribeTargetGroupsRequest(AbstractModel):
|
|
1339
1339
|
|
1340
1340
|
def __init__(self):
|
1341
1341
|
r"""
|
1342
|
-
:param _TargetGroupIds: 目标组ID
|
1342
|
+
:param _TargetGroupIds: 目标组ID。
|
1343
1343
|
:type TargetGroupIds: list of str
|
1344
|
-
:param _Limit: 显示条数限制,默认为20。
|
1344
|
+
:param _Limit: 显示条数限制,默认为20,最大值为1000。
|
1345
1345
|
:type Limit: int
|
1346
|
-
:param _Offset:
|
1346
|
+
:param _Offset: 显示的偏移起始量,默认为0。
|
1347
1347
|
:type Offset: int
|
1348
1348
|
:param _Filters: 过滤条件数组。
|
1349
|
-
|
1350
|
-
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,如“vpc-bhqk****”。
|
1349
|
+
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,可以通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)获取,如“vpc-bhqk****”。
|
1351
1350
|
- TargetGroupName - String - 是否必填:否 - (过滤条件)按照目标组的名称过滤,如“tg_name”
|
1352
1351
|
:type Filters: list of Filter
|
1353
1352
|
"""
|
@@ -1358,7 +1357,7 @@ class DescribeTargetGroupsRequest(AbstractModel):
|
|
1358
1357
|
|
1359
1358
|
@property
|
1360
1359
|
def TargetGroupIds(self):
|
1361
|
-
"""目标组ID
|
1360
|
+
"""目标组ID。
|
1362
1361
|
:rtype: list of str
|
1363
1362
|
"""
|
1364
1363
|
return self._TargetGroupIds
|
@@ -1369,7 +1368,7 @@ class DescribeTargetGroupsRequest(AbstractModel):
|
|
1369
1368
|
|
1370
1369
|
@property
|
1371
1370
|
def Limit(self):
|
1372
|
-
"""显示条数限制,默认为20。
|
1371
|
+
"""显示条数限制,默认为20,最大值为1000。
|
1373
1372
|
:rtype: int
|
1374
1373
|
"""
|
1375
1374
|
return self._Limit
|
@@ -1380,7 +1379,7 @@ class DescribeTargetGroupsRequest(AbstractModel):
|
|
1380
1379
|
|
1381
1380
|
@property
|
1382
1381
|
def Offset(self):
|
1383
|
-
"""
|
1382
|
+
"""显示的偏移起始量,默认为0。
|
1384
1383
|
:rtype: int
|
1385
1384
|
"""
|
1386
1385
|
return self._Offset
|
@@ -1392,8 +1391,7 @@ class DescribeTargetGroupsRequest(AbstractModel):
|
|
1392
1391
|
@property
|
1393
1392
|
def Filters(self):
|
1394
1393
|
"""过滤条件数组。
|
1395
|
-
|
1396
|
-
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,如“vpc-bhqk****”。
|
1394
|
+
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,可以通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)获取,如“vpc-bhqk****”。
|
1397
1395
|
- TargetGroupName - String - 是否必填:否 - (过滤条件)按照目标组的名称过滤,如“tg_name”
|
1398
1396
|
:rtype: list of Filter
|
1399
1397
|
"""
|
@@ -2169,7 +2167,7 @@ class ModifyGatewayLoadBalancerAttributeRequest(AbstractModel):
|
|
2169
2167
|
|
2170
2168
|
def __init__(self):
|
2171
2169
|
r"""
|
2172
|
-
:param _LoadBalancerId: 网关负载均衡的唯一ID
|
2170
|
+
:param _LoadBalancerId: 网关负载均衡的唯一ID。可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/api/1782/111683) 接口获取。
|
2173
2171
|
:type LoadBalancerId: str
|
2174
2172
|
:param _LoadBalancerName: 网关负载均衡实例名称。可支持输入1-60个字符。
|
2175
2173
|
:type LoadBalancerName: str
|
@@ -2182,7 +2180,7 @@ class ModifyGatewayLoadBalancerAttributeRequest(AbstractModel):
|
|
2182
2180
|
|
2183
2181
|
@property
|
2184
2182
|
def LoadBalancerId(self):
|
2185
|
-
"""网关负载均衡的唯一ID
|
2183
|
+
"""网关负载均衡的唯一ID。可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/api/1782/111683) 接口获取。
|
2186
2184
|
:rtype: str
|
2187
2185
|
"""
|
2188
2186
|
return self._LoadBalancerId
|
@@ -2263,7 +2261,7 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
2263
2261
|
|
2264
2262
|
def __init__(self):
|
2265
2263
|
r"""
|
2266
|
-
:param _TargetGroupId: 目标组的ID
|
2264
|
+
:param _TargetGroupId: 目标组的ID,可以通过[DescribeTargetGroups](https://cloud.tencent.com/document/product/214/40554)获取。
|
2267
2265
|
:type TargetGroupId: str
|
2268
2266
|
:param _TargetGroupName: 目标组的新名称。
|
2269
2267
|
:type TargetGroupName: str
|
@@ -2279,7 +2277,7 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
2279
2277
|
|
2280
2278
|
@property
|
2281
2279
|
def TargetGroupId(self):
|
2282
|
-
"""目标组的ID
|
2280
|
+
"""目标组的ID,可以通过[DescribeTargetGroups](https://cloud.tencent.com/document/product/214/40554)获取。
|
2283
2281
|
:rtype: str
|
2284
2282
|
"""
|
2285
2283
|
return self._TargetGroupId
|
@@ -2374,7 +2372,7 @@ class ModifyTargetGroupInstancesWeightRequest(AbstractModel):
|
|
2374
2372
|
|
2375
2373
|
def __init__(self):
|
2376
2374
|
r"""
|
2377
|
-
:param _TargetGroupId: 目标组ID
|
2375
|
+
:param _TargetGroupId: 目标组ID。可通过DescribeTargetGroupList接口获取。
|
2378
2376
|
:type TargetGroupId: str
|
2379
2377
|
:param _TargetGroupInstances: 实例绑定配置数组。
|
2380
2378
|
:type TargetGroupInstances: list of TargetGroupInstance
|
@@ -2384,7 +2382,7 @@ class ModifyTargetGroupInstancesWeightRequest(AbstractModel):
|
|
2384
2382
|
|
2385
2383
|
@property
|
2386
2384
|
def TargetGroupId(self):
|
2387
|
-
"""目标组ID
|
2385
|
+
"""目标组ID。可通过DescribeTargetGroupList接口获取。
|
2388
2386
|
:rtype: str
|
2389
2387
|
"""
|
2390
2388
|
return self._TargetGroupId
|
@@ -2517,7 +2515,7 @@ class RegisterTargetGroupInstancesRequest(AbstractModel):
|
|
2517
2515
|
|
2518
2516
|
def __init__(self):
|
2519
2517
|
r"""
|
2520
|
-
:param _TargetGroupId: 目标组ID
|
2518
|
+
:param _TargetGroupId: 目标组ID。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
|
2521
2519
|
:type TargetGroupId: str
|
2522
2520
|
:param _TargetGroupInstances: 服务器实例数组
|
2523
2521
|
:type TargetGroupInstances: list of TargetGroupInstance
|
@@ -2527,7 +2525,7 @@ class RegisterTargetGroupInstancesRequest(AbstractModel):
|
|
2527
2525
|
|
2528
2526
|
@property
|
2529
2527
|
def TargetGroupId(self):
|
2530
|
-
"""目标组ID
|
2528
|
+
"""目标组ID。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
|
2531
2529
|
:rtype: str
|
2532
2530
|
"""
|
2533
2531
|
return self._TargetGroupId
|
@@ -2652,9 +2650,9 @@ class TargetGroupAssociation(AbstractModel):
|
|
2652
2650
|
|
2653
2651
|
def __init__(self):
|
2654
2652
|
r"""
|
2655
|
-
:param _LoadBalancerId: 网关负载均衡实例ID。
|
2653
|
+
:param _LoadBalancerId: 网关负载均衡实例ID,可以通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/product/1782/111683)获取网关负载均衡ID。
|
2656
2654
|
:type LoadBalancerId: str
|
2657
|
-
:param _TargetGroupId: 目标组ID。
|
2655
|
+
:param _TargetGroupId: 目标组ID,可以通过[DescribeTargetGroups](https://cloud.tencent.com/document/product/214/40554)获取目标组ID。
|
2658
2656
|
:type TargetGroupId: str
|
2659
2657
|
"""
|
2660
2658
|
self._LoadBalancerId = None
|
@@ -2662,7 +2660,7 @@ class TargetGroupAssociation(AbstractModel):
|
|
2662
2660
|
|
2663
2661
|
@property
|
2664
2662
|
def LoadBalancerId(self):
|
2665
|
-
"""网关负载均衡实例ID。
|
2663
|
+
"""网关负载均衡实例ID,可以通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/product/1782/111683)获取网关负载均衡ID。
|
2666
2664
|
:rtype: str
|
2667
2665
|
"""
|
2668
2666
|
return self._LoadBalancerId
|
@@ -2673,7 +2671,7 @@ class TargetGroupAssociation(AbstractModel):
|
|
2673
2671
|
|
2674
2672
|
@property
|
2675
2673
|
def TargetGroupId(self):
|
2676
|
-
"""目标组ID。
|
2674
|
+
"""目标组ID,可以通过[DescribeTargetGroups](https://cloud.tencent.com/document/product/214/40554)获取目标组ID。
|
2677
2675
|
:rtype: str
|
2678
2676
|
"""
|
2679
2677
|
return self._TargetGroupId
|
@@ -2915,9 +2913,9 @@ class TargetGroupHealthCheck(AbstractModel):
|
|
2915
2913
|
:type Timeout: int
|
2916
2914
|
:param _IntervalTime: 检测间隔时间。 默认为5秒。 可配置范围:2 - 300秒。
|
2917
2915
|
:type IntervalTime: int
|
2918
|
-
:param _HealthNum: 检测健康阈值。 默认为3
|
2916
|
+
:param _HealthNum: 检测健康阈值。 默认为3次。 可配置范围:2 - 10次。
|
2919
2917
|
:type HealthNum: int
|
2920
|
-
:param _UnHealthNum: 检测不健康阈值。 默认为3
|
2918
|
+
:param _UnHealthNum: 检测不健康阈值。 默认为3次。 可配置范围:2 - 10次。
|
2921
2919
|
:type UnHealthNum: int
|
2922
2920
|
"""
|
2923
2921
|
self._HealthSwitch = None
|
@@ -2989,7 +2987,7 @@ class TargetGroupHealthCheck(AbstractModel):
|
|
2989
2987
|
|
2990
2988
|
@property
|
2991
2989
|
def HealthNum(self):
|
2992
|
-
"""检测健康阈值。 默认为3
|
2990
|
+
"""检测健康阈值。 默认为3次。 可配置范围:2 - 10次。
|
2993
2991
|
:rtype: int
|
2994
2992
|
"""
|
2995
2993
|
return self._HealthNum
|
@@ -3000,7 +2998,7 @@ class TargetGroupHealthCheck(AbstractModel):
|
|
3000
2998
|
|
3001
2999
|
@property
|
3002
3000
|
def UnHealthNum(self):
|
3003
|
-
"""检测不健康阈值。 默认为3
|
3001
|
+
"""检测不健康阈值。 默认为3次。 可配置范围:2 - 10次。
|
3004
3002
|
:rtype: int
|
3005
3003
|
"""
|
3006
3004
|
return self._UnHealthNum
|
@@ -3072,6 +3070,8 @@ class TargetGroupInfo(AbstractModel):
|
|
3072
3070
|
:param _RegisteredInstancesCount: 目标组内的实例数量。
|
3073
3071
|
注意:此字段可能返回 null,表示取不到有效值。
|
3074
3072
|
:type RegisteredInstancesCount: int
|
3073
|
+
:param _Tag: 目标组的标签。
|
3074
|
+
:type Tag: list of TagInfo
|
3075
3075
|
"""
|
3076
3076
|
self._TargetGroupId = None
|
3077
3077
|
self._VpcId = None
|
@@ -3086,6 +3086,7 @@ class TargetGroupInfo(AbstractModel):
|
|
3086
3086
|
self._AllDeadToAlive = None
|
3087
3087
|
self._AssociatedRuleCount = None
|
3088
3088
|
self._RegisteredInstancesCount = None
|
3089
|
+
self._Tag = None
|
3089
3090
|
|
3090
3091
|
@property
|
3091
3092
|
def TargetGroupId(self):
|
@@ -3241,6 +3242,17 @@ class TargetGroupInfo(AbstractModel):
|
|
3241
3242
|
def RegisteredInstancesCount(self, RegisteredInstancesCount):
|
3242
3243
|
self._RegisteredInstancesCount = RegisteredInstancesCount
|
3243
3244
|
|
3245
|
+
@property
|
3246
|
+
def Tag(self):
|
3247
|
+
"""目标组的标签。
|
3248
|
+
:rtype: list of TagInfo
|
3249
|
+
"""
|
3250
|
+
return self._Tag
|
3251
|
+
|
3252
|
+
@Tag.setter
|
3253
|
+
def Tag(self, Tag):
|
3254
|
+
self._Tag = Tag
|
3255
|
+
|
3244
3256
|
|
3245
3257
|
def _deserialize(self, params):
|
3246
3258
|
self._TargetGroupId = params.get("TargetGroupId")
|
@@ -3263,6 +3275,12 @@ class TargetGroupInfo(AbstractModel):
|
|
3263
3275
|
self._AllDeadToAlive = params.get("AllDeadToAlive")
|
3264
3276
|
self._AssociatedRuleCount = params.get("AssociatedRuleCount")
|
3265
3277
|
self._RegisteredInstancesCount = params.get("RegisteredInstancesCount")
|
3278
|
+
if params.get("Tag") is not None:
|
3279
|
+
self._Tag = []
|
3280
|
+
for item in params.get("Tag"):
|
3281
|
+
obj = TagInfo()
|
3282
|
+
obj._deserialize(item)
|
3283
|
+
self._Tag.append(obj)
|
3266
3284
|
memeber_set = set(params.keys())
|
3267
3285
|
for name, value in vars(self).items():
|
3268
3286
|
property_name = name[1:]
|
@@ -44,6 +44,9 @@ FAILEDOPERATION_IMAGEDECODEFAILED = 'FailedOperation.ImageDecodeFailed'
|
|
44
44
|
# LogoUrl 或 LogoImage 有误,水印图下载失败。
|
45
45
|
FAILEDOPERATION_IMAGEDOWNLOADERROR = 'FailedOperation.ImageDownloadError'
|
46
46
|
|
47
|
+
# 任务不存在。
|
48
|
+
FAILEDOPERATION_JOBNOTFOUND = 'FailedOperation.JobNotFound'
|
49
|
+
|
47
50
|
# 合作伙伴账号不允许开通,请更换账号。
|
48
51
|
FAILEDOPERATION_PARTNERACCOUNTUNSUPPORT = 'FailedOperation.PartnerAccountUnSupport'
|
49
52
|
|
@@ -77,12 +80,24 @@ INVALIDPARAMETER_INVALIDPARAMETER = 'InvalidParameter.InvalidParameter'
|
|
77
80
|
# 参数取值错误。
|
78
81
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
79
82
|
|
83
|
+
# 不支持的图片格式。
|
84
|
+
INVALIDPARAMETERVALUE_INVALIDIMAGEFORMAT = 'InvalidParameterValue.InvalidImageFormat'
|
85
|
+
|
86
|
+
# 不支持的图片分辨率。
|
87
|
+
INVALIDPARAMETERVALUE_INVALIDIMAGERESOLUTION = 'InvalidParameterValue.InvalidImageResolution'
|
88
|
+
|
89
|
+
# 图片大小超出限制。
|
90
|
+
INVALIDPARAMETERVALUE_INVALIDIMAGESIZE = 'InvalidParameterValue.InvalidImageSize'
|
91
|
+
|
80
92
|
# 模型不存在。
|
81
93
|
INVALIDPARAMETERVALUE_MODEL = 'InvalidParameterValue.Model'
|
82
94
|
|
83
95
|
# 参数字段或者值有误
|
84
96
|
INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = 'InvalidParameterValue.ParameterValueError'
|
85
97
|
|
98
|
+
# URL格式不合法。
|
99
|
+
INVALIDPARAMETERVALUE_URLILLEGAL = 'InvalidParameterValue.UrlIllegal'
|
100
|
+
|
86
101
|
# 超过配额限制。
|
87
102
|
LIMITEXCEEDED = 'LimitExceeded'
|
88
103
|
|
@@ -92,9 +107,21 @@ OPERATIONDENIED_IMAGEILLEGALDETECTED = 'OperationDenied.ImageIllegalDetected'
|
|
92
107
|
# 文本包含违法违规信息,审核不通过。
|
93
108
|
OPERATIONDENIED_TEXTILLEGALDETECTED = 'OperationDenied.TextIllegalDetected'
|
94
109
|
|
110
|
+
# 同时处理的任务数过多,请稍后重试。
|
111
|
+
REQUESTLIMITEXCEEDED_JOBNUMEXCEED = 'RequestLimitExceeded.JobNumExceed'
|
112
|
+
|
113
|
+
# 资源不足。
|
114
|
+
RESOURCEINSUFFICIENT = 'ResourceInsufficient'
|
115
|
+
|
95
116
|
# 计费资源已耗尽。
|
96
117
|
RESOURCEINSUFFICIENT_CHARGERESOURCEEXHAUST = 'ResourceInsufficient.ChargeResourceExhaust'
|
97
118
|
|
119
|
+
# 资源不存在。
|
120
|
+
RESOURCENOTFOUND = 'ResourceNotFound'
|
121
|
+
|
122
|
+
# 资源不可用。
|
123
|
+
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
124
|
+
|
98
125
|
# 账号已欠费。
|
99
126
|
RESOURCEUNAVAILABLE_INARREARS = 'ResourceUnavailable.InArrears'
|
100
127
|
|
@@ -367,6 +367,29 @@ class HunyuanClient(AbstractClient):
|
|
367
367
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
368
368
|
|
369
369
|
|
370
|
+
def QueryHunyuanTo3DJob(self, request):
|
371
|
+
"""查询混元生3D任务
|
372
|
+
|
373
|
+
:param request: Request instance for QueryHunyuanTo3DJob.
|
374
|
+
:type request: :class:`tencentcloud.hunyuan.v20230901.models.QueryHunyuanTo3DJobRequest`
|
375
|
+
:rtype: :class:`tencentcloud.hunyuan.v20230901.models.QueryHunyuanTo3DJobResponse`
|
376
|
+
|
377
|
+
"""
|
378
|
+
try:
|
379
|
+
params = request._serialize()
|
380
|
+
headers = request.headers
|
381
|
+
body = self.call("QueryHunyuanTo3DJob", params, headers=headers)
|
382
|
+
response = json.loads(body)
|
383
|
+
model = models.QueryHunyuanTo3DJobResponse()
|
384
|
+
model._deserialize(response["Response"])
|
385
|
+
return model
|
386
|
+
except Exception as e:
|
387
|
+
if isinstance(e, TencentCloudSDKException):
|
388
|
+
raise
|
389
|
+
else:
|
390
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
391
|
+
|
392
|
+
|
370
393
|
def RunThread(self, request):
|
371
394
|
"""腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
372
395
|
|
@@ -465,6 +488,29 @@ class HunyuanClient(AbstractClient):
|
|
465
488
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
466
489
|
|
467
490
|
|
491
|
+
def SubmitHunyuanTo3DJob(self, request):
|
492
|
+
"""提交混元生3D任务
|
493
|
+
|
494
|
+
:param request: Request instance for SubmitHunyuanTo3DJob.
|
495
|
+
:type request: :class:`tencentcloud.hunyuan.v20230901.models.SubmitHunyuanTo3DJobRequest`
|
496
|
+
:rtype: :class:`tencentcloud.hunyuan.v20230901.models.SubmitHunyuanTo3DJobResponse`
|
497
|
+
|
498
|
+
"""
|
499
|
+
try:
|
500
|
+
params = request._serialize()
|
501
|
+
headers = request.headers
|
502
|
+
body = self.call("SubmitHunyuanTo3DJob", params, headers=headers)
|
503
|
+
response = json.loads(body)
|
504
|
+
model = models.SubmitHunyuanTo3DJobResponse()
|
505
|
+
model._deserialize(response["Response"])
|
506
|
+
return model
|
507
|
+
except Exception as e:
|
508
|
+
if isinstance(e, TencentCloudSDKException):
|
509
|
+
raise
|
510
|
+
else:
|
511
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
512
|
+
|
513
|
+
|
468
514
|
def TextToImageLite(self, request):
|
469
515
|
"""文生图轻量版接口根据输入的文本描述,智能生成与之相关的结果图。
|
470
516
|
文生图轻量版默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|