tencentcloud-sdk-python 3.0.1341__py2.py3-none-any.whl → 3.0.1342__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 (34) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/billing/v20180709/models.py +0 -246
  3. tencentcloud/captcha/v20190722/models.py +6 -24
  4. tencentcloud/cdc/v20201214/models.py +0 -12
  5. tencentcloud/cfs/v20190719/errorcodes.py +3 -0
  6. tencentcloud/cvm/v20170312/cvm_client.py +23 -0
  7. tencentcloud/cvm/v20170312/models.py +211 -4
  8. tencentcloud/cwp/v20180228/models.py +99 -24
  9. tencentcloud/domain/v20180808/models.py +30 -24
  10. tencentcloud/ess/v20201111/models.py +69 -2
  11. tencentcloud/essbasic/v20210526/models.py +73 -6
  12. tencentcloud/hunyuan/v20230901/models.py +97 -21
  13. tencentcloud/lke/v20231130/lke_client.py +1 -1
  14. tencentcloud/mariadb/v20170312/models.py +0 -24
  15. tencentcloud/mongodb/v20190725/models.py +6 -6
  16. tencentcloud/redis/v20180412/models.py +8 -8
  17. tencentcloud/ses/v20201002/models.py +2 -4
  18. tencentcloud/tat/v20201028/models.py +10 -8
  19. tencentcloud/tcb/v20180608/models.py +0 -230
  20. tencentcloud/tdmq/v20200217/models.py +17 -198
  21. tencentcloud/teo/v20220901/models.py +227 -1
  22. tencentcloud/teo/v20220901/teo_client.py +8 -4
  23. tencentcloud/trocket/v20230308/models.py +109 -0
  24. tencentcloud/trocket/v20230308/trocket_client.py +23 -0
  25. tencentcloud/trro/v20220325/models.py +140 -0
  26. tencentcloud/trro/v20220325/trro_client.py +25 -0
  27. tencentcloud/vpc/v20170312/errorcodes.py +9 -0
  28. tencentcloud/waf/v20180125/models.py +398 -0
  29. tencentcloud/waf/v20180125/waf_client.py +69 -0
  30. {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1342.dist-info}/METADATA +1 -1
  31. {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1342.dist-info}/RECORD +34 -34
  32. {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1342.dist-info}/LICENSE +0 -0
  33. {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1342.dist-info}/WHEEL +0 -0
  34. {tencentcloud_sdk_python-3.0.1341.dist-info → tencentcloud_sdk_python-3.0.1342.dist-info}/top_level.txt +0 -0
@@ -2195,7 +2195,6 @@ class DescribeCaptchaMiniResultResponse(AbstractModel):
2195
2195
  100 param err 参数校验错误
2196
2196
  :type CaptchaCode: int
2197
2197
  :param _CaptchaMsg: 状态描述及验证错误信息
2198
- 注意:此字段可能返回 null,表示取不到有效值。
2199
2198
  :type CaptchaMsg: str
2200
2199
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2201
2200
  :type RequestId: str
@@ -2228,7 +2227,6 @@ class DescribeCaptchaMiniResultResponse(AbstractModel):
2228
2227
  @property
2229
2228
  def CaptchaMsg(self):
2230
2229
  """状态描述及验证错误信息
2231
- 注意:此字段可能返回 null,表示取不到有效值。
2232
2230
  :rtype: str
2233
2231
  """
2234
2232
  return self._CaptchaMsg
@@ -2460,11 +2458,9 @@ class DescribeCaptchaMiniRiskResultResponse(AbstractModel):
2460
2458
  100 param err 参数校验错误
2461
2459
  :type CaptchaCode: int
2462
2460
  :param _CaptchaMsg: 状态描述及验证错误信息
2463
- 注意:此字段可能返回 null,表示取不到有效值。
2464
2461
  注意:此字段可能返回 null,表示取不到有效值。
2465
2462
  :type CaptchaMsg: str
2466
2463
  :param _ManageMarketingRiskValue: 拦截策略返回信息
2467
- 注意:此字段可能返回 null,表示取不到有效值。
2468
2464
  注意:此字段可能返回 null,表示取不到有效值。
2469
2465
  :type ManageMarketingRiskValue: :class:`tencentcloud.captcha.v20190722.models.OutputManageMarketingRiskValue`
2470
2466
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -2498,7 +2494,6 @@ class DescribeCaptchaMiniRiskResultResponse(AbstractModel):
2498
2494
  @property
2499
2495
  def CaptchaMsg(self):
2500
2496
  """状态描述及验证错误信息
2501
- 注意:此字段可能返回 null,表示取不到有效值。
2502
2497
  注意:此字段可能返回 null,表示取不到有效值。
2503
2498
  :rtype: str
2504
2499
  """
@@ -2511,7 +2506,6 @@ class DescribeCaptchaMiniRiskResultResponse(AbstractModel):
2511
2506
  @property
2512
2507
  def ManageMarketingRiskValue(self):
2513
2508
  """拦截策略返回信息
2514
- 注意:此字段可能返回 null,表示取不到有效值。
2515
2509
  注意:此字段可能返回 null,表示取不到有效值。
2516
2510
  :rtype: :class:`tencentcloud.captcha.v20190722.models.OutputManageMarketingRiskValue`
2517
2511
  """
@@ -4321,27 +4315,21 @@ AccountType 是 4 时,对应手机号。
4321
4315
  AccountType 是 8 时,对应 imei、idfa、imeiMD5 或者 idfaMD5。
4322
4316
  AccountType 是 0 时,对应账号信息。
4323
4317
  AccountType 是 10004 时,对应手机号的 MD5。
4324
- 注意:此字段可能返回 null,表示取不到有效值。
4325
4318
  注意:此字段可能返回 null,表示取不到有效值。
4326
4319
  :type UserId: str
4327
4320
  :param _PostTime: 操作时间戳,单位秒(对应输入参数)。
4328
- 注意:此字段可能返回 null,表示取不到有效值。
4329
- 注意:此字段可能返回 null,表示取不到有效值。
4321
+
4330
4322
  :type PostTime: int
4331
4323
  :param _AssociateAccount: 对应输入参数,AccountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录 后关联业务自身的账号 ID。
4332
- 注意:此字段可能返回 null,表示取不到有效值。
4333
4324
  注意:此字段可能返回 null,表示取不到有效值。
4334
4325
  :type AssociateAccount: str
4335
- :param _UserIp: 业务详情。 注意:此字段可能返回 null,表示取不到有效值。
4336
- 注意:此字段可能返回 null,表示取不到有效值。
4326
+ :param _UserIp: 业务详情
4337
4327
  :type UserIp: str
4338
4328
  :param _RiskLevel: 风险值 pass : 无恶意
4339
4329
  review:需要人工审核
4340
4330
  reject:拒绝,高风险恶意
4341
- 注意:此字段可能返回 null,表示取不到有效值。
4342
- 注意:此字段可能返回 null,表示取不到有效值。
4343
4331
  :type RiskLevel: str
4344
- :param _RiskType: 风险类型,请查看下面详细说明 注意:此字段可能返回 null,表示取不到有效值。
4332
+ :param _RiskType: 风险类型,请查看下面详细说明
4345
4333
  账号风险
4346
4334
  账号信用低 1 账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素
4347
4335
  疑似 低活跃账号 11 账号活跃度与正常用户有差异
@@ -4380,7 +4368,6 @@ AccountType 是 4 时,对应手机号。
4380
4368
  AccountType 是 8 时,对应 imei、idfa、imeiMD5 或者 idfaMD5。
4381
4369
  AccountType 是 0 时,对应账号信息。
4382
4370
  AccountType 是 10004 时,对应手机号的 MD5。
4383
- 注意:此字段可能返回 null,表示取不到有效值。
4384
4371
  注意:此字段可能返回 null,表示取不到有效值。
4385
4372
  :rtype: str
4386
4373
  """
@@ -4393,8 +4380,7 @@ AccountType 是 10004 时,对应手机号的 MD5。
4393
4380
  @property
4394
4381
  def PostTime(self):
4395
4382
  """操作时间戳,单位秒(对应输入参数)。
4396
- 注意:此字段可能返回 null,表示取不到有效值。
4397
- 注意:此字段可能返回 null,表示取不到有效值。
4383
+
4398
4384
  :rtype: int
4399
4385
  """
4400
4386
  return self._PostTime
@@ -4406,7 +4392,6 @@ AccountType 是 10004 时,对应手机号的 MD5。
4406
4392
  @property
4407
4393
  def AssociateAccount(self):
4408
4394
  """对应输入参数,AccountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录 后关联业务自身的账号 ID。
4409
- 注意:此字段可能返回 null,表示取不到有效值。
4410
4395
  注意:此字段可能返回 null,表示取不到有效值。
4411
4396
  :rtype: str
4412
4397
  """
@@ -4418,8 +4403,7 @@ AccountType 是 10004 时,对应手机号的 MD5。
4418
4403
 
4419
4404
  @property
4420
4405
  def UserIp(self):
4421
- """业务详情。 注意:此字段可能返回 null,表示取不到有效值。
4422
- 注意:此字段可能返回 null,表示取不到有效值。
4406
+ """业务详情
4423
4407
  :rtype: str
4424
4408
  """
4425
4409
  return self._UserIp
@@ -4433,8 +4417,6 @@ AccountType 是 10004 时,对应手机号的 MD5。
4433
4417
  """风险值 pass : 无恶意
4434
4418
  review:需要人工审核
4435
4419
  reject:拒绝,高风险恶意
4436
- 注意:此字段可能返回 null,表示取不到有效值。
4437
- 注意:此字段可能返回 null,表示取不到有效值。
4438
4420
  :rtype: str
4439
4421
  """
4440
4422
  return self._RiskLevel
@@ -4445,7 +4427,7 @@ reject:拒绝,高风险恶意
4445
4427
 
4446
4428
  @property
4447
4429
  def RiskType(self):
4448
- """风险类型,请查看下面详细说明 注意:此字段可能返回 null,表示取不到有效值。
4430
+ """风险类型,请查看下面详细说明
4449
4431
  账号风险
4450
4432
  账号信用低 1 账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素
4451
4433
  疑似 低活跃账号 11 账号活跃度与正常用户有差异
@@ -314,7 +314,6 @@ class CreateDedicatedClusterOrderResponse(AbstractModel):
314
314
  def __init__(self):
315
315
  r"""
316
316
  :param _DedicatedClusterOrderId: 专用集群订单id
317
- 注意:此字段可能返回 null,表示取不到有效值。
318
317
  :type DedicatedClusterOrderId: str
319
318
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
320
319
  :type RequestId: str
@@ -325,7 +324,6 @@ class CreateDedicatedClusterOrderResponse(AbstractModel):
325
324
  @property
326
325
  def DedicatedClusterOrderId(self):
327
326
  """专用集群订单id
328
- 注意:此字段可能返回 null,表示取不到有效值。
329
327
  :rtype: str
330
328
  """
331
329
  return self._DedicatedClusterOrderId
@@ -2876,7 +2874,6 @@ class DescribeDedicatedClusterHostsResponse(AbstractModel):
2876
2874
  def __init__(self):
2877
2875
  r"""
2878
2876
  :param _HostInfoSet: 宿主机信息
2879
- 注意:此字段可能返回 null,表示取不到有效值。
2880
2877
  :type HostInfoSet: list of HostInfo
2881
2878
  :param _TotalCount: 宿主机总数
2882
2879
  :type TotalCount: int
@@ -2890,7 +2887,6 @@ class DescribeDedicatedClusterHostsResponse(AbstractModel):
2890
2887
  @property
2891
2888
  def HostInfoSet(self):
2892
2889
  """宿主机信息
2893
- 注意:此字段可能返回 null,表示取不到有效值。
2894
2890
  :rtype: list of HostInfo
2895
2891
  """
2896
2892
  return self._HostInfoSet
@@ -3254,16 +3250,12 @@ class DescribeDedicatedClusterOverviewResponse(AbstractModel):
3254
3250
  :param _HostCount: 宿主机数量
3255
3251
  :type HostCount: int
3256
3252
  :param _VpnConnectionState: vpn通道状态
3257
- 注意:此字段可能返回 null,表示取不到有效值。
3258
3253
  :type VpnConnectionState: str
3259
3254
  :param _VpngwBandwidthData: vpn网关监控数据
3260
- 注意:此字段可能返回 null,表示取不到有效值。
3261
3255
  :type VpngwBandwidthData: :class:`tencentcloud.cdc.v20201214.models.VpngwBandwidthData`
3262
3256
  :param _LocalNetInfo: 本地网关信息
3263
- 注意:此字段可能返回 null,表示取不到有效值。
3264
3257
  :type LocalNetInfo: :class:`tencentcloud.cdc.v20201214.models.LocalNetInfo`
3265
3258
  :param _VpnConnectionBandwidthData: vpn网关通道监控数据
3266
- 注意:此字段可能返回 null,表示取不到有效值。
3267
3259
  :type VpnConnectionBandwidthData: list of VpngwBandwidthData
3268
3260
  :param _HostDetailInfo: 宿主机资源概览信息
3269
3261
  :type HostDetailInfo: list of HostDetailInfo
@@ -3310,7 +3302,6 @@ class DescribeDedicatedClusterOverviewResponse(AbstractModel):
3310
3302
  @property
3311
3303
  def VpnConnectionState(self):
3312
3304
  """vpn通道状态
3313
- 注意:此字段可能返回 null,表示取不到有效值。
3314
3305
  :rtype: str
3315
3306
  """
3316
3307
  return self._VpnConnectionState
@@ -3322,7 +3313,6 @@ class DescribeDedicatedClusterOverviewResponse(AbstractModel):
3322
3313
  @property
3323
3314
  def VpngwBandwidthData(self):
3324
3315
  """vpn网关监控数据
3325
- 注意:此字段可能返回 null,表示取不到有效值。
3326
3316
  :rtype: :class:`tencentcloud.cdc.v20201214.models.VpngwBandwidthData`
3327
3317
  """
3328
3318
  return self._VpngwBandwidthData
@@ -3334,7 +3324,6 @@ class DescribeDedicatedClusterOverviewResponse(AbstractModel):
3334
3324
  @property
3335
3325
  def LocalNetInfo(self):
3336
3326
  """本地网关信息
3337
- 注意:此字段可能返回 null,表示取不到有效值。
3338
3327
  :rtype: :class:`tencentcloud.cdc.v20201214.models.LocalNetInfo`
3339
3328
  """
3340
3329
  return self._LocalNetInfo
@@ -3346,7 +3335,6 @@ class DescribeDedicatedClusterOverviewResponse(AbstractModel):
3346
3335
  @property
3347
3336
  def VpnConnectionBandwidthData(self):
3348
3337
  """vpn网关通道监控数据
3349
- 注意:此字段可能返回 null,表示取不到有效值。
3350
3338
  :rtype: list of VpngwBandwidthData
3351
3339
  """
3352
3340
  return self._VpnConnectionBandwidthData
@@ -149,6 +149,9 @@ INVALIDPARAMETERVALUE_INVALIDFSSIZELIMIT = 'InvalidParameterValue.InvalidFsSizeL
149
149
  # 无效的文件系统状态。
150
150
  INVALIDPARAMETERVALUE_INVALIDFSSTATUS = 'InvalidParameterValue.InvalidFsStatus'
151
151
 
152
+ # MetaType 值无效
153
+ INVALIDPARAMETERVALUE_INVALIDMETATYPE = 'InvalidParameterValue.InvalidMetaType'
154
+
152
155
  # 错误的挂载点IP。
153
156
  INVALIDPARAMETERVALUE_INVALIDMOUNTTARGETIP = 'InvalidParameterValue.InvalidMountTargetIp'
154
157
 
@@ -933,6 +933,29 @@ class CvmClient(AbstractClient):
933
933
  raise TencentCloudSDKException(type(e).__name__, str(e))
934
934
 
935
935
 
936
+ def DescribeInstancesAttributes(self, request):
937
+ """获取指定实例的属性,目前支持查询实例自定义数据User-Data。
938
+
939
+ :param request: Request instance for DescribeInstancesAttributes.
940
+ :type request: :class:`tencentcloud.cvm.v20170312.models.DescribeInstancesAttributesRequest`
941
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.DescribeInstancesAttributesResponse`
942
+
943
+ """
944
+ try:
945
+ params = request._serialize()
946
+ headers = request.headers
947
+ body = self.call("DescribeInstancesAttributes", params, headers=headers)
948
+ response = json.loads(body)
949
+ model = models.DescribeInstancesAttributesResponse()
950
+ model._deserialize(response["Response"])
951
+ return model
952
+ except Exception as e:
953
+ if isinstance(e, TencentCloudSDKException):
954
+ raise
955
+ else:
956
+ raise TencentCloudSDKException(type(e).__name__, str(e))
957
+
958
+
936
959
  def DescribeInstancesModification(self, request):
937
960
  """本接口 (DescribeInstancesModification) 用于查询指定实例支持调整的机型配置。
938
961
 
@@ -666,6 +666,42 @@ class AssociateSecurityGroupsResponse(AbstractModel):
666
666
  self._RequestId = params.get("RequestId")
667
667
 
668
668
 
669
+ class Attribute(AbstractModel):
670
+ """属性信息
671
+
672
+ """
673
+
674
+ def __init__(self):
675
+ r"""
676
+ :param _UserData: 实例的自定义数据。
677
+ :type UserData: str
678
+ """
679
+ self._UserData = None
680
+
681
+ @property
682
+ def UserData(self):
683
+ """实例的自定义数据。
684
+ :rtype: str
685
+ """
686
+ return self._UserData
687
+
688
+ @UserData.setter
689
+ def UserData(self, UserData):
690
+ self._UserData = UserData
691
+
692
+
693
+ def _deserialize(self, params):
694
+ self._UserData = params.get("UserData")
695
+ memeber_set = set(params.keys())
696
+ for name, value in vars(self).items():
697
+ property_name = name[1:]
698
+ if property_name in memeber_set:
699
+ memeber_set.remove(property_name)
700
+ if len(memeber_set) > 0:
701
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
702
+
703
+
704
+
669
705
  class ChargePrepaid(AbstractModel):
670
706
  """描述预付费模式,即包年包月相关参数。包括购买时长和自动续费逻辑等。
671
707
 
@@ -6446,6 +6482,107 @@ class DescribeInstancesActionTimerResponse(AbstractModel):
6446
6482
  self._RequestId = params.get("RequestId")
6447
6483
 
6448
6484
 
6485
+ class DescribeInstancesAttributesRequest(AbstractModel):
6486
+ """DescribeInstancesAttributes请求参数结构体
6487
+
6488
+ """
6489
+
6490
+ def __init__(self):
6491
+ r"""
6492
+ :param _Attributes: 需要获取的实例属性。可选值:
6493
+ UserData: 实例自定义数据
6494
+ :type Attributes: list of str
6495
+ :param _InstanceIds: 实例ID列表
6496
+ :type InstanceIds: list of str
6497
+ """
6498
+ self._Attributes = None
6499
+ self._InstanceIds = None
6500
+
6501
+ @property
6502
+ def Attributes(self):
6503
+ """需要获取的实例属性。可选值:
6504
+ UserData: 实例自定义数据
6505
+ :rtype: list of str
6506
+ """
6507
+ return self._Attributes
6508
+
6509
+ @Attributes.setter
6510
+ def Attributes(self, Attributes):
6511
+ self._Attributes = Attributes
6512
+
6513
+ @property
6514
+ def InstanceIds(self):
6515
+ """实例ID列表
6516
+ :rtype: list of str
6517
+ """
6518
+ return self._InstanceIds
6519
+
6520
+ @InstanceIds.setter
6521
+ def InstanceIds(self, InstanceIds):
6522
+ self._InstanceIds = InstanceIds
6523
+
6524
+
6525
+ def _deserialize(self, params):
6526
+ self._Attributes = params.get("Attributes")
6527
+ self._InstanceIds = params.get("InstanceIds")
6528
+ memeber_set = set(params.keys())
6529
+ for name, value in vars(self).items():
6530
+ property_name = name[1:]
6531
+ if property_name in memeber_set:
6532
+ memeber_set.remove(property_name)
6533
+ if len(memeber_set) > 0:
6534
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6535
+
6536
+
6537
+
6538
+ class DescribeInstancesAttributesResponse(AbstractModel):
6539
+ """DescribeInstancesAttributes返回参数结构体
6540
+
6541
+ """
6542
+
6543
+ def __init__(self):
6544
+ r"""
6545
+ :param _InstanceSet: 指定的实例属性列表
6546
+ :type InstanceSet: list of InstanceAttribute
6547
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6548
+ :type RequestId: str
6549
+ """
6550
+ self._InstanceSet = None
6551
+ self._RequestId = None
6552
+
6553
+ @property
6554
+ def InstanceSet(self):
6555
+ """指定的实例属性列表
6556
+ :rtype: list of InstanceAttribute
6557
+ """
6558
+ return self._InstanceSet
6559
+
6560
+ @InstanceSet.setter
6561
+ def InstanceSet(self, InstanceSet):
6562
+ self._InstanceSet = InstanceSet
6563
+
6564
+ @property
6565
+ def RequestId(self):
6566
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6567
+ :rtype: str
6568
+ """
6569
+ return self._RequestId
6570
+
6571
+ @RequestId.setter
6572
+ def RequestId(self, RequestId):
6573
+ self._RequestId = RequestId
6574
+
6575
+
6576
+ def _deserialize(self, params):
6577
+ if params.get("InstanceSet") is not None:
6578
+ self._InstanceSet = []
6579
+ for item in params.get("InstanceSet"):
6580
+ obj = InstanceAttribute()
6581
+ obj._deserialize(item)
6582
+ self._InstanceSet.append(obj)
6583
+ self._RequestId = params.get("RequestId")
6584
+
6585
+
6449
6586
  class DescribeInstancesModificationRequest(AbstractModel):
6450
6587
  """DescribeInstancesModification请求参数结构体
6451
6588
 
@@ -8213,7 +8350,6 @@ class DescribeTaskInfoResponse(AbstractModel):
8213
8350
  :param _TotalCount: 查询返回的维修任务总数量。
8214
8351
  :type TotalCount: int
8215
8352
  :param _RepairTaskInfoSet: 查询返回的维修任务列表。
8216
- 注意:此字段可能返回 null,表示取不到有效值。
8217
8353
  :type RepairTaskInfoSet: list of RepairTaskInfo
8218
8354
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8219
8355
  :type RequestId: str
@@ -8236,7 +8372,6 @@ class DescribeTaskInfoResponse(AbstractModel):
8236
8372
  @property
8237
8373
  def RepairTaskInfoSet(self):
8238
8374
  """查询返回的维修任务列表。
8239
- 注意:此字段可能返回 null,表示取不到有效值。
8240
8375
  :rtype: list of RepairTaskInfo
8241
8376
  """
8242
8377
  return self._RepairTaskInfoSet
@@ -8952,13 +9087,16 @@ class EnterRescueModeRequest(AbstractModel):
8952
9087
  :type Password: str
8953
9088
  :param _Username: 救援模式下系统用户名
8954
9089
  :type Username: str
8955
- :param _ForceStop: 是否强制关机
9090
+ :param _ForceStop: 是否强制关机。本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。
8956
9091
  :type ForceStop: bool
9092
+ :param _StopType: 实例的关闭模式。取值范围:<br><li>SOFT_FIRST:表示在正常关闭失败后进行强制关闭</li><br><li>HARD:直接强制关闭</li><br><li>SOFT:仅软关机</li><br>默认取值:SOFT。
9093
+ :type StopType: str
8957
9094
  """
8958
9095
  self._InstanceId = None
8959
9096
  self._Password = None
8960
9097
  self._Username = None
8961
9098
  self._ForceStop = None
9099
+ self._StopType = None
8962
9100
 
8963
9101
  @property
8964
9102
  def InstanceId(self):
@@ -8995,21 +9133,37 @@ class EnterRescueModeRequest(AbstractModel):
8995
9133
 
8996
9134
  @property
8997
9135
  def ForceStop(self):
8998
- """是否强制关机
9136
+ warnings.warn("parameter `ForceStop` is deprecated", DeprecationWarning)
9137
+
9138
+ """是否强制关机。本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。
8999
9139
  :rtype: bool
9000
9140
  """
9001
9141
  return self._ForceStop
9002
9142
 
9003
9143
  @ForceStop.setter
9004
9144
  def ForceStop(self, ForceStop):
9145
+ warnings.warn("parameter `ForceStop` is deprecated", DeprecationWarning)
9146
+
9005
9147
  self._ForceStop = ForceStop
9006
9148
 
9149
+ @property
9150
+ def StopType(self):
9151
+ """实例的关闭模式。取值范围:<br><li>SOFT_FIRST:表示在正常关闭失败后进行强制关闭</li><br><li>HARD:直接强制关闭</li><br><li>SOFT:仅软关机</li><br>默认取值:SOFT。
9152
+ :rtype: str
9153
+ """
9154
+ return self._StopType
9155
+
9156
+ @StopType.setter
9157
+ def StopType(self, StopType):
9158
+ self._StopType = StopType
9159
+
9007
9160
 
9008
9161
  def _deserialize(self, params):
9009
9162
  self._InstanceId = params.get("InstanceId")
9010
9163
  self._Password = params.get("Password")
9011
9164
  self._Username = params.get("Username")
9012
9165
  self._ForceStop = params.get("ForceStop")
9166
+ self._StopType = params.get("StopType")
9013
9167
  memeber_set = set(params.keys())
9014
9168
  for name, value in vars(self).items():
9015
9169
  property_name = name[1:]
@@ -13297,6 +13451,59 @@ class Instance(AbstractModel):
13297
13451
 
13298
13452
 
13299
13453
 
13454
+ class InstanceAttribute(AbstractModel):
13455
+ """实例属性
13456
+
13457
+ """
13458
+
13459
+ def __init__(self):
13460
+ r"""
13461
+ :param _InstanceId: 实例 ID。
13462
+ :type InstanceId: str
13463
+ :param _Attributes: 实例属性信息。
13464
+ :type Attributes: :class:`tencentcloud.cvm.v20170312.models.Attribute`
13465
+ """
13466
+ self._InstanceId = None
13467
+ self._Attributes = None
13468
+
13469
+ @property
13470
+ def InstanceId(self):
13471
+ """实例 ID。
13472
+ :rtype: str
13473
+ """
13474
+ return self._InstanceId
13475
+
13476
+ @InstanceId.setter
13477
+ def InstanceId(self, InstanceId):
13478
+ self._InstanceId = InstanceId
13479
+
13480
+ @property
13481
+ def Attributes(self):
13482
+ """实例属性信息。
13483
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.Attribute`
13484
+ """
13485
+ return self._Attributes
13486
+
13487
+ @Attributes.setter
13488
+ def Attributes(self, Attributes):
13489
+ self._Attributes = Attributes
13490
+
13491
+
13492
+ def _deserialize(self, params):
13493
+ self._InstanceId = params.get("InstanceId")
13494
+ if params.get("Attributes") is not None:
13495
+ self._Attributes = Attribute()
13496
+ self._Attributes._deserialize(params.get("Attributes"))
13497
+ memeber_set = set(params.keys())
13498
+ for name, value in vars(self).items():
13499
+ property_name = name[1:]
13500
+ if property_name in memeber_set:
13501
+ memeber_set.remove(property_name)
13502
+ if len(memeber_set) > 0:
13503
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13504
+
13505
+
13506
+
13300
13507
  class InstanceChargePrepaid(AbstractModel):
13301
13508
  """描述了实例的计费模式
13302
13509