tencentcloud-sdk-python-cfs 3.1.122__tar.gz → 3.1.130__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 (17) hide show
  1. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/tencentcloud/cfs/v20190719/cfs_client.py +2 -2
  5. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/tencentcloud/cfs/v20190719/cfs_client_async.py +2 -2
  6. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/tencentcloud/cfs/v20190719/errorcodes.py +15 -0
  7. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/tencentcloud/cfs/v20190719/models.py +30 -0
  8. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_cfs-3.1.130/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_cfs-3.1.122/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/README.rst +0 -0
  12. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/tencentcloud/cfs/__init__.py +0 -0
  14. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/tencentcloud/cfs/v20190719/__init__.py +0 -0
  15. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cfs-3.1.122 → tencentcloud_sdk_python_cfs-3.1.130}/tencentcloud_sdk_python_cfs.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cfs
3
- Version: 3.1.122
3
+ Version: 3.1.130
4
4
  Summary: Tencent Cloud Cfs SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.122
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.130
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cfs',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.122,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.130,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cfs SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.122'
17
+ __version__ = '3.1.130'
@@ -1159,9 +1159,9 @@ class CfsClient(AbstractClient):
1159
1159
 
1160
1160
 
1161
1161
  def RunDataRetrievalTask(self, request):
1162
- r"""执行数据检索任务。
1163
-
1162
+ r"""RunDataRetrievalTask 执行数据检索任务。
1164
1163
  手动触发指定数据检索的执行,创建一个新的数据检索任务。单个文件系统同时执行的任务数不超过 20 个。
1164
+ 仅Turbo系列文件系统支持。
1165
1165
 
1166
1166
  :param request: Request instance for RunDataRetrievalTask.
1167
1167
  :type request: :class:`tencentcloud.cfs.v20190719.models.RunDataRetrievalTaskRequest`
@@ -918,9 +918,9 @@ class CfsClient(AbstractClient):
918
918
  opts: Dict = None,
919
919
  ) -> models.RunDataRetrievalTaskResponse:
920
920
  """
921
- 执行数据检索任务。
922
-
921
+ RunDataRetrievalTask 执行数据检索任务。
923
922
  手动触发指定数据检索的执行,创建一个新的数据检索任务。单个文件系统同时执行的任务数不超过 20 个。
923
+ 仅Turbo系列文件系统支持。
924
924
  """
925
925
 
926
926
  kwargs = {}
@@ -35,6 +35,9 @@ FAILEDOPERATION_BINDRESOURCEPKGFAILED = 'FailedOperation.BindResourcePkgFailed'
35
35
  # 资源正在创建中。
36
36
  FAILEDOPERATION_CLIENTTOKENINUSE = 'FailedOperation.ClientTokenInUse'
37
37
 
38
+ # 操作失败:目标 COS Bucket 未开启多版本,`IsSyncDelete` 或 `IsOverwrite` 无法生效,请前往对象存储控制台开启多版本后重试
39
+ FAILEDOPERATION_COSMULTIVERSIONDISABLED = 'FailedOperation.CosMultiVersionDisabled'
40
+
38
41
  # 文件系统存在挂载点。
39
42
  FAILEDOPERATION_MOUNTTARGETEXISTS = 'FailedOperation.MountTargetExists'
40
43
 
@@ -215,6 +218,15 @@ INVALIDPARAMETERVALUE_INVALIDPARAMDAYOFWEEK = 'InvalidParameterValue.InvalidPara
215
218
  # IntervalDays 参数值错误
216
219
  INVALIDPARAMETERVALUE_INVALIDPARAMINTERVALDAYS = 'InvalidParameterValue.InvalidParamIntervalDays'
217
220
 
221
+ # `IsCreateRealTimeSync` 必须为布尔值,且仅当 `StorageType=ExternalStorage` 时允许设置 `true`
222
+ INVALIDPARAMETERVALUE_INVALIDPARAMISCREATEREALTIMESYNC = 'InvalidParameterValue.InvalidParamIsCreateRealTimeSync'
223
+
224
+ # 参数值错误:`IsModifyRealTimeSync` 必须为布尔值,且仅当 `StorageType=ExternalStorage` 时允许设置 `true`
225
+ INVALIDPARAMETERVALUE_INVALIDPARAMISMODIFYREALTIMESYNC = 'InvalidParameterValue.InvalidParamIsModifyRealTimeSync'
226
+
227
+ # 参数值错误:`IsSyncDelete` 必须为布尔值,且仅当 `StorageType=ExternalStorage` 时允许设置 `true`
228
+ INVALIDPARAMETERVALUE_INVALIDPARAMISSYNCDELETE = 'InvalidParameterValue.InvalidParamIsSyncDelete'
229
+
218
230
  # InvalidParameterValue.InvalidParameterValue
219
231
  INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = 'InvalidParameterValue.InvalidParameterValue'
220
232
 
@@ -512,6 +524,9 @@ UNSUPPORTEDOPERATION = 'UnsupportedOperation'
512
524
  # 该可用区不支持基础网络。
513
525
  UNSUPPORTEDOPERATION_BASICNETINTERFACENOTSUPPORTED = 'UnsupportedOperation.BasicNetInterfaceNotSupported'
514
526
 
527
+ # `IsCreateRealTimeSync` / `IsModifyRealTimeSync` / `IsSyncDelete` / `IsOverwrite` 仅在 `StorageType=ExternalStorage` 时支持设置为 `true`
528
+ UNSUPPORTEDOPERATION_FIELDONLYFOREXTERNALSTORAGE = 'UnsupportedOperation.FieldOnlyForExternalStorage'
529
+
515
530
  # 该文件系统版本不支持当前操作
516
531
  UNSUPPORTEDOPERATION_INVALIDCFSVERSION = 'UnsupportedOperation.InvalidCfsVersion'
517
532
 
@@ -10723,6 +10723,36 @@ class RunDataRetrievalTaskRequest(AbstractModel):
10723
10723
 
10724
10724
  """
10725
10725
 
10726
+ def __init__(self):
10727
+ r"""
10728
+ :param _DataRetrievalId: <p>数据检索 ID。可通过 DescribeDataRetrieval 接口获取。</p>
10729
+ :type DataRetrievalId: str
10730
+ """
10731
+ self._DataRetrievalId = None
10732
+
10733
+ @property
10734
+ def DataRetrievalId(self):
10735
+ r"""<p>数据检索 ID。可通过 DescribeDataRetrieval 接口获取。</p>
10736
+ :rtype: str
10737
+ """
10738
+ return self._DataRetrievalId
10739
+
10740
+ @DataRetrievalId.setter
10741
+ def DataRetrievalId(self, DataRetrievalId):
10742
+ self._DataRetrievalId = DataRetrievalId
10743
+
10744
+
10745
+ def _deserialize(self, params):
10746
+ self._DataRetrievalId = params.get("DataRetrievalId")
10747
+ memeber_set = set(params.keys())
10748
+ for name, value in vars(self).items():
10749
+ property_name = name[1:]
10750
+ if property_name in memeber_set:
10751
+ memeber_set.remove(property_name)
10752
+ if len(memeber_set) > 0:
10753
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10754
+
10755
+
10726
10756
 
10727
10757
  class RunDataRetrievalTaskResponse(AbstractModel):
10728
10758
  r"""RunDataRetrievalTask返回参数结构体
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cfs
3
- Version: 3.1.122
3
+ Version: 3.1.130
4
4
  Summary: Tencent Cloud Cfs SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.122
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.130
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.130
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.122