tencentcloud-sdk-python 3.0.1294__py2.py3-none-any.whl → 3.0.1295__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1294'
17
+ __version__ = '3.0.1295'
@@ -93,7 +93,7 @@ class CommonHeader(AbstractModel):
93
93
  r"""
94
94
  :param _HospitalId: 机构ID
95
95
  :type HospitalId: str
96
- :param _Token: 合作方ID
96
+ :param _Token: token
97
97
  :type Token: str
98
98
  """
99
99
  self._HospitalId = None
@@ -112,7 +112,7 @@ class CommonHeader(AbstractModel):
112
112
 
113
113
  @property
114
114
  def Token(self):
115
- """合作方ID
115
+ """token
116
116
  :rtype: str
117
117
  """
118
118
  return self._Token
@@ -260,19 +260,14 @@ class Department(AbstractModel):
260
260
  def __init__(self):
261
261
  r"""
262
262
  :param _Id: 科室ID
263
- 注意:此字段可能返回 null,表示取不到有效值。
264
263
  :type Id: str
265
264
  :param _Name: 科室名称
266
- 注意:此字段可能返回 null,表示取不到有效值。
267
265
  :type Name: str
268
266
  :param _Scope: 科室类型 0:门诊 1:住院 2:门诊+住院
269
- 注意:此字段可能返回 null,表示取不到有效值。
270
267
  :type Scope: int
271
268
  :param _OutpatientOn: 门诊区开关 true:此科室对应的门诊区开启智能审方功能, false:此科室对应的门诊区关闭智能审方功能; 仅对scope为0/2的科室生效
272
- 注意:此字段可能返回 null,表示取不到有效值。
273
269
  :type OutpatientOn: bool
274
270
  :param _InHospitalOn: 住院区开关 true:此科室对应的住院区开启智能审方功能, false:此科室对应的住院区关闭智能审方功能; 仅对scope为1/2的科室生效
275
- 注意:此字段可能返回 null,表示取不到有效值。
276
271
  :type InHospitalOn: bool
277
272
  """
278
273
  self._Id = None
@@ -284,7 +279,6 @@ class Department(AbstractModel):
284
279
  @property
285
280
  def Id(self):
286
281
  """科室ID
287
- 注意:此字段可能返回 null,表示取不到有效值。
288
282
  :rtype: str
289
283
  """
290
284
  return self._Id
@@ -296,7 +290,6 @@ class Department(AbstractModel):
296
290
  @property
297
291
  def Name(self):
298
292
  """科室名称
299
- 注意:此字段可能返回 null,表示取不到有效值。
300
293
  :rtype: str
301
294
  """
302
295
  return self._Name
@@ -308,7 +301,6 @@ class Department(AbstractModel):
308
301
  @property
309
302
  def Scope(self):
310
303
  """科室类型 0:门诊 1:住院 2:门诊+住院
311
- 注意:此字段可能返回 null,表示取不到有效值。
312
304
  :rtype: int
313
305
  """
314
306
  return self._Scope
@@ -320,7 +312,6 @@ class Department(AbstractModel):
320
312
  @property
321
313
  def OutpatientOn(self):
322
314
  """门诊区开关 true:此科室对应的门诊区开启智能审方功能, false:此科室对应的门诊区关闭智能审方功能; 仅对scope为0/2的科室生效
323
- 注意:此字段可能返回 null,表示取不到有效值。
324
315
  :rtype: bool
325
316
  """
326
317
  return self._OutpatientOn
@@ -332,7 +323,6 @@ class Department(AbstractModel):
332
323
  @property
333
324
  def InHospitalOn(self):
334
325
  """住院区开关 true:此科室对应的住院区开启智能审方功能, false:此科室对应的住院区关闭智能审方功能; 仅对scope为1/2的科室生效
335
- 注意:此字段可能返回 null,表示取不到有效值。
336
326
  :rtype: bool
337
327
  """
338
328
  return self._InHospitalOn
@@ -1597,6 +1597,8 @@ class CreateDisksRequest(AbstractModel):
1597
1597
  :type DiskBackupQuota: int
1598
1598
  :param _BurstPerformance: 创建云盘时是否开启性能突发
1599
1599
  :type BurstPerformance: bool
1600
+ :param _EncryptType: 指定云硬盘加密类型,取值为ENCRYPT_V1和ENCRYPT_V2,分别表示第一代和第二代加密技术,两种加密技术互不兼容。推荐优先使用第二代加密技术ENCRYPT_V2,第一代加密技术仅支持在部分老旧机型使用。该参数仅当创建加密云硬盘时有效。
1601
+ :type EncryptType: str
1600
1602
  """
1601
1603
  self._Placement = None
1602
1604
  self._DiskChargeType = None
@@ -1615,6 +1617,7 @@ class CreateDisksRequest(AbstractModel):
1615
1617
  self._AutoMountConfiguration = None
1616
1618
  self._DiskBackupQuota = None
1617
1619
  self._BurstPerformance = None
1620
+ self._EncryptType = None
1618
1621
 
1619
1622
  @property
1620
1623
  def Placement(self):
@@ -1803,6 +1806,17 @@ class CreateDisksRequest(AbstractModel):
1803
1806
  def BurstPerformance(self, BurstPerformance):
1804
1807
  self._BurstPerformance = BurstPerformance
1805
1808
 
1809
+ @property
1810
+ def EncryptType(self):
1811
+ """指定云硬盘加密类型,取值为ENCRYPT_V1和ENCRYPT_V2,分别表示第一代和第二代加密技术,两种加密技术互不兼容。推荐优先使用第二代加密技术ENCRYPT_V2,第一代加密技术仅支持在部分老旧机型使用。该参数仅当创建加密云硬盘时有效。
1812
+ :rtype: str
1813
+ """
1814
+ return self._EncryptType
1815
+
1816
+ @EncryptType.setter
1817
+ def EncryptType(self, EncryptType):
1818
+ self._EncryptType = EncryptType
1819
+
1806
1820
 
1807
1821
  def _deserialize(self, params):
1808
1822
  if params.get("Placement") is not None:
@@ -1833,6 +1847,7 @@ class CreateDisksRequest(AbstractModel):
1833
1847
  self._AutoMountConfiguration._deserialize(params.get("AutoMountConfiguration"))
1834
1848
  self._DiskBackupQuota = params.get("DiskBackupQuota")
1835
1849
  self._BurstPerformance = params.get("BurstPerformance")
1850
+ self._EncryptType = params.get("EncryptType")
1836
1851
  memeber_set = set(params.keys())
1837
1852
  for name, value in vars(self).items():
1838
1853
  property_name = name[1:]
@@ -5802,11 +5802,14 @@ class DescribeInstanceNodesResponse(AbstractModel):
5802
5802
  :param _InstanceNodesList: 实例节点总数
5803
5803
  注意:此字段可能返回 null,表示取不到有效值。
5804
5804
  :type InstanceNodesList: list of InstanceNode
5805
+ :param _NodeRoles: 节点类型
5806
+ :type NodeRoles: list of str
5805
5807
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5806
5808
  :type RequestId: str
5807
5809
  """
5808
5810
  self._TotalCount = None
5809
5811
  self._InstanceNodesList = None
5812
+ self._NodeRoles = None
5810
5813
  self._RequestId = None
5811
5814
 
5812
5815
  @property
@@ -5832,6 +5835,17 @@ class DescribeInstanceNodesResponse(AbstractModel):
5832
5835
  def InstanceNodesList(self, InstanceNodesList):
5833
5836
  self._InstanceNodesList = InstanceNodesList
5834
5837
 
5838
+ @property
5839
+ def NodeRoles(self):
5840
+ """节点类型
5841
+ :rtype: list of str
5842
+ """
5843
+ return self._NodeRoles
5844
+
5845
+ @NodeRoles.setter
5846
+ def NodeRoles(self, NodeRoles):
5847
+ self._NodeRoles = NodeRoles
5848
+
5835
5849
  @property
5836
5850
  def RequestId(self):
5837
5851
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -5852,6 +5866,7 @@ class DescribeInstanceNodesResponse(AbstractModel):
5852
5866
  obj = InstanceNode()
5853
5867
  obj._deserialize(item)
5854
5868
  self._InstanceNodesList.append(obj)
5869
+ self._NodeRoles = params.get("NodeRoles")
5855
5870
  self._RequestId = params.get("RequestId")
5856
5871
 
5857
5872
 
@@ -7530,24 +7545,27 @@ class DescribeSpecResponse(AbstractModel):
7530
7545
 
7531
7546
  def __init__(self):
7532
7547
  r"""
7533
- :param _MasterSpec: zookeeper节点规格描述
7548
+ :param _MasterSpec: fe节点规格描述
7534
7549
  :type MasterSpec: list of ResourceSpec
7535
- :param _CoreSpec: 数据节点规格描述
7550
+ :param _CoreSpec: be节点规格描述
7536
7551
  :type CoreSpec: list of ResourceSpec
7537
7552
  :param _AttachCBSSpec: 云盘列表
7538
7553
  注意:此字段可能返回 null,表示取不到有效值。
7539
7554
  :type AttachCBSSpec: list of DiskSpec
7555
+ :param _CNSpec: cn节点列表
7556
+ :type CNSpec: list of ResourceSpec
7540
7557
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7541
7558
  :type RequestId: str
7542
7559
  """
7543
7560
  self._MasterSpec = None
7544
7561
  self._CoreSpec = None
7545
7562
  self._AttachCBSSpec = None
7563
+ self._CNSpec = None
7546
7564
  self._RequestId = None
7547
7565
 
7548
7566
  @property
7549
7567
  def MasterSpec(self):
7550
- """zookeeper节点规格描述
7568
+ """fe节点规格描述
7551
7569
  :rtype: list of ResourceSpec
7552
7570
  """
7553
7571
  return self._MasterSpec
@@ -7558,7 +7576,7 @@ class DescribeSpecResponse(AbstractModel):
7558
7576
 
7559
7577
  @property
7560
7578
  def CoreSpec(self):
7561
- """数据节点规格描述
7579
+ """be节点规格描述
7562
7580
  :rtype: list of ResourceSpec
7563
7581
  """
7564
7582
  return self._CoreSpec
@@ -7579,6 +7597,17 @@ class DescribeSpecResponse(AbstractModel):
7579
7597
  def AttachCBSSpec(self, AttachCBSSpec):
7580
7598
  self._AttachCBSSpec = AttachCBSSpec
7581
7599
 
7600
+ @property
7601
+ def CNSpec(self):
7602
+ """cn节点列表
7603
+ :rtype: list of ResourceSpec
7604
+ """
7605
+ return self._CNSpec
7606
+
7607
+ @CNSpec.setter
7608
+ def CNSpec(self, CNSpec):
7609
+ self._CNSpec = CNSpec
7610
+
7582
7611
  @property
7583
7612
  def RequestId(self):
7584
7613
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -7610,6 +7639,12 @@ class DescribeSpecResponse(AbstractModel):
7610
7639
  obj = DiskSpec()
7611
7640
  obj._deserialize(item)
7612
7641
  self._AttachCBSSpec.append(obj)
7642
+ if params.get("CNSpec") is not None:
7643
+ self._CNSpec = []
7644
+ for item in params.get("CNSpec"):
7645
+ obj = ResourceSpec()
7646
+ obj._deserialize(item)
7647
+ self._CNSpec.append(obj)
7613
7648
  self._RequestId = params.get("RequestId")
7614
7649
 
7615
7650
 
@@ -16966,15 +16966,17 @@ class DescribeWebCallbacksRequest(AbstractModel):
16966
16966
 
16967
16967
  def __init__(self):
16968
16968
  r"""
16969
- :param _Filters: <li> name
16969
+ :param _Filters: - name
16970
16970
  按照【告警渠道回调配置名称】进行过滤。
16971
16971
  类型:String
16972
16972
  必选:否
16973
- <li> webCallbackId
16973
+
16974
+ - webCallbackId
16974
16975
  按照【告警渠道回调配置ID】进行过滤。
16975
16976
  类型:String
16976
16977
  必选:否
16977
- <li> type
16978
+
16979
+ - type
16978
16980
  按照【告警渠道回调配置渠道类型】进行过滤。
16979
16981
  类型:String
16980
16982
  必选:否
@@ -16992,15 +16994,17 @@ class DescribeWebCallbacksRequest(AbstractModel):
16992
16994
 
16993
16995
  @property
16994
16996
  def Filters(self):
16995
- """<li> name
16997
+ """- name
16996
16998
  按照【告警渠道回调配置名称】进行过滤。
16997
16999
  类型:String
16998
17000
  必选:否
16999
- <li> webCallbackId
17001
+
17002
+ - webCallbackId
17000
17003
  按照【告警渠道回调配置ID】进行过滤。
17001
17004
  类型:String
17002
17005
  必选:否
17003
- <li> type
17006
+
17007
+ - type
17004
17008
  按照【告警渠道回调配置渠道类型】进行过滤。
17005
17009
  类型:String
17006
17010
  必选:否
@@ -17311,6 +17315,10 @@ class EventLog(AbstractModel):
17311
17315
  :param _Timestamp: 时间,用户选择自定义时间类型时,需要指定时间
17312
17316
  :type Timestamp: int
17313
17317
  :param _EventIDs: 事件ID过滤列表
17318
+
17319
+ 选填,为空表示不做过滤
17320
+ 支持正向过滤单个值(例:20)或范围(例:0-20),也支持反向过滤单个值(例:-20)
17321
+ 多个过滤项之间可由逗号隔开,例:1-200,-100表示采集1-200范围内除了100以外的事件日志
17314
17322
  :type EventIDs: list of str
17315
17323
  """
17316
17324
  self._EventChannel = None
@@ -17355,6 +17363,10 @@ class EventLog(AbstractModel):
17355
17363
  @property
17356
17364
  def EventIDs(self):
17357
17365
  """事件ID过滤列表
17366
+
17367
+ 选填,为空表示不做过滤
17368
+ 支持正向过滤单个值(例:20)或范围(例:0-20),也支持反向过滤单个值(例:-20)
17369
+ 多个过滤项之间可由逗号隔开,例:1-200,-100表示采集1-200范围内除了100以外的事件日志
17358
17370
  :rtype: list of str
17359
17371
  """
17360
17372
  return self._EventIDs
@@ -17757,6 +17769,12 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
17757
17769
  - COS导入不支持此字段。
17758
17770
  :type MetadataType: int
17759
17771
  :param _PathRegex: 采集配置路径正则表达式。
17772
+
17773
+ ```
17774
+ 请用"()"标识路径中目标字段对应的正则表达式,解析时将"()"视为捕获组,并以__TAG__.{i}:{目标字段}的形式与日志一起上报,其中i为捕获组的序号。
17775
+ 若不希望以序号为键名,可以通过命名捕获组"(?<{键名}>{正则})"自定义键名,并以__TAG__.{键名}:{目标字段}的形式与日志一起上报。最多支持5个捕获组
17776
+ ```
17777
+
17760
17778
  注意:
17761
17779
  - MetadataType为3时必填。
17762
17780
  - COS导入不支持此字段。
@@ -18013,6 +18031,12 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
18013
18031
  @property
18014
18032
  def PathRegex(self):
18015
18033
  """采集配置路径正则表达式。
18034
+
18035
+ ```
18036
+ 请用"()"标识路径中目标字段对应的正则表达式,解析时将"()"视为捕获组,并以__TAG__.{i}:{目标字段}的形式与日志一起上报,其中i为捕获组的序号。
18037
+ 若不希望以序号为键名,可以通过命名捕获组"(?<{键名}>{正则})"自定义键名,并以__TAG__.{键名}:{目标字段}的形式与日志一起上报。最多支持5个捕获组
18038
+ ```
18039
+
18016
18040
  注意:
18017
18041
  - MetadataType为3时必填。
18018
18042
  - COS导入不支持此字段。
@@ -25329,7 +25353,8 @@ class MultiCondition(AbstractModel):
25329
25353
  注意:此字段可能返回 null,表示取不到有效值。
25330
25354
  :type Condition: str
25331
25355
  :param _AlarmLevel: 告警级别。0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。
25332
- <li> 不填则默认为0。
25356
+
25357
+ - 不填则默认为0。
25333
25358
  注意:此字段可能返回 null,表示取不到有效值。
25334
25359
  :type AlarmLevel: int
25335
25360
  """
@@ -25351,7 +25376,8 @@ class MultiCondition(AbstractModel):
25351
25376
  @property
25352
25377
  def AlarmLevel(self):
25353
25378
  """告警级别。0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。
25354
- <li> 不填则默认为0。
25379
+
25380
+ - 不填则默认为0。
25355
25381
  注意:此字段可能返回 null,表示取不到有效值。
25356
25382
  :rtype: int
25357
25383
  """
@@ -5642,7 +5642,7 @@ class DescribeImagesRequest(AbstractModel):
5642
5642
 
5643
5643
  def __init__(self):
5644
5644
  r"""
5645
- :param _ImageIds: 镜像ID列表 。镜像ID如:`img-gvbnzy6f`。array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/15688)。镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。<br><li>通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
5645
+ :param _ImageIds: 镜像ID列表 。镜像ID如:`img-gvbnzy6f`。array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/15688)。镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。</li><li>通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。</li>
5646
5646
  :type ImageIds: list of str
5647
5647
  :param _Filters: 过滤条件,每次请求的`Filters`的上限为10,`Filters.Values`的上限为5。参数不可以同时指定`ImageIds`和`Filters`。详细的过滤条件如下:
5648
5648
 
@@ -5676,7 +5676,7 @@ class DescribeImagesRequest(AbstractModel):
5676
5676
 
5677
5677
  @property
5678
5678
  def ImageIds(self):
5679
- """镜像ID列表 。镜像ID如:`img-gvbnzy6f`。array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/15688)。镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。<br><li>通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
5679
+ """镜像ID列表 。镜像ID如:`img-gvbnzy6f`。array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/15688)。镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。</li><li>通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。</li>
5680
5680
  :rtype: list of str
5681
5681
  """
5682
5682
  return self._ImageIds
@@ -3307,6 +3307,8 @@ class CreateSyncJobRequest(AbstractModel):
3307
3307
  :type DstRegion: str
3308
3308
  :param _Specification: 同步任务规格,Standard:标准版
3309
3309
  :type Specification: str
3310
+ :param _TimeSpan: 购买时长(单位:月),当PayMode值为PrePay则此项配置有意义,默认为1月,取值范围为[1,100]
3311
+ :type TimeSpan: int
3310
3312
  :param _Tags: 标签信息
3311
3313
  :type Tags: list of TagItem
3312
3314
  :param _Count: 一次购买的同步任务数量,取值范围为[1, 10],默认为1
@@ -3326,6 +3328,7 @@ class CreateSyncJobRequest(AbstractModel):
3326
3328
  self._DstDatabaseType = None
3327
3329
  self._DstRegion = None
3328
3330
  self._Specification = None
3331
+ self._TimeSpan = None
3329
3332
  self._Tags = None
3330
3333
  self._Count = None
3331
3334
  self._AutoRenew = None
@@ -3399,6 +3402,17 @@ class CreateSyncJobRequest(AbstractModel):
3399
3402
  def Specification(self, Specification):
3400
3403
  self._Specification = Specification
3401
3404
 
3405
+ @property
3406
+ def TimeSpan(self):
3407
+ """购买时长(单位:月),当PayMode值为PrePay则此项配置有意义,默认为1月,取值范围为[1,100]
3408
+ :rtype: int
3409
+ """
3410
+ return self._TimeSpan
3411
+
3412
+ @TimeSpan.setter
3413
+ def TimeSpan(self, TimeSpan):
3414
+ self._TimeSpan = TimeSpan
3415
+
3402
3416
  @property
3403
3417
  def Tags(self):
3404
3418
  """标签信息
@@ -3473,6 +3487,7 @@ class CreateSyncJobRequest(AbstractModel):
3473
3487
  self._DstDatabaseType = params.get("DstDatabaseType")
3474
3488
  self._DstRegion = params.get("DstRegion")
3475
3489
  self._Specification = params.get("Specification")
3490
+ self._TimeSpan = params.get("TimeSpan")
3476
3491
  if params.get("Tags") is not None:
3477
3492
  self._Tags = []
3478
3493
  for item in params.get("Tags"):
@@ -50,9 +50,6 @@ FAILEDOPERATION_IDCARDINFOILLEGAL = 'FailedOperation.IdCardInfoIllegal'
50
50
  # 图片分辨率过小或身份证在原图中的占比过小
51
51
  FAILEDOPERATION_IDCARDTOOSMALL = 'FailedOperation.IdCardTooSmall'
52
52
 
53
- # 银行卡信息非法。
54
- FAILEDOPERATION_ILLEGALBANKCARDERROR = 'FailedOperation.IllegalBankCardError'
55
-
56
53
  # 图片模糊。
57
54
  FAILEDOPERATION_IMAGEBLUR = 'FailedOperation.ImageBlur'
58
55
 
@@ -89,9 +86,6 @@ FAILEDOPERATION_LICENSEMULTICARDERROR = 'FailedOperation.LicenseMultiCardError'
89
86
  # 图片中存在两张及以上同面卡证,请上传卡证单面图片或一正一反双面图片。
90
87
  FAILEDOPERATION_MULTICARDERROR = 'FailedOperation.MultiCardError'
91
88
 
92
- # 非银行卡。
93
- FAILEDOPERATION_NOBANKCARDERROR = 'FailedOperation.NoBankCardError'
94
-
95
89
  # 非营业执照。
96
90
  FAILEDOPERATION_NOBIZLICENSE = 'FailedOperation.NoBizLicense'
97
91