tencentcloud-sdk-python-intl-en 3.0.1242__py2.py3-none-any.whl → 3.0.1244__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
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1242'
16
+ __version__ = '3.0.1244'
@@ -177,8 +177,6 @@ class AutoscalingClient(AbstractClient):
177
177
  def CreateAutoScalingGroupFromInstance(self, request):
178
178
  """This API is used to create launch configurations and scaling groups based on an instance.
179
179
 
180
- Note: for a scaling group that is created based on a monthly-subscribed instance, the instances added for scale-out are pay-as-you-go instance.
181
-
182
180
  :param request: Request instance for CreateAutoScalingGroupFromInstance.
183
181
  :type request: :class:`tencentcloud.autoscaling.v20180419.models.CreateAutoScalingGroupFromInstanceRequest`
184
182
  :rtype: :class:`tencentcloud.autoscaling.v20180419.models.CreateAutoScalingGroupFromInstanceResponse`
@@ -1908,7 +1908,7 @@ class CreateAutoScalingGroupFromInstanceRequest(AbstractModel):
1908
1908
 
1909
1909
  def __init__(self):
1910
1910
  r"""
1911
- :param _AutoScalingGroupName: The scaling group name. It must be unique under your account. The name can only contain letters, numbers, underscore, hyphen “-” and periods. It cannot exceed 55 bytes.
1911
+ :param _AutoScalingGroupName: The scaling group name. It must be unique under your account. The name can only contain letters, numbers, underscore, hyphen "-" and periods. It cannot exceed 55 bytes.
1912
1912
  :type AutoScalingGroupName: str
1913
1913
  :param _InstanceId: Instance ID. you can get the instance ID by logging in to the [console](https://console.cloud.tencent.com/cvm/index) or making an api call to [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) and retrieving the `InstanceId` from the returned information.
1914
1914
  :type InstanceId: str
@@ -1930,7 +1930,7 @@ class CreateAutoScalingGroupFromInstanceRequest(AbstractModel):
1930
1930
 
1931
1931
  @property
1932
1932
  def AutoScalingGroupName(self):
1933
- """The scaling group name. It must be unique under your account. The name can only contain letters, numbers, underscore, hyphen “-” and periods. It cannot exceed 55 bytes.
1933
+ """The scaling group name. It must be unique under your account. The name can only contain letters, numbers, underscore, hyphen "-" and periods. It cannot exceed 55 bytes.
1934
1934
  :rtype: str
1935
1935
  """
1936
1936
  return self._AutoScalingGroupName
@@ -8158,28 +8158,26 @@ Note: This field may return null, indicating that no valid values can be obtaine
8158
8158
  :param _BandwidthPackageId: Bandwidth package ID. You can obtain the ID from the `BandwidthPackageId` field in the response of the [DescribeBandwidthPackages](https://intl.cloud.tencent.com/document/api/215/19209?from_cn_redirect=1) API.
8159
8159
  Note: this field may return null, indicating that no valid value was found.
8160
8160
  :type BandwidthPackageId: str
8161
- :param _InternetServiceProvider: Describes the line type. For details, refer to [EIP Product Overview](https://intl.cloud.tencent.com/document/product/1199/41646?from_cn_redirect=1). default value: `BGP`.
8161
+ :param _InternetServiceProvider: Describes the line type. For details, refer to [EIP Product Overview](https://www.tencentcloud.com/document/product/213/5733). default value: `BGP`.
8162
8162
 
8163
8163
  <Li>BGP: general bgp line.</li>
8164
8164
  For a user who has enabled the static single-line IP allowlist, valid values include:
8165
8165
  <li>CMCC: China Mobile</li> <li>CTCC: China Telecom</li> <li>CUCC: China Unicom</li>
8166
8166
  Note: Only certain regions support static single-line IP addresses.
8167
8167
 
8168
-
8169
8168
  :type InternetServiceProvider: str
8170
8169
  :param _IPv4AddressType: Type of public IP address.
8171
8170
 
8172
- <li> WanIP: Ordinary public IP address. </li> <li> HighQualityEIP: High Quality EIP is supported only in Singapore and Hong Kong. </li> <li> AntiDDoSEIP: Anti-DDoS IP is supported only in specific regions. For details, see [EIP Product Overview](https://cloud.tencent.com/document/product/1199/41646). </li> Specify the type of public IPv4 address to assign a public IPv4 address to the resource. Premium IP and Anti-DDoS IP features are gradually released in select regions. For usage, [submit a ticket for consultation](https://console.cloud.tencent.com/workorder/category).
8171
+ <li> WanIP: Ordinary public IP address. </li> <li> HighQualityEIP: High Quality EIP is supported only in Singapore and Hong Kong. </li> <li> AntiDDoSEIP: Anti-DDoS IP is supported only in specific regions. For details, see [EIP Product Overview](https://www.tencentcloud.com/document/product/213/5733). </li>
8172
+ Specify the type of public IPv4 address to assign a public IPv4 address to the resource. HighQualityEIP and AntiDDoSEIP features are gradually released in select regions. For usage, [submit a ticket for consultation](https://console.tencentcloud.com/workorder).
8173
8173
  :type IPv4AddressType: str
8174
8174
  :param _AntiDDoSPackageId: Anti-DDoS service package ID. This is required when you want to request an Anti-DDoS IP.
8175
8175
  :type AntiDDoSPackageId: str
8176
- :param _IsKeepEIP: Whether to delete the bound EIP when the instance is destroyed.
8176
+ :param _IsKeepEIP: Whether to delete the bound EIP(HighQualityEIP and AntiDDoSEIP) when the instance is destroyed.
8177
8177
 
8178
8178
  Range of values:
8179
8179
 
8180
- <li>TRUE: retain the EIP</li> <li>FALSE: not retain the EIP</li>
8181
-
8182
- Note that when the IPv4AddressType field specifies the EIP type, the default behavior is not to retain the EIP.
8180
+ <li>TRUE: retain the EIP</li> <li>FALSE: not retain the EIP</li>Note that when the IPv4AddressType field specifies the EIP type, the default behavior is not to retain the EIP.
8183
8181
  WanIP is unaffected by this field and will always be deleted with the instance.
8184
8182
  Changing this field configuration will take effect immediately for resources already bound to a scaling group.
8185
8183
  :type IsKeepEIP: bool
@@ -8243,14 +8241,13 @@ Note: this field may return null, indicating that no valid value was found.
8243
8241
 
8244
8242
  @property
8245
8243
  def InternetServiceProvider(self):
8246
- """Describes the line type. For details, refer to [EIP Product Overview](https://intl.cloud.tencent.com/document/product/1199/41646?from_cn_redirect=1). default value: `BGP`.
8244
+ """Describes the line type. For details, refer to [EIP Product Overview](https://www.tencentcloud.com/document/product/213/5733). default value: `BGP`.
8247
8245
 
8248
8246
  <Li>BGP: general bgp line.</li>
8249
8247
  For a user who has enabled the static single-line IP allowlist, valid values include:
8250
8248
  <li>CMCC: China Mobile</li> <li>CTCC: China Telecom</li> <li>CUCC: China Unicom</li>
8251
8249
  Note: Only certain regions support static single-line IP addresses.
8252
8250
 
8253
-
8254
8251
  :rtype: str
8255
8252
  """
8256
8253
  return self._InternetServiceProvider
@@ -8263,7 +8260,8 @@ Note: Only certain regions support static single-line IP addresses.
8263
8260
  def IPv4AddressType(self):
8264
8261
  """Type of public IP address.
8265
8262
 
8266
- <li> WanIP: Ordinary public IP address. </li> <li> HighQualityEIP: High Quality EIP is supported only in Singapore and Hong Kong. </li> <li> AntiDDoSEIP: Anti-DDoS IP is supported only in specific regions. For details, see [EIP Product Overview](https://cloud.tencent.com/document/product/1199/41646). </li> Specify the type of public IPv4 address to assign a public IPv4 address to the resource. Premium IP and Anti-DDoS IP features are gradually released in select regions. For usage, [submit a ticket for consultation](https://console.cloud.tencent.com/workorder/category).
8263
+ <li> WanIP: Ordinary public IP address. </li> <li> HighQualityEIP: High Quality EIP is supported only in Singapore and Hong Kong. </li> <li> AntiDDoSEIP: Anti-DDoS IP is supported only in specific regions. For details, see [EIP Product Overview](https://www.tencentcloud.com/document/product/213/5733). </li>
8264
+ Specify the type of public IPv4 address to assign a public IPv4 address to the resource. HighQualityEIP and AntiDDoSEIP features are gradually released in select regions. For usage, [submit a ticket for consultation](https://console.tencentcloud.com/workorder).
8267
8265
  :rtype: str
8268
8266
  """
8269
8267
  return self._IPv4AddressType
@@ -8285,13 +8283,11 @@ Note: Only certain regions support static single-line IP addresses.
8285
8283
 
8286
8284
  @property
8287
8285
  def IsKeepEIP(self):
8288
- """Whether to delete the bound EIP when the instance is destroyed.
8286
+ """Whether to delete the bound EIP(HighQualityEIP and AntiDDoSEIP) when the instance is destroyed.
8289
8287
 
8290
8288
  Range of values:
8291
8289
 
8292
- <li>TRUE: retain the EIP</li> <li>FALSE: not retain the EIP</li>
8293
-
8294
- Note that when the IPv4AddressType field specifies the EIP type, the default behavior is not to retain the EIP.
8290
+ <li>TRUE: retain the EIP</li> <li>FALSE: not retain the EIP</li>Note that when the IPv4AddressType field specifies the EIP type, the default behavior is not to retain the EIP.
8295
8291
  WanIP is unaffected by this field and will always be deleted with the instance.
8296
8292
  Changing this field configuration will take effect immediately for resources already bound to a scaling group.
8297
8293
  :rtype: bool
@@ -966,6 +966,29 @@ class BillingClient(AbstractClient):
966
966
  model = models.ModifyGatherRuleResponse()
967
967
  model._deserialize(response["Response"])
968
968
  return model
969
+ except Exception as e:
970
+ if isinstance(e, TencentCloudSDKException):
971
+ raise
972
+ else:
973
+ raise TencentCloudSDKException(type(e).__name__, str(e))
974
+
975
+
976
+ def PayDeals(self, request):
977
+ """This API is used to pay for an order.
978
+
979
+ :param request: Request instance for PayDeals.
980
+ :type request: :class:`tencentcloud.billing.v20180709.models.PayDealsRequest`
981
+ :rtype: :class:`tencentcloud.billing.v20180709.models.PayDealsResponse`
982
+
983
+ """
984
+ try:
985
+ params = request._serialize()
986
+ headers = request.headers
987
+ body = self.call("PayDeals", params, headers=headers)
988
+ response = json.loads(body)
989
+ model = models.PayDealsResponse()
990
+ model._deserialize(response["Response"])
991
+ return model
969
992
  except Exception as e:
970
993
  if isinstance(e, TencentCloudSDKException):
971
994
  raise
@@ -20,15 +20,36 @@ AUTHFAILURE_UNAUTHORIZEDOPERATION = 'AuthFailure.UnauthorizedOperation'
20
20
  # Operation failed.
21
21
  FAILEDOPERATION = 'FailedOperation'
22
22
 
23
+ # The proxy payment device cannot be downgraded.
24
+ FAILEDOPERATION_AGENTPAYDEALCANNOTDOWN = 'FailedOperation.AgentPayDealCannotDown'
25
+
26
+ # The account balance is insufficient.
27
+ FAILEDOPERATION_BALANCEINSUFFICIENT = 'FailedOperation.BalanceInsufficient'
28
+
23
29
  # Invalid App ID.
24
30
  FAILEDOPERATION_INVALIDAPPID = 'FailedOperation.InvalidAppId'
25
31
 
32
+ # Order status error. Only unpaid orders support payment.
33
+ FAILEDOPERATION_INVALIDDEAL = 'FailedOperation.InvalidDeal'
34
+
35
+ # Vouchers are not available.
36
+ FAILEDOPERATION_INVALIDVOUCHER = 'FailedOperation.InvalidVoucher'
37
+
38
+ # Orders purchased together must be paid simultaneously.
39
+ FAILEDOPERATION_NEEDPAYTOGETER = 'FailedOperation.NeedPayTogeter'
40
+
41
+ # Package orders must be purchased together.
42
+ FAILEDOPERATION_NEEDPAYTOGETHER = 'FailedOperation.NeedPayTogether'
43
+
26
44
  # The quantity exceeds the maximum limit.
27
45
  FAILEDOPERATION_NUMLIMITERROR = 'FailedOperation.NumLimitError'
28
46
 
29
47
  # Payment failed. Please contact Tencent Cloud to resolve this issue.
30
48
  FAILEDOPERATION_PAYPRICEERROR = 'FailedOperation.PayPriceError'
31
49
 
50
+ # Payment succeeded but shipment failed. Please contact the cloud platform staff for handling.
51
+ FAILEDOPERATION_PAYSUCCDELIVERFAILED = 'FailedOperation.PaySuccDeliverFailed'
52
+
32
53
  # Failed to get the number of data entries.
33
54
  FAILEDOPERATION_QUERYCOUNTFAILED = 'FailedOperation.QueryCountFailed'
34
55
 
@@ -68,5 +89,11 @@ OPERATIONDENIED = 'OperationDenied'
68
89
  # The account does not have CAM permission.
69
90
  UNAUTHORIZEDOPERATION_CAMNOAUTH = 'UnauthorizedOperation.CamNoAuth'
70
91
 
92
+ # Due to account security upgrade, purchase cloud resources requires complete real-name information.
93
+ UNAUTHORIZEDOPERATION_CERTIFICATIONNEEDUPGRADE = 'UnauthorizedOperation.CertificationNeedUpgrade'
94
+
95
+ # The account has not been real-name authenticated, and payment failed.
96
+ UNAUTHORIZEDOPERATION_NOTCERTIFICATION = 'UnauthorizedOperation.NotCertification'
97
+
71
98
  # Operation unsupported.
72
99
  UNSUPPORTEDOPERATION = 'UnsupportedOperation'
@@ -15612,6 +15612,190 @@ class ModifyGatherRuleResponse(AbstractModel):
15612
15612
  self._RequestId = params.get("RequestId")
15613
15613
 
15614
15614
 
15615
+ class PayDealsRequest(AbstractModel):
15616
+ """PayDeals request structure.
15617
+
15618
+ """
15619
+
15620
+ def __init__(self):
15621
+ r"""
15622
+ :param _OrderIds: Specifies one or more Sub-order No. that need to pay. must pass either this parameter or the BigDealIds field, but not both.
15623
+ :type OrderIds: list of str
15624
+ :param _AutoVoucher: Whether to automatically use a voucher. valid values: 1 (yes), 0 (no). default: 0.
15625
+ :type AutoVoucher: int
15626
+ :param _VoucherIds: Voucher ID list. currently only supports specifying one voucher.
15627
+ :type VoucherIds: list of str
15628
+ :param _BigDealIds: Specifies one or more Order No. that need to pay. must pass either this parameter or the OrderIds field.
15629
+ :type BigDealIds: list of str
15630
+ :param _AgentPay: 0 self pay, 3 group agent, 4 reseller places a product-level payment order for customers. default 0.
15631
+ :type AgentPay: int
15632
+ :param _CpsUin: Disregard it.
15633
+ :type CpsUin: str
15634
+ """
15635
+ self._OrderIds = None
15636
+ self._AutoVoucher = None
15637
+ self._VoucherIds = None
15638
+ self._BigDealIds = None
15639
+ self._AgentPay = None
15640
+ self._CpsUin = None
15641
+
15642
+ @property
15643
+ def OrderIds(self):
15644
+ """Specifies one or more Sub-order No. that need to pay. must pass either this parameter or the BigDealIds field, but not both.
15645
+ :rtype: list of str
15646
+ """
15647
+ return self._OrderIds
15648
+
15649
+ @OrderIds.setter
15650
+ def OrderIds(self, OrderIds):
15651
+ self._OrderIds = OrderIds
15652
+
15653
+ @property
15654
+ def AutoVoucher(self):
15655
+ """Whether to automatically use a voucher. valid values: 1 (yes), 0 (no). default: 0.
15656
+ :rtype: int
15657
+ """
15658
+ return self._AutoVoucher
15659
+
15660
+ @AutoVoucher.setter
15661
+ def AutoVoucher(self, AutoVoucher):
15662
+ self._AutoVoucher = AutoVoucher
15663
+
15664
+ @property
15665
+ def VoucherIds(self):
15666
+ """Voucher ID list. currently only supports specifying one voucher.
15667
+ :rtype: list of str
15668
+ """
15669
+ return self._VoucherIds
15670
+
15671
+ @VoucherIds.setter
15672
+ def VoucherIds(self, VoucherIds):
15673
+ self._VoucherIds = VoucherIds
15674
+
15675
+ @property
15676
+ def BigDealIds(self):
15677
+ """Specifies one or more Order No. that need to pay. must pass either this parameter or the OrderIds field.
15678
+ :rtype: list of str
15679
+ """
15680
+ return self._BigDealIds
15681
+
15682
+ @BigDealIds.setter
15683
+ def BigDealIds(self, BigDealIds):
15684
+ self._BigDealIds = BigDealIds
15685
+
15686
+ @property
15687
+ def AgentPay(self):
15688
+ """0 self pay, 3 group agent, 4 reseller places a product-level payment order for customers. default 0.
15689
+ :rtype: int
15690
+ """
15691
+ return self._AgentPay
15692
+
15693
+ @AgentPay.setter
15694
+ def AgentPay(self, AgentPay):
15695
+ self._AgentPay = AgentPay
15696
+
15697
+ @property
15698
+ def CpsUin(self):
15699
+ """Disregard it.
15700
+ :rtype: str
15701
+ """
15702
+ return self._CpsUin
15703
+
15704
+ @CpsUin.setter
15705
+ def CpsUin(self, CpsUin):
15706
+ self._CpsUin = CpsUin
15707
+
15708
+
15709
+ def _deserialize(self, params):
15710
+ self._OrderIds = params.get("OrderIds")
15711
+ self._AutoVoucher = params.get("AutoVoucher")
15712
+ self._VoucherIds = params.get("VoucherIds")
15713
+ self._BigDealIds = params.get("BigDealIds")
15714
+ self._AgentPay = params.get("AgentPay")
15715
+ self._CpsUin = params.get("CpsUin")
15716
+ memeber_set = set(params.keys())
15717
+ for name, value in vars(self).items():
15718
+ property_name = name[1:]
15719
+ if property_name in memeber_set:
15720
+ memeber_set.remove(property_name)
15721
+ if len(memeber_set) > 0:
15722
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15723
+
15724
+
15725
+
15726
+ class PayDealsResponse(AbstractModel):
15727
+ """PayDeals response structure.
15728
+
15729
+ """
15730
+
15731
+ def __init__(self):
15732
+ r"""
15733
+ :param _OrderIds: Specifies the array of Sub-order No. with payment successful.
15734
+ :type OrderIds: list of str
15735
+ :param _ResourceIds: Specifies the Id array of resources with payment successful.
15736
+ :type ResourceIds: list of str
15737
+ :param _BigDealIds: Specifies the array of Order No. with payment successful.
15738
+ :type BigDealIds: list of str
15739
+ :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.
15740
+ :type RequestId: str
15741
+ """
15742
+ self._OrderIds = None
15743
+ self._ResourceIds = None
15744
+ self._BigDealIds = None
15745
+ self._RequestId = None
15746
+
15747
+ @property
15748
+ def OrderIds(self):
15749
+ """Specifies the array of Sub-order No. with payment successful.
15750
+ :rtype: list of str
15751
+ """
15752
+ return self._OrderIds
15753
+
15754
+ @OrderIds.setter
15755
+ def OrderIds(self, OrderIds):
15756
+ self._OrderIds = OrderIds
15757
+
15758
+ @property
15759
+ def ResourceIds(self):
15760
+ """Specifies the Id array of resources with payment successful.
15761
+ :rtype: list of str
15762
+ """
15763
+ return self._ResourceIds
15764
+
15765
+ @ResourceIds.setter
15766
+ def ResourceIds(self, ResourceIds):
15767
+ self._ResourceIds = ResourceIds
15768
+
15769
+ @property
15770
+ def BigDealIds(self):
15771
+ """Specifies the array of Order No. with payment successful.
15772
+ :rtype: list of str
15773
+ """
15774
+ return self._BigDealIds
15775
+
15776
+ @BigDealIds.setter
15777
+ def BigDealIds(self, BigDealIds):
15778
+ self._BigDealIds = BigDealIds
15779
+
15780
+ @property
15781
+ def RequestId(self):
15782
+ """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.
15783
+ :rtype: str
15784
+ """
15785
+ return self._RequestId
15786
+
15787
+ @RequestId.setter
15788
+ def RequestId(self, RequestId):
15789
+ self._RequestId = RequestId
15790
+
15791
+
15792
+ def _deserialize(self, params):
15793
+ self._OrderIds = params.get("OrderIds")
15794
+ self._ResourceIds = params.get("ResourceIds")
15795
+ self._BigDealIds = params.get("BigDealIds")
15796
+ self._RequestId = params.get("RequestId")
15797
+
15798
+
15615
15799
  class PayModeSummaryOverviewItem(AbstractModel):
15616
15800
  """Detailed summary of costs by billing mode
15617
15801
 
@@ -2855,6 +2855,29 @@ class CynosdbClient(AbstractClient):
2855
2855
  raise TencentCloudSDKException(type(e).__name__, str(e))
2856
2856
 
2857
2857
 
2858
+ def ReplayInstanceAuditLog(self, request):
2859
+ """This API is used to replay instance audit logs.
2860
+
2861
+ :param request: Request instance for ReplayInstanceAuditLog.
2862
+ :type request: :class:`tencentcloud.cynosdb.v20190107.models.ReplayInstanceAuditLogRequest`
2863
+ :rtype: :class:`tencentcloud.cynosdb.v20190107.models.ReplayInstanceAuditLogResponse`
2864
+
2865
+ """
2866
+ try:
2867
+ params = request._serialize()
2868
+ headers = request.headers
2869
+ body = self.call("ReplayInstanceAuditLog", params, headers=headers)
2870
+ response = json.loads(body)
2871
+ model = models.ReplayInstanceAuditLogResponse()
2872
+ model._deserialize(response["Response"])
2873
+ return model
2874
+ except Exception as e:
2875
+ if isinstance(e, TencentCloudSDKException):
2876
+ raise
2877
+ else:
2878
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2879
+
2880
+
2858
2881
  def ResetAccountPassword(self, request):
2859
2882
  """This API is used to modify the database account password.
2860
2883
 
@@ -248,6 +248,9 @@ LIMITEXCEEDED_CLUSTERINSTANCELIMIT = 'LimitExceeded.ClusterInstanceLimit'
248
248
  # The number of instances exceeds the limit.
249
249
  LIMITEXCEEDED_USERINSTANCELIMIT = 'LimitExceeded.UserInstanceLimit'
250
250
 
251
+ # Audit log is disabled for instance {{1}}. operations cannot be performed.
252
+ OPERATIONDENIED_AUDITLOGCLOSEDERROR = 'OperationDenied.AuditLogClosedError'
253
+
251
254
  #
252
255
  OPERATIONDENIED_AUDITSTATUSERROR = 'OperationDenied.AuditStatusError'
253
256
 
@@ -260,6 +263,9 @@ OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = 'OperationDenied.ClusterOpNotAllowedE
260
263
  # For the cluster in this status, the operation is not allowed.
261
264
  OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = 'OperationDenied.ClusterStatusDeniedError'
262
265
 
266
+ # Feature {{1}} is not currently supported.
267
+ OPERATIONDENIED_FEATURENOTSUPPORTERROR = 'OperationDenied.FeatureNotSupportError'
268
+
263
269
  # Fail to retrieve the proxy.
264
270
  OPERATIONDENIED_GETPROXYGROUPFAILEDERROR = 'OperationDenied.GetProxyGroupFailedError'
265
271
 
@@ -275,9 +281,15 @@ OPERATIONDENIED_INSTANCESTATUSLIMITERROR = 'OperationDenied.InstanceStatusLimitE
275
281
  # Insufficient account balance.
276
282
  OPERATIONDENIED_INSUFFICIENTBALANCEERROR = 'OperationDenied.InsufficientBalanceError'
277
283
 
284
+ # Not a roll back cluster of {{1}}.
285
+ OPERATIONDENIED_ISNOTROLLBACKCLUSTERERROR = 'OperationDenied.IsNotRollbackClusterError'
286
+
278
287
  # Response size exceeds the limit: {{1}}. reduce the query quantity.
279
288
  OPERATIONDENIED_LENGTHOVERLIMIT = 'OperationDenied.LengthOverLimit'
280
289
 
290
+ # The cloned cluster is not within {{1}} days of {{2}}.
291
+ OPERATIONDENIED_LIMITDAYFORAUDITREPLAYERROR = 'OperationDenied.LimitDayForAuditReplayError'
292
+
281
293
  # You do not have permission to operate the resource (carry out this operation).
282
294
  OPERATIONDENIED_OPERATIONDENIEDERROR = 'OperationDenied.OperationDeniedError'
283
295
 
@@ -26956,6 +26956,192 @@ class RemoveClusterSlaveZoneResponse(AbstractModel):
26956
26956
  self._RequestId = params.get("RequestId")
26957
26957
 
26958
26958
 
26959
+ class ReplayInstanceAuditLogRequest(AbstractModel):
26960
+ """ReplayInstanceAuditLog request structure.
26961
+
26962
+ """
26963
+
26964
+ def __init__(self):
26965
+ r"""
26966
+ :param _SourceClusterId: Source cluster id.
26967
+ :type SourceClusterId: str
26968
+ :param _SourceInstanceId: Source instance id.
26969
+ :type SourceInstanceId: str
26970
+ :param _TargetClusterId: Target cluster id.
26971
+ Specifies the target cluster must be a cluster cloned from the original cluster within three days.
26972
+ :type TargetClusterId: str
26973
+ :param _TargetInstanceId: Target instance id.
26974
+ :type TargetInstanceId: str
26975
+ :param _TargetUserName: Username. host must be % username.
26976
+ :type TargetUserName: str
26977
+ :param _TargetPassword: Password.
26978
+ :type TargetPassword: str
26979
+ :param _StartTime: Start time. time format: yyyy-DD-mm hh:mm:ss.
26980
+ :type StartTime: str
26981
+ :param _EndTime: Specifies the end time in the time format yyyy-DD-mm hh:mm:ss.
26982
+ :type EndTime: str
26983
+ """
26984
+ self._SourceClusterId = None
26985
+ self._SourceInstanceId = None
26986
+ self._TargetClusterId = None
26987
+ self._TargetInstanceId = None
26988
+ self._TargetUserName = None
26989
+ self._TargetPassword = None
26990
+ self._StartTime = None
26991
+ self._EndTime = None
26992
+
26993
+ @property
26994
+ def SourceClusterId(self):
26995
+ """Source cluster id.
26996
+ :rtype: str
26997
+ """
26998
+ return self._SourceClusterId
26999
+
27000
+ @SourceClusterId.setter
27001
+ def SourceClusterId(self, SourceClusterId):
27002
+ self._SourceClusterId = SourceClusterId
27003
+
27004
+ @property
27005
+ def SourceInstanceId(self):
27006
+ """Source instance id.
27007
+ :rtype: str
27008
+ """
27009
+ return self._SourceInstanceId
27010
+
27011
+ @SourceInstanceId.setter
27012
+ def SourceInstanceId(self, SourceInstanceId):
27013
+ self._SourceInstanceId = SourceInstanceId
27014
+
27015
+ @property
27016
+ def TargetClusterId(self):
27017
+ """Target cluster id.
27018
+ Specifies the target cluster must be a cluster cloned from the original cluster within three days.
27019
+ :rtype: str
27020
+ """
27021
+ return self._TargetClusterId
27022
+
27023
+ @TargetClusterId.setter
27024
+ def TargetClusterId(self, TargetClusterId):
27025
+ self._TargetClusterId = TargetClusterId
27026
+
27027
+ @property
27028
+ def TargetInstanceId(self):
27029
+ """Target instance id.
27030
+ :rtype: str
27031
+ """
27032
+ return self._TargetInstanceId
27033
+
27034
+ @TargetInstanceId.setter
27035
+ def TargetInstanceId(self, TargetInstanceId):
27036
+ self._TargetInstanceId = TargetInstanceId
27037
+
27038
+ @property
27039
+ def TargetUserName(self):
27040
+ """Username. host must be % username.
27041
+ :rtype: str
27042
+ """
27043
+ return self._TargetUserName
27044
+
27045
+ @TargetUserName.setter
27046
+ def TargetUserName(self, TargetUserName):
27047
+ self._TargetUserName = TargetUserName
27048
+
27049
+ @property
27050
+ def TargetPassword(self):
27051
+ """Password.
27052
+ :rtype: str
27053
+ """
27054
+ return self._TargetPassword
27055
+
27056
+ @TargetPassword.setter
27057
+ def TargetPassword(self, TargetPassword):
27058
+ self._TargetPassword = TargetPassword
27059
+
27060
+ @property
27061
+ def StartTime(self):
27062
+ """Start time. time format: yyyy-DD-mm hh:mm:ss.
27063
+ :rtype: str
27064
+ """
27065
+ return self._StartTime
27066
+
27067
+ @StartTime.setter
27068
+ def StartTime(self, StartTime):
27069
+ self._StartTime = StartTime
27070
+
27071
+ @property
27072
+ def EndTime(self):
27073
+ """Specifies the end time in the time format yyyy-DD-mm hh:mm:ss.
27074
+ :rtype: str
27075
+ """
27076
+ return self._EndTime
27077
+
27078
+ @EndTime.setter
27079
+ def EndTime(self, EndTime):
27080
+ self._EndTime = EndTime
27081
+
27082
+
27083
+ def _deserialize(self, params):
27084
+ self._SourceClusterId = params.get("SourceClusterId")
27085
+ self._SourceInstanceId = params.get("SourceInstanceId")
27086
+ self._TargetClusterId = params.get("TargetClusterId")
27087
+ self._TargetInstanceId = params.get("TargetInstanceId")
27088
+ self._TargetUserName = params.get("TargetUserName")
27089
+ self._TargetPassword = params.get("TargetPassword")
27090
+ self._StartTime = params.get("StartTime")
27091
+ self._EndTime = params.get("EndTime")
27092
+ memeber_set = set(params.keys())
27093
+ for name, value in vars(self).items():
27094
+ property_name = name[1:]
27095
+ if property_name in memeber_set:
27096
+ memeber_set.remove(property_name)
27097
+ if len(memeber_set) > 0:
27098
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
27099
+
27100
+
27101
+
27102
+ class ReplayInstanceAuditLogResponse(AbstractModel):
27103
+ """ReplayInstanceAuditLog response structure.
27104
+
27105
+ """
27106
+
27107
+ def __init__(self):
27108
+ r"""
27109
+ :param _TaskId: Task ID.
27110
+ :type TaskId: int
27111
+ :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.
27112
+ :type RequestId: str
27113
+ """
27114
+ self._TaskId = None
27115
+ self._RequestId = None
27116
+
27117
+ @property
27118
+ def TaskId(self):
27119
+ """Task ID.
27120
+ :rtype: int
27121
+ """
27122
+ return self._TaskId
27123
+
27124
+ @TaskId.setter
27125
+ def TaskId(self, TaskId):
27126
+ self._TaskId = TaskId
27127
+
27128
+ @property
27129
+ def RequestId(self):
27130
+ """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.
27131
+ :rtype: str
27132
+ """
27133
+ return self._RequestId
27134
+
27135
+ @RequestId.setter
27136
+ def RequestId(self, RequestId):
27137
+ self._RequestId = RequestId
27138
+
27139
+
27140
+ def _deserialize(self, params):
27141
+ self._TaskId = params.get("TaskId")
27142
+ self._RequestId = params.get("RequestId")
27143
+
27144
+
26959
27145
  class ResetAccountPasswordRequest(AbstractModel):
26960
27146
  """ResetAccountPassword request structure.
26961
27147