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

@@ -12577,6 +12577,57 @@ class DocSegment(AbstractModel):
12577
12577
 
12578
12578
 
12579
12579
 
12580
+ class DuplicateFileHandle(AbstractModel):
12581
+ """重复文档处理方式
12582
+
12583
+ """
12584
+
12585
+ def __init__(self):
12586
+ r"""
12587
+ :param _CheckType: 重复文档判断方式,1:按文档内容,即cos_hash字段判断是否重复
12588
+ :type CheckType: int
12589
+ :param _HandleType: 重复文档处理方式,1:返回报错,2:跳过,返回重复的文档业务ID
12590
+ :type HandleType: int
12591
+ """
12592
+ self._CheckType = None
12593
+ self._HandleType = None
12594
+
12595
+ @property
12596
+ def CheckType(self):
12597
+ """重复文档判断方式,1:按文档内容,即cos_hash字段判断是否重复
12598
+ :rtype: int
12599
+ """
12600
+ return self._CheckType
12601
+
12602
+ @CheckType.setter
12603
+ def CheckType(self, CheckType):
12604
+ self._CheckType = CheckType
12605
+
12606
+ @property
12607
+ def HandleType(self):
12608
+ """重复文档处理方式,1:返回报错,2:跳过,返回重复的文档业务ID
12609
+ :rtype: int
12610
+ """
12611
+ return self._HandleType
12612
+
12613
+ @HandleType.setter
12614
+ def HandleType(self, HandleType):
12615
+ self._HandleType = HandleType
12616
+
12617
+
12618
+ def _deserialize(self, params):
12619
+ self._CheckType = params.get("CheckType")
12620
+ self._HandleType = params.get("HandleType")
12621
+ memeber_set = set(params.keys())
12622
+ for name, value in vars(self).items():
12623
+ property_name = name[1:]
12624
+ if property_name in memeber_set:
12625
+ memeber_set.remove(property_name)
12626
+ if len(memeber_set) > 0:
12627
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12628
+
12629
+
12630
+
12580
12631
  class ExportAttributeLabelRequest(AbstractModel):
12581
12632
  """ExportAttributeLabel请求参数结构体
12582
12633
 
@@ -28229,6 +28280,8 @@ cos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判
28229
28280
  :type CateBizId: str
28230
28281
  :param _IsDownload: 是否可下载,IsRefer为true并且ReferUrlType为0时,该值才有意义
28231
28282
  :type IsDownload: bool
28283
+ :param _DuplicateFileHandles: 重复文档处理方式,按顺序匹配第一个满足条件的方式处理
28284
+ :type DuplicateFileHandles: list of DuplicateFileHandle
28232
28285
  """
28233
28286
  self._BotBizId = None
28234
28287
  self._FileName = None
@@ -28248,6 +28301,7 @@ cos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判
28248
28301
  self._Opt = None
28249
28302
  self._CateBizId = None
28250
28303
  self._IsDownload = None
28304
+ self._DuplicateFileHandles = None
28251
28305
 
28252
28306
  @property
28253
28307
  def BotBizId(self):
@@ -28457,6 +28511,17 @@ cos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判
28457
28511
  def IsDownload(self, IsDownload):
28458
28512
  self._IsDownload = IsDownload
28459
28513
 
28514
+ @property
28515
+ def DuplicateFileHandles(self):
28516
+ """重复文档处理方式,按顺序匹配第一个满足条件的方式处理
28517
+ :rtype: list of DuplicateFileHandle
28518
+ """
28519
+ return self._DuplicateFileHandles
28520
+
28521
+ @DuplicateFileHandles.setter
28522
+ def DuplicateFileHandles(self, DuplicateFileHandles):
28523
+ self._DuplicateFileHandles = DuplicateFileHandles
28524
+
28460
28525
 
28461
28526
  def _deserialize(self, params):
28462
28527
  self._BotBizId = params.get("BotBizId")
@@ -28482,6 +28547,12 @@ cos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判
28482
28547
  self._Opt = params.get("Opt")
28483
28548
  self._CateBizId = params.get("CateBizId")
28484
28549
  self._IsDownload = params.get("IsDownload")
28550
+ if params.get("DuplicateFileHandles") is not None:
28551
+ self._DuplicateFileHandles = []
28552
+ for item in params.get("DuplicateFileHandles"):
28553
+ obj = DuplicateFileHandle()
28554
+ obj._deserialize(item)
28555
+ self._DuplicateFileHandles.append(obj)
28485
28556
  memeber_set = set(params.keys())
28486
28557
  for name, value in vars(self).items():
28487
28558
  property_name = name[1:]
@@ -28507,6 +28578,8 @@ class SaveDocResponse(AbstractModel):
28507
28578
  :type ErrorLink: str
28508
28579
  :param _ErrorLinkText: 错误链接文本
28509
28580
  :type ErrorLinkText: str
28581
+ :param _DuplicateFileCheckType: 重复类型,0:未重复,其他取值请参考入参DuplicateFileHandle结构体的CheckType字段
28582
+ :type DuplicateFileCheckType: int
28510
28583
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
28511
28584
  :type RequestId: str
28512
28585
  """
@@ -28514,6 +28587,7 @@ class SaveDocResponse(AbstractModel):
28514
28587
  self._ErrorMsg = None
28515
28588
  self._ErrorLink = None
28516
28589
  self._ErrorLinkText = None
28590
+ self._DuplicateFileCheckType = None
28517
28591
  self._RequestId = None
28518
28592
 
28519
28593
  @property
@@ -28560,6 +28634,17 @@ class SaveDocResponse(AbstractModel):
28560
28634
  def ErrorLinkText(self, ErrorLinkText):
28561
28635
  self._ErrorLinkText = ErrorLinkText
28562
28636
 
28637
+ @property
28638
+ def DuplicateFileCheckType(self):
28639
+ """重复类型,0:未重复,其他取值请参考入参DuplicateFileHandle结构体的CheckType字段
28640
+ :rtype: int
28641
+ """
28642
+ return self._DuplicateFileCheckType
28643
+
28644
+ @DuplicateFileCheckType.setter
28645
+ def DuplicateFileCheckType(self, DuplicateFileCheckType):
28646
+ self._DuplicateFileCheckType = DuplicateFileCheckType
28647
+
28563
28648
  @property
28564
28649
  def RequestId(self):
28565
28650
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -28577,6 +28662,7 @@ class SaveDocResponse(AbstractModel):
28577
28662
  self._ErrorMsg = params.get("ErrorMsg")
28578
28663
  self._ErrorLink = params.get("ErrorLink")
28579
28664
  self._ErrorLinkText = params.get("ErrorLinkText")
28665
+ self._DuplicateFileCheckType = params.get("DuplicateFileCheckType")
28580
28666
  self._RequestId = params.get("RequestId")
28581
28667
 
28582
28668
 
@@ -20,6 +20,9 @@ AUTHFAILURE = 'AuthFailure'
20
20
  # 操作失败。
21
21
  FAILEDOPERATION = 'FailedOperation'
22
22
 
23
+ # 实例开启了销毁保护,不允许销毁
24
+ FAILEDOPERATION_DELETIONPROTECTIONENABLED = 'FailedOperation.DeletionProtectionEnabled'
25
+
23
26
  # 按key回档未开启
24
27
  FAILEDOPERATION_FLASHBACKBYKEYNOTOPEN = 'FailedOperation.FlashbackByKeyNotOpen'
25
28
 
@@ -1206,7 +1206,7 @@ class MongodbClient(AbstractClient):
1206
1206
 
1207
1207
 
1208
1208
  def TerminateDBInstances(self, request):
1209
- """本接口(TerminateDBInstances)可将包年包月实例退还隔离。
1209
+ """本接口(TerminateDBInstances)用于退还包年包月计费实例。
1210
1210
 
1211
1211
  :param request: Request instance for TerminateDBInstances.
1212
1212
  :type request: :class:`tencentcloud.mongodb.v20190725.models.TerminateDBInstancesRequest`
@@ -11899,11 +11899,14 @@ class GetOCRResultResponse(AbstractModel):
11899
11899
  :type Type: str
11900
11900
  :param _OCRResult: ocr结果
11901
11901
  :type OCRResult: :class:`tencentcloud.ocr.v20181119.models.OCRResult`
11902
+ :param _RequestIdInfos: requestid 信息
11903
+ :type RequestIdInfos: list of RequestIdInfo
11902
11904
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11903
11905
  :type RequestId: str
11904
11906
  """
11905
11907
  self._Type = None
11906
11908
  self._OCRResult = None
11909
+ self._RequestIdInfos = None
11907
11910
  self._RequestId = None
11908
11911
 
11909
11912
  @property
@@ -11928,6 +11931,17 @@ class GetOCRResultResponse(AbstractModel):
11928
11931
  def OCRResult(self, OCRResult):
11929
11932
  self._OCRResult = OCRResult
11930
11933
 
11934
+ @property
11935
+ def RequestIdInfos(self):
11936
+ """requestid 信息
11937
+ :rtype: list of RequestIdInfo
11938
+ """
11939
+ return self._RequestIdInfos
11940
+
11941
+ @RequestIdInfos.setter
11942
+ def RequestIdInfos(self, RequestIdInfos):
11943
+ self._RequestIdInfos = RequestIdInfos
11944
+
11931
11945
  @property
11932
11946
  def RequestId(self):
11933
11947
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -11945,6 +11959,12 @@ class GetOCRResultResponse(AbstractModel):
11945
11959
  if params.get("OCRResult") is not None:
11946
11960
  self._OCRResult = OCRResult()
11947
11961
  self._OCRResult._deserialize(params.get("OCRResult"))
11962
+ if params.get("RequestIdInfos") is not None:
11963
+ self._RequestIdInfos = []
11964
+ for item in params.get("RequestIdInfos"):
11965
+ obj = RequestIdInfo()
11966
+ obj._deserialize(item)
11967
+ self._RequestIdInfos.append(obj)
11948
11968
  self._RequestId = params.get("RequestId")
11949
11969
 
11950
11970
 
@@ -27584,6 +27604,72 @@ Others 其他位置
27584
27604
 
27585
27605
 
27586
27606
 
27607
+ class RequestIdInfo(AbstractModel):
27608
+ """请求 id 信息
27609
+
27610
+ """
27611
+
27612
+ def __init__(self):
27613
+ r"""
27614
+ :param _ApiRequestId: 请求 api 的 requestid
27615
+ :type ApiRequestId: str
27616
+ :param _ApiErrorCode: 请求 api 的错误码
27617
+ :type ApiErrorCode: str
27618
+ :param _WarnCodes: 告警码
27619
+ :type WarnCodes: list of int
27620
+ """
27621
+ self._ApiRequestId = None
27622
+ self._ApiErrorCode = None
27623
+ self._WarnCodes = None
27624
+
27625
+ @property
27626
+ def ApiRequestId(self):
27627
+ """请求 api 的 requestid
27628
+ :rtype: str
27629
+ """
27630
+ return self._ApiRequestId
27631
+
27632
+ @ApiRequestId.setter
27633
+ def ApiRequestId(self, ApiRequestId):
27634
+ self._ApiRequestId = ApiRequestId
27635
+
27636
+ @property
27637
+ def ApiErrorCode(self):
27638
+ """请求 api 的错误码
27639
+ :rtype: str
27640
+ """
27641
+ return self._ApiErrorCode
27642
+
27643
+ @ApiErrorCode.setter
27644
+ def ApiErrorCode(self, ApiErrorCode):
27645
+ self._ApiErrorCode = ApiErrorCode
27646
+
27647
+ @property
27648
+ def WarnCodes(self):
27649
+ """告警码
27650
+ :rtype: list of int
27651
+ """
27652
+ return self._WarnCodes
27653
+
27654
+ @WarnCodes.setter
27655
+ def WarnCodes(self, WarnCodes):
27656
+ self._WarnCodes = WarnCodes
27657
+
27658
+
27659
+ def _deserialize(self, params):
27660
+ self._ApiRequestId = params.get("ApiRequestId")
27661
+ self._ApiErrorCode = params.get("ApiErrorCode")
27662
+ self._WarnCodes = params.get("WarnCodes")
27663
+ memeber_set = set(params.keys())
27664
+ for name, value in vars(self).items():
27665
+ property_name = name[1:]
27666
+ if property_name in memeber_set:
27667
+ memeber_set.remove(property_name)
27668
+ if len(memeber_set) > 0:
27669
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
27670
+
27671
+
27672
+
27587
27673
  class ResidenceBookletOCRRequest(AbstractModel):
27588
27674
  """ResidenceBookletOCR请求参数结构体
27589
27675
 
@@ -237,7 +237,8 @@ class PartnersClient(AbstractClient):
237
237
 
238
238
 
239
239
  def DescribeAgentDealsByCache(self, request):
240
- """供代理商拉取缓存的全量预付费客户订单
240
+ """供代理商拉取全量预付费普通客户订单
241
+ (对应控制台:客户订单-预付费-普通订单)
241
242
 
242
243
  :param request: Request instance for DescribeAgentDealsByCache.
243
244
  :type request: :class:`tencentcloud.partners.v20180321.models.DescribeAgentDealsByCacheRequest`
@@ -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
@@ -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`