tencentcloud-sdk-python 3.0.1316__py2.py3-none-any.whl → 3.0.1317__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 (27) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cdn/v20180606/errorcodes.py +3 -0
  3. tencentcloud/cdn/v20180606/models.py +10 -10
  4. tencentcloud/cls/v20201016/models.py +2 -2
  5. tencentcloud/common/abstract_client.py +37 -18
  6. tencentcloud/common/profile/client_profile.py +4 -3
  7. tencentcloud/common/retry.py +62 -0
  8. tencentcloud/cvm/v20170312/models.py +15 -0
  9. tencentcloud/ess/v20201111/models.py +0 -12
  10. tencentcloud/lcic/v20220817/models.py +0 -8
  11. tencentcloud/lkeap/v20240522/models.py +824 -37
  12. tencentcloud/mongodb/v20190725/models.py +155 -0
  13. tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
  14. tencentcloud/rum/v20210622/models.py +16 -0
  15. tencentcloud/ssl/v20191205/models.py +33 -21
  16. tencentcloud/teo/v20220901/models.py +2 -4
  17. tencentcloud/tke/v20180525/models.py +30 -0
  18. tencentcloud/vpc/v20170312/models.py +7 -4
  19. tencentcloud/vpc/v20170312/vpc_client.py +1 -1
  20. tencentcloud/waf/v20180125/models.py +30 -0
  21. tencentcloud/wedata/v20210820/models.py +189 -0
  22. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  23. {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/METADATA +1 -1
  24. {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/RECORD +27 -26
  25. {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/LICENSE +0 -0
  26. {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/WHEEL +0 -0
  27. {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/top_level.txt +0 -0
@@ -2742,6 +2742,77 @@ class DBInstancePrice(AbstractModel):
2742
2742
 
2743
2743
 
2744
2744
 
2745
+ class DbURL(AbstractModel):
2746
+ """数据库实例 URI 形式的连接串访问地址示例。
2747
+
2748
+ """
2749
+
2750
+ def __init__(self):
2751
+ r"""
2752
+ :param _URLType: 指 URI 类别,包括:,
2753
+ - CLUSTER_ALL:指通过该 URI 连接库实例的主节点,可读写。
2754
+ - CLUSTER_READ_READONLY:指通过该 URI 连接实例只读节点。
2755
+ - CLUSTER_READ_SECONDARY:指通过该 URI 连接实例从节点。
2756
+ - CLUSTER_READ_SECONDARY_AND_READONLY:指通过该 URI 连接实例只读从节点。
2757
+ - CLUSTER_PRIMARY_AND_SECONDARY:指通过该 URI 连接实例 主节点与从节点。
2758
+ - MONGOS_ALL:指通过该 URI 连接每个 Mongos 节点,可读写。
2759
+ - MONGOS_READ_READONLY:指通过该 URI 连接 Mongos 的只读节点。
2760
+ - MONGOS_READ_SECONDARY:指通过该 URI 连接 Mongos 的从节点。
2761
+ - MONGOS_READ_PRIMARY_AND_SECONDARY:指通过该URI 连接 Mongos 的主节点与从节点。
2762
+ - MONGOS_READ_SECONDARY_AND_READONLY:指通过该URI 连接 Mongos 的从节点与只读节点。
2763
+ :type URLType: str
2764
+ :param _Address: 实例 URI 形式的连接串访问地址示例。
2765
+ :type Address: str
2766
+ """
2767
+ self._URLType = None
2768
+ self._Address = None
2769
+
2770
+ @property
2771
+ def URLType(self):
2772
+ """指 URI 类别,包括:,
2773
+ - CLUSTER_ALL:指通过该 URI 连接库实例的主节点,可读写。
2774
+ - CLUSTER_READ_READONLY:指通过该 URI 连接实例只读节点。
2775
+ - CLUSTER_READ_SECONDARY:指通过该 URI 连接实例从节点。
2776
+ - CLUSTER_READ_SECONDARY_AND_READONLY:指通过该 URI 连接实例只读从节点。
2777
+ - CLUSTER_PRIMARY_AND_SECONDARY:指通过该 URI 连接实例 主节点与从节点。
2778
+ - MONGOS_ALL:指通过该 URI 连接每个 Mongos 节点,可读写。
2779
+ - MONGOS_READ_READONLY:指通过该 URI 连接 Mongos 的只读节点。
2780
+ - MONGOS_READ_SECONDARY:指通过该 URI 连接 Mongos 的从节点。
2781
+ - MONGOS_READ_PRIMARY_AND_SECONDARY:指通过该URI 连接 Mongos 的主节点与从节点。
2782
+ - MONGOS_READ_SECONDARY_AND_READONLY:指通过该URI 连接 Mongos 的从节点与只读节点。
2783
+ :rtype: str
2784
+ """
2785
+ return self._URLType
2786
+
2787
+ @URLType.setter
2788
+ def URLType(self, URLType):
2789
+ self._URLType = URLType
2790
+
2791
+ @property
2792
+ def Address(self):
2793
+ """实例 URI 形式的连接串访问地址示例。
2794
+ :rtype: str
2795
+ """
2796
+ return self._Address
2797
+
2798
+ @Address.setter
2799
+ def Address(self, Address):
2800
+ self._Address = Address
2801
+
2802
+
2803
+ def _deserialize(self, params):
2804
+ self._URLType = params.get("URLType")
2805
+ self._Address = params.get("Address")
2806
+ memeber_set = set(params.keys())
2807
+ for name, value in vars(self).items():
2808
+ property_name = name[1:]
2809
+ if property_name in memeber_set:
2810
+ memeber_set.remove(property_name)
2811
+ if len(memeber_set) > 0:
2812
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2813
+
2814
+
2815
+
2745
2816
  class DeleteAccountUserRequest(AbstractModel):
2746
2817
  """DeleteAccountUser请求参数结构体
2747
2818
 
@@ -4570,6 +4641,90 @@ class DescribeDBInstanceParamTplResponse(AbstractModel):
4570
4641
  self._RequestId = params.get("RequestId")
4571
4642
 
4572
4643
 
4644
+ class DescribeDBInstanceURLRequest(AbstractModel):
4645
+ """DescribeDBInstanceURL请求参数结构体
4646
+
4647
+ """
4648
+
4649
+ def __init__(self):
4650
+ r"""
4651
+ :param _InstanceId: 实例 ID。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb#/)在实例列表复制实例 ID。
4652
+ :type InstanceId: str
4653
+ """
4654
+ self._InstanceId = None
4655
+
4656
+ @property
4657
+ def InstanceId(self):
4658
+ """实例 ID。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb#/)在实例列表复制实例 ID。
4659
+ :rtype: str
4660
+ """
4661
+ return self._InstanceId
4662
+
4663
+ @InstanceId.setter
4664
+ def InstanceId(self, InstanceId):
4665
+ self._InstanceId = InstanceId
4666
+
4667
+
4668
+ def _deserialize(self, params):
4669
+ self._InstanceId = params.get("InstanceId")
4670
+ memeber_set = set(params.keys())
4671
+ for name, value in vars(self).items():
4672
+ property_name = name[1:]
4673
+ if property_name in memeber_set:
4674
+ memeber_set.remove(property_name)
4675
+ if len(memeber_set) > 0:
4676
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4677
+
4678
+
4679
+
4680
+ class DescribeDBInstanceURLResponse(AbstractModel):
4681
+ """DescribeDBInstanceURL返回参数结构体
4682
+
4683
+ """
4684
+
4685
+ def __init__(self):
4686
+ r"""
4687
+ :param _Urls: 实例 URI 形式的连接串访问地址示例。包含:URI 类型及连接串地址。
4688
+ :type Urls: list of DbURL
4689
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4690
+ :type RequestId: str
4691
+ """
4692
+ self._Urls = None
4693
+ self._RequestId = None
4694
+
4695
+ @property
4696
+ def Urls(self):
4697
+ """实例 URI 形式的连接串访问地址示例。包含:URI 类型及连接串地址。
4698
+ :rtype: list of DbURL
4699
+ """
4700
+ return self._Urls
4701
+
4702
+ @Urls.setter
4703
+ def Urls(self, Urls):
4704
+ self._Urls = Urls
4705
+
4706
+ @property
4707
+ def RequestId(self):
4708
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4709
+ :rtype: str
4710
+ """
4711
+ return self._RequestId
4712
+
4713
+ @RequestId.setter
4714
+ def RequestId(self, RequestId):
4715
+ self._RequestId = RequestId
4716
+
4717
+
4718
+ def _deserialize(self, params):
4719
+ if params.get("Urls") is not None:
4720
+ self._Urls = []
4721
+ for item in params.get("Urls"):
4722
+ obj = DbURL()
4723
+ obj._deserialize(item)
4724
+ self._Urls.append(obj)
4725
+ self._RequestId = params.get("RequestId")
4726
+
4727
+
4573
4728
  class DescribeDBInstancesRequest(AbstractModel):
4574
4729
  """DescribeDBInstances请求参数结构体
4575
4730
 
@@ -466,6 +466,29 @@ class MongodbClient(AbstractClient):
466
466
  raise TencentCloudSDKException(type(e).__name__, str(e))
467
467
 
468
468
 
469
+ def DescribeDBInstanceURL(self, request):
470
+ """本接口(DescribeDBInstanceURL)用于获取指定实例的 URI 形式的连接串访问地址示例。
471
+
472
+ :param request: Request instance for DescribeDBInstanceURL.
473
+ :type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceURLRequest`
474
+ :rtype: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceURLResponse`
475
+
476
+ """
477
+ try:
478
+ params = request._serialize()
479
+ headers = request.headers
480
+ body = self.call("DescribeDBInstanceURL", params, headers=headers)
481
+ response = json.loads(body)
482
+ model = models.DescribeDBInstanceURLResponse()
483
+ model._deserialize(response["Response"])
484
+ return model
485
+ except Exception as e:
486
+ if isinstance(e, TencentCloudSDKException):
487
+ raise
488
+ else:
489
+ raise TencentCloudSDKException(type(e).__name__, str(e))
490
+
491
+
469
492
  def DescribeDBInstances(self, request):
470
493
  """本接口(DescribeDBInstances)用于查询云数据库实例列表,支持通过项目ID、实例ID、实例状态等过滤条件来筛选主实例、灾备实例和只读实例信息列表。
471
494
 
@@ -8385,6 +8385,8 @@ class DescribeProjectsRequest(AbstractModel):
8385
8385
 
8386
8386
  @property
8387
8387
  def IsDemo(self):
8388
+ warnings.warn("parameter `IsDemo` is deprecated", DeprecationWarning)
8389
+
8388
8390
  """该参数已废弃,demo模式请在Filters内注明
8389
8391
  :rtype: int
8390
8392
  """
@@ -8392,6 +8394,8 @@ class DescribeProjectsRequest(AbstractModel):
8392
8394
 
8393
8395
  @IsDemo.setter
8394
8396
  def IsDemo(self, IsDemo):
8397
+ warnings.warn("parameter `IsDemo` is deprecated", DeprecationWarning)
8398
+
8395
8399
  self._IsDemo = IsDemo
8396
8400
 
8397
8401
 
@@ -9716,6 +9720,8 @@ class DescribeScoresRequest(AbstractModel):
9716
9720
 
9717
9721
  @property
9718
9722
  def IsDemo(self):
9723
+ warnings.warn("parameter `IsDemo` is deprecated", DeprecationWarning)
9724
+
9719
9725
  """该参数已废弃
9720
9726
  :rtype: int
9721
9727
  """
@@ -9723,6 +9729,8 @@ class DescribeScoresRequest(AbstractModel):
9723
9729
 
9724
9730
  @IsDemo.setter
9725
9731
  def IsDemo(self, IsDemo):
9732
+ warnings.warn("parameter `IsDemo` is deprecated", DeprecationWarning)
9733
+
9726
9734
  self._IsDemo = IsDemo
9727
9735
 
9728
9736
 
@@ -10052,6 +10060,8 @@ class DescribeTawInstancesRequest(AbstractModel):
10052
10060
 
10053
10061
  @property
10054
10062
  def InstanceIds(self):
10063
+ warnings.warn("parameter `InstanceIds` is deprecated", DeprecationWarning)
10064
+
10055
10065
  """实例Id, 该参数已废弃,请在Filters内注明
10056
10066
  :rtype: list of str
10057
10067
  """
@@ -10059,6 +10069,8 @@ class DescribeTawInstancesRequest(AbstractModel):
10059
10069
 
10060
10070
  @InstanceIds.setter
10061
10071
  def InstanceIds(self, InstanceIds):
10072
+ warnings.warn("parameter `InstanceIds` is deprecated", DeprecationWarning)
10073
+
10062
10074
  self._InstanceIds = InstanceIds
10063
10075
 
10064
10076
  @property
@@ -10074,6 +10086,8 @@ class DescribeTawInstancesRequest(AbstractModel):
10074
10086
 
10075
10087
  @property
10076
10088
  def IsDemo(self):
10089
+ warnings.warn("parameter `IsDemo` is deprecated", DeprecationWarning)
10090
+
10077
10091
  """该参数已废弃,demo模式请在Filters内注明
10078
10092
  :rtype: int
10079
10093
  """
@@ -10081,6 +10095,8 @@ class DescribeTawInstancesRequest(AbstractModel):
10081
10095
 
10082
10096
  @IsDemo.setter
10083
10097
  def IsDemo(self, IsDemo):
10098
+ warnings.warn("parameter `IsDemo` is deprecated", DeprecationWarning)
10099
+
10084
10100
  self._IsDemo = IsDemo
10085
10101
 
10086
10102
 
@@ -939,7 +939,7 @@ class CdnInstanceDetail(AbstractModel):
939
939
  :type Domain: str
940
940
  :param _CertId: 已部署证书ID
941
941
  :type CertId: str
942
- :param _Status: 域名状态
942
+ :param _Status: 域名状态 rejected:域名审核未通过,域名备案过期/被注销导致,processing:部署中,online:已启动,offline:已关闭
943
943
  :type Status: str
944
944
  :param _HttpsBillingSwitch: 域名计费状态
945
945
  :type HttpsBillingSwitch: str
@@ -973,7 +973,7 @@ class CdnInstanceDetail(AbstractModel):
973
973
 
974
974
  @property
975
975
  def Status(self):
976
- """域名状态
976
+ """域名状态 rejected:域名审核未通过,域名备案过期/被注销导致,processing:部署中,online:已启动,offline:已关闭
977
977
  :rtype: str
978
978
  """
979
979
  return self._Status
@@ -11023,7 +11023,7 @@ class DescribeHostLighthouseInstanceListRequest(AbstractModel):
11023
11023
  :type CertificateId: str
11024
11024
  :param _IsCache: 是否查询缓存,1:是; 0:否, 默认为查询缓存,缓存半小时
11025
11025
  :type IsCache: int
11026
- :param _Filters: 过滤参数列表
11026
+ :param _Filters: 过滤参数列表; FilterKey:domainMatch(查询域名是否匹配的实例列表) FilterValue:1,表示查询匹配; 0,表示查询不匹配; 默认查询匹配
11027
11027
  :type Filters: list of Filter
11028
11028
  :param _ResourceType: 部署资源类型 lighthouse
11029
11029
  :type ResourceType: str
@@ -11057,7 +11057,7 @@ class DescribeHostLighthouseInstanceListRequest(AbstractModel):
11057
11057
 
11058
11058
  @property
11059
11059
  def Filters(self):
11060
- """过滤参数列表
11060
+ """过滤参数列表; FilterKey:domainMatch(查询域名是否匹配的实例列表) FilterValue:1,表示查询匹配; 0,表示查询不匹配; 默认查询匹配
11061
11061
  :rtype: list of Filter
11062
11062
  """
11063
11063
  return self._Filters
@@ -12123,7 +12123,7 @@ class DescribeHostVodInstanceListRequest(AbstractModel):
12123
12123
  :type CertificateId: str
12124
12124
  :param _IsCache: 是否查询缓存,1:是; 0:否, 默认为查询缓存,缓存半小时
12125
12125
  :type IsCache: int
12126
- :param _Filters: 过滤参数列表
12126
+ :param _Filters: 过滤参数列表; FilterKey:domainMatch(查询域名是否匹配的实例列表) FilterValue:1,表示查询匹配; 0,表示查询不匹配; 默认查询匹配
12127
12127
  :type Filters: list of Filter
12128
12128
  :param _ResourceType: 部署资源类型 vod
12129
12129
  :type ResourceType: str
@@ -12160,7 +12160,7 @@ class DescribeHostVodInstanceListRequest(AbstractModel):
12160
12160
 
12161
12161
  @property
12162
12162
  def Filters(self):
12163
- """过滤参数列表
12163
+ """过滤参数列表; FilterKey:domainMatch(查询域名是否匹配的实例列表) FilterValue:1,表示查询匹配; 0,表示查询不匹配; 默认查询匹配
12164
12164
  :rtype: list of Filter
12165
12165
  """
12166
12166
  return self._Filters
@@ -13245,30 +13245,31 @@ class DescribePackagesResponse(AbstractModel):
13245
13245
 
13246
13246
 
13247
13247
  class DomainValidationResult(AbstractModel):
13248
- """域名验证结果
13248
+ """证书域名验证结果
13249
13249
 
13250
13250
  """
13251
13251
 
13252
13252
  def __init__(self):
13253
13253
  r"""
13254
- :param _Domain: 域名。
13254
+ :param _Domain: 证书绑定的域名。
13255
13255
  :type Domain: str
13256
- :param _VerifyType: 验证类型。
13256
+ :param _VerifyType: 域名验证类型。 取值为:DNS、FILE、DNS_AUTO、DNS_PROXY、FILE_PROXY
13257
13257
  注意:此字段可能返回 null,表示取不到有效值。
13258
13258
  :type VerifyType: str
13259
- :param _LocalCheck: 本地检查结果。
13259
+ :param _LocalCheck: 腾讯云检测结果,取值:1(验证通过); -1(被限频或者 txt record not found);-2(txt record not match);-3(ns record not found);-4(file not found);-5(file not match);-6(cname record not found);-7(cname record not match);-8(ns record not found)-9(file not found);-10(file not match)
13260
+
13260
13261
  :type LocalCheck: int
13261
- :param _CaCheck: CA检查结果。
13262
+ :param _CaCheck: CA检查结果。取值: -1(未检测通过);2(检测通过)
13262
13263
  :type CaCheck: int
13263
- :param _LocalCheckFailReason: 检查失败原因。
13264
+ :param _LocalCheckFailReason: 检查失败原因。状态LocalCheck的具体描述
13264
13265
  注意:此字段可能返回 null,表示取不到有效值。
13265
13266
  :type LocalCheckFailReason: str
13266
13267
  :param _CheckValue: 检查到的值。
13267
13268
  注意:此字段可能返回 null,表示取不到有效值。
13268
13269
  :type CheckValue: list of str
13269
- :param _Frequently: 是否频繁请求。
13270
+ :param _Frequently: 是否被限频拦截, 取值:false(未被限频);true(被限频)
13270
13271
  :type Frequently: bool
13271
- :param _Issued: 是否已经签发。
13272
+ :param _Issued: 证书是否已经签发。取值: false(未签发);true(已签发)
13272
13273
  :type Issued: bool
13273
13274
  """
13274
13275
  self._Domain = None
@@ -13282,7 +13283,7 @@ class DomainValidationResult(AbstractModel):
13282
13283
 
13283
13284
  @property
13284
13285
  def Domain(self):
13285
- """域名。
13286
+ """证书绑定的域名。
13286
13287
  :rtype: str
13287
13288
  """
13288
13289
  return self._Domain
@@ -13293,7 +13294,7 @@ class DomainValidationResult(AbstractModel):
13293
13294
 
13294
13295
  @property
13295
13296
  def VerifyType(self):
13296
- """验证类型。
13297
+ """域名验证类型。 取值为:DNS、FILE、DNS_AUTO、DNS_PROXY、FILE_PROXY
13297
13298
  注意:此字段可能返回 null,表示取不到有效值。
13298
13299
  :rtype: str
13299
13300
  """
@@ -13305,7 +13306,8 @@ class DomainValidationResult(AbstractModel):
13305
13306
 
13306
13307
  @property
13307
13308
  def LocalCheck(self):
13308
- """本地检查结果。
13309
+ """腾讯云检测结果,取值:1(验证通过); -1(被限频或者 txt record not found);-2(txt record not match);-3(ns record not found);-4(file not found);-5(file not match);-6(cname record not found);-7(cname record not match);-8(ns record not found)-9(file not found);-10(file not match)
13310
+
13309
13311
  :rtype: int
13310
13312
  """
13311
13313
  return self._LocalCheck
@@ -13316,7 +13318,7 @@ class DomainValidationResult(AbstractModel):
13316
13318
 
13317
13319
  @property
13318
13320
  def CaCheck(self):
13319
- """CA检查结果。
13321
+ """CA检查结果。取值: -1(未检测通过);2(检测通过)
13320
13322
  :rtype: int
13321
13323
  """
13322
13324
  return self._CaCheck
@@ -13327,7 +13329,7 @@ class DomainValidationResult(AbstractModel):
13327
13329
 
13328
13330
  @property
13329
13331
  def LocalCheckFailReason(self):
13330
- """检查失败原因。
13332
+ """检查失败原因。状态LocalCheck的具体描述
13331
13333
  注意:此字段可能返回 null,表示取不到有效值。
13332
13334
  :rtype: str
13333
13335
  """
@@ -13351,7 +13353,7 @@ class DomainValidationResult(AbstractModel):
13351
13353
 
13352
13354
  @property
13353
13355
  def Frequently(self):
13354
- """是否频繁请求。
13356
+ """是否被限频拦截, 取值:false(未被限频);true(被限频)
13355
13357
  :rtype: bool
13356
13358
  """
13357
13359
  return self._Frequently
@@ -13362,7 +13364,7 @@ class DomainValidationResult(AbstractModel):
13362
13364
 
13363
13365
  @property
13364
13366
  def Issued(self):
13365
- """是否已经签发。
13367
+ """证书是否已经签发。取值: false(未签发);true(已签发)
13366
13368
  :rtype: bool
13367
13369
  """
13368
13370
  return self._Issued
@@ -18242,6 +18244,11 @@ class TeoInstanceDetail(AbstractModel):
18242
18244
  注意:此字段可能返回 null,表示取不到有效值。
18243
18245
  :type ZoneId: str
18244
18246
  :param _Status: 域名状态
18247
+ deployed:已部署;
18248
+ processing:部署中;
18249
+ applying:申请中;
18250
+ failed:申请失败;
18251
+ issued:绑定失败。
18245
18252
  :type Status: str
18246
18253
  """
18247
18254
  self._Host = None
@@ -18286,6 +18293,11 @@ class TeoInstanceDetail(AbstractModel):
18286
18293
  @property
18287
18294
  def Status(self):
18288
18295
  """域名状态
18296
+ deployed:已部署;
18297
+ processing:部署中;
18298
+ applying:申请中;
18299
+ failed:申请失败;
18300
+ issued:绑定失败。
18289
18301
  :rtype: str
18290
18302
  """
18291
18303
  return self._Status
@@ -36719,8 +36719,7 @@ class RuleBranch(AbstractModel):
36719
36719
 
36720
36720
  def __init__(self):
36721
36721
  r"""
36722
- :param _Condition: [匹配条件
36723
- ](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。
36722
+ :param _Condition: [匹配条件](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。
36724
36723
  :type Condition: str
36725
36724
  :param _Actions: [操作](https://cloud.tencent.com/document/product/1552/90438#c7bd7e02-9247-4a72-b0e4-11c27cadb198)。<br>注意:Actions 和 SubRules 不可同时为空。
36726
36725
  注意:此字段可能返回 null,表示取不到有效值。
@@ -36735,8 +36734,7 @@ class RuleBranch(AbstractModel):
36735
36734
 
36736
36735
  @property
36737
36736
  def Condition(self):
36738
- """[匹配条件
36739
- ](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。
36737
+ """[匹配条件](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。
36740
36738
  :rtype: str
36741
36739
  """
36742
36740
  return self._Condition
@@ -30889,11 +30889,14 @@ class InstallAddonRequest(AbstractModel):
30889
30889
  :type AddonVersion: str
30890
30890
  :param _RawValues: addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)
30891
30891
  :type RawValues: str
30892
+ :param _DryRun: 是否仅做安装检查,设置为true时仅做检查,不会安装组件
30893
+ :type DryRun: bool
30892
30894
  """
30893
30895
  self._ClusterId = None
30894
30896
  self._AddonName = None
30895
30897
  self._AddonVersion = None
30896
30898
  self._RawValues = None
30899
+ self._DryRun = None
30897
30900
 
30898
30901
  @property
30899
30902
  def ClusterId(self):
@@ -30939,12 +30942,24 @@ class InstallAddonRequest(AbstractModel):
30939
30942
  def RawValues(self, RawValues):
30940
30943
  self._RawValues = RawValues
30941
30944
 
30945
+ @property
30946
+ def DryRun(self):
30947
+ """是否仅做安装检查,设置为true时仅做检查,不会安装组件
30948
+ :rtype: bool
30949
+ """
30950
+ return self._DryRun
30951
+
30952
+ @DryRun.setter
30953
+ def DryRun(self, DryRun):
30954
+ self._DryRun = DryRun
30955
+
30942
30956
 
30943
30957
  def _deserialize(self, params):
30944
30958
  self._ClusterId = params.get("ClusterId")
30945
30959
  self._AddonName = params.get("AddonName")
30946
30960
  self._AddonVersion = params.get("AddonVersion")
30947
30961
  self._RawValues = params.get("RawValues")
30962
+ self._DryRun = params.get("DryRun")
30948
30963
  memeber_set = set(params.keys())
30949
30964
  for name, value in vars(self).items():
30950
30965
  property_name = name[1:]
@@ -46637,12 +46652,15 @@ class UpdateAddonRequest(AbstractModel):
46637
46652
  :type RawValues: str
46638
46653
  :param _UpdateStrategy: addon参数的更新策略,支持replace和merge两种策略,默认值为merge,兼容旧版本API。replace:使用新RawValues全量替换addon原RawValues,merge:根据新RawValues新增或更新addon原RawValues中对应参数。
46639
46654
  :type UpdateStrategy: str
46655
+ :param _DryRun: 是否仅做更新检查,设置为true时仅做检查,不会更新组件
46656
+ :type DryRun: bool
46640
46657
  """
46641
46658
  self._ClusterId = None
46642
46659
  self._AddonName = None
46643
46660
  self._AddonVersion = None
46644
46661
  self._RawValues = None
46645
46662
  self._UpdateStrategy = None
46663
+ self._DryRun = None
46646
46664
 
46647
46665
  @property
46648
46666
  def ClusterId(self):
@@ -46699,6 +46717,17 @@ class UpdateAddonRequest(AbstractModel):
46699
46717
  def UpdateStrategy(self, UpdateStrategy):
46700
46718
  self._UpdateStrategy = UpdateStrategy
46701
46719
 
46720
+ @property
46721
+ def DryRun(self):
46722
+ """是否仅做更新检查,设置为true时仅做检查,不会更新组件
46723
+ :rtype: bool
46724
+ """
46725
+ return self._DryRun
46726
+
46727
+ @DryRun.setter
46728
+ def DryRun(self, DryRun):
46729
+ self._DryRun = DryRun
46730
+
46702
46731
 
46703
46732
  def _deserialize(self, params):
46704
46733
  self._ClusterId = params.get("ClusterId")
@@ -46706,6 +46735,7 @@ class UpdateAddonRequest(AbstractModel):
46706
46735
  self._AddonVersion = params.get("AddonVersion")
46707
46736
  self._RawValues = params.get("RawValues")
46708
46737
  self._UpdateStrategy = params.get("UpdateStrategy")
46738
+ self._DryRun = params.get("DryRun")
46709
46739
  memeber_set = set(params.keys())
46710
46740
  for name, value in vars(self).items():
46711
46741
  property_name = name[1:]
@@ -8067,7 +8067,7 @@ class CloneSecurityGroupRequest(AbstractModel):
8067
8067
  :type RemoteRegion: str
8068
8068
  :param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
8069
8069
  若指定Tags入参且指定IsCloneTags为true,会合并源安全组的标签和新增的标签。
8070
- :type Tags: :class:`tencentcloud.vpc.v20170312.models.Tag`
8070
+ :type Tags: list of Tag
8071
8071
  """
8072
8072
  self._SecurityGroupId = None
8073
8073
  self._GroupName = None
@@ -8135,7 +8135,7 @@ class CloneSecurityGroupRequest(AbstractModel):
8135
8135
  def Tags(self):
8136
8136
  """指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
8137
8137
  若指定Tags入参且指定IsCloneTags为true,会合并源安全组的标签和新增的标签。
8138
- :rtype: :class:`tencentcloud.vpc.v20170312.models.Tag`
8138
+ :rtype: list of Tag
8139
8139
  """
8140
8140
  return self._Tags
8141
8141
 
@@ -8151,8 +8151,11 @@ class CloneSecurityGroupRequest(AbstractModel):
8151
8151
  self._ProjectId = params.get("ProjectId")
8152
8152
  self._RemoteRegion = params.get("RemoteRegion")
8153
8153
  if params.get("Tags") is not None:
8154
- self._Tags = Tag()
8155
- self._Tags._deserialize(params.get("Tags"))
8154
+ self._Tags = []
8155
+ for item in params.get("Tags"):
8156
+ obj = Tag()
8157
+ obj._deserialize(item)
8158
+ self._Tags.append(obj)
8156
8159
  memeber_set = set(params.keys())
8157
8160
  for name, value in vars(self).items():
8158
8161
  property_name = name[1:]
@@ -1733,7 +1733,7 @@ class VpcClient(AbstractClient):
1733
1733
  * Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受,即Protocol字段不是TCP或UDP时,Protocol和Port是排他关系,不允许同时输入,否则会接口报错。
1734
1734
  * Action字段只允许输入ACCEPT或DROP。
1735
1735
  * CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate四者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。
1736
- * 一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。
1736
+ * 请求中可以同时指定入站和出站两个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。
1737
1737
 
1738
1738
  :param request: Request instance for CreateSecurityGroupWithPolicies.
1739
1739
  :type request: :class:`tencentcloud.vpc.v20170312.models.CreateSecurityGroupWithPoliciesRequest`
@@ -24395,6 +24395,10 @@ class InstanceInfo(AbstractModel):
24395
24395
  :type BillingItem: str
24396
24396
  :param _FreeDelayFlag: 实例延期释放标识
24397
24397
  :type FreeDelayFlag: int
24398
+ :param _Last3MaxQPS: 最近3天最大qps
24399
+ :type Last3MaxQPS: int
24400
+ :param _Last3MaxBandwidth: 最近3天最大带宽
24401
+ :type Last3MaxBandwidth: int
24398
24402
  """
24399
24403
  self._InstanceId = None
24400
24404
  self._InstanceName = None
@@ -24437,6 +24441,8 @@ class InstanceInfo(AbstractModel):
24437
24441
  self._MiniExtendPkg = None
24438
24442
  self._BillingItem = None
24439
24443
  self._FreeDelayFlag = None
24444
+ self._Last3MaxQPS = None
24445
+ self._Last3MaxBandwidth = None
24440
24446
 
24441
24447
  @property
24442
24448
  def InstanceId(self):
@@ -24899,6 +24905,28 @@ class InstanceInfo(AbstractModel):
24899
24905
  def FreeDelayFlag(self, FreeDelayFlag):
24900
24906
  self._FreeDelayFlag = FreeDelayFlag
24901
24907
 
24908
+ @property
24909
+ def Last3MaxQPS(self):
24910
+ """最近3天最大qps
24911
+ :rtype: int
24912
+ """
24913
+ return self._Last3MaxQPS
24914
+
24915
+ @Last3MaxQPS.setter
24916
+ def Last3MaxQPS(self, Last3MaxQPS):
24917
+ self._Last3MaxQPS = Last3MaxQPS
24918
+
24919
+ @property
24920
+ def Last3MaxBandwidth(self):
24921
+ """最近3天最大带宽
24922
+ :rtype: int
24923
+ """
24924
+ return self._Last3MaxBandwidth
24925
+
24926
+ @Last3MaxBandwidth.setter
24927
+ def Last3MaxBandwidth(self, Last3MaxBandwidth):
24928
+ self._Last3MaxBandwidth = Last3MaxBandwidth
24929
+
24902
24930
 
24903
24931
  def _deserialize(self, params):
24904
24932
  self._InstanceId = params.get("InstanceId")
@@ -24962,6 +24990,8 @@ class InstanceInfo(AbstractModel):
24962
24990
  self._MiniExtendPkg._deserialize(params.get("MiniExtendPkg"))
24963
24991
  self._BillingItem = params.get("BillingItem")
24964
24992
  self._FreeDelayFlag = params.get("FreeDelayFlag")
24993
+ self._Last3MaxQPS = params.get("Last3MaxQPS")
24994
+ self._Last3MaxBandwidth = params.get("Last3MaxBandwidth")
24965
24995
  memeber_set = set(params.keys())
24966
24996
  for name, value in vars(self).items():
24967
24997
  property_name = name[1:]