tencentcloud-sdk-python-intl-en 3.0.1223__py2.py3-none-any.whl → 3.0.1225__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-intl-en might be problematic. Click here for more details.

@@ -6886,26 +6886,32 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
6886
6886
  r"""
6887
6887
  :param _TimeSpan: How long the instance will be renewed for, which needs to be used together with `TimeUnit`.
6888
6888
  :type TimeSpan: int
6889
- :param _ResourceIds: List of resource IDs of the node to be renewed. The resource ID is in the format of `emr-vm-xxxxxxxx`. A valid resource ID can be queried in the [console](https://console.cloud.tencent.com/emr/static/hardware).
6890
- :type ResourceIds: list of str
6891
- :param _Placement: Location of the instance. This parameter is used to specify the AZ, project, and other attributes of the instance.
6892
- :type Placement: :class:`tencentcloud.emr.v20190103.models.Placement`
6893
6889
  :param _PayMode: Instance billing mode.
6894
6890
  :type PayMode: int
6891
+ :param _ResourceIds: List of resource IDs of the node to be renewed. The resource ID is in the format of `emr-vm-xxxxxxxx`. A valid resource ID can be queried in the [console](https://console.cloud.tencent.com/emr/static/hardware).
6892
+ :type ResourceIds: list of str
6895
6893
  :param _TimeUnit: Unit of time for instance renewal.
6896
6894
  :type TimeUnit: str
6897
6895
  :param _Currency: Currency.
6898
6896
  :type Currency: str
6897
+ :param _Placement: Location of the instance. This parameter is used to specify the AZ, project, and other attributes of the instance.
6898
+ :type Placement: :class:`tencentcloud.emr.v20190103.models.Placement`
6899
6899
  :param _ModifyPayMode: Whether to change from pay-as-you-go billing to monthly subscription billing. `0`: no; `1`: yes
6900
6900
  :type ModifyPayMode: int
6901
+ :param _NeedDetail:
6902
+ :type NeedDetail: bool
6903
+ :param _InstanceId:
6904
+ :type InstanceId: str
6901
6905
  """
6902
6906
  self._TimeSpan = None
6903
- self._ResourceIds = None
6904
- self._Placement = None
6905
6907
  self._PayMode = None
6908
+ self._ResourceIds = None
6906
6909
  self._TimeUnit = None
6907
6910
  self._Currency = None
6911
+ self._Placement = None
6908
6912
  self._ModifyPayMode = None
6913
+ self._NeedDetail = None
6914
+ self._InstanceId = None
6909
6915
 
6910
6916
  @property
6911
6917
  def TimeSpan(self):
@@ -6918,28 +6924,6 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
6918
6924
  def TimeSpan(self, TimeSpan):
6919
6925
  self._TimeSpan = TimeSpan
6920
6926
 
6921
- @property
6922
- def ResourceIds(self):
6923
- """List of resource IDs of the node to be renewed. The resource ID is in the format of `emr-vm-xxxxxxxx`. A valid resource ID can be queried in the [console](https://console.cloud.tencent.com/emr/static/hardware).
6924
- :rtype: list of str
6925
- """
6926
- return self._ResourceIds
6927
-
6928
- @ResourceIds.setter
6929
- def ResourceIds(self, ResourceIds):
6930
- self._ResourceIds = ResourceIds
6931
-
6932
- @property
6933
- def Placement(self):
6934
- """Location of the instance. This parameter is used to specify the AZ, project, and other attributes of the instance.
6935
- :rtype: :class:`tencentcloud.emr.v20190103.models.Placement`
6936
- """
6937
- return self._Placement
6938
-
6939
- @Placement.setter
6940
- def Placement(self, Placement):
6941
- self._Placement = Placement
6942
-
6943
6927
  @property
6944
6928
  def PayMode(self):
6945
6929
  """Instance billing mode.
@@ -6951,6 +6935,17 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
6951
6935
  def PayMode(self, PayMode):
6952
6936
  self._PayMode = PayMode
6953
6937
 
6938
+ @property
6939
+ def ResourceIds(self):
6940
+ """List of resource IDs of the node to be renewed. The resource ID is in the format of `emr-vm-xxxxxxxx`. A valid resource ID can be queried in the [console](https://console.cloud.tencent.com/emr/static/hardware).
6941
+ :rtype: list of str
6942
+ """
6943
+ return self._ResourceIds
6944
+
6945
+ @ResourceIds.setter
6946
+ def ResourceIds(self, ResourceIds):
6947
+ self._ResourceIds = ResourceIds
6948
+
6954
6949
  @property
6955
6950
  def TimeUnit(self):
6956
6951
  """Unit of time for instance renewal.
@@ -6973,6 +6968,17 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
6973
6968
  def Currency(self, Currency):
6974
6969
  self._Currency = Currency
6975
6970
 
6971
+ @property
6972
+ def Placement(self):
6973
+ """Location of the instance. This parameter is used to specify the AZ, project, and other attributes of the instance.
6974
+ :rtype: :class:`tencentcloud.emr.v20190103.models.Placement`
6975
+ """
6976
+ return self._Placement
6977
+
6978
+ @Placement.setter
6979
+ def Placement(self, Placement):
6980
+ self._Placement = Placement
6981
+
6976
6982
  @property
6977
6983
  def ModifyPayMode(self):
6978
6984
  """Whether to change from pay-as-you-go billing to monthly subscription billing. `0`: no; `1`: yes
@@ -6984,17 +6990,41 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
6984
6990
  def ModifyPayMode(self, ModifyPayMode):
6985
6991
  self._ModifyPayMode = ModifyPayMode
6986
6992
 
6993
+ @property
6994
+ def NeedDetail(self):
6995
+ """
6996
+ :rtype: bool
6997
+ """
6998
+ return self._NeedDetail
6999
+
7000
+ @NeedDetail.setter
7001
+ def NeedDetail(self, NeedDetail):
7002
+ self._NeedDetail = NeedDetail
7003
+
7004
+ @property
7005
+ def InstanceId(self):
7006
+ """
7007
+ :rtype: str
7008
+ """
7009
+ return self._InstanceId
7010
+
7011
+ @InstanceId.setter
7012
+ def InstanceId(self, InstanceId):
7013
+ self._InstanceId = InstanceId
7014
+
6987
7015
 
6988
7016
  def _deserialize(self, params):
6989
7017
  self._TimeSpan = params.get("TimeSpan")
7018
+ self._PayMode = params.get("PayMode")
6990
7019
  self._ResourceIds = params.get("ResourceIds")
7020
+ self._TimeUnit = params.get("TimeUnit")
7021
+ self._Currency = params.get("Currency")
6991
7022
  if params.get("Placement") is not None:
6992
7023
  self._Placement = Placement()
6993
7024
  self._Placement._deserialize(params.get("Placement"))
6994
- self._PayMode = params.get("PayMode")
6995
- self._TimeUnit = params.get("TimeUnit")
6996
- self._Currency = params.get("Currency")
6997
7025
  self._ModifyPayMode = params.get("ModifyPayMode")
7026
+ self._NeedDetail = params.get("NeedDetail")
7027
+ self._InstanceId = params.get("InstanceId")
6998
7028
  memeber_set = set(params.keys())
6999
7029
  for name, value in vars(self).items():
7000
7030
  property_name = name[1:]
@@ -7024,13 +7054,19 @@ Note: this field may return null, indicating that no valid values can be obtaine
7024
7054
  :param _TimeSpan: How long the instance will be renewed for.
7025
7055
  Note: this field may return null, indicating that no valid values can be obtained.
7026
7056
  :type TimeSpan: int
7027
- :param _RequestId: The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7057
+ :param _PriceDetail:
7058
+ :type PriceDetail: list of PriceDetail
7059
+ :param _NodeRenewPriceDetails:
7060
+ :type NodeRenewPriceDetails: list of NodeRenewPriceDetail
7061
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
7028
7062
  :type RequestId: str
7029
7063
  """
7030
7064
  self._OriginalCost = None
7031
7065
  self._DiscountCost = None
7032
7066
  self._TimeUnit = None
7033
7067
  self._TimeSpan = None
7068
+ self._PriceDetail = None
7069
+ self._NodeRenewPriceDetails = None
7034
7070
  self._RequestId = None
7035
7071
 
7036
7072
  @property
@@ -7081,9 +7117,31 @@ Note: this field may return null, indicating that no valid values can be obtaine
7081
7117
  def TimeSpan(self, TimeSpan):
7082
7118
  self._TimeSpan = TimeSpan
7083
7119
 
7120
+ @property
7121
+ def PriceDetail(self):
7122
+ """
7123
+ :rtype: list of PriceDetail
7124
+ """
7125
+ return self._PriceDetail
7126
+
7127
+ @PriceDetail.setter
7128
+ def PriceDetail(self, PriceDetail):
7129
+ self._PriceDetail = PriceDetail
7130
+
7131
+ @property
7132
+ def NodeRenewPriceDetails(self):
7133
+ """
7134
+ :rtype: list of NodeRenewPriceDetail
7135
+ """
7136
+ return self._NodeRenewPriceDetails
7137
+
7138
+ @NodeRenewPriceDetails.setter
7139
+ def NodeRenewPriceDetails(self, NodeRenewPriceDetails):
7140
+ self._NodeRenewPriceDetails = NodeRenewPriceDetails
7141
+
7084
7142
  @property
7085
7143
  def RequestId(self):
7086
- """The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7144
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
7087
7145
  :rtype: str
7088
7146
  """
7089
7147
  return self._RequestId
@@ -7098,6 +7156,18 @@ Note: this field may return null, indicating that no valid values can be obtaine
7098
7156
  self._DiscountCost = params.get("DiscountCost")
7099
7157
  self._TimeUnit = params.get("TimeUnit")
7100
7158
  self._TimeSpan = params.get("TimeSpan")
7159
+ if params.get("PriceDetail") is not None:
7160
+ self._PriceDetail = []
7161
+ for item in params.get("PriceDetail"):
7162
+ obj = PriceDetail()
7163
+ obj._deserialize(item)
7164
+ self._PriceDetail.append(obj)
7165
+ if params.get("NodeRenewPriceDetails") is not None:
7166
+ self._NodeRenewPriceDetails = []
7167
+ for item in params.get("NodeRenewPriceDetails"):
7168
+ obj = NodeRenewPriceDetail()
7169
+ obj._deserialize(item)
7170
+ self._NodeRenewPriceDetails.append(obj)
7101
7171
  self._RequestId = params.get("RequestId")
7102
7172
 
7103
7173
 
@@ -7131,6 +7201,12 @@ class InquiryPriceScaleOutInstanceRequest(AbstractModel):
7131
7201
  :type RouterCount: int
7132
7202
  :param _MasterCount: Number of master nodes to be added.
7133
7203
  :type MasterCount: int
7204
+ :param _ResourceBaseType: The type can be ComputeResource, EMR, or a default value. The default value is EMR.
7205
+ :type ResourceBaseType: str
7206
+ :param _ComputeResourceId: Computing resource ID.
7207
+ :type ComputeResourceId: str
7208
+ :param _HardwareResourceType: Scale-out resource type.
7209
+ :type HardwareResourceType: str
7134
7210
  """
7135
7211
  self._TimeUnit = None
7136
7212
  self._TimeSpan = None
@@ -7142,6 +7218,9 @@ class InquiryPriceScaleOutInstanceRequest(AbstractModel):
7142
7218
  self._Currency = None
7143
7219
  self._RouterCount = None
7144
7220
  self._MasterCount = None
7221
+ self._ResourceBaseType = None
7222
+ self._ComputeResourceId = None
7223
+ self._HardwareResourceType = None
7145
7224
 
7146
7225
  @property
7147
7226
  def TimeUnit(self):
@@ -7256,6 +7335,39 @@ class InquiryPriceScaleOutInstanceRequest(AbstractModel):
7256
7335
  def MasterCount(self, MasterCount):
7257
7336
  self._MasterCount = MasterCount
7258
7337
 
7338
+ @property
7339
+ def ResourceBaseType(self):
7340
+ """The type can be ComputeResource, EMR, or a default value. The default value is EMR.
7341
+ :rtype: str
7342
+ """
7343
+ return self._ResourceBaseType
7344
+
7345
+ @ResourceBaseType.setter
7346
+ def ResourceBaseType(self, ResourceBaseType):
7347
+ self._ResourceBaseType = ResourceBaseType
7348
+
7349
+ @property
7350
+ def ComputeResourceId(self):
7351
+ """Computing resource ID.
7352
+ :rtype: str
7353
+ """
7354
+ return self._ComputeResourceId
7355
+
7356
+ @ComputeResourceId.setter
7357
+ def ComputeResourceId(self, ComputeResourceId):
7358
+ self._ComputeResourceId = ComputeResourceId
7359
+
7360
+ @property
7361
+ def HardwareResourceType(self):
7362
+ """Scale-out resource type.
7363
+ :rtype: str
7364
+ """
7365
+ return self._HardwareResourceType
7366
+
7367
+ @HardwareResourceType.setter
7368
+ def HardwareResourceType(self, HardwareResourceType):
7369
+ self._HardwareResourceType = HardwareResourceType
7370
+
7259
7371
 
7260
7372
  def _deserialize(self, params):
7261
7373
  self._TimeUnit = params.get("TimeUnit")
@@ -7268,6 +7380,9 @@ class InquiryPriceScaleOutInstanceRequest(AbstractModel):
7268
7380
  self._Currency = params.get("Currency")
7269
7381
  self._RouterCount = params.get("RouterCount")
7270
7382
  self._MasterCount = params.get("MasterCount")
7383
+ self._ResourceBaseType = params.get("ResourceBaseType")
7384
+ self._ComputeResourceId = params.get("ComputeResourceId")
7385
+ self._HardwareResourceType = params.get("HardwareResourceType")
7271
7386
  memeber_set = set(params.keys())
7272
7387
  for name, value in vars(self).items():
7273
7388
  property_name = name[1:]
@@ -7301,7 +7416,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
7301
7416
  :param _MultipleEmrPrice: The inquiry results corresponding to the specs specified by the input parameter `MultipleResources`, with the result of the first spec returned by other output parameters.
7302
7417
  Note: This field may return null, indicating that no valid values can be obtained.
7303
7418
  :type MultipleEmrPrice: list of EmrPrice
7304
- :param _RequestId: The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7419
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
7305
7420
  :type RequestId: str
7306
7421
  """
7307
7422
  self._OriginalCost = None
@@ -7374,7 +7489,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
7374
7489
 
7375
7490
  @property
7376
7491
  def RequestId(self):
7377
- """The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7492
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
7378
7493
  :rtype: str
7379
7494
  """
7380
7495
  return self._RequestId
@@ -9805,6 +9920,152 @@ Note: This field may return null, indicating that no valid values can be obtaine
9805
9920
 
9806
9921
 
9807
9922
 
9923
+ class NodeRenewPriceDetail(AbstractModel):
9924
+ """
9925
+
9926
+ """
9927
+
9928
+ def __init__(self):
9929
+ r"""
9930
+ :param _ChargeType:
9931
+ :type ChargeType: int
9932
+ :param _EmrResourceId:
9933
+ :type EmrResourceId: str
9934
+ :param _NodeType:
9935
+ :type NodeType: str
9936
+ :param _Ip:
9937
+ :type Ip: str
9938
+ :param _ExpireTime:
9939
+ :type ExpireTime: str
9940
+ :param _OriginalCost:
9941
+ :type OriginalCost: float
9942
+ :param _DiscountCost:
9943
+ :type DiscountCost: float
9944
+ :param _RenewPriceDetails:
9945
+ :type RenewPriceDetails: list of RenewPriceDetail
9946
+ """
9947
+ self._ChargeType = None
9948
+ self._EmrResourceId = None
9949
+ self._NodeType = None
9950
+ self._Ip = None
9951
+ self._ExpireTime = None
9952
+ self._OriginalCost = None
9953
+ self._DiscountCost = None
9954
+ self._RenewPriceDetails = None
9955
+
9956
+ @property
9957
+ def ChargeType(self):
9958
+ """
9959
+ :rtype: int
9960
+ """
9961
+ return self._ChargeType
9962
+
9963
+ @ChargeType.setter
9964
+ def ChargeType(self, ChargeType):
9965
+ self._ChargeType = ChargeType
9966
+
9967
+ @property
9968
+ def EmrResourceId(self):
9969
+ """
9970
+ :rtype: str
9971
+ """
9972
+ return self._EmrResourceId
9973
+
9974
+ @EmrResourceId.setter
9975
+ def EmrResourceId(self, EmrResourceId):
9976
+ self._EmrResourceId = EmrResourceId
9977
+
9978
+ @property
9979
+ def NodeType(self):
9980
+ """
9981
+ :rtype: str
9982
+ """
9983
+ return self._NodeType
9984
+
9985
+ @NodeType.setter
9986
+ def NodeType(self, NodeType):
9987
+ self._NodeType = NodeType
9988
+
9989
+ @property
9990
+ def Ip(self):
9991
+ """
9992
+ :rtype: str
9993
+ """
9994
+ return self._Ip
9995
+
9996
+ @Ip.setter
9997
+ def Ip(self, Ip):
9998
+ self._Ip = Ip
9999
+
10000
+ @property
10001
+ def ExpireTime(self):
10002
+ """
10003
+ :rtype: str
10004
+ """
10005
+ return self._ExpireTime
10006
+
10007
+ @ExpireTime.setter
10008
+ def ExpireTime(self, ExpireTime):
10009
+ self._ExpireTime = ExpireTime
10010
+
10011
+ @property
10012
+ def OriginalCost(self):
10013
+ """
10014
+ :rtype: float
10015
+ """
10016
+ return self._OriginalCost
10017
+
10018
+ @OriginalCost.setter
10019
+ def OriginalCost(self, OriginalCost):
10020
+ self._OriginalCost = OriginalCost
10021
+
10022
+ @property
10023
+ def DiscountCost(self):
10024
+ """
10025
+ :rtype: float
10026
+ """
10027
+ return self._DiscountCost
10028
+
10029
+ @DiscountCost.setter
10030
+ def DiscountCost(self, DiscountCost):
10031
+ self._DiscountCost = DiscountCost
10032
+
10033
+ @property
10034
+ def RenewPriceDetails(self):
10035
+ """
10036
+ :rtype: list of RenewPriceDetail
10037
+ """
10038
+ return self._RenewPriceDetails
10039
+
10040
+ @RenewPriceDetails.setter
10041
+ def RenewPriceDetails(self, RenewPriceDetails):
10042
+ self._RenewPriceDetails = RenewPriceDetails
10043
+
10044
+
10045
+ def _deserialize(self, params):
10046
+ self._ChargeType = params.get("ChargeType")
10047
+ self._EmrResourceId = params.get("EmrResourceId")
10048
+ self._NodeType = params.get("NodeType")
10049
+ self._Ip = params.get("Ip")
10050
+ self._ExpireTime = params.get("ExpireTime")
10051
+ self._OriginalCost = params.get("OriginalCost")
10052
+ self._DiscountCost = params.get("DiscountCost")
10053
+ if params.get("RenewPriceDetails") is not None:
10054
+ self._RenewPriceDetails = []
10055
+ for item in params.get("RenewPriceDetails"):
10056
+ obj = RenewPriceDetail()
10057
+ obj._deserialize(item)
10058
+ self._RenewPriceDetails.append(obj)
10059
+ memeber_set = set(params.keys())
10060
+ for name, value in vars(self).items():
10061
+ property_name = name[1:]
10062
+ if property_name in memeber_set:
10063
+ memeber_set.remove(property_name)
10064
+ if len(memeber_set) > 0:
10065
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10066
+
10067
+
10068
+
9808
10069
  class NodeResourceSpec(AbstractModel):
9809
10070
  """Resource details
9810
10071
 
@@ -12089,6 +12350,102 @@ Note: This field may return null, indicating that no valid values can be obtaine
12089
12350
 
12090
12351
 
12091
12352
 
12353
+ class RenewPriceDetail(AbstractModel):
12354
+ """
12355
+
12356
+ """
12357
+
12358
+ def __init__(self):
12359
+ r"""
12360
+ :param _BillingName:
12361
+ :type BillingName: str
12362
+ :param _Policy:
12363
+ :type Policy: float
12364
+ :param _Quantity:
12365
+ :type Quantity: int
12366
+ :param _OriginalCost:
12367
+ :type OriginalCost: float
12368
+ :param _DiscountCost:
12369
+ :type DiscountCost: float
12370
+ """
12371
+ self._BillingName = None
12372
+ self._Policy = None
12373
+ self._Quantity = None
12374
+ self._OriginalCost = None
12375
+ self._DiscountCost = None
12376
+
12377
+ @property
12378
+ def BillingName(self):
12379
+ """
12380
+ :rtype: str
12381
+ """
12382
+ return self._BillingName
12383
+
12384
+ @BillingName.setter
12385
+ def BillingName(self, BillingName):
12386
+ self._BillingName = BillingName
12387
+
12388
+ @property
12389
+ def Policy(self):
12390
+ """
12391
+ :rtype: float
12392
+ """
12393
+ return self._Policy
12394
+
12395
+ @Policy.setter
12396
+ def Policy(self, Policy):
12397
+ self._Policy = Policy
12398
+
12399
+ @property
12400
+ def Quantity(self):
12401
+ """
12402
+ :rtype: int
12403
+ """
12404
+ return self._Quantity
12405
+
12406
+ @Quantity.setter
12407
+ def Quantity(self, Quantity):
12408
+ self._Quantity = Quantity
12409
+
12410
+ @property
12411
+ def OriginalCost(self):
12412
+ """
12413
+ :rtype: float
12414
+ """
12415
+ return self._OriginalCost
12416
+
12417
+ @OriginalCost.setter
12418
+ def OriginalCost(self, OriginalCost):
12419
+ self._OriginalCost = OriginalCost
12420
+
12421
+ @property
12422
+ def DiscountCost(self):
12423
+ """
12424
+ :rtype: float
12425
+ """
12426
+ return self._DiscountCost
12427
+
12428
+ @DiscountCost.setter
12429
+ def DiscountCost(self, DiscountCost):
12430
+ self._DiscountCost = DiscountCost
12431
+
12432
+
12433
+ def _deserialize(self, params):
12434
+ self._BillingName = params.get("BillingName")
12435
+ self._Policy = params.get("Policy")
12436
+ self._Quantity = params.get("Quantity")
12437
+ self._OriginalCost = params.get("OriginalCost")
12438
+ self._DiscountCost = params.get("DiscountCost")
12439
+ memeber_set = set(params.keys())
12440
+ for name, value in vars(self).items():
12441
+ property_name = name[1:]
12442
+ if property_name in memeber_set:
12443
+ memeber_set.remove(property_name)
12444
+ if len(memeber_set) > 0:
12445
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12446
+
12447
+
12448
+
12092
12449
  class Resource(AbstractModel):
12093
12450
  """Resource details
12094
12451
 
@@ -294,7 +294,6 @@ class IaiClient(AbstractClient):
294
294
  >
295
295
  - Please use the signature algorithm v3 to calculate the signature in the common parameters, that is, set the `SignatureMethod` parameter to `TC3-HMAC-SHA256`.
296
296
 
297
-
298
297
  :param request: Request instance for DetectFace.
299
298
  :type request: :class:`tencentcloud.iai.v20200303.models.DetectFaceRequest`
300
299
  :rtype: :class:`tencentcloud.iai.v20200303.models.DetectFaceResponse`
@@ -2308,7 +2308,7 @@ class DetectFaceResponse(AbstractModel):
2308
2308
  :type FaceInfos: list of FaceInfo
2309
2309
  :param _FaceModelVersion: Algorithm model version used for face recognition.
2310
2310
  :type FaceModelVersion: str
2311
- :param _RequestId: The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2311
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2312
2312
  :type RequestId: str
2313
2313
  """
2314
2314
  self._ImageWidth = None
@@ -2363,7 +2363,7 @@ class DetectFaceResponse(AbstractModel):
2363
2363
 
2364
2364
  @property
2365
2365
  def RequestId(self):
2366
- """The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2366
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2367
2367
  :rtype: str
2368
2368
  """
2369
2369
  return self._RequestId
@@ -557,7 +557,6 @@ Pay-As-You-Go resources.
557
557
  Standard ri reserved instance.
558
558
  :type BillingMode: str
559
559
  :param _ProjectName: Project name.
560
- .
561
560
 
562
561
  :type ProjectName: str
563
562
  :param _Region: Resource region.
@@ -602,7 +601,7 @@ Standard ri reserved instance.
602
601
  :param _OriginalCost: Total original price.
603
602
  Original cost = component list price * component usage * usage duration.
604
603
  :type OriginalCost: str
605
- :param _DiscountRate: Discount (default is 1).
604
+ :param _DiscountRate: Discount (default is 1) - abandoned.
606
605
  :type DiscountRate: str
607
606
  :param _Currency: Currency.
608
607
  :type Currency: str
@@ -614,6 +613,8 @@ Original cost = component list price * component usage * usage duration.
614
613
  :type TotalCost: str
615
614
  :param _Id: Identifier (id).
616
615
  :type Id: str
616
+ :param _CustomerDiscountRate: customer discount rate. The discount rate applied to the reseller's customer, which set by reseller, default value equal to 1.
617
+ :type CustomerDiscountRate: str
617
618
  """
618
619
  self._PayerAccountId = None
619
620
  self._OwnerAccountId = None
@@ -646,6 +647,7 @@ Original cost = component list price * component usage * usage duration.
646
647
  self._VoucherDeduction = None
647
648
  self._TotalCost = None
648
649
  self._Id = None
650
+ self._CustomerDiscountRate = None
649
651
 
650
652
  @property
651
653
  def PayerAccountId(self):
@@ -709,7 +711,6 @@ Standard ri reserved instance.
709
711
  @property
710
712
  def ProjectName(self):
711
713
  """Project name.
712
- .
713
714
 
714
715
  :rtype: str
715
716
  """
@@ -934,7 +935,7 @@ Original cost = component list price * component usage * usage duration.
934
935
 
935
936
  @property
936
937
  def DiscountRate(self):
937
- """Discount (default is 1).
938
+ """Discount (default is 1) - abandoned.
938
939
  :rtype: str
939
940
  """
940
941
  return self._DiscountRate
@@ -998,6 +999,17 @@ Original cost = component list price * component usage * usage duration.
998
999
  def Id(self, Id):
999
1000
  self._Id = Id
1000
1001
 
1002
+ @property
1003
+ def CustomerDiscountRate(self):
1004
+ """customer discount rate. The discount rate applied to the reseller's customer, which set by reseller, default value equal to 1.
1005
+ :rtype: str
1006
+ """
1007
+ return self._CustomerDiscountRate
1008
+
1009
+ @CustomerDiscountRate.setter
1010
+ def CustomerDiscountRate(self, CustomerDiscountRate):
1011
+ self._CustomerDiscountRate = CustomerDiscountRate
1012
+
1001
1013
 
1002
1014
  def _deserialize(self, params):
1003
1015
  self._PayerAccountId = params.get("PayerAccountId")
@@ -1031,6 +1043,7 @@ Original cost = component list price * component usage * usage duration.
1031
1043
  self._VoucherDeduction = params.get("VoucherDeduction")
1032
1044
  self._TotalCost = params.get("TotalCost")
1033
1045
  self._Id = params.get("Id")
1046
+ self._CustomerDiscountRate = params.get("CustomerDiscountRate")
1034
1047
  memeber_set = set(params.keys())
1035
1048
  for name, value in vars(self).items():
1036
1049
  property_name = name[1:]
@@ -2877,7 +2890,7 @@ class DescribeCustomerBillDetailRequest(AbstractModel):
2877
2890
 
2878
2891
  def __init__(self):
2879
2892
  r"""
2880
- :param _CustomerUin: Sub-account UIN
2893
+ :param _CustomerUin: Sub-account UIN.
2881
2894
  :type CustomerUin: int
2882
2895
  :param _Month: Inquiry month, in the format of YYYY-MM, such as 2023-01.
2883
2896
  :type Month: str
@@ -2932,7 +2945,7 @@ pre_downgrade (Upgrade/Downgrade)
2932
2945
 
2933
2946
  @property
2934
2947
  def CustomerUin(self):
2935
- """Sub-account UIN
2948
+ """Sub-account UIN.
2936
2949
  :rtype: int
2937
2950
  """
2938
2951
  return self._CustomerUin