tencentcloud-sdk-python 3.0.1436__py2.py3-none-any.whl → 3.0.1438__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (39) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +15 -0
  3. tencentcloud/cdn/v20180606/models.py +8 -0
  4. tencentcloud/cfw/v20190904/cfw_client.py +0 -75
  5. tencentcloud/cfw/v20190904/models.py +107 -702
  6. tencentcloud/ciam/v20220331/errorcodes.py +1 -1
  7. tencentcloud/cls/v20201016/models.py +24 -16
  8. tencentcloud/cwp/v20180228/cwp_client.py +2 -2
  9. tencentcloud/cwp/v20180228/models.py +8 -8
  10. tencentcloud/dlc/v20210125/models.py +366 -15
  11. tencentcloud/ess/v20201111/ess_client.py +3 -6
  12. tencentcloud/ess/v20201111/models.py +8 -4
  13. tencentcloud/essbasic/v20210526/essbasic_client.py +0 -1
  14. tencentcloud/essbasic/v20210526/models.py +4 -0
  15. tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
  16. tencentcloud/iotexplorer/v20190423/models.py +204 -4
  17. tencentcloud/lke/v20231130/models.py +86 -0
  18. tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
  19. tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
  20. tencentcloud/ocr/v20181119/models.py +88 -2
  21. tencentcloud/partners/v20180321/partners_client.py +2 -1
  22. tencentcloud/postgres/v20170312/models.py +28 -24
  23. tencentcloud/postgres/v20170312/postgres_client.py +2 -2
  24. tencentcloud/sqlserver/v20180328/models.py +8 -8
  25. tencentcloud/sqlserver/v20180328/sqlserver_client.py +3 -3
  26. tencentcloud/ssl/v20191205/errorcodes.py +3 -0
  27. tencentcloud/tcbr/v20220217/models.py +266 -4
  28. tencentcloud/tcr/v20190924/models.py +2 -2
  29. tencentcloud/teo/v20220901/models.py +34 -104
  30. tencentcloud/teo/v20220901/teo_client.py +15 -4
  31. tencentcloud/tsf/v20180326/models.py +1211 -0
  32. tencentcloud/tsf/v20180326/tsf_client.py +69 -0
  33. tencentcloud/wedata/v20210820/models.py +270 -4
  34. tencentcloud/wsa/v20250508/models.py +22 -4
  35. {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/METADATA +1 -1
  36. {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/RECORD +39 -39
  37. {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/LICENSE +0 -0
  38. {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/WHEEL +0 -0
  39. {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1438.dist-info}/top_level.txt +0 -0
@@ -1620,9 +1620,9 @@ class CloseDBExtranetAccessRequest(AbstractModel):
1620
1620
 
1621
1621
  def __init__(self):
1622
1622
  r"""
1623
- :param _DBInstanceId: 实例ID,形如postgres-6r233v55
1623
+ :param _DBInstanceId: 实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。形如postgres-6r233v55
1624
1624
  :type DBInstanceId: str
1625
- :param _IsIpv6: 是否关闭Ipv6外网,1:是,0:否
1625
+ :param _IsIpv6: 是否关闭Ipv6外网,1:是,0:否。默认值:0。
1626
1626
  :type IsIpv6: int
1627
1627
  """
1628
1628
  self._DBInstanceId = None
@@ -1630,7 +1630,7 @@ class CloseDBExtranetAccessRequest(AbstractModel):
1630
1630
 
1631
1631
  @property
1632
1632
  def DBInstanceId(self):
1633
- """实例ID,形如postgres-6r233v55
1633
+ """实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。形如postgres-6r233v55
1634
1634
  :rtype: str
1635
1635
  """
1636
1636
  return self._DBInstanceId
@@ -1641,7 +1641,7 @@ class CloseDBExtranetAccessRequest(AbstractModel):
1641
1641
 
1642
1642
  @property
1643
1643
  def IsIpv6(self):
1644
- """是否关闭Ipv6外网,1:是,0:否
1644
+ """是否关闭Ipv6外网,1:是,0:否。默认值:0。
1645
1645
  :rtype: int
1646
1646
  """
1647
1647
  return self._IsIpv6
@@ -6003,7 +6003,7 @@ class DeleteDBInstanceNetworkAccessRequest(AbstractModel):
6003
6003
 
6004
6004
  def __init__(self):
6005
6005
  r"""
6006
- :param _DBInstanceId: 实例ID,形如:postgres-6bwgamo3
6006
+ :param _DBInstanceId: 实例ID,形如:postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
6007
6007
  :type DBInstanceId: str
6008
6008
  :param _VpcId: 私有网络统一 ID,若是基础网络则传"0"。
6009
6009
  :type VpcId: str
@@ -6019,7 +6019,7 @@ class DeleteDBInstanceNetworkAccessRequest(AbstractModel):
6019
6019
 
6020
6020
  @property
6021
6021
  def DBInstanceId(self):
6022
- """实例ID,形如:postgres-6bwgamo3
6022
+ """实例ID,形如:postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
6023
6023
  :rtype: str
6024
6024
  """
6025
6025
  return self._DBInstanceId
@@ -6270,7 +6270,7 @@ class DeleteReadOnlyGroupNetworkAccessRequest(AbstractModel):
6270
6270
 
6271
6271
  def __init__(self):
6272
6272
  r"""
6273
- :param _ReadOnlyGroupId: RO组ID,形如:pgro-4t9c6g7k
6273
+ :param _ReadOnlyGroupId: RO组ID,形如:pgrogrp-4t9c6g7k。可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取
6274
6274
  :type ReadOnlyGroupId: str
6275
6275
  :param _VpcId: 私有网络统一 ID,若是基础网络则传"0"。
6276
6276
  :type VpcId: str
@@ -6286,7 +6286,7 @@ class DeleteReadOnlyGroupNetworkAccessRequest(AbstractModel):
6286
6286
 
6287
6287
  @property
6288
6288
  def ReadOnlyGroupId(self):
6289
- """RO组ID,形如:pgro-4t9c6g7k
6289
+ """RO组ID,形如:pgrogrp-4t9c6g7k。可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取
6290
6290
  :rtype: str
6291
6291
  """
6292
6292
  return self._ReadOnlyGroupId
@@ -9677,13 +9677,14 @@ class DescribeDatabasesRequest(AbstractModel):
9677
9677
 
9678
9678
  def __init__(self):
9679
9679
  r"""
9680
- :param _DBInstanceId: 实例ID
9680
+ :param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/product/409/16773)接口获取
9681
9681
  :type DBInstanceId: str
9682
9682
  :param _Filters: 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:database-name:按照数据库名称过滤,类型为string。此处使用模糊匹配搜索符合条件的数据库。
9683
9683
  :type Filters: list of Filter
9684
9684
  :param _Offset: 数据偏移量,从0开始。
9685
9685
  :type Offset: int
9686
- :param _Limit: 单次显示数量
9686
+ :param _Limit: 单次显示数量。建议最大取值100。
9687
+ 默认值:20
9687
9688
  :type Limit: int
9688
9689
  """
9689
9690
  self._DBInstanceId = None
@@ -9693,7 +9694,7 @@ class DescribeDatabasesRequest(AbstractModel):
9693
9694
 
9694
9695
  @property
9695
9696
  def DBInstanceId(self):
9696
- """实例ID
9697
+ """实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/product/409/16773)接口获取
9697
9698
  :rtype: str
9698
9699
  """
9699
9700
  return self._DBInstanceId
@@ -9726,7 +9727,8 @@ class DescribeDatabasesRequest(AbstractModel):
9726
9727
 
9727
9728
  @property
9728
9729
  def Limit(self):
9729
- """单次显示数量
9730
+ """单次显示数量。建议最大取值100。
9731
+ 默认值:20
9730
9732
  :rtype: int
9731
9733
  """
9732
9734
  return self._Limit
@@ -13213,9 +13215,10 @@ class InquiryPriceRenewDBInstanceRequest(AbstractModel):
13213
13215
 
13214
13216
  def __init__(self):
13215
13217
  r"""
13216
- :param _DBInstanceId: 实例ID
13218
+ :param _DBInstanceId: 实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)获取。
13219
+ (此接口仅支持预付费实例的查询)
13217
13220
  :type DBInstanceId: str
13218
- :param _Period: 续费周期,按月计算,最大不超过48
13221
+ :param _Period: 续费周期,按月计算
13219
13222
  :type Period: int
13220
13223
  """
13221
13224
  self._DBInstanceId = None
@@ -13223,7 +13226,8 @@ class InquiryPriceRenewDBInstanceRequest(AbstractModel):
13223
13226
 
13224
13227
  @property
13225
13228
  def DBInstanceId(self):
13226
- """实例ID
13229
+ """实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)获取。
13230
+ (此接口仅支持预付费实例的查询)
13227
13231
  :rtype: str
13228
13232
  """
13229
13233
  return self._DBInstanceId
@@ -13234,7 +13238,7 @@ class InquiryPriceRenewDBInstanceRequest(AbstractModel):
13234
13238
 
13235
13239
  @property
13236
13240
  def Period(self):
13237
- """续费周期,按月计算,最大不超过48
13241
+ """续费周期,按月计算
13238
13242
  :rtype: int
13239
13243
  """
13240
13244
  return self._Period
@@ -13826,9 +13830,9 @@ class ModifyAccountPrivilegesRequest(AbstractModel):
13826
13830
 
13827
13831
  def __init__(self):
13828
13832
  r"""
13829
- :param _DBInstanceId: 实例ID。
13833
+ :param _DBInstanceId: 实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
13830
13834
  :type DBInstanceId: str
13831
- :param _UserName: 修改此账号对某数据库对象的权限。
13835
+ :param _UserName: 修改此账号对某数据库对象的权限。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
13832
13836
  :type UserName: str
13833
13837
  :param _ModifyPrivilegeSet: 修改的权限信息,支持批量修改,一次最高修改50条。
13834
13838
  :type ModifyPrivilegeSet: list of ModifyPrivilege
@@ -13839,7 +13843,7 @@ class ModifyAccountPrivilegesRequest(AbstractModel):
13839
13843
 
13840
13844
  @property
13841
13845
  def DBInstanceId(self):
13842
- """实例ID。
13846
+ """实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
13843
13847
  :rtype: str
13844
13848
  """
13845
13849
  return self._DBInstanceId
@@ -13850,7 +13854,7 @@ class ModifyAccountPrivilegesRequest(AbstractModel):
13850
13854
 
13851
13855
  @property
13852
13856
  def UserName(self):
13853
- """修改此账号对某数据库对象的权限。
13857
+ """修改此账号对某数据库对象的权限。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
13854
13858
  :rtype: str
13855
13859
  """
13856
13860
  return self._UserName
@@ -15262,9 +15266,9 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
15262
15266
  安全组信息可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来查询。
15263
15267
  **注意:**该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
15264
15268
  :type SecurityGroupIdSet: list of str
15265
- :param _DBInstanceId: 实例IDDBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId
15269
+ :param _DBInstanceId: 实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId
15266
15270
  :type DBInstanceId: str
15267
- :param _ReadOnlyGroupId: 只读组IDDBInstanceId和ReadOnlyGroupId至少传一个;如果要修改只读组关联的安全组,只传ReadOnlyGroupId
15271
+ :param _ReadOnlyGroupId: 只读组ID,可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果要修改只读组关联的安全组,只传ReadOnlyGroupId
15268
15272
  :type ReadOnlyGroupId: str
15269
15273
  """
15270
15274
  self._SecurityGroupIdSet = None
@@ -15286,7 +15290,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
15286
15290
 
15287
15291
  @property
15288
15292
  def DBInstanceId(self):
15289
- """实例IDDBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId
15293
+ """实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId
15290
15294
  :rtype: str
15291
15295
  """
15292
15296
  return self._DBInstanceId
@@ -15297,7 +15301,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
15297
15301
 
15298
15302
  @property
15299
15303
  def ReadOnlyGroupId(self):
15300
- """只读组IDDBInstanceId和ReadOnlyGroupId至少传一个;如果要修改只读组关联的安全组,只传ReadOnlyGroupId
15304
+ """只读组ID,可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果要修改只读组关联的安全组,只传ReadOnlyGroupId
15301
15305
  :rtype: str
15302
15306
  """
15303
15307
  return self._ReadOnlyGroupId
@@ -422,7 +422,7 @@ class PostgresClient(AbstractClient):
422
422
 
423
423
 
424
424
  def DeleteDBInstanceNetworkAccess(self, request):
425
- """可对实例进行网络的删除操作。
425
+ """可对实例进行网络的删除操作(实例内至少保留一个网络)。
426
426
 
427
427
  :param request: Request instance for DeleteDBInstanceNetworkAccess.
428
428
  :type request: :class:`tencentcloud.postgres.v20170312.models.DeleteDBInstanceNetworkAccessRequest`
@@ -514,7 +514,7 @@ class PostgresClient(AbstractClient):
514
514
 
515
515
 
516
516
  def DeleteReadOnlyGroupNetworkAccess(self, request):
517
- """可对RO组进行网络的删除操作。
517
+ """可对RO组进行网络的删除操作(网络数量至少保留1个)。
518
518
 
519
519
  :param request: Request instance for DeleteReadOnlyGroupNetworkAccess.
520
520
  :type request: :class:`tencentcloud.postgres.v20170312.models.DeleteReadOnlyGroupNetworkAccessRequest`
@@ -12352,7 +12352,7 @@ class DescribeDBInstancesRequest(AbstractModel):
12352
12352
  :type InstanceNameSet: list of str
12353
12353
  :param _VersionSet: 实例版本代号列表,格式如:2008R2,2012SP3等
12354
12354
  :type VersionSet: list of str
12355
- :param _Zone: 实例可用区,格式如:ap-guangzhou-2
12355
+ :param _Zone: 实例可用区
12356
12356
  :type Zone: str
12357
12357
  :param _TagKeys: 实例标签列表
12358
12358
  :type TagKeys: list of str
@@ -12518,7 +12518,7 @@ class DescribeDBInstancesRequest(AbstractModel):
12518
12518
 
12519
12519
  @property
12520
12520
  def Zone(self):
12521
- """实例可用区,格式如:ap-guangzhou-2
12521
+ """实例可用区
12522
12522
  :rtype: str
12523
12523
  """
12524
12524
  return self._Zone
@@ -16147,7 +16147,7 @@ class DescribeProductConfigRequest(AbstractModel):
16147
16147
 
16148
16148
  def __init__(self):
16149
16149
  r"""
16150
- :param _Zone: 可用区英文ID,形如ap-guangzhou-1
16150
+ :param _Zone: 可用区英文 ID
16151
16151
  :type Zone: str
16152
16152
  :param _InstanceType: 购买实例的类型 HA-本地盘高可用(包括双机高可用,alwaysOn集群),RO-本地盘只读副本,SI-云盘版单节点,BI-商业智能服务,cvmHA-云盘版高可用,cvmRO-云盘版只读副本,MultiHA-多节点,cvmMultiHA-云盘多节点
16153
16153
  :type InstanceType: str
@@ -16157,7 +16157,7 @@ class DescribeProductConfigRequest(AbstractModel):
16157
16157
 
16158
16158
  @property
16159
16159
  def Zone(self):
16160
- """可用区英文ID,形如ap-guangzhou-1
16160
+ """可用区英文 ID
16161
16161
  :rtype: str
16162
16162
  """
16163
16163
  return self._Zone
@@ -31863,9 +31863,9 @@ class ZoneStatus(AbstractModel):
31863
31863
 
31864
31864
  def __init__(self):
31865
31865
  r"""
31866
- :param _Zone: 规格地域
31866
+ :param _Zone: 规格可用区
31867
31867
  :type Zone: str
31868
- :param _Region: 规格可用区
31868
+ :param _Region: 规格地域
31869
31869
  :type Region: str
31870
31870
  :param _Status: 规格在该可用区的售卖状态 1-正常 2-关闭售卖但是可以升级 3-完全关闭售卖
31871
31871
  :type Status: int
@@ -31876,7 +31876,7 @@ class ZoneStatus(AbstractModel):
31876
31876
 
31877
31877
  @property
31878
31878
  def Zone(self):
31879
- """规格地域
31879
+ """规格可用区
31880
31880
  :rtype: str
31881
31881
  """
31882
31882
  return self._Zone
@@ -31887,7 +31887,7 @@ class ZoneStatus(AbstractModel):
31887
31887
 
31888
31888
  @property
31889
31889
  def Region(self):
31890
- """规格可用区
31890
+ """规格地域
31891
31891
  :rtype: str
31892
31892
  """
31893
31893
  return self._Region
@@ -1131,7 +1131,7 @@ class SqlserverClient(AbstractClient):
1131
1131
 
1132
1132
 
1133
1133
  def DescribeDBInstances(self, request):
1134
- """本接口(DescribeDBInstances)用于查询实例列表。
1134
+ """本接口(DescribeDBInstances)用于查询实例列表。
1135
1135
 
1136
1136
  :param request: Request instance for DescribeDBInstances.
1137
1137
  :type request: :class:`tencentcloud.sqlserver.v20180328.models.DescribeDBInstancesRequest`
@@ -1683,7 +1683,7 @@ class SqlserverClient(AbstractClient):
1683
1683
 
1684
1684
 
1685
1685
  def DescribeProductConfig(self, request):
1686
- """本接口 (DescribeProductConfig) 用于查询售卖规格配置。
1686
+ """本接口(DescribeProductConfig)用于查询售卖规格配置。
1687
1687
 
1688
1688
  :param request: Request instance for DescribeProductConfig.
1689
1689
  :type request: :class:`tencentcloud.sqlserver.v20180328.models.DescribeProductConfigRequest`
@@ -2120,7 +2120,7 @@ class SqlserverClient(AbstractClient):
2120
2120
 
2121
2121
 
2122
2122
  def DescribeZones(self, request):
2123
- """本接口 (DescribeZones) 用于查询当前可售卖的可用区信息。
2123
+ """本接口(DescribeZones)用于查询当前可售卖的可用区信息。
2124
2124
 
2125
2125
  :param request: Request instance for DescribeZones.
2126
2126
  :type request: :class:`tencentcloud.sqlserver.v20180328.models.DescribeZonesRequest`
@@ -56,6 +56,9 @@ FAILEDOPERATION_CERTIFICATECANCELFAILEDMULTI = 'FailedOperation.CertificateCance
56
56
  # 温馨提示:证书链检测异常,请核对每段证书是否存在异常
57
57
  FAILEDOPERATION_CERTIFICATECHAINERROR = 'FailedOperation.CertificateChainError'
58
58
 
59
+ # CSR解析失败。
60
+ FAILEDOPERATION_CERTIFICATECSRPARSEFAILED = 'FailedOperation.CertificateCsrParseFailed'
61
+
59
62
  # 记录状态必须完结才可以执行该操作。
60
63
  FAILEDOPERATION_CERTIFICATEDEPLOYDETAILROLLBACKSTATUSINVALID = 'FailedOperation.CertificateDeployDetailRollbackStatusInvalid'
61
64
 
@@ -441,13 +441,16 @@ class CreateCloudRunServerRequest(AbstractModel):
441
441
  :type ServerName: str
442
442
  :param _DeployInfo: 部署信息
443
443
  :type DeployInfo: :class:`tencentcloud.tcbr.v20220217.models.DeployParam`
444
- :param _ServerConfig: 服务配置信息
444
+ :param _ServerConfig: 服务配置信息(已废弃)
445
445
  :type ServerConfig: :class:`tencentcloud.tcbr.v20220217.models.ServerBaseConfig`
446
+ :param _Items: 服务配置信息
447
+ :type Items: list of DiffConfigItem
446
448
  """
447
449
  self._EnvId = None
448
450
  self._ServerName = None
449
451
  self._DeployInfo = None
450
452
  self._ServerConfig = None
453
+ self._Items = None
451
454
 
452
455
  @property
453
456
  def EnvId(self):
@@ -484,7 +487,7 @@ class CreateCloudRunServerRequest(AbstractModel):
484
487
 
485
488
  @property
486
489
  def ServerConfig(self):
487
- """服务配置信息
490
+ """服务配置信息(已废弃)
488
491
  :rtype: :class:`tencentcloud.tcbr.v20220217.models.ServerBaseConfig`
489
492
  """
490
493
  return self._ServerConfig
@@ -493,6 +496,17 @@ class CreateCloudRunServerRequest(AbstractModel):
493
496
  def ServerConfig(self, ServerConfig):
494
497
  self._ServerConfig = ServerConfig
495
498
 
499
+ @property
500
+ def Items(self):
501
+ """服务配置信息
502
+ :rtype: list of DiffConfigItem
503
+ """
504
+ return self._Items
505
+
506
+ @Items.setter
507
+ def Items(self, Items):
508
+ self._Items = Items
509
+
496
510
 
497
511
  def _deserialize(self, params):
498
512
  self._EnvId = params.get("EnvId")
@@ -503,6 +517,12 @@ class CreateCloudRunServerRequest(AbstractModel):
503
517
  if params.get("ServerConfig") is not None:
504
518
  self._ServerConfig = ServerBaseConfig()
505
519
  self._ServerConfig._deserialize(params.get("ServerConfig"))
520
+ if params.get("Items") is not None:
521
+ self._Items = []
522
+ for item in params.get("Items"):
523
+ obj = DiffConfigItem()
524
+ obj._deserialize(item)
525
+ self._Items.append(obj)
506
526
  memeber_set = set(params.keys())
507
527
  for name, value in vars(self).items():
508
528
  property_name = name[1:]
@@ -1426,6 +1446,228 @@ class DescribeServerManageTaskResponse(AbstractModel):
1426
1446
  self._RequestId = params.get("RequestId")
1427
1447
 
1428
1448
 
1449
+ class DiffConfigItem(AbstractModel):
1450
+ """服务配置入参
1451
+
1452
+ """
1453
+
1454
+ def __init__(self):
1455
+ r"""
1456
+ :param _Key: 配置项 Key
1457
+ MinNum 最小副本数
1458
+ MaxNum 最大副本数
1459
+ PolicyDetails 扩缩容策略
1460
+ AccessTypes 访问类型
1461
+ TimerScale 定时扩缩容
1462
+ InternalAccess 内网访问
1463
+ OperationMode 运行模式 noScale | condScale | alwaysScale | custom | manualScale
1464
+ SessionAffinity 会话亲和性 open | close
1465
+ CpuSpecs cpu 规格
1466
+ MemSpecs mem规格
1467
+ EnvParam 环境变量
1468
+ LogPath 日志采集路径
1469
+ Port 端口
1470
+ Dockerfile dockerfile 文件名
1471
+ BuildDir 目标目录
1472
+ Tag 服务标签
1473
+ LogType 日志类型 none | default | custom
1474
+ LogSetId 日志集Id
1475
+ LogTopicId 日志主题ID
1476
+ LogParseType 日志解析类型 json | line
1477
+ EntryPoint entrypoint 命令
1478
+ Cmd cmd命令
1479
+ VpcConf 网络信息
1480
+ :type Key: str
1481
+ :param _Value: 字符串类型配置项值
1482
+ InternalAccess、OperationMode、SessionAffinity、EnvParam、LogPath、Dockerfile、BuildDir、Tag、LogType、LogSetId、LogTopicId、LogParseType
1483
+ :type Value: str
1484
+ :param _IntValue: int 类型配置项值
1485
+ MinNum、MaxNum、Port
1486
+ :type IntValue: int
1487
+ :param _BoolValue: bool 类型配置项值
1488
+ :type BoolValue: bool
1489
+ :param _FloatValue: 浮点型配置项值
1490
+ CpuSpecs、MemSpecs
1491
+ :type FloatValue: float
1492
+ :param _ArrayValue: 字符串数组配置项值
1493
+ AccessTypes,EntryPoint,Cmd
1494
+ :type ArrayValue: list of str
1495
+ :param _PolicyDetails: 扩缩容策略配置项值
1496
+ :type PolicyDetails: list of HpaPolicy
1497
+ :param _TimerScale: 定时扩缩容配置项值
1498
+ :type TimerScale: list of TimerScale
1499
+ :param _VpcConf: 配置内网访问时网络信息
1500
+ :type VpcConf: :class:`tencentcloud.tcbr.v20220217.models.VpcConf`
1501
+ """
1502
+ self._Key = None
1503
+ self._Value = None
1504
+ self._IntValue = None
1505
+ self._BoolValue = None
1506
+ self._FloatValue = None
1507
+ self._ArrayValue = None
1508
+ self._PolicyDetails = None
1509
+ self._TimerScale = None
1510
+ self._VpcConf = None
1511
+
1512
+ @property
1513
+ def Key(self):
1514
+ """配置项 Key
1515
+ MinNum 最小副本数
1516
+ MaxNum 最大副本数
1517
+ PolicyDetails 扩缩容策略
1518
+ AccessTypes 访问类型
1519
+ TimerScale 定时扩缩容
1520
+ InternalAccess 内网访问
1521
+ OperationMode 运行模式 noScale | condScale | alwaysScale | custom | manualScale
1522
+ SessionAffinity 会话亲和性 open | close
1523
+ CpuSpecs cpu 规格
1524
+ MemSpecs mem规格
1525
+ EnvParam 环境变量
1526
+ LogPath 日志采集路径
1527
+ Port 端口
1528
+ Dockerfile dockerfile 文件名
1529
+ BuildDir 目标目录
1530
+ Tag 服务标签
1531
+ LogType 日志类型 none | default | custom
1532
+ LogSetId 日志集Id
1533
+ LogTopicId 日志主题ID
1534
+ LogParseType 日志解析类型 json | line
1535
+ EntryPoint entrypoint 命令
1536
+ Cmd cmd命令
1537
+ VpcConf 网络信息
1538
+ :rtype: str
1539
+ """
1540
+ return self._Key
1541
+
1542
+ @Key.setter
1543
+ def Key(self, Key):
1544
+ self._Key = Key
1545
+
1546
+ @property
1547
+ def Value(self):
1548
+ """字符串类型配置项值
1549
+ InternalAccess、OperationMode、SessionAffinity、EnvParam、LogPath、Dockerfile、BuildDir、Tag、LogType、LogSetId、LogTopicId、LogParseType
1550
+ :rtype: str
1551
+ """
1552
+ return self._Value
1553
+
1554
+ @Value.setter
1555
+ def Value(self, Value):
1556
+ self._Value = Value
1557
+
1558
+ @property
1559
+ def IntValue(self):
1560
+ """int 类型配置项值
1561
+ MinNum、MaxNum、Port
1562
+ :rtype: int
1563
+ """
1564
+ return self._IntValue
1565
+
1566
+ @IntValue.setter
1567
+ def IntValue(self, IntValue):
1568
+ self._IntValue = IntValue
1569
+
1570
+ @property
1571
+ def BoolValue(self):
1572
+ """bool 类型配置项值
1573
+ :rtype: bool
1574
+ """
1575
+ return self._BoolValue
1576
+
1577
+ @BoolValue.setter
1578
+ def BoolValue(self, BoolValue):
1579
+ self._BoolValue = BoolValue
1580
+
1581
+ @property
1582
+ def FloatValue(self):
1583
+ """浮点型配置项值
1584
+ CpuSpecs、MemSpecs
1585
+ :rtype: float
1586
+ """
1587
+ return self._FloatValue
1588
+
1589
+ @FloatValue.setter
1590
+ def FloatValue(self, FloatValue):
1591
+ self._FloatValue = FloatValue
1592
+
1593
+ @property
1594
+ def ArrayValue(self):
1595
+ """字符串数组配置项值
1596
+ AccessTypes,EntryPoint,Cmd
1597
+ :rtype: list of str
1598
+ """
1599
+ return self._ArrayValue
1600
+
1601
+ @ArrayValue.setter
1602
+ def ArrayValue(self, ArrayValue):
1603
+ self._ArrayValue = ArrayValue
1604
+
1605
+ @property
1606
+ def PolicyDetails(self):
1607
+ """扩缩容策略配置项值
1608
+ :rtype: list of HpaPolicy
1609
+ """
1610
+ return self._PolicyDetails
1611
+
1612
+ @PolicyDetails.setter
1613
+ def PolicyDetails(self, PolicyDetails):
1614
+ self._PolicyDetails = PolicyDetails
1615
+
1616
+ @property
1617
+ def TimerScale(self):
1618
+ """定时扩缩容配置项值
1619
+ :rtype: list of TimerScale
1620
+ """
1621
+ return self._TimerScale
1622
+
1623
+ @TimerScale.setter
1624
+ def TimerScale(self, TimerScale):
1625
+ self._TimerScale = TimerScale
1626
+
1627
+ @property
1628
+ def VpcConf(self):
1629
+ """配置内网访问时网络信息
1630
+ :rtype: :class:`tencentcloud.tcbr.v20220217.models.VpcConf`
1631
+ """
1632
+ return self._VpcConf
1633
+
1634
+ @VpcConf.setter
1635
+ def VpcConf(self, VpcConf):
1636
+ self._VpcConf = VpcConf
1637
+
1638
+
1639
+ def _deserialize(self, params):
1640
+ self._Key = params.get("Key")
1641
+ self._Value = params.get("Value")
1642
+ self._IntValue = params.get("IntValue")
1643
+ self._BoolValue = params.get("BoolValue")
1644
+ self._FloatValue = params.get("FloatValue")
1645
+ self._ArrayValue = params.get("ArrayValue")
1646
+ if params.get("PolicyDetails") is not None:
1647
+ self._PolicyDetails = []
1648
+ for item in params.get("PolicyDetails"):
1649
+ obj = HpaPolicy()
1650
+ obj._deserialize(item)
1651
+ self._PolicyDetails.append(obj)
1652
+ if params.get("TimerScale") is not None:
1653
+ self._TimerScale = []
1654
+ for item in params.get("TimerScale"):
1655
+ obj = TimerScale()
1656
+ obj._deserialize(item)
1657
+ self._TimerScale.append(obj)
1658
+ if params.get("VpcConf") is not None:
1659
+ self._VpcConf = VpcConf()
1660
+ self._VpcConf._deserialize(params.get("VpcConf"))
1661
+ memeber_set = set(params.keys())
1662
+ for name, value in vars(self).items():
1663
+ property_name = name[1:]
1664
+ if property_name in memeber_set:
1665
+ memeber_set.remove(property_name)
1666
+ if len(memeber_set) > 0:
1667
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1668
+
1669
+
1670
+
1429
1671
  class EnvBaseInfo(AbstractModel):
1430
1672
  """环境基础信息
1431
1673
 
@@ -4009,16 +4251,19 @@ class UpdateCloudRunServerRequest(AbstractModel):
4009
4251
  :type ServerName: str
4010
4252
  :param _DeployInfo: 部署信息
4011
4253
  :type DeployInfo: :class:`tencentcloud.tcbr.v20220217.models.DeployParam`
4012
- :param _ServerConfig: 服务配置信息
4254
+ :param _ServerConfig: 服务配置信息(已废弃)
4013
4255
  :type ServerConfig: :class:`tencentcloud.tcbr.v20220217.models.ServerBaseConfig`
4014
4256
  :param _Business: 业务类型,默认tcr
4015
4257
  :type Business: str
4258
+ :param _Items: 服务配置信息
4259
+ :type Items: list of DiffConfigItem
4016
4260
  """
4017
4261
  self._EnvId = None
4018
4262
  self._ServerName = None
4019
4263
  self._DeployInfo = None
4020
4264
  self._ServerConfig = None
4021
4265
  self._Business = None
4266
+ self._Items = None
4022
4267
 
4023
4268
  @property
4024
4269
  def EnvId(self):
@@ -4055,7 +4300,7 @@ class UpdateCloudRunServerRequest(AbstractModel):
4055
4300
 
4056
4301
  @property
4057
4302
  def ServerConfig(self):
4058
- """服务配置信息
4303
+ """服务配置信息(已废弃)
4059
4304
  :rtype: :class:`tencentcloud.tcbr.v20220217.models.ServerBaseConfig`
4060
4305
  """
4061
4306
  return self._ServerConfig
@@ -4075,6 +4320,17 @@ class UpdateCloudRunServerRequest(AbstractModel):
4075
4320
  def Business(self, Business):
4076
4321
  self._Business = Business
4077
4322
 
4323
+ @property
4324
+ def Items(self):
4325
+ """服务配置信息
4326
+ :rtype: list of DiffConfigItem
4327
+ """
4328
+ return self._Items
4329
+
4330
+ @Items.setter
4331
+ def Items(self, Items):
4332
+ self._Items = Items
4333
+
4078
4334
 
4079
4335
  def _deserialize(self, params):
4080
4336
  self._EnvId = params.get("EnvId")
@@ -4086,6 +4342,12 @@ class UpdateCloudRunServerRequest(AbstractModel):
4086
4342
  self._ServerConfig = ServerBaseConfig()
4087
4343
  self._ServerConfig._deserialize(params.get("ServerConfig"))
4088
4344
  self._Business = params.get("Business")
4345
+ if params.get("Items") is not None:
4346
+ self._Items = []
4347
+ for item in params.get("Items"):
4348
+ obj = DiffConfigItem()
4349
+ obj._deserialize(item)
4350
+ self._Items.append(obj)
4089
4351
  memeber_set = set(params.keys())
4090
4352
  for name, value in vars(self).items():
4091
4353
  property_name = name[1:]
@@ -2148,7 +2148,7 @@ class CreateRepositoryPersonalRequest(AbstractModel):
2148
2148
 
2149
2149
  def __init__(self):
2150
2150
  r"""
2151
- :param _RepoName: 仓库名称
2151
+ :param _RepoName: 仓库名称,格式为 {Namespace}/{lmageName}。
2152
2152
  :type RepoName: str
2153
2153
  :param _Public: 是否公共,1:公共,0:私有
2154
2154
  :type Public: int
@@ -2161,7 +2161,7 @@ class CreateRepositoryPersonalRequest(AbstractModel):
2161
2161
 
2162
2162
  @property
2163
2163
  def RepoName(self):
2164
- """仓库名称
2164
+ """仓库名称,格式为 {Namespace}/{lmageName}。
2165
2165
  :rtype: str
2166
2166
  """
2167
2167
  return self._RepoName