tencentcloud-sdk-python-cfs 3.0.1416__tar.gz → 3.0.1425__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.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/tencentcloud/cfs/v20190719/models.py +110 -20
  5. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-cfs-3.0.1425/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-cfs-3.0.1416/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/README.rst +0 -0
  9. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/tencentcloud/cfs/__init__.py +0 -0
  11. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/tencentcloud/cfs/v20190719/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/tencentcloud/cfs/v20190719/cfs_client.py +0 -0
  13. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/tencentcloud/cfs/v20190719/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cfs-3.0.1416 → tencentcloud-sdk-python-cfs-3.0.1425}/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.1416
3
+ Version: 3.0.1425
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.1416"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1425,<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.1416'
17
+ __version__ = '3.0.1425'
@@ -2038,35 +2038,35 @@ class CreateMigrationTaskRequest(AbstractModel):
2038
2038
  r"""
2039
2039
  :param _TaskName: 迁移任务名称
2040
2040
  :type TaskName: str
2041
- :param _MigrationType: 迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移
2041
+ :param _MigrationType: 迁移方式标志位,默认为0。0:桶迁移;1:清单迁移
2042
2042
  :type MigrationType: int
2043
2043
  :param _MigrationMode: 迁移模式,默认为0。0: 全量迁移
2044
2044
  :type MigrationMode: int
2045
- :param _SrcSecretId: 数据源账号的SecretId
2045
+ :param _SrcSecretId: 数据源账号的 SecretId
2046
2046
  :type SrcSecretId: str
2047
- :param _SrcSecretKey: 数据源账号的SecretKey
2047
+ :param _SrcSecretKey: 数据源账号的 SecretKey
2048
2048
  :type SrcSecretKey: str
2049
- :param _FileSystemId: 文件系统实例Id
2049
+ :param _FileSystemId: 文件系统实例 ID,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
2050
2050
  :type FileSystemId: str
2051
2051
  :param _FsPath: 文件系统路径
2052
2052
  :type FsPath: str
2053
2053
  :param _CoverType: 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖
2054
2054
  :type CoverType: int
2055
- :param _SrcService: 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS
2055
+ :param _SrcService: 数据源服务商。COS:腾讯云COS,OSS:阿里云OSS,OBS:华为云OBS
2056
2056
  :type SrcService: str
2057
- :param _BucketName: 数据源桶名称,名称和地址至少有一个
2057
+ :param _BucketName: 数据源桶名称;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数
2058
2058
  :type BucketName: str
2059
2059
  :param _BucketRegion: 数据源桶地域
2060
2060
  :type BucketRegion: str
2061
- :param _BucketAddress: 数据源桶地址,名称和地址至少有一个
2061
+ :param _BucketAddress: 数据源桶地址;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数
2062
2062
  :type BucketAddress: str
2063
2063
  :param _ListAddress: 清单地址,迁移方式为清单迁移时必填
2064
2064
  :type ListAddress: str
2065
2065
  :param _FsName: 目标文件系统名称
2066
2066
  :type FsName: str
2067
- :param _BucketPath: 源桶路径,默认为/
2067
+ :param _BucketPath: 源桶路径,默认为 /
2068
2068
  :type BucketPath: str
2069
- :param _Direction: 迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0
2069
+ :param _Direction: 迁移方向;0:对象存储迁移至文件系统,1:文件系统迁移至对象存储。默认为0
2070
2070
  :type Direction: int
2071
2071
  """
2072
2072
  self._TaskName = None
@@ -2099,7 +2099,7 @@ class CreateMigrationTaskRequest(AbstractModel):
2099
2099
 
2100
2100
  @property
2101
2101
  def MigrationType(self):
2102
- """迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移
2102
+ """迁移方式标志位,默认为0。0:桶迁移;1:清单迁移
2103
2103
  :rtype: int
2104
2104
  """
2105
2105
  return self._MigrationType
@@ -2121,7 +2121,7 @@ class CreateMigrationTaskRequest(AbstractModel):
2121
2121
 
2122
2122
  @property
2123
2123
  def SrcSecretId(self):
2124
- """数据源账号的SecretId
2124
+ """数据源账号的 SecretId
2125
2125
  :rtype: str
2126
2126
  """
2127
2127
  return self._SrcSecretId
@@ -2132,7 +2132,7 @@ class CreateMigrationTaskRequest(AbstractModel):
2132
2132
 
2133
2133
  @property
2134
2134
  def SrcSecretKey(self):
2135
- """数据源账号的SecretKey
2135
+ """数据源账号的 SecretKey
2136
2136
  :rtype: str
2137
2137
  """
2138
2138
  return self._SrcSecretKey
@@ -2143,7 +2143,7 @@ class CreateMigrationTaskRequest(AbstractModel):
2143
2143
 
2144
2144
  @property
2145
2145
  def FileSystemId(self):
2146
- """文件系统实例Id
2146
+ """文件系统实例 ID,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
2147
2147
  :rtype: str
2148
2148
  """
2149
2149
  return self._FileSystemId
@@ -2176,7 +2176,7 @@ class CreateMigrationTaskRequest(AbstractModel):
2176
2176
 
2177
2177
  @property
2178
2178
  def SrcService(self):
2179
- """数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS
2179
+ """数据源服务商。COS:腾讯云COS,OSS:阿里云OSS,OBS:华为云OBS
2180
2180
  :rtype: str
2181
2181
  """
2182
2182
  return self._SrcService
@@ -2187,7 +2187,7 @@ class CreateMigrationTaskRequest(AbstractModel):
2187
2187
 
2188
2188
  @property
2189
2189
  def BucketName(self):
2190
- """数据源桶名称,名称和地址至少有一个
2190
+ """数据源桶名称;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数
2191
2191
  :rtype: str
2192
2192
  """
2193
2193
  return self._BucketName
@@ -2209,7 +2209,7 @@ class CreateMigrationTaskRequest(AbstractModel):
2209
2209
 
2210
2210
  @property
2211
2211
  def BucketAddress(self):
2212
- """数据源桶地址,名称和地址至少有一个
2212
+ """数据源桶地址;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数
2213
2213
  :rtype: str
2214
2214
  """
2215
2215
  return self._BucketAddress
@@ -2242,7 +2242,7 @@ class CreateMigrationTaskRequest(AbstractModel):
2242
2242
 
2243
2243
  @property
2244
2244
  def BucketPath(self):
2245
- """源桶路径,默认为/
2245
+ """源桶路径,默认为 /
2246
2246
  :rtype: str
2247
2247
  """
2248
2248
  return self._BucketPath
@@ -2253,7 +2253,7 @@ class CreateMigrationTaskRequest(AbstractModel):
2253
2253
 
2254
2254
  @property
2255
2255
  def Direction(self):
2256
- """迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0
2256
+ """迁移方向;0:对象存储迁移至文件系统,1:文件系统迁移至对象存储。默认为0
2257
2257
  :rtype: int
2258
2258
  """
2259
2259
  return self._Direction
@@ -2297,7 +2297,7 @@ class CreateMigrationTaskResponse(AbstractModel):
2297
2297
 
2298
2298
  def __init__(self):
2299
2299
  r"""
2300
- :param _TaskId: 迁移任务Id
2300
+ :param _TaskId: 迁移任务 ID
2301
2301
  :type TaskId: str
2302
2302
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2303
2303
  :type RequestId: str
@@ -2307,7 +2307,7 @@ class CreateMigrationTaskResponse(AbstractModel):
2307
2307
 
2308
2308
  @property
2309
2309
  def TaskId(self):
2310
- """迁移任务Id
2310
+ """迁移任务 ID
2311
2311
  :rtype: str
2312
2312
  """
2313
2313
  return self._TaskId
@@ -4673,6 +4673,57 @@ class DescribeUserQuotaResponse(AbstractModel):
4673
4673
  self._RequestId = params.get("RequestId")
4674
4674
 
4675
4675
 
4676
+ class ExstraPerformanceInfo(AbstractModel):
4677
+ """购买完额外性能之后的值
4678
+
4679
+ """
4680
+
4681
+ def __init__(self):
4682
+ r"""
4683
+ :param _Type: fixed: 最终值固定
4684
+ :type Type: str
4685
+ :param _Performance: 额外购买的CFS性能值,单位MB/s。
4686
+ :type Performance: int
4687
+ """
4688
+ self._Type = None
4689
+ self._Performance = None
4690
+
4691
+ @property
4692
+ def Type(self):
4693
+ """fixed: 最终值固定
4694
+ :rtype: str
4695
+ """
4696
+ return self._Type
4697
+
4698
+ @Type.setter
4699
+ def Type(self, Type):
4700
+ self._Type = Type
4701
+
4702
+ @property
4703
+ def Performance(self):
4704
+ """额外购买的CFS性能值,单位MB/s。
4705
+ :rtype: int
4706
+ """
4707
+ return self._Performance
4708
+
4709
+ @Performance.setter
4710
+ def Performance(self, Performance):
4711
+ self._Performance = Performance
4712
+
4713
+
4714
+ def _deserialize(self, params):
4715
+ self._Type = params.get("Type")
4716
+ self._Performance = params.get("Performance")
4717
+ memeber_set = set(params.keys())
4718
+ for name, value in vars(self).items():
4719
+ property_name = name[1:]
4720
+ if property_name in memeber_set:
4721
+ memeber_set.remove(property_name)
4722
+ if len(memeber_set) > 0:
4723
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4724
+
4725
+
4726
+
4676
4727
  class FileSystemByPolicy(AbstractModel):
4677
4728
  """绑定快照策略的文件系统信息
4678
4729
 
@@ -4978,6 +5029,12 @@ Available:可用
4978
5029
  :type AutoScaleUpRule: :class:`tencentcloud.cfs.v20190719.models.AutoScaleUpRule`
4979
5030
  :param _Version: 文件系统版本
4980
5031
  :type Version: str
5032
+ :param _ExstraPerformanceInfo: 额外性能信息
5033
+ 注意:此字段可能返回 null,表示取不到有效值。
5034
+ :type ExstraPerformanceInfo: list of ExstraPerformanceInfo
5035
+ :param _MetaType: basic:标准版元数据类型
5036
+ enhanced:增项版元数据类型
5037
+ :type MetaType: str
4981
5038
  """
4982
5039
  self._CreationTime = None
4983
5040
  self._CreationToken = None
@@ -5005,6 +5062,8 @@ Available:可用
5005
5062
  self._TieringDetail = None
5006
5063
  self._AutoScaleUpRule = None
5007
5064
  self._Version = None
5065
+ self._ExstraPerformanceInfo = None
5066
+ self._MetaType = None
5008
5067
 
5009
5068
  @property
5010
5069
  def CreationTime(self):
@@ -5301,6 +5360,30 @@ Available:可用
5301
5360
  def Version(self, Version):
5302
5361
  self._Version = Version
5303
5362
 
5363
+ @property
5364
+ def ExstraPerformanceInfo(self):
5365
+ """额外性能信息
5366
+ 注意:此字段可能返回 null,表示取不到有效值。
5367
+ :rtype: list of ExstraPerformanceInfo
5368
+ """
5369
+ return self._ExstraPerformanceInfo
5370
+
5371
+ @ExstraPerformanceInfo.setter
5372
+ def ExstraPerformanceInfo(self, ExstraPerformanceInfo):
5373
+ self._ExstraPerformanceInfo = ExstraPerformanceInfo
5374
+
5375
+ @property
5376
+ def MetaType(self):
5377
+ """basic:标准版元数据类型
5378
+ enhanced:增项版元数据类型
5379
+ :rtype: str
5380
+ """
5381
+ return self._MetaType
5382
+
5383
+ @MetaType.setter
5384
+ def MetaType(self, MetaType):
5385
+ self._MetaType = MetaType
5386
+
5304
5387
 
5305
5388
  def _deserialize(self, params):
5306
5389
  self._CreationTime = params.get("CreationTime")
@@ -5340,6 +5423,13 @@ Available:可用
5340
5423
  self._AutoScaleUpRule = AutoScaleUpRule()
5341
5424
  self._AutoScaleUpRule._deserialize(params.get("AutoScaleUpRule"))
5342
5425
  self._Version = params.get("Version")
5426
+ if params.get("ExstraPerformanceInfo") is not None:
5427
+ self._ExstraPerformanceInfo = []
5428
+ for item in params.get("ExstraPerformanceInfo"):
5429
+ obj = ExstraPerformanceInfo()
5430
+ obj._deserialize(item)
5431
+ self._ExstraPerformanceInfo.append(obj)
5432
+ self._MetaType = params.get("MetaType")
5343
5433
  memeber_set = set(params.keys())
5344
5434
  for name, value in vars(self).items():
5345
5435
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cfs
3
- Version: 3.0.1416
3
+ Version: 3.0.1425
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.1425
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1416