tencentcloud-sdk-python-goosefs 3.1.132__tar.gz → 3.1.140__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_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/setup.py +1 -1
  3. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/goosefs/v20220519/goosefs_client.py +23 -0
  5. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/goosefs/v20220519/goosefs_client_async.py +18 -0
  6. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/goosefs/v20220519/models.py +94 -0
  7. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud_sdk_python_goosefs.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_goosefs-3.1.140/tencentcloud_sdk_python_goosefs.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_goosefs-3.1.132/tencentcloud_sdk_python_goosefs.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/README.rst +0 -0
  11. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/goosefs/__init__.py +0 -0
  13. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/goosefs/v20220519/__init__.py +0 -0
  14. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/goosefs/v20220519/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud_sdk_python_goosefs.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud_sdk_python_goosefs.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_goosefs-3.1.132 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud_sdk_python_goosefs.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-goosefs
3
- Version: 3.1.132
3
+ Version: 3.1.140
4
4
  Summary: Tencent Cloud Goosefs 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.132
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.140
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-goosefs',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.132,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.140,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Goosefs SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.132'
17
+ __version__ = '3.1.140'
@@ -693,6 +693,29 @@ class GoosefsClient(AbstractClient):
693
693
  raise TencentCloudSDKException(type(e).__name__, str(e))
694
694
 
695
695
 
696
+ def ModifyDataRepositoryTaskStatus(self, request):
697
+ r"""修改数据流动任务状态,目前支持任务暂停/恢复
698
+
699
+ :param request: Request instance for ModifyDataRepositoryTaskStatus.
700
+ :type request: :class:`tencentcloud.goosefs.v20220519.models.ModifyDataRepositoryTaskStatusRequest`
701
+ :rtype: :class:`tencentcloud.goosefs.v20220519.models.ModifyDataRepositoryTaskStatusResponse`
702
+
703
+ """
704
+ try:
705
+ params = request._serialize()
706
+ headers = request.headers
707
+ body = self.call("ModifyDataRepositoryTaskStatus", params, headers=headers)
708
+ response = json.loads(body)
709
+ model = models.ModifyDataRepositoryTaskStatusResponse()
710
+ model._deserialize(response["Response"])
711
+ return model
712
+ except Exception as e:
713
+ if isinstance(e, TencentCloudSDKException):
714
+ raise
715
+ else:
716
+ raise TencentCloudSDKException(type(e).__name__, str(e))
717
+
718
+
696
719
  def MountMultipleStorageFileSystem(self, request):
697
720
  r"""客户端集群挂载存储集群
698
721
 
@@ -547,6 +547,24 @@ class GoosefsClient(AbstractClient):
547
547
 
548
548
  return await self.call_and_deserialize(**kwargs)
549
549
 
550
+ async def ModifyDataRepositoryTaskStatus(
551
+ self,
552
+ request: models.ModifyDataRepositoryTaskStatusRequest,
553
+ opts: Dict = None,
554
+ ) -> models.ModifyDataRepositoryTaskStatusResponse:
555
+ """
556
+ 修改数据流动任务状态,目前支持任务暂停/恢复
557
+ """
558
+
559
+ kwargs = {}
560
+ kwargs["action"] = "ModifyDataRepositoryTaskStatus"
561
+ kwargs["params"] = request._serialize()
562
+ kwargs["resp_cls"] = models.ModifyDataRepositoryTaskStatusResponse
563
+ kwargs["headers"] = request.headers
564
+ kwargs["opts"] = opts or {}
565
+
566
+ return await self.call_and_deserialize(**kwargs)
567
+
550
568
  async def MountMultipleStorageFileSystem(
551
569
  self,
552
570
  request: models.MountMultipleStorageFileSystemRequest,
@@ -5194,6 +5194,100 @@ class ModifyDataRepositoryBandwidthResponse(AbstractModel):
5194
5194
  self._RequestId = params.get("RequestId")
5195
5195
 
5196
5196
 
5197
+ class ModifyDataRepositoryTaskStatusRequest(AbstractModel):
5198
+ r"""ModifyDataRepositoryTaskStatus请求参数结构体
5199
+
5200
+ """
5201
+
5202
+ def __init__(self):
5203
+ r"""
5204
+ :param _FileSystemId: <p>文件系统ID</p>
5205
+ :type FileSystemId: str
5206
+ :param _TaskId: <p>数据流动任务ID</p>
5207
+ :type TaskId: str
5208
+ :param _ModifyType: <p>修改数据流动任务目标状态对应的类型,仅支持任务暂停和恢复(暂停对应pause,恢复对应resume)</p><p>枚举值:</p><ul><li>pause: 暂停</li><li>resume: 恢复</li></ul>
5209
+ :type ModifyType: str
5210
+ """
5211
+ self._FileSystemId = None
5212
+ self._TaskId = None
5213
+ self._ModifyType = None
5214
+
5215
+ @property
5216
+ def FileSystemId(self):
5217
+ r"""<p>文件系统ID</p>
5218
+ :rtype: str
5219
+ """
5220
+ return self._FileSystemId
5221
+
5222
+ @FileSystemId.setter
5223
+ def FileSystemId(self, FileSystemId):
5224
+ self._FileSystemId = FileSystemId
5225
+
5226
+ @property
5227
+ def TaskId(self):
5228
+ r"""<p>数据流动任务ID</p>
5229
+ :rtype: str
5230
+ """
5231
+ return self._TaskId
5232
+
5233
+ @TaskId.setter
5234
+ def TaskId(self, TaskId):
5235
+ self._TaskId = TaskId
5236
+
5237
+ @property
5238
+ def ModifyType(self):
5239
+ r"""<p>修改数据流动任务目标状态对应的类型,仅支持任务暂停和恢复(暂停对应pause,恢复对应resume)</p><p>枚举值:</p><ul><li>pause: 暂停</li><li>resume: 恢复</li></ul>
5240
+ :rtype: str
5241
+ """
5242
+ return self._ModifyType
5243
+
5244
+ @ModifyType.setter
5245
+ def ModifyType(self, ModifyType):
5246
+ self._ModifyType = ModifyType
5247
+
5248
+
5249
+ def _deserialize(self, params):
5250
+ self._FileSystemId = params.get("FileSystemId")
5251
+ self._TaskId = params.get("TaskId")
5252
+ self._ModifyType = params.get("ModifyType")
5253
+ memeber_set = set(params.keys())
5254
+ for name, value in vars(self).items():
5255
+ property_name = name[1:]
5256
+ if property_name in memeber_set:
5257
+ memeber_set.remove(property_name)
5258
+ if len(memeber_set) > 0:
5259
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5260
+
5261
+
5262
+
5263
+ class ModifyDataRepositoryTaskStatusResponse(AbstractModel):
5264
+ r"""ModifyDataRepositoryTaskStatus返回参数结构体
5265
+
5266
+ """
5267
+
5268
+ def __init__(self):
5269
+ r"""
5270
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5271
+ :type RequestId: str
5272
+ """
5273
+ self._RequestId = None
5274
+
5275
+ @property
5276
+ def RequestId(self):
5277
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5278
+ :rtype: str
5279
+ """
5280
+ return self._RequestId
5281
+
5282
+ @RequestId.setter
5283
+ def RequestId(self, RequestId):
5284
+ self._RequestId = RequestId
5285
+
5286
+
5287
+ def _deserialize(self, params):
5288
+ self._RequestId = params.get("RequestId")
5289
+
5290
+
5197
5291
  class MountMultipleStorageFileSystemRequest(AbstractModel):
5198
5292
  r"""MountMultipleStorageFileSystem请求参数结构体
5199
5293
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-goosefs
3
- Version: 3.1.132
3
+ Version: 3.1.140
4
4
  Summary: Tencent Cloud Goosefs 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.132
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.140
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.140
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.132