tencentcloud-sdk-python-intl-en 3.0.1178__py2.py3-none-any.whl → 3.0.1179__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.

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.1178'
16
+ __version__ = '3.0.1179'
@@ -223,10 +223,9 @@ class DescribeCaptchaResultResponse(AbstractModel):
223
223
  :param _CaptchaMsg: Status description and verification error message
224
224
  Note: This field may return `null`, indicating that no valid value was found.
225
225
  :type CaptchaMsg: str
226
- :param _EvilLevel: This parameter returns the result of imperceptible verification. This parameter is not available for Tencent Cloud International yet.
226
+ :param _EvilLevel: This parameter returns the result of imperceptible verification.
227
227
  `0`: The request is trusted.
228
228
  `100`: The request is malicious.
229
- Note: This field may return `null`, indicating that no valid value was found.
230
229
  :type EvilLevel: int
231
230
  :param _GetCaptchaTime: The timestamp when the frontend obtains the CAPTCHA.
232
231
  Note: This field may return `null`, indicating that no valid value was found.
@@ -236,7 +235,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
236
235
  :type EvilBitmap: int
237
236
  :param _SubmitCaptchaTime: The time when the CAPTCHA is submitted.
238
237
  :type SubmitCaptchaTime: int
239
- :param _DeviceRiskCategory: Device Risk Category
238
+ :param _DeviceRiskCategory: Device Risk Category.
240
239
  :type DeviceRiskCategory: str
241
240
  :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.
242
241
  :type RequestId: str
@@ -282,10 +281,9 @@ Note: This field may return `null`, indicating that no valid value was found.
282
281
 
283
282
  @property
284
283
  def EvilLevel(self):
285
- """This parameter returns the result of imperceptible verification. This parameter is not available for Tencent Cloud International yet.
284
+ """This parameter returns the result of imperceptible verification.
286
285
  `0`: The request is trusted.
287
286
  `100`: The request is malicious.
288
- Note: This field may return `null`, indicating that no valid value was found.
289
287
  :rtype: int
290
288
  """
291
289
  return self._EvilLevel
@@ -331,7 +329,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
331
329
 
332
330
  @property
333
331
  def DeviceRiskCategory(self):
334
- """Device Risk Category
332
+ """Device Risk Category.
335
333
  :rtype: str
336
334
  """
337
335
  return self._DeviceRiskCategory
@@ -10380,6 +10380,115 @@ class DescribeInstanceParamsResponse(AbstractModel):
10380
10380
  self._RequestId = params.get("RequestId")
10381
10381
 
10382
10382
 
10383
+ class DescribeMaintenanceSpanRequest(AbstractModel):
10384
+ """DescribeMaintenanceSpan request structure.
10385
+
10386
+ """
10387
+
10388
+ def __init__(self):
10389
+ r"""
10390
+ :param _InstanceId: Instance ID. For example, mssql-k8voqdlz.
10391
+ :type InstanceId: str
10392
+ """
10393
+ self._InstanceId = None
10394
+
10395
+ @property
10396
+ def InstanceId(self):
10397
+ """Instance ID. For example, mssql-k8voqdlz.
10398
+ :rtype: str
10399
+ """
10400
+ return self._InstanceId
10401
+
10402
+ @InstanceId.setter
10403
+ def InstanceId(self, InstanceId):
10404
+ self._InstanceId = InstanceId
10405
+
10406
+
10407
+ def _deserialize(self, params):
10408
+ self._InstanceId = params.get("InstanceId")
10409
+ memeber_set = set(params.keys())
10410
+ for name, value in vars(self).items():
10411
+ property_name = name[1:]
10412
+ if property_name in memeber_set:
10413
+ memeber_set.remove(property_name)
10414
+ if len(memeber_set) > 0:
10415
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10416
+
10417
+
10418
+
10419
+ class DescribeMaintenanceSpanResponse(AbstractModel):
10420
+ """DescribeMaintenanceSpan response structure.
10421
+
10422
+ """
10423
+
10424
+ def __init__(self):
10425
+ r"""
10426
+ :param _Weekly: Specifies the days in each week allowed for maintenance. For example, [1,2,3,4,5,6,7] indicates that all days from Monday to Sunday are allowed for maintenance.
10427
+ :type Weekly: list of int
10428
+ :param _StartTime: Maintenance start time each day. For example, 10:24 indicates that the maintenance window starts at 10:24.
10429
+ :type StartTime: str
10430
+ :param _Span: Maintenance duration each day, in hours. For example, 1 indicates that the duration is 1 hour after maintenance starts.
10431
+ :type Span: int
10432
+ :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.
10433
+ :type RequestId: str
10434
+ """
10435
+ self._Weekly = None
10436
+ self._StartTime = None
10437
+ self._Span = None
10438
+ self._RequestId = None
10439
+
10440
+ @property
10441
+ def Weekly(self):
10442
+ """Specifies the days in each week allowed for maintenance. For example, [1,2,3,4,5,6,7] indicates that all days from Monday to Sunday are allowed for maintenance.
10443
+ :rtype: list of int
10444
+ """
10445
+ return self._Weekly
10446
+
10447
+ @Weekly.setter
10448
+ def Weekly(self, Weekly):
10449
+ self._Weekly = Weekly
10450
+
10451
+ @property
10452
+ def StartTime(self):
10453
+ """Maintenance start time each day. For example, 10:24 indicates that the maintenance window starts at 10:24.
10454
+ :rtype: str
10455
+ """
10456
+ return self._StartTime
10457
+
10458
+ @StartTime.setter
10459
+ def StartTime(self, StartTime):
10460
+ self._StartTime = StartTime
10461
+
10462
+ @property
10463
+ def Span(self):
10464
+ """Maintenance duration each day, in hours. For example, 1 indicates that the duration is 1 hour after maintenance starts.
10465
+ :rtype: int
10466
+ """
10467
+ return self._Span
10468
+
10469
+ @Span.setter
10470
+ def Span(self, Span):
10471
+ self._Span = Span
10472
+
10473
+ @property
10474
+ def RequestId(self):
10475
+ """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.
10476
+ :rtype: str
10477
+ """
10478
+ return self._RequestId
10479
+
10480
+ @RequestId.setter
10481
+ def RequestId(self, RequestId):
10482
+ self._RequestId = RequestId
10483
+
10484
+
10485
+ def _deserialize(self, params):
10486
+ self._Weekly = params.get("Weekly")
10487
+ self._StartTime = params.get("StartTime")
10488
+ self._Span = params.get("Span")
10489
+ self._RequestId = params.get("RequestId")
10490
+
10491
+
10383
10492
  class DescribeMigrationDetailRequest(AbstractModel):
10384
10493
  """DescribeMigrationDetail request structure.
10385
10494
 
@@ -923,6 +923,29 @@ class SqlserverClient(AbstractClient):
923
923
  raise TencentCloudSDKException(type(e).__name__, str(e))
924
924
 
925
925
 
926
+ def DescribeMaintenanceSpan(self, request):
927
+ """This API is used to query the maintenance time window of an instance based on its instance ID.
928
+
929
+ :param request: Request instance for DescribeMaintenanceSpan.
930
+ :type request: :class:`tencentcloud.sqlserver.v20180328.models.DescribeMaintenanceSpanRequest`
931
+ :rtype: :class:`tencentcloud.sqlserver.v20180328.models.DescribeMaintenanceSpanResponse`
932
+
933
+ """
934
+ try:
935
+ params = request._serialize()
936
+ headers = request.headers
937
+ body = self.call("DescribeMaintenanceSpan", params, headers=headers)
938
+ response = json.loads(body)
939
+ model = models.DescribeMaintenanceSpanResponse()
940
+ model._deserialize(response["Response"])
941
+ return model
942
+ except Exception as e:
943
+ if isinstance(e, TencentCloudSDKException):
944
+ raise
945
+ else:
946
+ raise TencentCloudSDKException(type(e).__name__, str(e))
947
+
948
+
926
949
  def DescribeMigrationDetail(self, request):
927
950
  """This API is used to query migration task details.
928
951
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1178
3
+ Version: 3.0.1179
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=gmvrvQlkZmo54sQ7AV3lU8jaQ0iul_9dsWRhPFm9T2E,630
1
+ tencentcloud/__init__.py,sha256=sGKh2cDIxgOmfG6h6ipmiOe6wOWfEOzwhhEB5rPcLlg,630
2
2
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=FuBG5ZJpmnVpDyVC84G_cjEWSa-mm6oyBvOIDe5SP-g,2924
@@ -58,7 +58,7 @@ tencentcloud/captcha/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
58
58
  tencentcloud/captcha/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
59
59
  tencentcloud/captcha/v20190722/captcha_client.py,sha256=y1RxdI4xBT_kunM86dE8gbeFxpLNUfLhRFZU9FTSPKU,1983
60
60
  tencentcloud/captcha/v20190722/errorcodes.py,sha256=EHjS9VcOBIw7wkIBSufMJiTJQ0rIlC-64mnmTZz-Xqg,995
61
- tencentcloud/captcha/v20190722/models.py,sha256=lG_m4ordryLtHD0CZB98hAaYfOAHqkL5Q1uLuEoX3Zw,15117
61
+ tencentcloud/captcha/v20190722/models.py,sha256=1R994E5gpKOn4IBBLEl7T5l3wHxqedfgsQHk68wX80Q,14827
62
62
  tencentcloud/car/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
63
  tencentcloud/car/v20220110/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
64
64
  tencentcloud/car/v20220110/car_client.py,sha256=ZEr-xENXcBWeIKdJEJCPEIXx5SYJwHmf8S50w1tbWsM,33215
@@ -481,8 +481,8 @@ tencentcloud/sms/v20210111/sms_client.py,sha256=OM034Nl5EK8H9hEdx0M23lBTbMcmI0eQ
481
481
  tencentcloud/sqlserver/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
482
482
  tencentcloud/sqlserver/v20180328/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
483
483
  tencentcloud/sqlserver/v20180328/errorcodes.py,sha256=ypazBCQaGSMMfaaaYIWNpwgz4CuAULLitwpLuXS4RVw,10034
484
- tencentcloud/sqlserver/v20180328/models.py,sha256=jbJYmrmDcR9IQY5Lz-GMLRvYlaA9hua1h5TMhs5of-8,609151
485
- tencentcloud/sqlserver/v20180328/sqlserver_client.py,sha256=0DtoKO4lYdo8M0_qHT2p49y2EhWWSlsA1E0eOxza3Ic,78561
484
+ tencentcloud/sqlserver/v20180328/models.py,sha256=wa28EHApoNk64WVK-sqMAtgpSJC9CITz069GNTNiqYQ,612881
485
+ tencentcloud/sqlserver/v20180328/sqlserver_client.py,sha256=SNoE1Wc79g_RERhaBpCNFgKKXEqd5_TXajdldVgdNOE,79554
486
486
  tencentcloud/ssl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
487
487
  tencentcloud/ssl/v20191205/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
488
488
  tencentcloud/ssl/v20191205/errorcodes.py,sha256=QcK_tV_Merhk80BTD7Lzc2hob75ADb4mLDRxZunWLrw,10667
@@ -644,7 +644,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
644
644
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
645
645
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
646
646
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=LY01pPiy1k_AXnHgG0FonGekRSFMY3t9pcYH8aE27oQ,67389
647
- tencentcloud_sdk_python_intl_en-3.0.1178.dist-info/METADATA,sha256=OpYLY4_HX2bGsWeNNCuTYRlT3fkuQLc_jZ4rE0Facdc,1628
648
- tencentcloud_sdk_python_intl_en-3.0.1178.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
649
- tencentcloud_sdk_python_intl_en-3.0.1178.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
650
- tencentcloud_sdk_python_intl_en-3.0.1178.dist-info/RECORD,,
647
+ tencentcloud_sdk_python_intl_en-3.0.1179.dist-info/METADATA,sha256=P8pakdN5pJ9vWYaRzcK0mHNhk2M71pQEYj5ctYS44H4,1628
648
+ tencentcloud_sdk_python_intl_en-3.0.1179.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
649
+ tencentcloud_sdk_python_intl_en-3.0.1179.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
650
+ tencentcloud_sdk_python_intl_en-3.0.1179.dist-info/RECORD,,