tencentcloud-sdk-python 3.0.1273__py2.py3-none-any.whl → 3.0.1275__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 (53) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apigateway/v20180808/apigateway_client.py +46 -0
  3. tencentcloud/apigateway/v20180808/models.py +362 -0
  4. tencentcloud/autoscaling/v20180419/models.py +13 -11
  5. tencentcloud/bi/v20220105/bi_client.py +46 -0
  6. tencentcloud/bi/v20220105/errorcodes.py +3 -0
  7. tencentcloud/bi/v20220105/models.py +701 -24
  8. tencentcloud/billing/v20180709/models.py +105 -114
  9. tencentcloud/cam/v20190116/models.py +2 -2
  10. tencentcloud/cdwch/v20200915/errorcodes.py +6 -0
  11. tencentcloud/cloudhsm/v20191112/models.py +10 -170
  12. tencentcloud/cls/v20201016/cls_client.py +1 -1
  13. tencentcloud/cls/v20201016/models.py +16 -4
  14. tencentcloud/config/v20220802/config_client.py +46 -0
  15. tencentcloud/config/v20220802/models.py +664 -0
  16. tencentcloud/dnspod/v20210323/dnspod_client.py +46 -0
  17. tencentcloud/dnspod/v20210323/models.py +188 -0
  18. tencentcloud/ess/v20201111/ess_client.py +1 -1
  19. tencentcloud/ess/v20201111/models.py +20 -12
  20. tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
  21. tencentcloud/essbasic/v20210526/models.py +12 -8
  22. tencentcloud/goosefs/v20220519/models.py +15 -0
  23. tencentcloud/gwlb/v20240906/models.py +2 -2
  24. tencentcloud/hunyuan/v20230901/models.py +21 -4
  25. tencentcloud/ivld/v20210903/errorcodes.py +2 -2
  26. tencentcloud/lcic/v20220817/lcic_client.py +46 -0
  27. tencentcloud/lcic/v20220817/models.py +505 -2
  28. tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
  29. tencentcloud/lighthouse/v20200324/models.py +24 -4
  30. tencentcloud/live/v20180801/errorcodes.py +12 -0
  31. tencentcloud/live/v20180801/live_client.py +142 -0
  32. tencentcloud/live/v20180801/models.py +619 -0
  33. tencentcloud/lke/v20231130/lke_client.py +1 -1
  34. tencentcloud/lke/v20231130/models.py +35 -1
  35. tencentcloud/mps/v20190612/models.py +17 -2
  36. tencentcloud/oceanus/v20190422/models.py +15 -0
  37. tencentcloud/ocr/v20181119/models.py +132 -1971
  38. tencentcloud/ocr/v20181119/ocr_client.py +0 -167
  39. tencentcloud/organization/v20210331/models.py +2 -330
  40. tencentcloud/privatedns/v20201028/errorcodes.py +0 -42
  41. tencentcloud/privatedns/v20201028/models.py +712 -2358
  42. tencentcloud/privatedns/v20201028/privatedns_client.py +0 -230
  43. tencentcloud/tke/v20220501/models.py +6 -2
  44. tencentcloud/trtc/v20190722/errorcodes.py +15 -0
  45. tencentcloud/trtc/v20190722/models.py +218 -0
  46. tencentcloud/trtc/v20190722/trtc_client.py +47 -0
  47. tencentcloud/vod/v20180717/models.py +30 -0
  48. tencentcloud/vpc/v20170312/models.py +30 -0
  49. {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/METADATA +1 -1
  50. {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/RECORD +53 -53
  51. {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/LICENSE +0 -0
  52. {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/WHEEL +0 -0
  53. {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1273'
17
+ __version__ = '3.0.1275'
@@ -283,6 +283,29 @@ class ApigatewayClient(AbstractClient):
283
283
  raise TencentCloudSDKException(type(e).__name__, str(e))
284
284
 
285
285
 
286
+ def CreateExclusiveInstances(self, request):
287
+ """创建专享实例
288
+
289
+ :param request: Request instance for CreateExclusiveInstances.
290
+ :type request: :class:`tencentcloud.apigateway.v20180808.models.CreateExclusiveInstancesRequest`
291
+ :rtype: :class:`tencentcloud.apigateway.v20180808.models.CreateExclusiveInstancesResponse`
292
+
293
+ """
294
+ try:
295
+ params = request._serialize()
296
+ headers = request.headers
297
+ body = self.call("CreateExclusiveInstances", params, headers=headers)
298
+ response = json.loads(body)
299
+ model = models.CreateExclusiveInstancesResponse()
300
+ model._deserialize(response["Response"])
301
+ return model
302
+ except Exception as e:
303
+ if isinstance(e, TencentCloudSDKException):
304
+ raise
305
+ else:
306
+ raise TencentCloudSDKException(type(e).__name__, str(e))
307
+
308
+
286
309
  def CreateIPStrategy(self, request):
287
310
  """本接口(CreateIPStrategy)用于创建服务IP策略。
288
311
 
@@ -1142,6 +1165,29 @@ class ApigatewayClient(AbstractClient):
1142
1165
  raise TencentCloudSDKException(type(e).__name__, str(e))
1143
1166
 
1144
1167
 
1168
+ def DescribeInstancesNetworkConfig(self, request):
1169
+ """获取专享实例网络配置列表
1170
+
1171
+ :param request: Request instance for DescribeInstancesNetworkConfig.
1172
+ :type request: :class:`tencentcloud.apigateway.v20180808.models.DescribeInstancesNetworkConfigRequest`
1173
+ :rtype: :class:`tencentcloud.apigateway.v20180808.models.DescribeInstancesNetworkConfigResponse`
1174
+
1175
+ """
1176
+ try:
1177
+ params = request._serialize()
1178
+ headers = request.headers
1179
+ body = self.call("DescribeInstancesNetworkConfig", params, headers=headers)
1180
+ response = json.loads(body)
1181
+ model = models.DescribeInstancesNetworkConfigResponse()
1182
+ model._deserialize(response["Response"])
1183
+ return model
1184
+ except Exception as e:
1185
+ if isinstance(e, TencentCloudSDKException):
1186
+ raise
1187
+ else:
1188
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1189
+
1190
+
1145
1191
  def DescribeLogSearch(self, request):
1146
1192
  """本接口DescribeLogSearch用于搜索日志
1147
1193
 
@@ -6291,6 +6291,249 @@ class CreateApiRspSet(AbstractModel):
6291
6291
 
6292
6292
 
6293
6293
 
6294
+ class CreateExclusiveInstancesRequest(AbstractModel):
6295
+ """CreateExclusiveInstances请求参数结构体
6296
+
6297
+ """
6298
+
6299
+ def __init__(self):
6300
+ r"""
6301
+ :param _Zones: 可用区
6302
+ :type Zones: list of str
6303
+ :param _InstanceType: 实例类型:
6304
+ basic: 基础版
6305
+ professional: 专业版
6306
+ enterprise: 企业版
6307
+ platium: 铂金版
6308
+ diamond: 钻石版
6309
+ :type InstanceType: str
6310
+ :param _NetworkConfig: 网络配置
6311
+ :type NetworkConfig: :class:`tencentcloud.apigateway.v20180808.models.InstanceNetworkConfig`
6312
+ :param _VpcConfig: VPC配置
6313
+ :type VpcConfig: :class:`tencentcloud.apigateway.v20180808.models.VpcConfig`
6314
+ :param _PayMode: 付费类型:
6315
+ POSTPAID:后付费
6316
+ PREPAID: 预付费
6317
+ :type PayMode: str
6318
+ :param _InstanceName: 实例名
6319
+ :type InstanceName: str
6320
+ :param _InstanceDescription: 实例描述
6321
+ :type InstanceDescription: str
6322
+ :param _Tags: 标签
6323
+ :type Tags: list of Tag
6324
+ :param _Period: 预付费付费时长:单位是月
6325
+ :type Period: int
6326
+ :param _AutoRenewFlag: 预付费续费标志:
6327
+ NOTIFY_AND_MANUAL_RENEW 手动续费
6328
+ NOTIFY_AND_AUTO_RENEW 自动续费
6329
+ DISABLE_NOTIFY_AND_MANUAL_RENEW 不续费
6330
+ :type AutoRenewFlag: str
6331
+ """
6332
+ self._Zones = None
6333
+ self._InstanceType = None
6334
+ self._NetworkConfig = None
6335
+ self._VpcConfig = None
6336
+ self._PayMode = None
6337
+ self._InstanceName = None
6338
+ self._InstanceDescription = None
6339
+ self._Tags = None
6340
+ self._Period = None
6341
+ self._AutoRenewFlag = None
6342
+
6343
+ @property
6344
+ def Zones(self):
6345
+ """可用区
6346
+ :rtype: list of str
6347
+ """
6348
+ return self._Zones
6349
+
6350
+ @Zones.setter
6351
+ def Zones(self, Zones):
6352
+ self._Zones = Zones
6353
+
6354
+ @property
6355
+ def InstanceType(self):
6356
+ """实例类型:
6357
+ basic: 基础版
6358
+ professional: 专业版
6359
+ enterprise: 企业版
6360
+ platium: 铂金版
6361
+ diamond: 钻石版
6362
+ :rtype: str
6363
+ """
6364
+ return self._InstanceType
6365
+
6366
+ @InstanceType.setter
6367
+ def InstanceType(self, InstanceType):
6368
+ self._InstanceType = InstanceType
6369
+
6370
+ @property
6371
+ def NetworkConfig(self):
6372
+ """网络配置
6373
+ :rtype: :class:`tencentcloud.apigateway.v20180808.models.InstanceNetworkConfig`
6374
+ """
6375
+ return self._NetworkConfig
6376
+
6377
+ @NetworkConfig.setter
6378
+ def NetworkConfig(self, NetworkConfig):
6379
+ self._NetworkConfig = NetworkConfig
6380
+
6381
+ @property
6382
+ def VpcConfig(self):
6383
+ """VPC配置
6384
+ :rtype: :class:`tencentcloud.apigateway.v20180808.models.VpcConfig`
6385
+ """
6386
+ return self._VpcConfig
6387
+
6388
+ @VpcConfig.setter
6389
+ def VpcConfig(self, VpcConfig):
6390
+ self._VpcConfig = VpcConfig
6391
+
6392
+ @property
6393
+ def PayMode(self):
6394
+ """付费类型:
6395
+ POSTPAID:后付费
6396
+ PREPAID: 预付费
6397
+ :rtype: str
6398
+ """
6399
+ return self._PayMode
6400
+
6401
+ @PayMode.setter
6402
+ def PayMode(self, PayMode):
6403
+ self._PayMode = PayMode
6404
+
6405
+ @property
6406
+ def InstanceName(self):
6407
+ """实例名
6408
+ :rtype: str
6409
+ """
6410
+ return self._InstanceName
6411
+
6412
+ @InstanceName.setter
6413
+ def InstanceName(self, InstanceName):
6414
+ self._InstanceName = InstanceName
6415
+
6416
+ @property
6417
+ def InstanceDescription(self):
6418
+ """实例描述
6419
+ :rtype: str
6420
+ """
6421
+ return self._InstanceDescription
6422
+
6423
+ @InstanceDescription.setter
6424
+ def InstanceDescription(self, InstanceDescription):
6425
+ self._InstanceDescription = InstanceDescription
6426
+
6427
+ @property
6428
+ def Tags(self):
6429
+ """标签
6430
+ :rtype: list of Tag
6431
+ """
6432
+ return self._Tags
6433
+
6434
+ @Tags.setter
6435
+ def Tags(self, Tags):
6436
+ self._Tags = Tags
6437
+
6438
+ @property
6439
+ def Period(self):
6440
+ """预付费付费时长:单位是月
6441
+ :rtype: int
6442
+ """
6443
+ return self._Period
6444
+
6445
+ @Period.setter
6446
+ def Period(self, Period):
6447
+ self._Period = Period
6448
+
6449
+ @property
6450
+ def AutoRenewFlag(self):
6451
+ """预付费续费标志:
6452
+ NOTIFY_AND_MANUAL_RENEW 手动续费
6453
+ NOTIFY_AND_AUTO_RENEW 自动续费
6454
+ DISABLE_NOTIFY_AND_MANUAL_RENEW 不续费
6455
+ :rtype: str
6456
+ """
6457
+ return self._AutoRenewFlag
6458
+
6459
+ @AutoRenewFlag.setter
6460
+ def AutoRenewFlag(self, AutoRenewFlag):
6461
+ self._AutoRenewFlag = AutoRenewFlag
6462
+
6463
+
6464
+ def _deserialize(self, params):
6465
+ self._Zones = params.get("Zones")
6466
+ self._InstanceType = params.get("InstanceType")
6467
+ if params.get("NetworkConfig") is not None:
6468
+ self._NetworkConfig = InstanceNetworkConfig()
6469
+ self._NetworkConfig._deserialize(params.get("NetworkConfig"))
6470
+ if params.get("VpcConfig") is not None:
6471
+ self._VpcConfig = VpcConfig()
6472
+ self._VpcConfig._deserialize(params.get("VpcConfig"))
6473
+ self._PayMode = params.get("PayMode")
6474
+ self._InstanceName = params.get("InstanceName")
6475
+ self._InstanceDescription = params.get("InstanceDescription")
6476
+ if params.get("Tags") is not None:
6477
+ self._Tags = []
6478
+ for item in params.get("Tags"):
6479
+ obj = Tag()
6480
+ obj._deserialize(item)
6481
+ self._Tags.append(obj)
6482
+ self._Period = params.get("Period")
6483
+ self._AutoRenewFlag = params.get("AutoRenewFlag")
6484
+ memeber_set = set(params.keys())
6485
+ for name, value in vars(self).items():
6486
+ property_name = name[1:]
6487
+ if property_name in memeber_set:
6488
+ memeber_set.remove(property_name)
6489
+ if len(memeber_set) > 0:
6490
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6491
+
6492
+
6493
+
6494
+ class CreateExclusiveInstancesResponse(AbstractModel):
6495
+ """CreateExclusiveInstances返回参数结构体
6496
+
6497
+ """
6498
+
6499
+ def __init__(self):
6500
+ r"""
6501
+ :param _Result: 实例ID
6502
+ :type Result: str
6503
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6504
+ :type RequestId: str
6505
+ """
6506
+ self._Result = None
6507
+ self._RequestId = None
6508
+
6509
+ @property
6510
+ def Result(self):
6511
+ """实例ID
6512
+ :rtype: str
6513
+ """
6514
+ return self._Result
6515
+
6516
+ @Result.setter
6517
+ def Result(self, Result):
6518
+ self._Result = Result
6519
+
6520
+ @property
6521
+ def RequestId(self):
6522
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6523
+ :rtype: str
6524
+ """
6525
+ return self._RequestId
6526
+
6527
+ @RequestId.setter
6528
+ def RequestId(self, RequestId):
6529
+ self._RequestId = RequestId
6530
+
6531
+
6532
+ def _deserialize(self, params):
6533
+ self._Result = params.get("Result")
6534
+ self._RequestId = params.get("RequestId")
6535
+
6536
+
6294
6537
  class CreateIPStrategyRequest(AbstractModel):
6295
6538
  """CreateIPStrategy请求参数结构体
6296
6539
 
@@ -11545,6 +11788,89 @@ class DescribeIPStrategysStatusResponse(AbstractModel):
11545
11788
  self._RequestId = params.get("RequestId")
11546
11789
 
11547
11790
 
11791
+ class DescribeInstancesNetworkConfigRequest(AbstractModel):
11792
+ """DescribeInstancesNetworkConfig请求参数结构体
11793
+
11794
+ """
11795
+
11796
+ def __init__(self):
11797
+ r"""
11798
+ :param _Limit: 返回数量,默认为 20,最大值为 100。
11799
+
11800
+ :type Limit: int
11801
+ :param _Offset: 偏移量,默认为 0。
11802
+
11803
+ :type Offset: int
11804
+ """
11805
+ self._Limit = None
11806
+ self._Offset = None
11807
+
11808
+ @property
11809
+ def Limit(self):
11810
+ """返回数量,默认为 20,最大值为 100。
11811
+
11812
+ :rtype: int
11813
+ """
11814
+ return self._Limit
11815
+
11816
+ @Limit.setter
11817
+ def Limit(self, Limit):
11818
+ self._Limit = Limit
11819
+
11820
+ @property
11821
+ def Offset(self):
11822
+ """偏移量,默认为 0。
11823
+
11824
+ :rtype: int
11825
+ """
11826
+ return self._Offset
11827
+
11828
+ @Offset.setter
11829
+ def Offset(self, Offset):
11830
+ self._Offset = Offset
11831
+
11832
+
11833
+ def _deserialize(self, params):
11834
+ self._Limit = params.get("Limit")
11835
+ self._Offset = params.get("Offset")
11836
+ memeber_set = set(params.keys())
11837
+ for name, value in vars(self).items():
11838
+ property_name = name[1:]
11839
+ if property_name in memeber_set:
11840
+ memeber_set.remove(property_name)
11841
+ if len(memeber_set) > 0:
11842
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11843
+
11844
+
11845
+
11846
+ class DescribeInstancesNetworkConfigResponse(AbstractModel):
11847
+ """DescribeInstancesNetworkConfig返回参数结构体
11848
+
11849
+ """
11850
+
11851
+ def __init__(self):
11852
+ r"""
11853
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11854
+ :type RequestId: str
11855
+ """
11856
+ self._RequestId = None
11857
+
11858
+ @property
11859
+ def RequestId(self):
11860
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11861
+ :rtype: str
11862
+ """
11863
+ return self._RequestId
11864
+
11865
+ @RequestId.setter
11866
+ def RequestId(self, RequestId):
11867
+ self._RequestId = RequestId
11868
+
11869
+
11870
+ def _deserialize(self, params):
11871
+ self._RequestId = params.get("RequestId")
11872
+
11873
+
11548
11874
  class DescribeLogSearchRequest(AbstractModel):
11549
11875
  """DescribeLogSearch请求参数结构体
11550
11876
 
@@ -17023,6 +17349,42 @@ class InstanceInfo(AbstractModel):
17023
17349
 
17024
17350
 
17025
17351
 
17352
+ class InstanceNetworkConfig(AbstractModel):
17353
+ """专享网络配置
17354
+
17355
+ """
17356
+
17357
+ def __init__(self):
17358
+ r"""
17359
+ :param _InternetMaxBandwidthOut: 公网带宽
17360
+ :type InternetMaxBandwidthOut: int
17361
+ """
17362
+ self._InternetMaxBandwidthOut = None
17363
+
17364
+ @property
17365
+ def InternetMaxBandwidthOut(self):
17366
+ """公网带宽
17367
+ :rtype: int
17368
+ """
17369
+ return self._InternetMaxBandwidthOut
17370
+
17371
+ @InternetMaxBandwidthOut.setter
17372
+ def InternetMaxBandwidthOut(self, InternetMaxBandwidthOut):
17373
+ self._InternetMaxBandwidthOut = InternetMaxBandwidthOut
17374
+
17375
+
17376
+ def _deserialize(self, params):
17377
+ self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
17378
+ memeber_set = set(params.keys())
17379
+ for name, value in vars(self).items():
17380
+ property_name = name[1:]
17381
+ if property_name in memeber_set:
17382
+ memeber_set.remove(property_name)
17383
+ if len(memeber_set) > 0:
17384
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17385
+
17386
+
17387
+
17026
17388
  class InstanceParameterInput(AbstractModel):
17027
17389
  """独享实例参数信息
17028
17390
 
@@ -3439,7 +3439,7 @@ class CreateScalingPolicyRequest(AbstractModel):
3439
3439
  <li>ASG_AVG_LAN_TRAFFIC_OUT:平均内网出带宽</li>
3440
3440
  <li>ASG_AVG_LAN_TRAFFIC_IN:平均内网入带宽</li>
3441
3441
  <li>ASG_AVG_WAN_TRAFFIC_OUT:平均外网出带宽</li>
3442
- <li>ASG_AVG_WAN_TRAFFIC_IN:平均外网出带宽</li>
3442
+ <li>ASG_AVG_WAN_TRAFFIC_IN:平均外网入带宽</li>
3443
3443
  :type PredefinedMetricType: str
3444
3444
  :param _TargetValue: 目标值,仅适用于目标追踪策略。
3445
3445
  <li>ASG_AVG_CPU_UTILIZATION:[1, 100),单位:%</li>
@@ -3558,7 +3558,7 @@ class CreateScalingPolicyRequest(AbstractModel):
3558
3558
  <li>ASG_AVG_LAN_TRAFFIC_OUT:平均内网出带宽</li>
3559
3559
  <li>ASG_AVG_LAN_TRAFFIC_IN:平均内网入带宽</li>
3560
3560
  <li>ASG_AVG_WAN_TRAFFIC_OUT:平均外网出带宽</li>
3561
- <li>ASG_AVG_WAN_TRAFFIC_IN:平均外网出带宽</li>
3561
+ <li>ASG_AVG_WAN_TRAFFIC_IN:平均外网入带宽</li>
3562
3562
  :rtype: str
3563
3563
  """
3564
3564
  return self._PredefinedMetricType
@@ -9116,9 +9116,10 @@ class LoginSettings(AbstractModel):
9116
9116
  def __init__(self):
9117
9117
  r"""
9118
9118
  :param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:
9119
- <li>Linux实例密码必须8到16位,至少包括两项[a-z,A-Z]、[0-9] 和 [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li>
9120
- <li>Windows实例密码必须12到16位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) ` ~ ! @ # $ % ^ & * - + = { } [ ] : ; ' , . ? /]中的特殊符号。</li>
9121
- 若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
9119
+ - Linux实例密码必须8到30位,至少包括四项(小写字母、大写字母、数字和特殊符号)中的两项。
9120
+ - Windows实例密码必须12到30位,至少包括包括四项(小写字母、大写字母、数字和特殊符号)中的三项。
9121
+ - 若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
9122
+ 特殊符号的取值范围: [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
9122
9123
  :type Password: str
9123
9124
  :param _KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口DescribeKeyPairs获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。
9124
9125
  :type KeyIds: list of str
@@ -9134,9 +9135,10 @@ class LoginSettings(AbstractModel):
9134
9135
  @property
9135
9136
  def Password(self):
9136
9137
  """实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:
9137
- <li>Linux实例密码必须8到16位,至少包括两项[a-z,A-Z]、[0-9] 和 [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li>
9138
- <li>Windows实例密码必须12到16位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) ` ~ ! @ # $ % ^ & * - + = { } [ ] : ; ' , . ? /]中的特殊符号。</li>
9139
- 若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
9138
+ - Linux实例密码必须8到30位,至少包括四项(小写字母、大写字母、数字和特殊符号)中的两项。
9139
+ - Windows实例密码必须12到30位,至少包括包括四项(小写字母、大写字母、数字和特殊符号)中的三项。
9140
+ - 若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
9141
+ 特殊符号的取值范围: [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
9140
9142
  :rtype: str
9141
9143
  """
9142
9144
  return self._Password
@@ -12369,13 +12371,13 @@ class RunAutomationServiceEnabled(AbstractModel):
12369
12371
 
12370
12372
 
12371
12373
  class RunMonitorServiceEnabled(AbstractModel):
12372
- """描述了 “云监控” 服务相关的信息。
12374
+ """描述了 “可观测平台(原名云监控)” 服务相关的信息。
12373
12375
 
12374
12376
  """
12375
12377
 
12376
12378
  def __init__(self):
12377
12379
  r"""
12378
- :param _Enabled: 是否开启[云监控](https://cloud.tencent.com/document/product/248)服务。取值范围:
12380
+ :param _Enabled: 是否开启[可观测平台(原名云监控)](https://cloud.tencent.com/document/product/248)服务。取值范围:
12379
12381
  <li>TRUE:表示开启云监控服务</li>
12380
12382
  <li>FALSE:表示不开启云监控服务</li>
12381
12383
  默认取值:TRUE。
@@ -12386,7 +12388,7 @@ class RunMonitorServiceEnabled(AbstractModel):
12386
12388
 
12387
12389
  @property
12388
12390
  def Enabled(self):
12389
- """是否开启[云监控](https://cloud.tencent.com/document/product/248)服务。取值范围:
12391
+ """是否开启[可观测平台(原名云监控)](https://cloud.tencent.com/document/product/248)服务。取值范围:
12390
12392
  <li>TRUE:表示开启云监控服务</li>
12391
12393
  <li>FALSE:表示不开启云监控服务</li>
12392
12394
  默认取值:TRUE。
@@ -302,6 +302,29 @@ class BiClient(AbstractClient):
302
302
  raise TencentCloudSDKException(type(e).__name__, str(e))
303
303
 
304
304
 
305
+ def DescribePageWidgetList(self, request):
306
+ """查询页面组件信息
307
+
308
+ :param request: Request instance for DescribePageWidgetList.
309
+ :type request: :class:`tencentcloud.bi.v20220105.models.DescribePageWidgetListRequest`
310
+ :rtype: :class:`tencentcloud.bi.v20220105.models.DescribePageWidgetListResponse`
311
+
312
+ """
313
+ try:
314
+ params = request._serialize()
315
+ headers = request.headers
316
+ body = self.call("DescribePageWidgetList", params, headers=headers)
317
+ response = json.loads(body)
318
+ model = models.DescribePageWidgetListResponse()
319
+ model._deserialize(response["Response"])
320
+ return model
321
+ except Exception as e:
322
+ if isinstance(e, TencentCloudSDKException):
323
+ raise
324
+ else:
325
+ raise TencentCloudSDKException(type(e).__name__, str(e))
326
+
327
+
305
328
  def DescribeProjectInfo(self, request):
306
329
  """项目详情接口
307
330
 
@@ -417,6 +440,29 @@ class BiClient(AbstractClient):
417
440
  raise TencentCloudSDKException(type(e).__name__, str(e))
418
441
 
419
442
 
443
+ def ExportScreenPage(self, request):
444
+ """页面截图导出
445
+
446
+ :param request: Request instance for ExportScreenPage.
447
+ :type request: :class:`tencentcloud.bi.v20220105.models.ExportScreenPageRequest`
448
+ :rtype: :class:`tencentcloud.bi.v20220105.models.ExportScreenPageResponse`
449
+
450
+ """
451
+ try:
452
+ params = request._serialize()
453
+ headers = request.headers
454
+ body = self.call("ExportScreenPage", params, headers=headers)
455
+ response = json.loads(body)
456
+ model = models.ExportScreenPageResponse()
457
+ model._deserialize(response["Response"])
458
+ return model
459
+ except Exception as e:
460
+ if isinstance(e, TencentCloudSDKException):
461
+ raise
462
+ else:
463
+ raise TencentCloudSDKException(type(e).__name__, str(e))
464
+
465
+
420
466
  def ModifyDatasource(self, request):
421
467
  """更新数据源
422
468
 
@@ -17,6 +17,9 @@
17
17
  # CAM签名/鉴权错误。
18
18
  AUTHFAILURE = 'AuthFailure'
19
19
 
20
+ # DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。
21
+ DRYRUNOPERATION = 'DryRunOperation'
22
+
20
23
  # 操作失败。
21
24
  FAILEDOPERATION = 'FailedOperation'
22
25