tencentcloud-sdk-python-intl-en 3.0.1207__py2.py3-none-any.whl → 3.0.1209__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 +1 -1
- tencentcloud/billing/v20180709/billing_client.py +299 -0
- tencentcloud/billing/v20180709/errorcodes.py +9 -0
- tencentcloud/billing/v20180709/models.py +7989 -5855
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +138 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +9 -0
- tencentcloud/cynosdb/v20190107/models.py +1037 -0
- tencentcloud/lke/__init__.py +0 -0
- tencentcloud/lke/v20231130/__init__.py +0 -0
- tencentcloud/lke/v20231130/errorcodes.py +54 -0
- tencentcloud/lke/v20231130/lke_client.py +1252 -0
- tencentcloud/lke/v20231130/models.py +15873 -0
- tencentcloud/ses/v20201002/models.py +432 -0
- tencentcloud/ses/v20201002/ses_client.py +92 -0
- {tencentcloud_sdk_python_intl_en-3.0.1207.dist-info → tencentcloud_sdk_python_intl_en-3.0.1209.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1207.dist-info → tencentcloud_sdk_python_intl_en-3.0.1209.dist-info}/RECORD +18 -13
- {tencentcloud_sdk_python_intl_en-3.0.1207.dist-info → tencentcloud_sdk_python_intl_en-3.0.1209.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1207.dist-info → tencentcloud_sdk_python_intl_en-3.0.1209.dist-info}/top_level.txt +0 -0
|
@@ -716,6 +716,29 @@ class CynosdbClient(AbstractClient):
|
|
|
716
716
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
717
717
|
|
|
718
718
|
|
|
719
|
+
def DescribeBackupDownloadRestriction(self, request):
|
|
720
|
+
"""This API is used to query the download source limit of the default backup configured by the user in the current region.
|
|
721
|
+
|
|
722
|
+
:param request: Request instance for DescribeBackupDownloadRestriction.
|
|
723
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeBackupDownloadRestrictionRequest`
|
|
724
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeBackupDownloadRestrictionResponse`
|
|
725
|
+
|
|
726
|
+
"""
|
|
727
|
+
try:
|
|
728
|
+
params = request._serialize()
|
|
729
|
+
headers = request.headers
|
|
730
|
+
body = self.call("DescribeBackupDownloadRestriction", params, headers=headers)
|
|
731
|
+
response = json.loads(body)
|
|
732
|
+
model = models.DescribeBackupDownloadRestrictionResponse()
|
|
733
|
+
model._deserialize(response["Response"])
|
|
734
|
+
return model
|
|
735
|
+
except Exception as e:
|
|
736
|
+
if isinstance(e, TencentCloudSDKException):
|
|
737
|
+
raise
|
|
738
|
+
else:
|
|
739
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
740
|
+
|
|
741
|
+
|
|
719
742
|
def DescribeBackupDownloadUrl(self, request):
|
|
720
743
|
"""This API is used to query the download link of cluster backup files.
|
|
721
744
|
|
|
@@ -739,6 +762,29 @@ class CynosdbClient(AbstractClient):
|
|
|
739
762
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
740
763
|
|
|
741
764
|
|
|
765
|
+
def DescribeBackupDownloadUserRestriction(self, request):
|
|
766
|
+
"""This API is used to query the default backup download access restrictions of user-level settings in the current region.
|
|
767
|
+
|
|
768
|
+
:param request: Request instance for DescribeBackupDownloadUserRestriction.
|
|
769
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeBackupDownloadUserRestrictionRequest`
|
|
770
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeBackupDownloadUserRestrictionResponse`
|
|
771
|
+
|
|
772
|
+
"""
|
|
773
|
+
try:
|
|
774
|
+
params = request._serialize()
|
|
775
|
+
headers = request.headers
|
|
776
|
+
body = self.call("DescribeBackupDownloadUserRestriction", params, headers=headers)
|
|
777
|
+
response = json.loads(body)
|
|
778
|
+
model = models.DescribeBackupDownloadUserRestrictionResponse()
|
|
779
|
+
model._deserialize(response["Response"])
|
|
780
|
+
return model
|
|
781
|
+
except Exception as e:
|
|
782
|
+
if isinstance(e, TencentCloudSDKException):
|
|
783
|
+
raise
|
|
784
|
+
else:
|
|
785
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
786
|
+
|
|
787
|
+
|
|
742
788
|
def DescribeBackupList(self, request):
|
|
743
789
|
"""This API is used to query the backup file list of a cluster.
|
|
744
790
|
|
|
@@ -992,6 +1038,29 @@ class CynosdbClient(AbstractClient):
|
|
|
992
1038
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
993
1039
|
|
|
994
1040
|
|
|
1041
|
+
def DescribeClusterReadOnly(self, request):
|
|
1042
|
+
"""This API is used to query the cluster read-only switch.
|
|
1043
|
+
|
|
1044
|
+
:param request: Request instance for DescribeClusterReadOnly.
|
|
1045
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterReadOnlyRequest`
|
|
1046
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterReadOnlyResponse`
|
|
1047
|
+
|
|
1048
|
+
"""
|
|
1049
|
+
try:
|
|
1050
|
+
params = request._serialize()
|
|
1051
|
+
headers = request.headers
|
|
1052
|
+
body = self.call("DescribeClusterReadOnly", params, headers=headers)
|
|
1053
|
+
response = json.loads(body)
|
|
1054
|
+
model = models.DescribeClusterReadOnlyResponse()
|
|
1055
|
+
model._deserialize(response["Response"])
|
|
1056
|
+
return model
|
|
1057
|
+
except Exception as e:
|
|
1058
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1059
|
+
raise
|
|
1060
|
+
else:
|
|
1061
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1062
|
+
|
|
1063
|
+
|
|
995
1064
|
def DescribeClusterTransparentEncryptInfo(self, request):
|
|
996
1065
|
"""This API is used to query cluster transparent encryption information.
|
|
997
1066
|
|
|
@@ -1981,6 +2050,52 @@ class CynosdbClient(AbstractClient):
|
|
|
1981
2050
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1982
2051
|
|
|
1983
2052
|
|
|
2053
|
+
def ModifyBackupDownloadRestriction(self, request):
|
|
2054
|
+
"""This API is used to modify the download source limit of the backup file for the user in the current region. It can be configured to allow downloads from both private and public networks, only the private network, or a designated vpc or ip within the private network.
|
|
2055
|
+
|
|
2056
|
+
:param request: Request instance for ModifyBackupDownloadRestriction.
|
|
2057
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.ModifyBackupDownloadRestrictionRequest`
|
|
2058
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.ModifyBackupDownloadRestrictionResponse`
|
|
2059
|
+
|
|
2060
|
+
"""
|
|
2061
|
+
try:
|
|
2062
|
+
params = request._serialize()
|
|
2063
|
+
headers = request.headers
|
|
2064
|
+
body = self.call("ModifyBackupDownloadRestriction", params, headers=headers)
|
|
2065
|
+
response = json.loads(body)
|
|
2066
|
+
model = models.ModifyBackupDownloadRestrictionResponse()
|
|
2067
|
+
model._deserialize(response["Response"])
|
|
2068
|
+
return model
|
|
2069
|
+
except Exception as e:
|
|
2070
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2071
|
+
raise
|
|
2072
|
+
else:
|
|
2073
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2074
|
+
|
|
2075
|
+
|
|
2076
|
+
def ModifyBackupDownloadUserRestriction(self, request):
|
|
2077
|
+
"""This API is used to modify the download source restrictions for backup files in the user's current region. It can be configured to allow downloads from both private and public networks, only from a private network, or from a designated vpc or ip within the private network.
|
|
2078
|
+
|
|
2079
|
+
:param request: Request instance for ModifyBackupDownloadUserRestriction.
|
|
2080
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.ModifyBackupDownloadUserRestrictionRequest`
|
|
2081
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.ModifyBackupDownloadUserRestrictionResponse`
|
|
2082
|
+
|
|
2083
|
+
"""
|
|
2084
|
+
try:
|
|
2085
|
+
params = request._serialize()
|
|
2086
|
+
headers = request.headers
|
|
2087
|
+
body = self.call("ModifyBackupDownloadUserRestriction", params, headers=headers)
|
|
2088
|
+
response = json.loads(body)
|
|
2089
|
+
model = models.ModifyBackupDownloadUserRestrictionResponse()
|
|
2090
|
+
model._deserialize(response["Response"])
|
|
2091
|
+
return model
|
|
2092
|
+
except Exception as e:
|
|
2093
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2094
|
+
raise
|
|
2095
|
+
else:
|
|
2096
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2097
|
+
|
|
2098
|
+
|
|
1984
2099
|
def ModifyBackupName(self, request):
|
|
1985
2100
|
"""This API is used to rename a backup file.
|
|
1986
2101
|
|
|
@@ -2142,6 +2257,29 @@ class CynosdbClient(AbstractClient):
|
|
|
2142
2257
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2143
2258
|
|
|
2144
2259
|
|
|
2260
|
+
def ModifyClusterReadOnly(self, request):
|
|
2261
|
+
"""This API is used to modify the read-only switch of a cluster.
|
|
2262
|
+
|
|
2263
|
+
:param request: Request instance for ModifyClusterReadOnly.
|
|
2264
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.ModifyClusterReadOnlyRequest`
|
|
2265
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.ModifyClusterReadOnlyResponse`
|
|
2266
|
+
|
|
2267
|
+
"""
|
|
2268
|
+
try:
|
|
2269
|
+
params = request._serialize()
|
|
2270
|
+
headers = request.headers
|
|
2271
|
+
body = self.call("ModifyClusterReadOnly", params, headers=headers)
|
|
2272
|
+
response = json.loads(body)
|
|
2273
|
+
model = models.ModifyClusterReadOnlyResponse()
|
|
2274
|
+
model._deserialize(response["Response"])
|
|
2275
|
+
return model
|
|
2276
|
+
except Exception as e:
|
|
2277
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2278
|
+
raise
|
|
2279
|
+
else:
|
|
2280
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2281
|
+
|
|
2282
|
+
|
|
2145
2283
|
def ModifyClusterSlaveZone(self, request):
|
|
2146
2284
|
"""This API is used to modify the slave availability zone of a cluster.
|
|
2147
2285
|
|
|
@@ -59,6 +59,9 @@ FAILEDOPERATION_GETNETSERVICEINFOERROR = 'FailedOperation.GetNetServiceInfoError
|
|
|
59
59
|
# Failed to query the details of a read-write instance
|
|
60
60
|
FAILEDOPERATION_GETOSSINFOERROR = 'FailedOperation.GetOssInfoError'
|
|
61
61
|
|
|
62
|
+
#
|
|
63
|
+
FAILEDOPERATION_INSTANCEQUERYERROR = 'FailedOperation.InstanceQueryError'
|
|
64
|
+
|
|
62
65
|
# Insufficient account balance
|
|
63
66
|
FAILEDOPERATION_INSUFFICIENTBALANCE = 'FailedOperation.InsufficientBalance'
|
|
64
67
|
|
|
@@ -116,6 +119,9 @@ INTERNALERROR_INTERNALHTTPSERVERERROR = 'InternalError.InternalHttpServerError'
|
|
|
116
119
|
# Failed to query instances by security group.
|
|
117
120
|
INTERNALERROR_LISTINSTANCEFAILED = 'InternalError.ListInstanceFailed'
|
|
118
121
|
|
|
122
|
+
#
|
|
123
|
+
INTERNALERROR_LISTINSTANCESERROR = 'InternalError.ListInstancesError'
|
|
124
|
+
|
|
119
125
|
# Public network operation failed.
|
|
120
126
|
INTERNALERROR_OPERATEWANFAIL = 'InternalError.OperateWanFail'
|
|
121
127
|
|
|
@@ -242,6 +248,9 @@ LIMITEXCEEDED_CLUSTERINSTANCELIMIT = 'LimitExceeded.ClusterInstanceLimit'
|
|
|
242
248
|
# The number of instances exceeds the limit.
|
|
243
249
|
LIMITEXCEEDED_USERINSTANCELIMIT = 'LimitExceeded.UserInstanceLimit'
|
|
244
250
|
|
|
251
|
+
#
|
|
252
|
+
OPERATIONDENIED_AUDITSTATUSERROR = 'OperationDenied.AuditStatusError'
|
|
253
|
+
|
|
245
254
|
# Failed to verify permissions
|
|
246
255
|
OPERATIONDENIED_CAMDENIEDERROR = 'OperationDenied.CamDeniedError'
|
|
247
256
|
|