tencentcloud-sdk-python-intl-en 3.0.1268__py2.py3-none-any.whl → 3.0.1270__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 +1 -1
- tencentcloud/sqlserver/v20180328/models.py +203 -0
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +46 -0
- {tencentcloud_sdk_python_intl_en-3.0.1268.dist-info → tencentcloud_sdk_python_intl_en-3.0.1270.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1268.dist-info → tencentcloud_sdk_python_intl_en-3.0.1270.dist-info}/RECORD +7 -7
- {tencentcloud_sdk_python_intl_en-3.0.1268.dist-info → tencentcloud_sdk_python_intl_en-3.0.1270.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1268.dist-info → tencentcloud_sdk_python_intl_en-3.0.1270.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -1835,6 +1835,85 @@ class CompleteExpansionResponse(AbstractModel):
|
|
1835
1835
|
self._RequestId = params.get("RequestId")
|
1836
1836
|
|
1837
1837
|
|
1838
|
+
class CompleteMigrationRequest(AbstractModel):
|
1839
|
+
"""CompleteMigration request structure.
|
1840
|
+
|
1841
|
+
"""
|
1842
|
+
|
1843
|
+
def __init__(self):
|
1844
|
+
r"""
|
1845
|
+
:param _MigrateId: Migration task ID.
|
1846
|
+
:type MigrateId: int
|
1847
|
+
"""
|
1848
|
+
self._MigrateId = None
|
1849
|
+
|
1850
|
+
@property
|
1851
|
+
def MigrateId(self):
|
1852
|
+
"""Migration task ID.
|
1853
|
+
:rtype: int
|
1854
|
+
"""
|
1855
|
+
return self._MigrateId
|
1856
|
+
|
1857
|
+
@MigrateId.setter
|
1858
|
+
def MigrateId(self, MigrateId):
|
1859
|
+
self._MigrateId = MigrateId
|
1860
|
+
|
1861
|
+
|
1862
|
+
def _deserialize(self, params):
|
1863
|
+
self._MigrateId = params.get("MigrateId")
|
1864
|
+
memeber_set = set(params.keys())
|
1865
|
+
for name, value in vars(self).items():
|
1866
|
+
property_name = name[1:]
|
1867
|
+
if property_name in memeber_set:
|
1868
|
+
memeber_set.remove(property_name)
|
1869
|
+
if len(memeber_set) > 0:
|
1870
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1871
|
+
|
1872
|
+
|
1873
|
+
|
1874
|
+
class CompleteMigrationResponse(AbstractModel):
|
1875
|
+
"""CompleteMigration response structure.
|
1876
|
+
|
1877
|
+
"""
|
1878
|
+
|
1879
|
+
def __init__(self):
|
1880
|
+
r"""
|
1881
|
+
:param _FlowId: Process ID returned after the migration process is initiated.
|
1882
|
+
:type FlowId: int
|
1883
|
+
: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.
|
1884
|
+
:type RequestId: str
|
1885
|
+
"""
|
1886
|
+
self._FlowId = None
|
1887
|
+
self._RequestId = None
|
1888
|
+
|
1889
|
+
@property
|
1890
|
+
def FlowId(self):
|
1891
|
+
"""Process ID returned after the migration process is initiated.
|
1892
|
+
:rtype: int
|
1893
|
+
"""
|
1894
|
+
return self._FlowId
|
1895
|
+
|
1896
|
+
@FlowId.setter
|
1897
|
+
def FlowId(self, FlowId):
|
1898
|
+
self._FlowId = FlowId
|
1899
|
+
|
1900
|
+
@property
|
1901
|
+
def RequestId(self):
|
1902
|
+
"""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.
|
1903
|
+
:rtype: str
|
1904
|
+
"""
|
1905
|
+
return self._RequestId
|
1906
|
+
|
1907
|
+
@RequestId.setter
|
1908
|
+
def RequestId(self, RequestId):
|
1909
|
+
self._RequestId = RequestId
|
1910
|
+
|
1911
|
+
|
1912
|
+
def _deserialize(self, params):
|
1913
|
+
self._FlowId = params.get("FlowId")
|
1914
|
+
self._RequestId = params.get("RequestId")
|
1915
|
+
|
1916
|
+
|
1838
1917
|
class CosUploadBackupFile(AbstractModel):
|
1839
1918
|
"""Querying the size of uploaded backup files.
|
1840
1919
|
|
@@ -14889,6 +14968,130 @@ class DescribeMaintenanceSpanResponse(AbstractModel):
|
|
14889
14968
|
self._RequestId = params.get("RequestId")
|
14890
14969
|
|
14891
14970
|
|
14971
|
+
class DescribeMigrationDatabasesRequest(AbstractModel):
|
14972
|
+
"""DescribeMigrationDatabases request structure.
|
14973
|
+
|
14974
|
+
"""
|
14975
|
+
|
14976
|
+
def __init__(self):
|
14977
|
+
r"""
|
14978
|
+
:param _InstanceId: Migration source instance ID, in the format of mssql-si2823jyl.
|
14979
|
+
:type InstanceId: str
|
14980
|
+
:param _UserName: Username of the migration source instance.
|
14981
|
+
:type UserName: str
|
14982
|
+
:param _Password: Password of the migration source instance.
|
14983
|
+
:type Password: str
|
14984
|
+
"""
|
14985
|
+
self._InstanceId = None
|
14986
|
+
self._UserName = None
|
14987
|
+
self._Password = None
|
14988
|
+
|
14989
|
+
@property
|
14990
|
+
def InstanceId(self):
|
14991
|
+
"""Migration source instance ID, in the format of mssql-si2823jyl.
|
14992
|
+
:rtype: str
|
14993
|
+
"""
|
14994
|
+
return self._InstanceId
|
14995
|
+
|
14996
|
+
@InstanceId.setter
|
14997
|
+
def InstanceId(self, InstanceId):
|
14998
|
+
self._InstanceId = InstanceId
|
14999
|
+
|
15000
|
+
@property
|
15001
|
+
def UserName(self):
|
15002
|
+
"""Username of the migration source instance.
|
15003
|
+
:rtype: str
|
15004
|
+
"""
|
15005
|
+
return self._UserName
|
15006
|
+
|
15007
|
+
@UserName.setter
|
15008
|
+
def UserName(self, UserName):
|
15009
|
+
self._UserName = UserName
|
15010
|
+
|
15011
|
+
@property
|
15012
|
+
def Password(self):
|
15013
|
+
"""Password of the migration source instance.
|
15014
|
+
:rtype: str
|
15015
|
+
"""
|
15016
|
+
return self._Password
|
15017
|
+
|
15018
|
+
@Password.setter
|
15019
|
+
def Password(self, Password):
|
15020
|
+
self._Password = Password
|
15021
|
+
|
15022
|
+
|
15023
|
+
def _deserialize(self, params):
|
15024
|
+
self._InstanceId = params.get("InstanceId")
|
15025
|
+
self._UserName = params.get("UserName")
|
15026
|
+
self._Password = params.get("Password")
|
15027
|
+
memeber_set = set(params.keys())
|
15028
|
+
for name, value in vars(self).items():
|
15029
|
+
property_name = name[1:]
|
15030
|
+
if property_name in memeber_set:
|
15031
|
+
memeber_set.remove(property_name)
|
15032
|
+
if len(memeber_set) > 0:
|
15033
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15034
|
+
|
15035
|
+
|
15036
|
+
|
15037
|
+
class DescribeMigrationDatabasesResponse(AbstractModel):
|
15038
|
+
"""DescribeMigrationDatabases response structure.
|
15039
|
+
|
15040
|
+
"""
|
15041
|
+
|
15042
|
+
def __init__(self):
|
15043
|
+
r"""
|
15044
|
+
:param _Amount: Number of databases.
|
15045
|
+
:type Amount: int
|
15046
|
+
:param _MigrateDBSet: Database name array.
|
15047
|
+
:type MigrateDBSet: list of str
|
15048
|
+
: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.
|
15049
|
+
:type RequestId: str
|
15050
|
+
"""
|
15051
|
+
self._Amount = None
|
15052
|
+
self._MigrateDBSet = None
|
15053
|
+
self._RequestId = None
|
15054
|
+
|
15055
|
+
@property
|
15056
|
+
def Amount(self):
|
15057
|
+
"""Number of databases.
|
15058
|
+
:rtype: int
|
15059
|
+
"""
|
15060
|
+
return self._Amount
|
15061
|
+
|
15062
|
+
@Amount.setter
|
15063
|
+
def Amount(self, Amount):
|
15064
|
+
self._Amount = Amount
|
15065
|
+
|
15066
|
+
@property
|
15067
|
+
def MigrateDBSet(self):
|
15068
|
+
"""Database name array.
|
15069
|
+
:rtype: list of str
|
15070
|
+
"""
|
15071
|
+
return self._MigrateDBSet
|
15072
|
+
|
15073
|
+
@MigrateDBSet.setter
|
15074
|
+
def MigrateDBSet(self, MigrateDBSet):
|
15075
|
+
self._MigrateDBSet = MigrateDBSet
|
15076
|
+
|
15077
|
+
@property
|
15078
|
+
def RequestId(self):
|
15079
|
+
"""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.
|
15080
|
+
:rtype: str
|
15081
|
+
"""
|
15082
|
+
return self._RequestId
|
15083
|
+
|
15084
|
+
@RequestId.setter
|
15085
|
+
def RequestId(self, RequestId):
|
15086
|
+
self._RequestId = RequestId
|
15087
|
+
|
15088
|
+
|
15089
|
+
def _deserialize(self, params):
|
15090
|
+
self._Amount = params.get("Amount")
|
15091
|
+
self._MigrateDBSet = params.get("MigrateDBSet")
|
15092
|
+
self._RequestId = params.get("RequestId")
|
15093
|
+
|
15094
|
+
|
14892
15095
|
class DescribeMigrationDetailRequest(AbstractModel):
|
14893
15096
|
"""DescribeMigrationDetail request structure.
|
14894
15097
|
|
@@ -141,6 +141,29 @@ class SqlserverClient(AbstractClient):
|
|
141
141
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
142
142
|
|
143
143
|
|
144
|
+
def CompleteMigration(self, request):
|
145
|
+
"""This API is used to complete a migration task.
|
146
|
+
|
147
|
+
:param request: Request instance for CompleteMigration.
|
148
|
+
:type request: :class:`tencentcloud.sqlserver.v20180328.models.CompleteMigrationRequest`
|
149
|
+
:rtype: :class:`tencentcloud.sqlserver.v20180328.models.CompleteMigrationResponse`
|
150
|
+
|
151
|
+
"""
|
152
|
+
try:
|
153
|
+
params = request._serialize()
|
154
|
+
headers = request.headers
|
155
|
+
body = self.call("CompleteMigration", params, headers=headers)
|
156
|
+
response = json.loads(body)
|
157
|
+
model = models.CompleteMigrationResponse()
|
158
|
+
model._deserialize(response["Response"])
|
159
|
+
return model
|
160
|
+
except Exception as e:
|
161
|
+
if isinstance(e, TencentCloudSDKException):
|
162
|
+
raise
|
163
|
+
else:
|
164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
165
|
+
|
166
|
+
|
144
167
|
def CreateAccount(self, request):
|
145
168
|
"""This API is used to create an instance account.
|
146
169
|
|
@@ -1521,6 +1544,29 @@ class SqlserverClient(AbstractClient):
|
|
1521
1544
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1522
1545
|
|
1523
1546
|
|
1547
|
+
def DescribeMigrationDatabases(self, request):
|
1548
|
+
"""This API is used to query the list of databases to be migrated.
|
1549
|
+
|
1550
|
+
:param request: Request instance for DescribeMigrationDatabases.
|
1551
|
+
:type request: :class:`tencentcloud.sqlserver.v20180328.models.DescribeMigrationDatabasesRequest`
|
1552
|
+
:rtype: :class:`tencentcloud.sqlserver.v20180328.models.DescribeMigrationDatabasesResponse`
|
1553
|
+
|
1554
|
+
"""
|
1555
|
+
try:
|
1556
|
+
params = request._serialize()
|
1557
|
+
headers = request.headers
|
1558
|
+
body = self.call("DescribeMigrationDatabases", params, headers=headers)
|
1559
|
+
response = json.loads(body)
|
1560
|
+
model = models.DescribeMigrationDatabasesResponse()
|
1561
|
+
model._deserialize(response["Response"])
|
1562
|
+
return model
|
1563
|
+
except Exception as e:
|
1564
|
+
if isinstance(e, TencentCloudSDKException):
|
1565
|
+
raise
|
1566
|
+
else:
|
1567
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1568
|
+
|
1569
|
+
|
1524
1570
|
def DescribeMigrationDetail(self, request):
|
1525
1571
|
"""This API is used to query migration task details.
|
1526
1572
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
1
|
+
tencentcloud/__init__.py,sha256=OXs-V8BSH8vrLmWse-a1wCzlOHGGk8nSq-avinLkngU,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=fiBV7Nao68T0UJdOUt5BxEABWr7mG_J9NPJT2lXDdyw,2897
|
@@ -501,8 +501,8 @@ tencentcloud/sms/v20210111/sms_client.py,sha256=YcJdikNNoXH8RtG1ovFY2vTHVz7cfQzM
|
|
501
501
|
tencentcloud/sqlserver/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
502
502
|
tencentcloud/sqlserver/v20180328/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
503
503
|
tencentcloud/sqlserver/v20180328/errorcodes.py,sha256=TBHc95ZizVDEAn-DHEabg4XtxkDfC7z3EzMEWixLLhs,11109
|
504
|
-
tencentcloud/sqlserver/v20180328/models.py,sha256=
|
505
|
-
tencentcloud/sqlserver/v20180328/sqlserver_client.py,sha256
|
504
|
+
tencentcloud/sqlserver/v20180328/models.py,sha256=zQ8eVKax6Z5chInbDv9xQomMAAkA3TApjof592nbcpY,965336
|
505
|
+
tencentcloud/sqlserver/v20180328/sqlserver_client.py,sha256=-CEu-ugYoCLZp5xgk716L4tPSZKwBLDrmhzMgK1Llw4,134008
|
506
506
|
tencentcloud/ssl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
507
507
|
tencentcloud/ssl/v20191205/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
508
508
|
tencentcloud/ssl/v20191205/errorcodes.py,sha256=1H8IrvRcONTT9fZZZDv6ZBqXtQtciyOng5mE6kIwxhk,10776
|
@@ -678,7 +678,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
678
678
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=g2ac3Fxgbof23WWhGj9VxvuLJZNshnB0Mg7jWUzTh24,3168
|
679
679
|
tencentcloud/yunjing/v20180228/models.py,sha256=vFpNnPGWiOLdTut0XPTpRRF5lobWUTkFUO1EHc9RkBk,330643
|
680
680
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=PqtaJz4gQ-rIxKXVMNtOKx7kFBQdUn-zKVuH2NcMFcA,67362
|
681
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
682
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
683
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
684
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
681
|
+
tencentcloud_sdk_python_intl_en-3.0.1270.dist-info/METADATA,sha256=B-DTxYN1GRLtHpGFC7PBeyDc2UhUWlSyrnn9CQ01uI8,1628
|
682
|
+
tencentcloud_sdk_python_intl_en-3.0.1270.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
683
|
+
tencentcloud_sdk_python_intl_en-3.0.1270.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
684
|
+
tencentcloud_sdk_python_intl_en-3.0.1270.dist-info/RECORD,,
|
File without changes
|