tencentcloud-sdk-python-cfs 3.0.1436__tar.gz → 3.0.1441__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 (16) hide show
  1. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/tencentcloud/cfs/v20190719/cfs_client.py +23 -0
  5. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/tencentcloud/cfs/v20190719/models.py +124 -0
  6. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-cfs-3.0.1441/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-cfs-3.0.1436/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/README.rst +0 -0
  10. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/tencentcloud/cfs/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/tencentcloud/cfs/v20190719/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/tencentcloud/cfs/v20190719/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cfs-3.0.1436 → tencentcloud-sdk-python-cfs-3.0.1441}/tencentcloud_sdk_python_cfs.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cfs
3
- Version: 3.0.1436
3
+ Version: 3.0.1441
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
@@ -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.0.1436,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1441,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Cfs SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1436'
17
+ __version__ = '3.0.1441'
@@ -948,6 +948,29 @@ class CfsClient(AbstractClient):
948
948
  raise TencentCloudSDKException(type(e).__name__, str(e))
949
949
 
950
950
 
951
+ def DoDirectoryOperation(self, request):
952
+ """文件系统目录操作接口
953
+
954
+ :param request: Request instance for DoDirectoryOperation.
955
+ :type request: :class:`tencentcloud.cfs.v20190719.models.DoDirectoryOperationRequest`
956
+ :rtype: :class:`tencentcloud.cfs.v20190719.models.DoDirectoryOperationResponse`
957
+
958
+ """
959
+ try:
960
+ params = request._serialize()
961
+ headers = request.headers
962
+ body = self.call("DoDirectoryOperation", params, headers=headers)
963
+ response = json.loads(body)
964
+ model = models.DoDirectoryOperationResponse()
965
+ model._deserialize(response["Response"])
966
+ return model
967
+ except Exception as e:
968
+ if isinstance(e, TencentCloudSDKException):
969
+ raise
970
+ else:
971
+ raise TencentCloudSDKException(type(e).__name__, str(e))
972
+
973
+
951
974
  def ModifyDataFlow(self, request):
952
975
  """修改数据流动相关参数
953
976
 
@@ -6226,6 +6226,130 @@ class DescribeUserQuotaResponse(AbstractModel):
6226
6226
  self._RequestId = params.get("RequestId")
6227
6227
 
6228
6228
 
6229
+ class DoDirectoryOperationRequest(AbstractModel):
6230
+ """DoDirectoryOperation请求参数结构体
6231
+
6232
+ """
6233
+
6234
+ def __init__(self):
6235
+ r"""
6236
+ :param _FileSystemId: 文件系统Id
6237
+ :type FileSystemId: str
6238
+ :param _OpetationType: create:创建目录 check:确认目录是否存在
6239
+ :type OpetationType: str
6240
+ :param _DirectoryPath: 目录的绝对路径 默认递归创建(即如果目录中有子目录不存在,则先创建出对应子目录)
6241
+ :type DirectoryPath: str
6242
+ :param _Mode: 创建目录的权限,若不传,默认为0755 若Operation Type为check,此值无实际意义
6243
+ :type Mode: str
6244
+ """
6245
+ self._FileSystemId = None
6246
+ self._OpetationType = None
6247
+ self._DirectoryPath = None
6248
+ self._Mode = None
6249
+
6250
+ @property
6251
+ def FileSystemId(self):
6252
+ """文件系统Id
6253
+ :rtype: str
6254
+ """
6255
+ return self._FileSystemId
6256
+
6257
+ @FileSystemId.setter
6258
+ def FileSystemId(self, FileSystemId):
6259
+ self._FileSystemId = FileSystemId
6260
+
6261
+ @property
6262
+ def OpetationType(self):
6263
+ """create:创建目录 check:确认目录是否存在
6264
+ :rtype: str
6265
+ """
6266
+ return self._OpetationType
6267
+
6268
+ @OpetationType.setter
6269
+ def OpetationType(self, OpetationType):
6270
+ self._OpetationType = OpetationType
6271
+
6272
+ @property
6273
+ def DirectoryPath(self):
6274
+ """目录的绝对路径 默认递归创建(即如果目录中有子目录不存在,则先创建出对应子目录)
6275
+ :rtype: str
6276
+ """
6277
+ return self._DirectoryPath
6278
+
6279
+ @DirectoryPath.setter
6280
+ def DirectoryPath(self, DirectoryPath):
6281
+ self._DirectoryPath = DirectoryPath
6282
+
6283
+ @property
6284
+ def Mode(self):
6285
+ """创建目录的权限,若不传,默认为0755 若Operation Type为check,此值无实际意义
6286
+ :rtype: str
6287
+ """
6288
+ return self._Mode
6289
+
6290
+ @Mode.setter
6291
+ def Mode(self, Mode):
6292
+ self._Mode = Mode
6293
+
6294
+
6295
+ def _deserialize(self, params):
6296
+ self._FileSystemId = params.get("FileSystemId")
6297
+ self._OpetationType = params.get("OpetationType")
6298
+ self._DirectoryPath = params.get("DirectoryPath")
6299
+ self._Mode = params.get("Mode")
6300
+ memeber_set = set(params.keys())
6301
+ for name, value in vars(self).items():
6302
+ property_name = name[1:]
6303
+ if property_name in memeber_set:
6304
+ memeber_set.remove(property_name)
6305
+ if len(memeber_set) > 0:
6306
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6307
+
6308
+
6309
+
6310
+ class DoDirectoryOperationResponse(AbstractModel):
6311
+ """DoDirectoryOperation返回参数结构体
6312
+
6313
+ """
6314
+
6315
+ def __init__(self):
6316
+ r"""
6317
+ :param _Result: 1:成功 0:失败 创建目录的操作,1表示创建成功,0表示创建失败。 确认目录是否存在的操作,1表示目录存在,0表示目录不存在。 说明:创建目录操作若目录已存在,也会返回创建成功。
6318
+ :type Result: int
6319
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6320
+ :type RequestId: str
6321
+ """
6322
+ self._Result = None
6323
+ self._RequestId = None
6324
+
6325
+ @property
6326
+ def Result(self):
6327
+ """1:成功 0:失败 创建目录的操作,1表示创建成功,0表示创建失败。 确认目录是否存在的操作,1表示目录存在,0表示目录不存在。 说明:创建目录操作若目录已存在,也会返回创建成功。
6328
+ :rtype: int
6329
+ """
6330
+ return self._Result
6331
+
6332
+ @Result.setter
6333
+ def Result(self, Result):
6334
+ self._Result = Result
6335
+
6336
+ @property
6337
+ def RequestId(self):
6338
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6339
+ :rtype: str
6340
+ """
6341
+ return self._RequestId
6342
+
6343
+ @RequestId.setter
6344
+ def RequestId(self, RequestId):
6345
+ self._RequestId = RequestId
6346
+
6347
+
6348
+ def _deserialize(self, params):
6349
+ self._Result = params.get("Result")
6350
+ self._RequestId = params.get("RequestId")
6351
+
6352
+
6229
6353
  class ExstraPerformanceInfo(AbstractModel):
6230
6354
  """购买完额外性能之后的值
6231
6355
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cfs
3
- Version: 3.0.1436
3
+ Version: 3.0.1441
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1441
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1436