tencentcloud-sdk-python-goosefs 3.1.127__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.127 → tencentcloud_sdk_python_goosefs-3.1.140}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_goosefs-3.1.127 → tencentcloud_sdk_python_goosefs-3.1.140}/setup.py +1 -1
  3. {tencentcloud_sdk_python_goosefs-3.1.127 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_goosefs-3.1.127 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/goosefs/v20220519/goosefs_client.py +23 -0
  5. {tencentcloud_sdk_python_goosefs-3.1.127 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/goosefs/v20220519/goosefs_client_async.py +18 -0
  6. {tencentcloud_sdk_python_goosefs-3.1.127 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/goosefs/v20220519/models.py +119 -10
  7. {tencentcloud_sdk_python_goosefs-3.1.127 → 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.127/tencentcloud_sdk_python_goosefs.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_goosefs-3.1.127 → tencentcloud_sdk_python_goosefs-3.1.140}/README.rst +0 -0
  11. {tencentcloud_sdk_python_goosefs-3.1.127 → tencentcloud_sdk_python_goosefs-3.1.140}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_goosefs-3.1.127 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/goosefs/__init__.py +0 -0
  13. {tencentcloud_sdk_python_goosefs-3.1.127 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/goosefs/v20220519/__init__.py +0 -0
  14. {tencentcloud_sdk_python_goosefs-3.1.127 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud/goosefs/v20220519/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_goosefs-3.1.127 → tencentcloud_sdk_python_goosefs-3.1.140}/tencentcloud_sdk_python_goosefs.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_goosefs-3.1.127 → 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.127 → 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.127
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.127
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.127,<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.127'
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,
@@ -524,23 +524,26 @@ class BuildCustomerClusterRequest(AbstractModel):
524
524
 
525
525
  def __init__(self):
526
526
  r"""
527
- :param _FileSystemId: 文件系统id
527
+ :param _FileSystemId: <p>文件系统id</p>
528
528
  :type FileSystemId: str
529
- :param _VpcId: vpc网络ID
529
+ :param _VpcId: <p>vpc网络ID</p>
530
530
  :type VpcId: str
531
- :param _SubnetId: 子网id
531
+ :param _SubnetId: <p>子网id</p>
532
532
  :type SubnetId: str
533
- :param _ClusterName: 集群名称
533
+ :param _ClusterName: <p>集群名称</p>
534
534
  :type ClusterName: str
535
+ :param _Zone: <p>可用区</p>
536
+ :type Zone: str
535
537
  """
536
538
  self._FileSystemId = None
537
539
  self._VpcId = None
538
540
  self._SubnetId = None
539
541
  self._ClusterName = None
542
+ self._Zone = None
540
543
 
541
544
  @property
542
545
  def FileSystemId(self):
543
- r"""文件系统id
546
+ r"""<p>文件系统id</p>
544
547
  :rtype: str
545
548
  """
546
549
  return self._FileSystemId
@@ -551,7 +554,7 @@ class BuildCustomerClusterRequest(AbstractModel):
551
554
 
552
555
  @property
553
556
  def VpcId(self):
554
- r"""vpc网络ID
557
+ r"""<p>vpc网络ID</p>
555
558
  :rtype: str
556
559
  """
557
560
  return self._VpcId
@@ -562,7 +565,7 @@ class BuildCustomerClusterRequest(AbstractModel):
562
565
 
563
566
  @property
564
567
  def SubnetId(self):
565
- r"""子网id
568
+ r"""<p>子网id</p>
566
569
  :rtype: str
567
570
  """
568
571
  return self._SubnetId
@@ -573,7 +576,7 @@ class BuildCustomerClusterRequest(AbstractModel):
573
576
 
574
577
  @property
575
578
  def ClusterName(self):
576
- r"""集群名称
579
+ r"""<p>集群名称</p>
577
580
  :rtype: str
578
581
  """
579
582
  return self._ClusterName
@@ -582,12 +585,24 @@ class BuildCustomerClusterRequest(AbstractModel):
582
585
  def ClusterName(self, ClusterName):
583
586
  self._ClusterName = ClusterName
584
587
 
588
+ @property
589
+ def Zone(self):
590
+ r"""<p>可用区</p>
591
+ :rtype: str
592
+ """
593
+ return self._Zone
594
+
595
+ @Zone.setter
596
+ def Zone(self, Zone):
597
+ self._Zone = Zone
598
+
585
599
 
586
600
  def _deserialize(self, params):
587
601
  self._FileSystemId = params.get("FileSystemId")
588
602
  self._VpcId = params.get("VpcId")
589
603
  self._SubnetId = params.get("SubnetId")
590
604
  self._ClusterName = params.get("ClusterName")
605
+ self._Zone = params.get("Zone")
591
606
  memeber_set = set(params.keys())
592
607
  for name, value in vars(self).items():
593
608
  property_name = name[1:]
@@ -605,7 +620,7 @@ class BuildCustomerClusterResponse(AbstractModel):
605
620
 
606
621
  def __init__(self):
607
622
  r"""
608
- :param _ClusterId: 客户端集群Id
623
+ :param _ClusterId: <p>客户端集群Id</p>
609
624
  :type ClusterId: str
610
625
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
611
626
  :type RequestId: str
@@ -615,7 +630,7 @@ class BuildCustomerClusterResponse(AbstractModel):
615
630
 
616
631
  @property
617
632
  def ClusterId(self):
618
- r"""客户端集群Id
633
+ r"""<p>客户端集群Id</p>
619
634
  :rtype: str
620
635
  """
621
636
  return self._ClusterId
@@ -5179,6 +5194,100 @@ class ModifyDataRepositoryBandwidthResponse(AbstractModel):
5179
5194
  self._RequestId = params.get("RequestId")
5180
5195
 
5181
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
+
5182
5291
  class MountMultipleStorageFileSystemRequest(AbstractModel):
5183
5292
  r"""MountMultipleStorageFileSystem请求参数结构体
5184
5293
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-goosefs
3
- Version: 3.1.127
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.127
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.127