tencentcloud-sdk-python-cfs 3.0.1202__tar.gz → 3.0.1217__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.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/tencentcloud/cfs/v20190719/cfs_client.py +2 -2
  5. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/tencentcloud/cfs/v20190719/errorcodes.py +9 -0
  6. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/tencentcloud/cfs/v20190719/models.py +55 -5
  7. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-cfs-3.0.1217/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-cfs-3.0.1202/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/README.rst +0 -0
  11. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/tencentcloud/cfs/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/tencentcloud/cfs/v20190719/__init__.py +0 -0
  14. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cfs-3.0.1202 → tencentcloud-sdk-python-cfs-3.0.1217}/tencentcloud_sdk_python_cfs.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cfs
3
- Version: 3.0.1202
3
+ Version: 3.0.1217
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.1202"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1217"],
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.1202'
17
+ __version__ = '3.0.1217'
@@ -352,7 +352,7 @@ class CfsClient(AbstractClient):
352
352
 
353
353
 
354
354
  def DeleteUserQuota(self, request):
355
- """指定条件删除文件系统配额
355
+ """指定条件删除文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
356
356
 
357
357
  :param request: Request instance for DeleteUserQuota.
358
358
  :type request: :class:`tencentcloud.cfs.v20190719.models.DeleteUserQuotaRequest`
@@ -745,7 +745,7 @@ class CfsClient(AbstractClient):
745
745
 
746
746
 
747
747
  def SetUserQuota(self, request):
748
- """设置文件系统配额,提供UID/GID的配额设置的接口
748
+ """设置文件系统配额,提供UID/GID的配额设置的接口(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
749
749
 
750
750
  :param request: Request instance for SetUserQuota.
751
751
  :type request: :class:`tencentcloud.cfs.v20190719.models.SetUserQuotaRequest`
@@ -176,6 +176,9 @@ INVALIDPARAMETERVALUE_INVALIDPRIORITY = 'InvalidParameterValue.InvalidPriority'
176
176
  # 协议参数错误。
177
177
  INVALIDPARAMETERVALUE_INVALIDPROTOCOL = 'InvalidParameterValue.InvalidProtocol'
178
178
 
179
+ # 设置配额的参数错误,UserId 跟DirectoryPath不可同时填写,两个参数必填一个
180
+ INVALIDPARAMETERVALUE_INVALIDQUOTAUSERIDORCFSDIRPATH = 'InvalidParameterValue.InvalidQuotaUserIdOrCfsDirPath'
181
+
179
182
  # 用户区域选择错误 (ZoneName) 或 (ZoneId, Region)二者必选一。
180
183
  INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = 'InvalidParameterValue.InvalidRegionZoneInfo'
181
184
 
@@ -284,6 +287,12 @@ INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = 'InvalidParameterValue.Pgrou
284
287
  # 权限组名称长度超过限制(不能超过64字节)。
285
288
  INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = 'InvalidParameterValue.PgroupNameLimitExceeded'
286
289
 
290
+ # 目录配额设置的目录嵌套
291
+ INVALIDPARAMETERVALUE_PROJECTQUOTASDIRNESTED = 'InvalidParameterValue.ProjectQuotasDirNested'
292
+
293
+ # 目录配额数量超限
294
+ INVALIDPARAMETERVALUE_PROJECTQUOTASEXCEEDED = 'InvalidParameterValue.ProjectQuotasExceeded'
295
+
287
296
  # 容量硬限制取值范围错误。
288
297
  INVALIDPARAMETERVALUE_QUOTACAPLIMITERROR = 'InvalidParameterValue.QuotaCapLimitError'
289
298
 
@@ -2299,14 +2299,17 @@ class DeleteUserQuotaRequest(AbstractModel):
2299
2299
  r"""
2300
2300
  :param _FileSystemId: 文件系统 ID
2301
2301
  :type FileSystemId: str
2302
- :param _UserType: 指定配额类型,包括Uid、Gid
2302
+ :param _UserType: 指定配额类型,包括Uid、Gid、Dir
2303
2303
  :type UserType: str
2304
2304
  :param _UserId: UID/GID信息
2305
2305
  :type UserId: str
2306
+ :param _DirectoryPath: 设置目录配额的目录的绝对路径
2307
+ :type DirectoryPath: str
2306
2308
  """
2307
2309
  self._FileSystemId = None
2308
2310
  self._UserType = None
2309
2311
  self._UserId = None
2312
+ self._DirectoryPath = None
2310
2313
 
2311
2314
  @property
2312
2315
  def FileSystemId(self):
@@ -2332,11 +2335,20 @@ class DeleteUserQuotaRequest(AbstractModel):
2332
2335
  def UserId(self, UserId):
2333
2336
  self._UserId = UserId
2334
2337
 
2338
+ @property
2339
+ def DirectoryPath(self):
2340
+ return self._DirectoryPath
2341
+
2342
+ @DirectoryPath.setter
2343
+ def DirectoryPath(self, DirectoryPath):
2344
+ self._DirectoryPath = DirectoryPath
2345
+
2335
2346
 
2336
2347
  def _deserialize(self, params):
2337
2348
  self._FileSystemId = params.get("FileSystemId")
2338
2349
  self._UserType = params.get("UserType")
2339
2350
  self._UserId = params.get("UserId")
2351
+ self._DirectoryPath = params.get("DirectoryPath")
2340
2352
  memeber_set = set(params.keys())
2341
2353
  for name, value in vars(self).items():
2342
2354
  property_name = name[1:]
@@ -5303,20 +5315,23 @@ class SetUserQuotaRequest(AbstractModel):
5303
5315
  r"""
5304
5316
  :param _FileSystemId: 文件系统 ID
5305
5317
  :type FileSystemId: str
5306
- :param _UserType: 指定配额类型,包括Uid、Gid
5318
+ :param _UserType: 指定配额类型,包括Uid、Gid,Dir,分别代表用户配额,用户组配额,目录配额
5307
5319
  :type UserType: str
5308
5320
  :param _UserId: UID/GID信息
5309
5321
  :type UserId: str
5310
- :param _CapacityHardLimit: 容量硬限制,单位GiB
5322
+ :param _CapacityHardLimit: 容量硬限制,单位GiB。设置范围10-10000000。
5311
5323
  :type CapacityHardLimit: int
5312
- :param _FileHardLimit: 文件硬限制,单位个
5324
+ :param _FileHardLimit: 文件硬限制,单位个。设置范围1000-100000000
5313
5325
  :type FileHardLimit: int
5326
+ :param _DirectoryPath: 需设置目录配额的目录绝对路径,不同目录不可存在包含关系
5327
+ :type DirectoryPath: str
5314
5328
  """
5315
5329
  self._FileSystemId = None
5316
5330
  self._UserType = None
5317
5331
  self._UserId = None
5318
5332
  self._CapacityHardLimit = None
5319
5333
  self._FileHardLimit = None
5334
+ self._DirectoryPath = None
5320
5335
 
5321
5336
  @property
5322
5337
  def FileSystemId(self):
@@ -5358,6 +5373,14 @@ class SetUserQuotaRequest(AbstractModel):
5358
5373
  def FileHardLimit(self, FileHardLimit):
5359
5374
  self._FileHardLimit = FileHardLimit
5360
5375
 
5376
+ @property
5377
+ def DirectoryPath(self):
5378
+ return self._DirectoryPath
5379
+
5380
+ @DirectoryPath.setter
5381
+ def DirectoryPath(self, DirectoryPath):
5382
+ self._DirectoryPath = DirectoryPath
5383
+
5361
5384
 
5362
5385
  def _deserialize(self, params):
5363
5386
  self._FileSystemId = params.get("FileSystemId")
@@ -5365,6 +5388,7 @@ class SetUserQuotaRequest(AbstractModel):
5365
5388
  self._UserId = params.get("UserId")
5366
5389
  self._CapacityHardLimit = params.get("CapacityHardLimit")
5367
5390
  self._FileHardLimit = params.get("FileHardLimit")
5391
+ self._DirectoryPath = params.get("DirectoryPath")
5368
5392
  memeber_set = set(params.keys())
5369
5393
  for name, value in vars(self).items():
5370
5394
  property_name = name[1:]
@@ -6948,7 +6972,7 @@ class UserQuota(AbstractModel):
6948
6972
 
6949
6973
  def __init__(self):
6950
6974
  r"""
6951
- :param _UserType: 指定配额类型,包括Uid、Gid
6975
+ :param _UserType: 指定配额类型,包括Uid、Gid、Dir
6952
6976
  :type UserType: str
6953
6977
  :param _UserId: UID/GID信息
6954
6978
  :type UserId: str
@@ -6964,6 +6988,12 @@ class UserQuota(AbstractModel):
6964
6988
  :param _FileUsed: 文件使用个数,单位个
6965
6989
  注意:此字段可能返回 null,表示取不到有效值。
6966
6990
  :type FileUsed: int
6991
+ :param _DirectoryPath: 目录配额的目录绝对路径
6992
+ 注意:此字段可能返回 null,表示取不到有效值。
6993
+ :type DirectoryPath: str
6994
+ :param _Status: 配置规则状态,inavailable---配置中,available --已生效,deleting--删除中,deleted 已删除,failed--配置失败
6995
+ 注意:此字段可能返回 null,表示取不到有效值。
6996
+ :type Status: str
6967
6997
  """
6968
6998
  self._UserType = None
6969
6999
  self._UserId = None
@@ -6972,6 +7002,8 @@ class UserQuota(AbstractModel):
6972
7002
  self._FileSystemId = None
6973
7003
  self._CapacityUsed = None
6974
7004
  self._FileUsed = None
7005
+ self._DirectoryPath = None
7006
+ self._Status = None
6975
7007
 
6976
7008
  @property
6977
7009
  def UserType(self):
@@ -7029,6 +7061,22 @@ class UserQuota(AbstractModel):
7029
7061
  def FileUsed(self, FileUsed):
7030
7062
  self._FileUsed = FileUsed
7031
7063
 
7064
+ @property
7065
+ def DirectoryPath(self):
7066
+ return self._DirectoryPath
7067
+
7068
+ @DirectoryPath.setter
7069
+ def DirectoryPath(self, DirectoryPath):
7070
+ self._DirectoryPath = DirectoryPath
7071
+
7072
+ @property
7073
+ def Status(self):
7074
+ return self._Status
7075
+
7076
+ @Status.setter
7077
+ def Status(self, Status):
7078
+ self._Status = Status
7079
+
7032
7080
 
7033
7081
  def _deserialize(self, params):
7034
7082
  self._UserType = params.get("UserType")
@@ -7038,6 +7086,8 @@ class UserQuota(AbstractModel):
7038
7086
  self._FileSystemId = params.get("FileSystemId")
7039
7087
  self._CapacityUsed = params.get("CapacityUsed")
7040
7088
  self._FileUsed = params.get("FileUsed")
7089
+ self._DirectoryPath = params.get("DirectoryPath")
7090
+ self._Status = params.get("Status")
7041
7091
  memeber_set = set(params.keys())
7042
7092
  for name, value in vars(self).items():
7043
7093
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cfs
3
- Version: 3.0.1202
3
+ Version: 3.0.1217
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==3.0.1217
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1202