tencentcloud-sdk-python 3.0.1298__py2.py3-none-any.whl → 3.0.1306__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.
Files changed (109) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aca/v20210323/models.py +2 -2
  3. tencentcloud/aiart/v20221229/aiart_client.py +55 -0
  4. tencentcloud/aiart/v20221229/models.py +386 -0
  5. tencentcloud/apm/v20210622/apm_client.py +3 -3
  6. tencentcloud/apm/v20210622/errorcodes.py +10 -10
  7. tencentcloud/apm/v20210622/models.py +586 -538
  8. tencentcloud/autoscaling/v20180419/models.py +162 -0
  9. tencentcloud/batch/v20170312/models.py +2 -2
  10. tencentcloud/bh/v20230418/models.py +4 -4
  11. tencentcloud/cat/v20180409/cat_client.py +1 -1
  12. tencentcloud/ccc/v20200210/ccc_client.py +25 -0
  13. tencentcloud/ccc/v20200210/models.py +159 -0
  14. tencentcloud/cdb/v20170320/models.py +42 -0
  15. tencentcloud/cdn/v20180606/models.py +2 -2
  16. tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +1 -1
  17. tencentcloud/cdwdoris/v20211228/models.py +165 -380
  18. tencentcloud/cfs/v20190719/cfs_client.py +23 -0
  19. tencentcloud/cfs/v20190719/errorcodes.py +1 -1
  20. tencentcloud/cfs/v20190719/models.py +79 -0
  21. tencentcloud/clb/v20180317/models.py +214 -20
  22. tencentcloud/cloudapp/v20220530/errorcodes.py +3 -0
  23. tencentcloud/cloudapp/v20220530/models.py +66 -17
  24. tencentcloud/cls/v20201016/models.py +22 -0
  25. tencentcloud/cmq/v20190304/cmq_client.py +0 -365
  26. tencentcloud/cmq/v20190304/models.py +324 -2473
  27. tencentcloud/config/v20220802/config_client.py +46 -0
  28. tencentcloud/config/v20220802/errorcodes.py +3 -0
  29. tencentcloud/config/v20220802/models.py +716 -26
  30. tencentcloud/csxg/v20230303/errorcodes.py +48 -0
  31. tencentcloud/cvm/v20170312/cvm_client.py +24 -0
  32. tencentcloud/cvm/v20170312/errorcodes.py +9 -0
  33. tencentcloud/cvm/v20170312/models.py +190 -6
  34. tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
  35. tencentcloud/cynosdb/v20190107/models.py +113 -0
  36. tencentcloud/dc/v20180410/dc_client.py +1 -1
  37. tencentcloud/dc/v20180410/models.py +94 -167
  38. tencentcloud/dlc/v20210125/models.py +89 -0
  39. tencentcloud/drm/v20181115/models.py +17 -0
  40. tencentcloud/dts/v20211206/models.py +68 -2
  41. tencentcloud/ecm/v20190719/models.py +0 -18
  42. tencentcloud/emr/v20190103/models.py +186 -462
  43. tencentcloud/es/v20180416/models.py +17 -0
  44. tencentcloud/ess/v20201111/ess_client.py +26 -5
  45. tencentcloud/ess/v20201111/models.py +96 -86
  46. tencentcloud/essbasic/v20210526/models.py +124 -134
  47. tencentcloud/faceid/v20180301/models.py +14 -14
  48. tencentcloud/gaap/v20180529/gaap_client.py +9 -3
  49. tencentcloud/gwlb/v20240906/models.py +2 -2
  50. tencentcloud/hai/v20230812/errorcodes.py +6 -0
  51. tencentcloud/hai/v20230812/hai_client.py +46 -0
  52. tencentcloud/hai/v20230812/models.py +435 -0
  53. tencentcloud/hunyuan/v20230901/hunyuan_client.py +3 -1
  54. tencentcloud/hunyuan/v20230901/models.py +84 -2
  55. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +115 -0
  56. tencentcloud/iotexplorer/v20190423/models.py +1473 -75
  57. tencentcloud/iotvideo/v20211125/iotvideo_client.py +23 -0
  58. tencentcloud/iotvideo/v20211125/models.py +135 -0
  59. tencentcloud/keewidb/v20220308/models.py +1 -1
  60. tencentcloud/lcic/v20220817/models.py +6 -8
  61. tencentcloud/lighthouse/v20200324/models.py +30 -0
  62. tencentcloud/lke/v20231130/models.py +23 -14
  63. tencentcloud/lkeap/v20240522/errorcodes.py +3 -0
  64. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
  65. tencentcloud/lkeap/v20240522/models.py +60 -18
  66. tencentcloud/mna/v20210119/models.py +0 -52
  67. tencentcloud/mongodb/v20180408/models.py +2 -44
  68. tencentcloud/mongodb/v20190725/models.py +2 -22
  69. tencentcloud/monitor/v20180724/models.py +57 -6
  70. tencentcloud/monitor/v20180724/monitor_client.py +1 -1
  71. tencentcloud/mps/v20190612/errorcodes.py +6 -0
  72. tencentcloud/mps/v20190612/models.py +871 -18
  73. tencentcloud/mps/v20190612/mps_client.py +138 -0
  74. tencentcloud/ocr/v20181119/models.py +63 -18
  75. tencentcloud/postgres/v20170312/errorcodes.py +6 -0
  76. tencentcloud/postgres/v20170312/models.py +305 -30
  77. tencentcloud/postgres/v20170312/postgres_client.py +46 -0
  78. tencentcloud/pts/v20210728/models.py +0 -348
  79. tencentcloud/redis/v20180412/models.py +12 -8
  80. tencentcloud/redis/v20180412/redis_client.py +8 -8
  81. tencentcloud/rum/v20210622/models.py +92 -2
  82. tencentcloud/scf/v20180416/models.py +44 -4
  83. tencentcloud/sms/v20190711/errorcodes.py +6 -0
  84. tencentcloud/sms/v20190711/models.py +81 -0
  85. tencentcloud/sms/v20210111/errorcodes.py +6 -0
  86. tencentcloud/sms/v20210111/models.py +81 -0
  87. tencentcloud/ssl/v20191205/models.py +79 -8
  88. tencentcloud/ssl/v20191205/ssl_client.py +8 -1
  89. tencentcloud/tcb/v20180608/models.py +207 -403
  90. tencentcloud/tcb/v20180608/tcb_client.py +1 -1
  91. tencentcloud/tchd/v20230306/models.py +0 -2
  92. tencentcloud/teo/v20220901/models.py +8 -18
  93. tencentcloud/tione/v20211111/models.py +34 -0
  94. tencentcloud/tiw/v20190919/models.py +6 -0
  95. tencentcloud/tke/v20220501/models.py +2 -2
  96. tencentcloud/trro/v20220325/models.py +15 -58
  97. tencentcloud/trtc/v20190722/models.py +15 -8
  98. tencentcloud/tse/v20201207/models.py +47 -0
  99. tencentcloud/vod/v20180717/models.py +6 -6
  100. tencentcloud/vpc/v20170312/errorcodes.py +2 -1220
  101. tencentcloud/vpc/v20170312/models.py +47 -65933
  102. tencentcloud/vpc/v20170312/vpc_client.py +7 -9228
  103. tencentcloud/wedata/v20210820/models.py +1368 -2
  104. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  105. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1306.dist-info}/METADATA +1 -1
  106. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1306.dist-info}/RECORD +109 -109
  107. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1306.dist-info}/LICENSE +0 -0
  108. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1306.dist-info}/WHEEL +0 -0
  109. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1306.dist-info}/top_level.txt +0 -0
@@ -49,6 +49,29 @@ class CfsClient(AbstractClient):
49
49
  raise TencentCloudSDKException(type(e).__name__, str(e))
50
50
 
51
51
 
52
+ def CreateAccessCert(self, request):
53
+ """创建用于访问文件系统的凭证
54
+
55
+ :param request: Request instance for CreateAccessCert.
56
+ :type request: :class:`tencentcloud.cfs.v20190719.models.CreateAccessCertRequest`
57
+ :rtype: :class:`tencentcloud.cfs.v20190719.models.CreateAccessCertResponse`
58
+
59
+ """
60
+ try:
61
+ params = request._serialize()
62
+ headers = request.headers
63
+ body = self.call("CreateAccessCert", params, headers=headers)
64
+ response = json.loads(body)
65
+ model = models.CreateAccessCertResponse()
66
+ model._deserialize(response["Response"])
67
+ return model
68
+ except Exception as e:
69
+ if isinstance(e, TencentCloudSDKException):
70
+ raise
71
+ else:
72
+ raise TencentCloudSDKException(type(e).__name__, str(e))
73
+
74
+
52
75
  def CreateAutoSnapshotPolicy(self, request):
53
76
  """创建定期快照策略
54
77
 
@@ -362,7 +362,7 @@ RESOURCEINSUFFICIENT_RULELIMITEXCEEDED = 'ResourceInsufficient.RuleLimitExceeded
362
362
  # 文件系统过大,不支持快照
363
363
  RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = 'ResourceInsufficient.SnapshotSizeLimitExceeded'
364
364
 
365
- # 该子网下已无可用IP
365
+ # 该子网下IP数量不足
366
366
  RESOURCEINSUFFICIENT_SUBNETIPALLOCCUPIED = 'ResourceInsufficient.SubnetIpAllOccupied'
367
367
 
368
368
  # 该资源的标签个数达到最大限制。
@@ -825,6 +825,85 @@ class BucketInfo(AbstractModel):
825
825
 
826
826
 
827
827
 
828
+ class CreateAccessCertRequest(AbstractModel):
829
+ """CreateAccessCert请求参数结构体
830
+
831
+ """
832
+
833
+ def __init__(self):
834
+ r"""
835
+ :param _CertDesc: 证书描述
836
+ :type CertDesc: str
837
+ """
838
+ self._CertDesc = None
839
+
840
+ @property
841
+ def CertDesc(self):
842
+ """证书描述
843
+ :rtype: str
844
+ """
845
+ return self._CertDesc
846
+
847
+ @CertDesc.setter
848
+ def CertDesc(self, CertDesc):
849
+ self._CertDesc = CertDesc
850
+
851
+
852
+ def _deserialize(self, params):
853
+ self._CertDesc = params.get("CertDesc")
854
+ memeber_set = set(params.keys())
855
+ for name, value in vars(self).items():
856
+ property_name = name[1:]
857
+ if property_name in memeber_set:
858
+ memeber_set.remove(property_name)
859
+ if len(memeber_set) > 0:
860
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
861
+
862
+
863
+
864
+ class CreateAccessCertResponse(AbstractModel):
865
+ """CreateAccessCert返回参数结构体
866
+
867
+ """
868
+
869
+ def __init__(self):
870
+ r"""
871
+ :param _CertId: 凭证唯一标识
872
+ :type CertId: str
873
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
874
+ :type RequestId: str
875
+ """
876
+ self._CertId = None
877
+ self._RequestId = None
878
+
879
+ @property
880
+ def CertId(self):
881
+ """凭证唯一标识
882
+ :rtype: str
883
+ """
884
+ return self._CertId
885
+
886
+ @CertId.setter
887
+ def CertId(self, CertId):
888
+ self._CertId = CertId
889
+
890
+ @property
891
+ def RequestId(self):
892
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
893
+ :rtype: str
894
+ """
895
+ return self._RequestId
896
+
897
+ @RequestId.setter
898
+ def RequestId(self, RequestId):
899
+ self._RequestId = RequestId
900
+
901
+
902
+ def _deserialize(self, params):
903
+ self._CertId = params.get("CertId")
904
+ self._RequestId = params.get("RequestId")
905
+
906
+
828
907
  class CreateAutoSnapshotPolicyRequest(AbstractModel):
829
908
  """CreateAutoSnapshotPolicy请求参数结构体
830
909
 
@@ -2825,6 +2825,9 @@ class Cluster(AbstractModel):
2825
2825
  :param _IPVersion: IP版本
2826
2826
  注意:此字段可能返回 null,表示取不到有效值。
2827
2827
  :type IPVersion: str
2828
+ :param _Tag: 标签信息
2829
+ 注意:此字段可能返回 null,表示取不到有效值。
2830
+ :type Tag: list of TagInfo
2828
2831
  """
2829
2832
  self._ClusterId = None
2830
2833
  self._ClusterName = None
@@ -2851,6 +2854,7 @@ class Cluster(AbstractModel):
2851
2854
  self._DisasterRecoveryType = None
2852
2855
  self._Egress = None
2853
2856
  self._IPVersion = None
2857
+ self._Tag = None
2854
2858
 
2855
2859
  @property
2856
2860
  def ClusterId(self):
@@ -3146,6 +3150,18 @@ class Cluster(AbstractModel):
3146
3150
  def IPVersion(self, IPVersion):
3147
3151
  self._IPVersion = IPVersion
3148
3152
 
3153
+ @property
3154
+ def Tag(self):
3155
+ """标签信息
3156
+ 注意:此字段可能返回 null,表示取不到有效值。
3157
+ :rtype: list of TagInfo
3158
+ """
3159
+ return self._Tag
3160
+
3161
+ @Tag.setter
3162
+ def Tag(self, Tag):
3163
+ self._Tag = Tag
3164
+
3149
3165
 
3150
3166
  def _deserialize(self, params):
3151
3167
  self._ClusterId = params.get("ClusterId")
@@ -3175,6 +3191,12 @@ class Cluster(AbstractModel):
3175
3191
  self._DisasterRecoveryType = params.get("DisasterRecoveryType")
3176
3192
  self._Egress = params.get("Egress")
3177
3193
  self._IPVersion = params.get("IPVersion")
3194
+ if params.get("Tag") is not None:
3195
+ self._Tag = []
3196
+ for item in params.get("Tag"):
3197
+ obj = TagInfo()
3198
+ obj._deserialize(item)
3199
+ self._Tag.append(obj)
3178
3200
  memeber_set = set(params.keys())
3179
3201
  for name, value in vars(self).items():
3180
3202
  property_name = name[1:]
@@ -4890,11 +4912,22 @@ class CreateTargetGroupRequest(AbstractModel):
4890
4912
  :type Port: int
4891
4913
  :param _TargetGroupInstances: 目标组绑定的后端服务器
4892
4914
  :type TargetGroupInstances: list of TargetGroupInstance
4915
+ :param _Tags: 标签。
4916
+ :type Tags: list of TagInfo
4917
+ :param _Weight: 后端服务默认权重。
4918
+ <ul>
4919
+ <li>取值范围[0, 100]</li>
4920
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
4921
+ </ul>
4922
+
4923
+ :type Weight: int
4893
4924
  """
4894
4925
  self._TargetGroupName = None
4895
4926
  self._VpcId = None
4896
4927
  self._Port = None
4897
4928
  self._TargetGroupInstances = None
4929
+ self._Tags = None
4930
+ self._Weight = None
4898
4931
 
4899
4932
  @property
4900
4933
  def TargetGroupName(self):
@@ -4941,6 +4974,33 @@ class CreateTargetGroupRequest(AbstractModel):
4941
4974
  def TargetGroupInstances(self, TargetGroupInstances):
4942
4975
  self._TargetGroupInstances = TargetGroupInstances
4943
4976
 
4977
+ @property
4978
+ def Tags(self):
4979
+ """标签。
4980
+ :rtype: list of TagInfo
4981
+ """
4982
+ return self._Tags
4983
+
4984
+ @Tags.setter
4985
+ def Tags(self, Tags):
4986
+ self._Tags = Tags
4987
+
4988
+ @property
4989
+ def Weight(self):
4990
+ """后端服务默认权重。
4991
+ <ul>
4992
+ <li>取值范围[0, 100]</li>
4993
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
4994
+ </ul>
4995
+
4996
+ :rtype: int
4997
+ """
4998
+ return self._Weight
4999
+
5000
+ @Weight.setter
5001
+ def Weight(self, Weight):
5002
+ self._Weight = Weight
5003
+
4944
5004
 
4945
5005
  def _deserialize(self, params):
4946
5006
  self._TargetGroupName = params.get("TargetGroupName")
@@ -4952,6 +5012,13 @@ class CreateTargetGroupRequest(AbstractModel):
4952
5012
  obj = TargetGroupInstance()
4953
5013
  obj._deserialize(item)
4954
5014
  self._TargetGroupInstances.append(obj)
5015
+ if params.get("Tags") is not None:
5016
+ self._Tags = []
5017
+ for item in params.get("Tags"):
5018
+ obj = TagInfo()
5019
+ obj._deserialize(item)
5020
+ self._Tags.append(obj)
5021
+ self._Weight = params.get("Weight")
4955
5022
  memeber_set = set(params.keys())
4956
5023
  for name, value in vars(self).items():
4957
5024
  property_name = name[1:]
@@ -7690,7 +7757,7 @@ class DescribeExclusiveClustersRequest(AbstractModel):
7690
7757
  <li> cluster-name - String - 是否必填:否 - (过滤条件)按照 集群 的名称过滤。</li>
7691
7758
  <li> cluster-tag - String - 是否必填:否 - (过滤条件)按照 集群 的标签过滤。(只有TGW/STGW集群有集群标签) </li>
7692
7759
  <li> vip - String - 是否必填:否 - (过滤条件)按照 集群 内的vip过滤。</li>
7693
- <li> loadblancer-id - String - 是否必填:否 - (过滤条件)按照 集群 内的负载均衡唯一ID过滤。</li>
7760
+ <li> loadbalancer-id - String - 是否必填:否 - (过滤条件)按照 集群 内的负载均衡唯一ID过滤。</li>
7694
7761
  <li> network - String - 是否必填:否 - (过滤条件)按照 集群 的网络类型过滤,如:"Public","Private"。</li>
7695
7762
  <li> zone - String - 是否必填:否 - (过滤条件)按照 集群 所在可用区过滤,如:"ap-guangzhou-1"(广州一区)。</li>
7696
7763
  <li> isp -- String - 是否必填:否 - (过滤条件)按照TGW集群的 Isp 类型过滤,如:"BGP","CMCC","CUCC","CTCC","INTERNAL"。</li>
@@ -7730,7 +7797,7 @@ class DescribeExclusiveClustersRequest(AbstractModel):
7730
7797
  <li> cluster-name - String - 是否必填:否 - (过滤条件)按照 集群 的名称过滤。</li>
7731
7798
  <li> cluster-tag - String - 是否必填:否 - (过滤条件)按照 集群 的标签过滤。(只有TGW/STGW集群有集群标签) </li>
7732
7799
  <li> vip - String - 是否必填:否 - (过滤条件)按照 集群 内的vip过滤。</li>
7733
- <li> loadblancer-id - String - 是否必填:否 - (过滤条件)按照 集群 内的负载均衡唯一ID过滤。</li>
7800
+ <li> loadbalancer-id - String - 是否必填:否 - (过滤条件)按照 集群 内的负载均衡唯一ID过滤。</li>
7734
7801
  <li> network - String - 是否必填:否 - (过滤条件)按照 集群 的网络类型过滤,如:"Public","Private"。</li>
7735
7802
  <li> zone - String - 是否必填:否 - (过滤条件)按照 集群 所在可用区过滤,如:"ap-guangzhou-1"(广州一区)。</li>
7736
7803
  <li> isp -- String - 是否必填:否 - (过滤条件)按照TGW集群的 Isp 类型过滤,如:"BGP","CMCC","CUCC","CTCC","INTERNAL"。</li>
@@ -8686,16 +8753,11 @@ OPEN:公网属性, INTERNAL:内网属性。
8686
8753
  :type SecurityGroup: str
8687
8754
  :param _MasterZone: 主可用区ID,如 :"100001" (对应的是广州一区)。可通过[DescribeZones](https://cloud.tencent.com/document/product/213/15707)获取可用区列表。
8688
8755
  :type MasterZone: str
8689
- :param _Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values`皆为必填项。详细的过滤条件如下:
8690
- <li> charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的实例计费模式过滤,包括"PREPAID","POSTPAID_BY_HOUR"。</li>
8691
- <li> internet-charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的网络计费模式过滤,包括"BANDWIDTH_PREPAID","TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。</li>
8692
- <li> master-zone-id - String - 是否必填:否 - (过滤条件)按照 CLB 的主可用区ID过滤,如 :"100001" (对应的是广州一区)。</li>
8693
- <li> tag-key - String - 是否必填:否 - (过滤条件)按照 CLB 标签的键过滤。</li>
8694
- <li> tag:tag-key - String - 是否必填:否 - (过滤条件)按照CLB标签键值对进行过滤,tag-key使用具体的标签键进行替换。</li>
8695
- <li> function-name - String - 是否必填:否 - (过滤条件)按照 CLB 后端绑定的SCF云函数的函数名称过滤。</li>
8696
- <li> vip-isp - String - 是否必填:否 - (过滤条件)按照 CLB VIP的运营商类型过滤,如:"BGP","INTERNAL","CMCC","CTCC","CUCC"等。</li>
8697
- <li> sla-type - String - 是否必填:否 - (过滤条件)按照 CLB 的性能容量型规格过滤,包括"clb.c2.medium","clb.c3.small","clb.c3.medium","clb.c4.small","clb.c4.medium","clb.c4.large","clb.c4.xlarge"。</li>
8756
+ :param _Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values`皆为必填项。详细的过滤条件如下:<li> charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的实例计费模式过滤,包括"PREPAID","POSTPAID_BY_HOUR"。</li><li> internet-charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的网络计费模式过滤,包括"BANDWIDTH_PREPAID","TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。</li><li> master-zone-id - String - 是否必填:否 - (过滤条件)按照 CLB 的主可用区ID过滤,如 :"100001" (对应的是广州一区)。</li><li> tag-key - String - 是否必填:否 - (过滤条件)按照 CLB 标签的键过滤。</li><li> tag:tag-key - String - 是否必填:否 - (过滤条件)按照CLB标签键值对进行过滤,tag-key使用具体的标签键进行替换。</li><li> function-name - String - 是否必填:否 - (过滤条件)按照 CLB 后端绑定的SCF云函数的函数名称过滤。</li><li> vip-isp - String - 是否必填:否 - (过滤条件)按照 CLB VIP的运营商类型过滤,如:"BGP","INTERNAL","CMCC","CTCC","CUCC"等。</li><li> sla-type - String - 是否必填:否 - (过滤条件)按照 CLB 的性能容量型规格过滤,包括"clb.c1.small","clb.c2.medium","clb.c3.small","clb.c3.medium","clb.c4.small","clb.c4.medium","clb.c4.large","clb.c4.xlarge","others"。</li><li> exclusive - uint64 - 是否必填:否 - (过滤条件)按照独占实例进行过滤。</li>
8698
8757
  :type Filters: list of Filter
8758
+ :param _AdditionalFields: 选择返回的扩充字段,不指定时,扩充字段默认不返回。详细支持的扩充字段如下:
8759
+ <li> TargetCount:绑定的后端服务数量</li>
8760
+ :type AdditionalFields: list of str
8699
8761
  """
8700
8762
  self._LoadBalancerIds = None
8701
8763
  self._LoadBalancerType = None
@@ -8716,6 +8778,7 @@ OPEN:公网属性, INTERNAL:内网属性。
8716
8778
  self._SecurityGroup = None
8717
8779
  self._MasterZone = None
8718
8780
  self._Filters = None
8781
+ self._AdditionalFields = None
8719
8782
 
8720
8783
  @property
8721
8784
  def LoadBalancerIds(self):
@@ -8919,15 +8982,7 @@ OPEN:公网属性, INTERNAL:内网属性。
8919
8982
 
8920
8983
  @property
8921
8984
  def Filters(self):
8922
- """每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values`皆为必填项。详细的过滤条件如下:
8923
- <li> charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的实例计费模式过滤,包括"PREPAID","POSTPAID_BY_HOUR"。</li>
8924
- <li> internet-charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的网络计费模式过滤,包括"BANDWIDTH_PREPAID","TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。</li>
8925
- <li> master-zone-id - String - 是否必填:否 - (过滤条件)按照 CLB 的主可用区ID过滤,如 :"100001" (对应的是广州一区)。</li>
8926
- <li> tag-key - String - 是否必填:否 - (过滤条件)按照 CLB 标签的键过滤。</li>
8927
- <li> tag:tag-key - String - 是否必填:否 - (过滤条件)按照CLB标签键值对进行过滤,tag-key使用具体的标签键进行替换。</li>
8928
- <li> function-name - String - 是否必填:否 - (过滤条件)按照 CLB 后端绑定的SCF云函数的函数名称过滤。</li>
8929
- <li> vip-isp - String - 是否必填:否 - (过滤条件)按照 CLB VIP的运营商类型过滤,如:"BGP","INTERNAL","CMCC","CTCC","CUCC"等。</li>
8930
- <li> sla-type - String - 是否必填:否 - (过滤条件)按照 CLB 的性能容量型规格过滤,包括"clb.c2.medium","clb.c3.small","clb.c3.medium","clb.c4.small","clb.c4.medium","clb.c4.large","clb.c4.xlarge"。</li>
8985
+ """每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values`皆为必填项。详细的过滤条件如下:<li> charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的实例计费模式过滤,包括"PREPAID","POSTPAID_BY_HOUR"。</li><li> internet-charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的网络计费模式过滤,包括"BANDWIDTH_PREPAID","TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。</li><li> master-zone-id - String - 是否必填:否 - (过滤条件)按照 CLB 的主可用区ID过滤,如 :"100001" (对应的是广州一区)。</li><li> tag-key - String - 是否必填:否 - (过滤条件)按照 CLB 标签的键过滤。</li><li> tag:tag-key - String - 是否必填:否 - (过滤条件)按照CLB标签键值对进行过滤,tag-key使用具体的标签键进行替换。</li><li> function-name - String - 是否必填:否 - (过滤条件)按照 CLB 后端绑定的SCF云函数的函数名称过滤。</li><li> vip-isp - String - 是否必填:否 - (过滤条件)按照 CLB VIP的运营商类型过滤,如:"BGP","INTERNAL","CMCC","CTCC","CUCC"等。</li><li> sla-type - String - 是否必填:否 - (过滤条件)按照 CLB 的性能容量型规格过滤,包括"clb.c1.small","clb.c2.medium","clb.c3.small","clb.c3.medium","clb.c4.small","clb.c4.medium","clb.c4.large","clb.c4.xlarge","others"。</li><li> exclusive - uint64 - 是否必填:否 - (过滤条件)按照独占实例进行过滤。</li>
8931
8986
  :rtype: list of Filter
8932
8987
  """
8933
8988
  return self._Filters
@@ -8936,6 +8991,18 @@ OPEN:公网属性, INTERNAL:内网属性。
8936
8991
  def Filters(self, Filters):
8937
8992
  self._Filters = Filters
8938
8993
 
8994
+ @property
8995
+ def AdditionalFields(self):
8996
+ """选择返回的扩充字段,不指定时,扩充字段默认不返回。详细支持的扩充字段如下:
8997
+ <li> TargetCount:绑定的后端服务数量</li>
8998
+ :rtype: list of str
8999
+ """
9000
+ return self._AdditionalFields
9001
+
9002
+ @AdditionalFields.setter
9003
+ def AdditionalFields(self, AdditionalFields):
9004
+ self._AdditionalFields = AdditionalFields
9005
+
8939
9006
 
8940
9007
  def _deserialize(self, params):
8941
9008
  self._LoadBalancerIds = params.get("LoadBalancerIds")
@@ -8962,6 +9029,7 @@ OPEN:公网属性, INTERNAL:内网属性。
8962
9029
  obj = Filter()
8963
9030
  obj._deserialize(item)
8964
9031
  self._Filters.append(obj)
9032
+ self._AdditionalFields = params.get("AdditionalFields")
8965
9033
  memeber_set = set(params.keys())
8966
9034
  for name, value in vars(self).items():
8967
9035
  property_name = name[1:]
@@ -12969,6 +13037,8 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
12969
13037
  :param _Exclusive: 实例类型是否为独占型。1:独占型实例。0:非独占型实例。
12970
13038
  注意:此字段可能返回 null,表示取不到有效值。
12971
13039
  :type Exclusive: int
13040
+ :param _TargetCount: 已绑定的后端服务数量。
13041
+ :type TargetCount: int
12972
13042
  """
12973
13043
  self._LoadBalancerId = None
12974
13044
  self._LoadBalancerName = None
@@ -13026,6 +13096,7 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
13026
13096
  self._LoadBalancerDomain = None
13027
13097
  self._Egress = None
13028
13098
  self._Exclusive = None
13099
+ self._TargetCount = None
13029
13100
 
13030
13101
  @property
13031
13102
  def LoadBalancerId(self):
@@ -13700,6 +13771,17 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
13700
13771
  def Exclusive(self, Exclusive):
13701
13772
  self._Exclusive = Exclusive
13702
13773
 
13774
+ @property
13775
+ def TargetCount(self):
13776
+ """已绑定的后端服务数量。
13777
+ :rtype: int
13778
+ """
13779
+ return self._TargetCount
13780
+
13781
+ @TargetCount.setter
13782
+ def TargetCount(self, TargetCount):
13783
+ self._TargetCount = TargetCount
13784
+
13703
13785
 
13704
13786
  def _deserialize(self, params):
13705
13787
  self._LoadBalancerId = params.get("LoadBalancerId")
@@ -13785,6 +13867,7 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
13785
13867
  self._LoadBalancerDomain = params.get("LoadBalancerDomain")
13786
13868
  self._Egress = params.get("Egress")
13787
13869
  self._Exclusive = params.get("Exclusive")
13870
+ self._TargetCount = params.get("TargetCount")
13788
13871
  memeber_set = set(params.keys())
13789
13872
  for name, value in vars(self).items():
13790
13873
  property_name = name[1:]
@@ -16546,10 +16629,17 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
16546
16629
  :type TargetGroupName: str
16547
16630
  :param _Port: 目标组的新默认端口。
16548
16631
  :type Port: int
16632
+ :param _Weight: 后端服务默认权重。
16633
+ <ul>
16634
+ <li>取值范围[0, 100]</li>
16635
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
16636
+ </ul>
16637
+ :type Weight: int
16549
16638
  """
16550
16639
  self._TargetGroupId = None
16551
16640
  self._TargetGroupName = None
16552
16641
  self._Port = None
16642
+ self._Weight = None
16553
16643
 
16554
16644
  @property
16555
16645
  def TargetGroupId(self):
@@ -16584,11 +16674,27 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
16584
16674
  def Port(self, Port):
16585
16675
  self._Port = Port
16586
16676
 
16677
+ @property
16678
+ def Weight(self):
16679
+ """后端服务默认权重。
16680
+ <ul>
16681
+ <li>取值范围[0, 100]</li>
16682
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
16683
+ </ul>
16684
+ :rtype: int
16685
+ """
16686
+ return self._Weight
16687
+
16688
+ @Weight.setter
16689
+ def Weight(self, Weight):
16690
+ self._Weight = Weight
16691
+
16587
16692
 
16588
16693
  def _deserialize(self, params):
16589
16694
  self._TargetGroupId = params.get("TargetGroupId")
16590
16695
  self._TargetGroupName = params.get("TargetGroupName")
16591
16696
  self._Port = params.get("Port")
16697
+ self._Weight = params.get("Weight")
16592
16698
  memeber_set = set(params.keys())
16593
16699
  for name, value in vars(self).items():
16594
16700
  property_name = name[1:]
@@ -20668,6 +20774,20 @@ class TargetGroupInfo(AbstractModel):
20668
20774
  :param _AssociatedRule: 关联到的规则数组。在DescribeTargetGroupList接口调用时无法获取到该参数。
20669
20775
  注意:此字段可能返回 null,表示取不到有效值。
20670
20776
  :type AssociatedRule: list of AssociationItem
20777
+ :param _TargetGroupType: 目标组类型,当前支持v1(旧版目标组), v2(新版目标组), gwlb(全局负载均衡目标组)。
20778
+ 注意:此字段可能返回 null,表示取不到有效值。
20779
+ :type TargetGroupType: str
20780
+ :param _AssociatedRuleCount: 目标组已关联的规则数。
20781
+ 注意:此字段可能返回 null,表示取不到有效值。
20782
+ :type AssociatedRuleCount: int
20783
+ :param _RegisteredInstancesCount: 目标组内的实例数量。
20784
+ 注意:此字段可能返回 null,表示取不到有效值。
20785
+ :type RegisteredInstancesCount: int
20786
+ :param _Tag: 标签。
20787
+ :type Tag: list of TagInfo
20788
+ :param _Weight: 默认权重。只有v2类型目标组返回该字段。当返回为NULL时, 表示未设置默认权重。
20789
+ 注意:此字段可能返回 null,表示取不到有效值。
20790
+ :type Weight: int
20671
20791
  """
20672
20792
  self._TargetGroupId = None
20673
20793
  self._VpcId = None
@@ -20676,6 +20796,11 @@ class TargetGroupInfo(AbstractModel):
20676
20796
  self._CreatedTime = None
20677
20797
  self._UpdatedTime = None
20678
20798
  self._AssociatedRule = None
20799
+ self._TargetGroupType = None
20800
+ self._AssociatedRuleCount = None
20801
+ self._RegisteredInstancesCount = None
20802
+ self._Tag = None
20803
+ self._Weight = None
20679
20804
 
20680
20805
  @property
20681
20806
  def TargetGroupId(self):
@@ -20756,6 +20881,65 @@ class TargetGroupInfo(AbstractModel):
20756
20881
  def AssociatedRule(self, AssociatedRule):
20757
20882
  self._AssociatedRule = AssociatedRule
20758
20883
 
20884
+ @property
20885
+ def TargetGroupType(self):
20886
+ """目标组类型,当前支持v1(旧版目标组), v2(新版目标组), gwlb(全局负载均衡目标组)。
20887
+ 注意:此字段可能返回 null,表示取不到有效值。
20888
+ :rtype: str
20889
+ """
20890
+ return self._TargetGroupType
20891
+
20892
+ @TargetGroupType.setter
20893
+ def TargetGroupType(self, TargetGroupType):
20894
+ self._TargetGroupType = TargetGroupType
20895
+
20896
+ @property
20897
+ def AssociatedRuleCount(self):
20898
+ """目标组已关联的规则数。
20899
+ 注意:此字段可能返回 null,表示取不到有效值。
20900
+ :rtype: int
20901
+ """
20902
+ return self._AssociatedRuleCount
20903
+
20904
+ @AssociatedRuleCount.setter
20905
+ def AssociatedRuleCount(self, AssociatedRuleCount):
20906
+ self._AssociatedRuleCount = AssociatedRuleCount
20907
+
20908
+ @property
20909
+ def RegisteredInstancesCount(self):
20910
+ """目标组内的实例数量。
20911
+ 注意:此字段可能返回 null,表示取不到有效值。
20912
+ :rtype: int
20913
+ """
20914
+ return self._RegisteredInstancesCount
20915
+
20916
+ @RegisteredInstancesCount.setter
20917
+ def RegisteredInstancesCount(self, RegisteredInstancesCount):
20918
+ self._RegisteredInstancesCount = RegisteredInstancesCount
20919
+
20920
+ @property
20921
+ def Tag(self):
20922
+ """标签。
20923
+ :rtype: list of TagInfo
20924
+ """
20925
+ return self._Tag
20926
+
20927
+ @Tag.setter
20928
+ def Tag(self, Tag):
20929
+ self._Tag = Tag
20930
+
20931
+ @property
20932
+ def Weight(self):
20933
+ """默认权重。只有v2类型目标组返回该字段。当返回为NULL时, 表示未设置默认权重。
20934
+ 注意:此字段可能返回 null,表示取不到有效值。
20935
+ :rtype: int
20936
+ """
20937
+ return self._Weight
20938
+
20939
+ @Weight.setter
20940
+ def Weight(self, Weight):
20941
+ self._Weight = Weight
20942
+
20759
20943
 
20760
20944
  def _deserialize(self, params):
20761
20945
  self._TargetGroupId = params.get("TargetGroupId")
@@ -20770,6 +20954,16 @@ class TargetGroupInfo(AbstractModel):
20770
20954
  obj = AssociationItem()
20771
20955
  obj._deserialize(item)
20772
20956
  self._AssociatedRule.append(obj)
20957
+ self._TargetGroupType = params.get("TargetGroupType")
20958
+ self._AssociatedRuleCount = params.get("AssociatedRuleCount")
20959
+ self._RegisteredInstancesCount = params.get("RegisteredInstancesCount")
20960
+ if params.get("Tag") is not None:
20961
+ self._Tag = []
20962
+ for item in params.get("Tag"):
20963
+ obj = TagInfo()
20964
+ obj._deserialize(item)
20965
+ self._Tag.append(obj)
20966
+ self._Weight = params.get("Weight")
20773
20967
  memeber_set = set(params.keys())
20774
20968
  for name, value in vars(self).items():
20775
20969
  property_name = name[1:]
@@ -17,5 +17,8 @@
17
17
  # DBError
18
18
  INTERNALERROR_DBERROR = 'InternalError.DBError'
19
19
 
20
+ # 签名失败
21
+ INTERNALERROR_FAILTOSIGN = 'InternalError.FailToSign'
22
+
20
23
  # 找不到该License
21
24
  RESOURCENOTFOUND_LICENSENOTFOUNDERR = 'ResourceNotFound.LicenseNotFoundErr'