alibabacloud-polardb20170801 6.2.2__py3-none-any.whl → 6.3.0__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.
@@ -1 +1 @@
1
- __version__ = '6.2.2'
1
+ __version__ = '6.3.0'
@@ -1607,6 +1607,88 @@ class Client(OpenApiClient):
1607
1607
  runtime = RuntimeOptions()
1608
1608
  return await self.check_service_linked_role_with_options_async(request, runtime)
1609
1609
 
1610
+ def clone_polar_fs_basic_snapshot_with_options(
1611
+ self,
1612
+ request: main_models.ClonePolarFsBasicSnapshotRequest,
1613
+ runtime: RuntimeOptions,
1614
+ ) -> main_models.ClonePolarFsBasicSnapshotResponse:
1615
+ request.validate()
1616
+ query = {}
1617
+ if not DaraCore.is_null(request.dbcluster_id):
1618
+ query['DBClusterId'] = request.dbcluster_id
1619
+ if not DaraCore.is_null(request.polar_fs_instance_id):
1620
+ query['PolarFsInstanceId'] = request.polar_fs_instance_id
1621
+ if not DaraCore.is_null(request.source_path):
1622
+ query['SourcePath'] = request.source_path
1623
+ if not DaraCore.is_null(request.target_path):
1624
+ query['TargetPath'] = request.target_path
1625
+ req = open_api_util_models.OpenApiRequest(
1626
+ query = Utils.query(query)
1627
+ )
1628
+ params = open_api_util_models.Params(
1629
+ action = 'ClonePolarFsBasicSnapshot',
1630
+ version = '2017-08-01',
1631
+ protocol = 'HTTPS',
1632
+ pathname = '/',
1633
+ method = 'POST',
1634
+ auth_type = 'AK',
1635
+ style = 'RPC',
1636
+ req_body_type = 'formData',
1637
+ body_type = 'json'
1638
+ )
1639
+ return DaraCore.from_map(
1640
+ main_models.ClonePolarFsBasicSnapshotResponse(),
1641
+ self.call_api(params, req, runtime)
1642
+ )
1643
+
1644
+ async def clone_polar_fs_basic_snapshot_with_options_async(
1645
+ self,
1646
+ request: main_models.ClonePolarFsBasicSnapshotRequest,
1647
+ runtime: RuntimeOptions,
1648
+ ) -> main_models.ClonePolarFsBasicSnapshotResponse:
1649
+ request.validate()
1650
+ query = {}
1651
+ if not DaraCore.is_null(request.dbcluster_id):
1652
+ query['DBClusterId'] = request.dbcluster_id
1653
+ if not DaraCore.is_null(request.polar_fs_instance_id):
1654
+ query['PolarFsInstanceId'] = request.polar_fs_instance_id
1655
+ if not DaraCore.is_null(request.source_path):
1656
+ query['SourcePath'] = request.source_path
1657
+ if not DaraCore.is_null(request.target_path):
1658
+ query['TargetPath'] = request.target_path
1659
+ req = open_api_util_models.OpenApiRequest(
1660
+ query = Utils.query(query)
1661
+ )
1662
+ params = open_api_util_models.Params(
1663
+ action = 'ClonePolarFsBasicSnapshot',
1664
+ version = '2017-08-01',
1665
+ protocol = 'HTTPS',
1666
+ pathname = '/',
1667
+ method = 'POST',
1668
+ auth_type = 'AK',
1669
+ style = 'RPC',
1670
+ req_body_type = 'formData',
1671
+ body_type = 'json'
1672
+ )
1673
+ return DaraCore.from_map(
1674
+ main_models.ClonePolarFsBasicSnapshotResponse(),
1675
+ await self.call_api_async(params, req, runtime)
1676
+ )
1677
+
1678
+ def clone_polar_fs_basic_snapshot(
1679
+ self,
1680
+ request: main_models.ClonePolarFsBasicSnapshotRequest,
1681
+ ) -> main_models.ClonePolarFsBasicSnapshotResponse:
1682
+ runtime = RuntimeOptions()
1683
+ return self.clone_polar_fs_basic_snapshot_with_options(request, runtime)
1684
+
1685
+ async def clone_polar_fs_basic_snapshot_async(
1686
+ self,
1687
+ request: main_models.ClonePolarFsBasicSnapshotRequest,
1688
+ ) -> main_models.ClonePolarFsBasicSnapshotResponse:
1689
+ runtime = RuntimeOptions()
1690
+ return await self.clone_polar_fs_basic_snapshot_with_options_async(request, runtime)
1691
+
1610
1692
  def close_aitask_with_options(
1611
1693
  self,
1612
1694
  request: main_models.CloseAITaskRequest,
@@ -53,6 +53,9 @@ from ._check_kmsauthorized_response import CheckKMSAuthorizedResponse
53
53
  from ._check_service_linked_role_request import CheckServiceLinkedRoleRequest
54
54
  from ._check_service_linked_role_response_body import CheckServiceLinkedRoleResponseBody
55
55
  from ._check_service_linked_role_response import CheckServiceLinkedRoleResponse
56
+ from ._clone_polar_fs_basic_snapshot_request import ClonePolarFsBasicSnapshotRequest
57
+ from ._clone_polar_fs_basic_snapshot_response_body import ClonePolarFsBasicSnapshotResponseBody
58
+ from ._clone_polar_fs_basic_snapshot_response import ClonePolarFsBasicSnapshotResponse
56
59
  from ._close_aitask_request import CloseAITaskRequest
57
60
  from ._close_aitask_response_body import CloseAITaskResponseBody
58
61
  from ._close_aitask_response import CloseAITaskResponse
@@ -1134,6 +1137,9 @@ __all__ = [
1134
1137
  CheckServiceLinkedRoleRequest,
1135
1138
  CheckServiceLinkedRoleResponseBody,
1136
1139
  CheckServiceLinkedRoleResponse,
1140
+ ClonePolarFsBasicSnapshotRequest,
1141
+ ClonePolarFsBasicSnapshotResponseBody,
1142
+ ClonePolarFsBasicSnapshotResponse,
1137
1143
  CloseAITaskRequest,
1138
1144
  CloseAITaskResponseBody,
1139
1145
  CloseAITaskResponse,
@@ -0,0 +1,57 @@
1
+ # -*- coding: utf-8 -*-
2
+ # This file is auto-generated, don't edit it. Thanks.
3
+ from __future__ import annotations
4
+
5
+ from darabonba.model import DaraModel
6
+
7
+ class ClonePolarFsBasicSnapshotRequest(DaraModel):
8
+ def __init__(
9
+ self,
10
+ dbcluster_id: str = None,
11
+ polar_fs_instance_id: str = None,
12
+ source_path: str = None,
13
+ target_path: str = None,
14
+ ):
15
+ self.dbcluster_id = dbcluster_id
16
+ self.polar_fs_instance_id = polar_fs_instance_id
17
+ self.source_path = source_path
18
+ self.target_path = target_path
19
+
20
+ def validate(self):
21
+ pass
22
+
23
+ def to_map(self):
24
+ result = dict()
25
+ _map = super().to_map()
26
+ if _map is not None:
27
+ result = _map
28
+ if self.dbcluster_id is not None:
29
+ result['DBClusterId'] = self.dbcluster_id
30
+
31
+ if self.polar_fs_instance_id is not None:
32
+ result['PolarFsInstanceId'] = self.polar_fs_instance_id
33
+
34
+ if self.source_path is not None:
35
+ result['SourcePath'] = self.source_path
36
+
37
+ if self.target_path is not None:
38
+ result['TargetPath'] = self.target_path
39
+
40
+ return result
41
+
42
+ def from_map(self, m: dict = None):
43
+ m = m or dict()
44
+ if m.get('DBClusterId') is not None:
45
+ self.dbcluster_id = m.get('DBClusterId')
46
+
47
+ if m.get('PolarFsInstanceId') is not None:
48
+ self.polar_fs_instance_id = m.get('PolarFsInstanceId')
49
+
50
+ if m.get('SourcePath') is not None:
51
+ self.source_path = m.get('SourcePath')
52
+
53
+ if m.get('TargetPath') is not None:
54
+ self.target_path = m.get('TargetPath')
55
+
56
+ return self
57
+
@@ -0,0 +1,54 @@
1
+ # -*- coding: utf-8 -*-
2
+ # This file is auto-generated, don't edit it. Thanks.
3
+ from __future__ import annotations
4
+
5
+ from typing import Dict
6
+
7
+ from alibabacloud_polardb20170801 import models as main_models
8
+ from darabonba.model import DaraModel
9
+
10
+ class ClonePolarFsBasicSnapshotResponse(DaraModel):
11
+ def __init__(
12
+ self,
13
+ headers: Dict[str, str] = None,
14
+ status_code: int = None,
15
+ body: main_models.ClonePolarFsBasicSnapshotResponseBody = None,
16
+ ):
17
+ self.headers = headers
18
+ self.status_code = status_code
19
+ self.body = body
20
+
21
+ def validate(self):
22
+ if self.body:
23
+ self.body.validate()
24
+
25
+ def to_map(self):
26
+ result = dict()
27
+ _map = super().to_map()
28
+ if _map is not None:
29
+ result = _map
30
+ if self.headers is not None:
31
+ result['headers'] = self.headers
32
+
33
+ if self.status_code is not None:
34
+ result['statusCode'] = self.status_code
35
+
36
+ if self.body is not None:
37
+ result['body'] = self.body.to_map()
38
+
39
+ return result
40
+
41
+ def from_map(self, m: dict = None):
42
+ m = m or dict()
43
+ if m.get('headers') is not None:
44
+ self.headers = m.get('headers')
45
+
46
+ if m.get('statusCode') is not None:
47
+ self.status_code = m.get('statusCode')
48
+
49
+ if m.get('body') is not None:
50
+ temp_model = main_models.ClonePolarFsBasicSnapshotResponseBody()
51
+ self.body = temp_model.from_map(m.get('body'))
52
+
53
+ return self
54
+
@@ -0,0 +1,66 @@
1
+ # -*- coding: utf-8 -*-
2
+ # This file is auto-generated, don't edit it. Thanks.
3
+ from __future__ import annotations
4
+
5
+ from darabonba.model import DaraModel
6
+
7
+ class ClonePolarFsBasicSnapshotResponseBody(DaraModel):
8
+ def __init__(
9
+ self,
10
+ dbcluster_id: str = None,
11
+ polar_fs_instance_id: str = None,
12
+ request_id: str = None,
13
+ source_path: str = None,
14
+ target_path: str = None,
15
+ ):
16
+ self.dbcluster_id = dbcluster_id
17
+ self.polar_fs_instance_id = polar_fs_instance_id
18
+ # Id of the request
19
+ self.request_id = request_id
20
+ self.source_path = source_path
21
+ self.target_path = target_path
22
+
23
+ def validate(self):
24
+ pass
25
+
26
+ def to_map(self):
27
+ result = dict()
28
+ _map = super().to_map()
29
+ if _map is not None:
30
+ result = _map
31
+ if self.dbcluster_id is not None:
32
+ result['DBClusterId'] = self.dbcluster_id
33
+
34
+ if self.polar_fs_instance_id is not None:
35
+ result['PolarFsInstanceId'] = self.polar_fs_instance_id
36
+
37
+ if self.request_id is not None:
38
+ result['RequestId'] = self.request_id
39
+
40
+ if self.source_path is not None:
41
+ result['SourcePath'] = self.source_path
42
+
43
+ if self.target_path is not None:
44
+ result['TargetPath'] = self.target_path
45
+
46
+ return result
47
+
48
+ def from_map(self, m: dict = None):
49
+ m = m or dict()
50
+ if m.get('DBClusterId') is not None:
51
+ self.dbcluster_id = m.get('DBClusterId')
52
+
53
+ if m.get('PolarFsInstanceId') is not None:
54
+ self.polar_fs_instance_id = m.get('PolarFsInstanceId')
55
+
56
+ if m.get('RequestId') is not None:
57
+ self.request_id = m.get('RequestId')
58
+
59
+ if m.get('SourcePath') is not None:
60
+ self.source_path = m.get('SourcePath')
61
+
62
+ if m.get('TargetPath') is not None:
63
+ self.target_path = m.get('TargetPath')
64
+
65
+ return self
66
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-polardb20170801
3
- Version: 6.2.2
3
+ Version: 6.3.0
4
4
  Summary: Alibaba Cloud ApsaraDB for POLARDB (20170801) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -1,6 +1,6 @@
1
- alibabacloud_polardb20170801/__init__.py,sha256=2qZ5YExBwWh5jJJKKhbCeUYKTHx_G5iqB84pu4-ZkqE,21
2
- alibabacloud_polardb20170801/client.py,sha256=OWDQITCcJJJgxOFwwX5ZnXHeFgAwFCjOK5KqX7fBmPE,1194590
3
- alibabacloud_polardb20170801/models/__init__.py,sha256=9xfrCN8oJbqb1tjbsVh_6-V_MmrdBnG-rt3Dk7hCzoE,141420
1
+ alibabacloud_polardb20170801/__init__.py,sha256=LO6CNeAjs0XfiyaiKiAsvO6AgTOl_rTihZAJM7QZ2xs,21
2
+ alibabacloud_polardb20170801/client.py,sha256=3-aUje_cHrpXkeIL1HvZT577FN7rjSCbZrcAa1rFshc,1197890
3
+ alibabacloud_polardb20170801/models/__init__.py,sha256=AgOSRBCo6CXRiQK8pbsVC28eWKMDuCjHMU346xte6n0,141808
4
4
  alibabacloud_polardb20170801/models/_abort_dbcluster_migration_request.py,sha256=TcuKBzRDatTAsq9WQNNhUgHCIPWQPKgzD69esNMW3vk,2618
5
5
  alibabacloud_polardb20170801/models/_abort_dbcluster_migration_response.py,sha256=GITqFXJgUQXjK-NAOmUHTXhHIWpTdLHKyXEd2P7j3nc,1505
6
6
  alibabacloud_polardb20170801/models/_abort_dbcluster_migration_response_body.py,sha256=o9z0oSYEwRUIO6RnLakYj7MNcAZkpvqA-qj9vtdiaSk,779
@@ -52,6 +52,9 @@ alibabacloud_polardb20170801/models/_check_kmsauthorized_response_body.py,sha256
52
52
  alibabacloud_polardb20170801/models/_check_service_linked_role_request.py,sha256=3TaA0yCy6FgtWdUVgejGDQxf_nXP40JOMcgmLx9natA,1706
53
53
  alibabacloud_polardb20170801/models/_check_service_linked_role_response.py,sha256=RnNu4d8sSd-9Zo4H0YZdR5yXSHPUgmhFUrQGrAjG-_c,1502
54
54
  alibabacloud_polardb20170801/models/_check_service_linked_role_response_body.py,sha256=t5leSzbK_1dusnTUPGnWwiGbNOEukxWPfVOcb_J2ggU,1224
55
+ alibabacloud_polardb20170801/models/_clone_polar_fs_basic_snapshot_request.py,sha256=qjo32xbcpV7dixGwi9YLG1tV-H4BpTYaUOO2IdHNyc4,1655
56
+ alibabacloud_polardb20170801/models/_clone_polar_fs_basic_snapshot_response.py,sha256=_vHcmJiBpcemAP3XDwZ5I0pPNfTM8gJh9jCzmFPwO4o,1511
57
+ alibabacloud_polardb20170801/models/_clone_polar_fs_basic_snapshot_response_body.py,sha256=Pfh4u5KxF8aJK5qFRZRdCRQLTOW20oMuAP_0p5_0Gdw,1941
55
58
  alibabacloud_polardb20170801/models/_close_aitask_request.py,sha256=jjyY-cKdYDBuSv6tjGmnCxsd2uhbU6RBIUDWRaqd5hk,2381
56
59
  alibabacloud_polardb20170801/models/_close_aitask_response.py,sha256=gPpX2KLH7x2Qk8Wwh37lkygC0SKnJZUFeRwBKFpJ7N0,1469
57
60
  alibabacloud_polardb20170801/models/_close_aitask_response_body.py,sha256=lqk3foF7z6Qxg0u0kdpoHtM4ZKuUN1KqQ1c0LGbKkIY,1097
@@ -842,8 +845,8 @@ alibabacloud_polardb20170801/models/_upgrade_dbcluster_version_response_body.py,
842
845
  alibabacloud_polardb20170801/models/_upgrade_dbcluster_version_zonal_request.py,sha256=gUyAt9F-ddjv7sc8sHEwnD_pTdNFZlvElMVEm5k7Qlk,4959
843
846
  alibabacloud_polardb20170801/models/_upgrade_dbcluster_version_zonal_response.py,sha256=QspQTKhuxhUMFmErp-3YEp2E6YlD2GHaUg5fBFcri0E,1520
844
847
  alibabacloud_polardb20170801/models/_upgrade_dbcluster_version_zonal_response_body.py,sha256=XvDJIiNpZ4cClmcoHcVFu7-J9MDR5XYc7VKT4khC29c,784
845
- alibabacloud_polardb20170801-6.2.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
846
- alibabacloud_polardb20170801-6.2.2.dist-info/METADATA,sha256=U83sV1e-wRKNE4kZNmMXo4SHwED9IatAtfJlIF6PpNU,2330
847
- alibabacloud_polardb20170801-6.2.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
848
- alibabacloud_polardb20170801-6.2.2.dist-info/top_level.txt,sha256=p7IsMztEzFGUKapMvBUvPuZ0usUOM4d9QfpzT_xtDG4,29
849
- alibabacloud_polardb20170801-6.2.2.dist-info/RECORD,,
848
+ alibabacloud_polardb20170801-6.3.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
849
+ alibabacloud_polardb20170801-6.3.0.dist-info/METADATA,sha256=wuuS8_Z8b0GxLBLYb_tGVuLDfpDJfsxhOhpfc5NjH4c,2330
850
+ alibabacloud_polardb20170801-6.3.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
851
+ alibabacloud_polardb20170801-6.3.0.dist-info/top_level.txt,sha256=p7IsMztEzFGUKapMvBUvPuZ0usUOM4d9QfpzT_xtDG4,29
852
+ alibabacloud_polardb20170801-6.3.0.dist-info/RECORD,,