tencentcloud-sdk-python-cbs 3.0.1459__tar.gz → 3.1.39__tar.gz

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.
Files changed (19) hide show
  1. tencentcloud_sdk_python_cbs-3.1.39/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-cbs-3.0.1459 → tencentcloud_sdk_python_cbs-3.1.39}/setup.py +2 -1
  3. {tencentcloud-sdk-python-cbs-3.0.1459 → tencentcloud_sdk_python_cbs-3.1.39}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cbs-3.0.1459 → tencentcloud_sdk_python_cbs-3.1.39}/tencentcloud/cbs/v20170312/cbs_client.py +23 -0
  5. tencentcloud_sdk_python_cbs-3.1.39/tencentcloud/cbs/v20170312/cbs_client_async.py +977 -0
  6. {tencentcloud-sdk-python-cbs-3.0.1459 → tencentcloud_sdk_python_cbs-3.1.39}/tencentcloud/cbs/v20170312/errorcodes.py +6 -0
  7. {tencentcloud-sdk-python-cbs-3.0.1459 → tencentcloud_sdk_python_cbs-3.1.39}/tencentcloud/cbs/v20170312/models.py +125 -14
  8. tencentcloud_sdk_python_cbs-3.1.39/tencentcloud_sdk_python_cbs.egg-info/PKG-INFO +46 -0
  9. {tencentcloud-sdk-python-cbs-3.0.1459 → tencentcloud_sdk_python_cbs-3.1.39}/tencentcloud_sdk_python_cbs.egg-info/SOURCES.txt +1 -0
  10. tencentcloud_sdk_python_cbs-3.1.39/tencentcloud_sdk_python_cbs.egg-info/requires.txt +1 -0
  11. tencentcloud-sdk-python-cbs-3.0.1459/PKG-INFO +0 -45
  12. tencentcloud-sdk-python-cbs-3.0.1459/tencentcloud_sdk_python_cbs.egg-info/PKG-INFO +0 -45
  13. tencentcloud-sdk-python-cbs-3.0.1459/tencentcloud_sdk_python_cbs.egg-info/requires.txt +0 -1
  14. {tencentcloud-sdk-python-cbs-3.0.1459 → tencentcloud_sdk_python_cbs-3.1.39}/README.rst +0 -0
  15. {tencentcloud-sdk-python-cbs-3.0.1459 → tencentcloud_sdk_python_cbs-3.1.39}/setup.cfg +0 -0
  16. {tencentcloud-sdk-python-cbs-3.0.1459 → tencentcloud_sdk_python_cbs-3.1.39}/tencentcloud/cbs/__init__.py +0 -0
  17. {tencentcloud-sdk-python-cbs-3.0.1459 → tencentcloud_sdk_python_cbs-3.1.39}/tencentcloud/cbs/v20170312/__init__.py +0 -0
  18. {tencentcloud-sdk-python-cbs-3.0.1459 → tencentcloud_sdk_python_cbs-3.1.39}/tencentcloud_sdk_python_cbs.egg-info/dependency_links.txt +0 -0
  19. {tencentcloud-sdk-python-cbs-3.0.1459 → tencentcloud_sdk_python_cbs-3.1.39}/tencentcloud_sdk_python_cbs.egg-info/top_level.txt +0 -0
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-cbs
3
+ Version: 3.1.39
4
+ Summary: Tencent Cloud Cbs SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.39
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Cbs SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-cbs
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common cbs
46
+
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cbs',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1459,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.39,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Cbs SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1459'
17
+ __version__ = '3.1.39'
@@ -158,6 +158,29 @@ class CbsClient(AbstractClient):
158
158
  raise TencentCloudSDKException(type(e).__name__, str(e))
159
159
 
160
160
 
161
+ def CopyAutoSnapshotPolicyCrossAccount(self, request):
162
+ r"""针对白名单内用户实现自动快照策略的跨账号复制功能
163
+
164
+ :param request: Request instance for CopyAutoSnapshotPolicyCrossAccount.
165
+ :type request: :class:`tencentcloud.cbs.v20170312.models.CopyAutoSnapshotPolicyCrossAccountRequest`
166
+ :rtype: :class:`tencentcloud.cbs.v20170312.models.CopyAutoSnapshotPolicyCrossAccountResponse`
167
+
168
+ """
169
+ try:
170
+ params = request._serialize()
171
+ headers = request.headers
172
+ body = self.call("CopyAutoSnapshotPolicyCrossAccount", params, headers=headers)
173
+ response = json.loads(body)
174
+ model = models.CopyAutoSnapshotPolicyCrossAccountResponse()
175
+ model._deserialize(response["Response"])
176
+ return model
177
+ except Exception as e:
178
+ if isinstance(e, TencentCloudSDKException):
179
+ raise
180
+ else:
181
+ raise TencentCloudSDKException(type(e).__name__, str(e))
182
+
183
+
161
184
  def CopySnapshotCrossRegions(self, request):
162
185
  r"""本接口(CopySnapshotCrossRegions)用于快照跨地域复制。
163
186