tencent cloud

Cloud File Storage

Data Types

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2026-11-26 19:29:54

AutoDeletePolicy

Automatic deletion policy configuration information.

Used by actions: DescribeAutoDeletePolicies.

Name Type Required Description
PolicyId String No

Policy ID.

FileSystemId String No

File system Id.

PolicyName String No

Automatic cleanup policy name.

Paths Array of String No

Path to be cleaned up.

Status String No

Automatic cleanup policy status.

Enumeration values:

  • enabling: Enabling
  • enabled: Enabled
  • disabling: Disabling
  • disabed: Disabled
  • deleting: Deleting
  • failed: Failed
  • creating: Creating
  • updating: Updating
CreateTime String No

Cleanup policy creation time.

Parameter format: YYYY-MM-DD hh:mm:ss

UpdateTime String No

Policy update time.

Parameter format: YYYY-MM-DD hh:mm:ss

Region String No

Region to which the policy belongs.

ErrMsg String No

Error information.

AutoScaleUpRule

Auto scale-out rule.

Used by actions: DescribeCfsFileSystems.

Name Type Required Description
Status String No Enable auto scale-out policy, disable.
ScaleThreshold Integer No Cluster usage percentage. start expansion when reaching this value. value range: [10-90].
TargetThreshold Integer No Used capacity to total clusters ratio after expansion. value range: [10-90].

AutoSnapshotPolicyInfo

Snapshot policy information

Used by actions: DescribeAutoSnapshotPolicies.

Name Type Description
AutoSnapshotPolicyId String Snapshot policy ID
PolicyName String Snapshot policy name.
CreationTime String Snapshot policy creation time
FileSystemNums Integer Number of bound file systems
DayOfWeek String The specific day of the week on which to create a snapshot. This parameter is mutually exclusive with DayOfMonth and IntervalDays.
Hour String The hour of a day at which to regularly back up the snapshot
IsActivated Integer Whether the periodic snapshot function is activated; 1 indicates activated, 0 indicates inactive.
NextActiveTime String Next time to trigger snapshot
Status String Snapshot policy status. available represents normal status. only status here.
AppId Integer Account ID.
AliveDays Integer Retention period
RegionName String Region
FileSystems Array of FileSystemByPolicy File system information
DayOfMonth String The specific day of the month on which to create a snapshot. This parameter is mutually exclusive with DayOfWeek and IntervalDays.
Note: This field may return null, indicating that no valid values can be obtained.
IntervalDays Integer The snapshot interval (1 to 365 days). This parameter is mutually exclusive with DayOfWeek and DayOfMonth.
Note: This field may return null, indicating that no valid values can be obtained.
CrossRegionsAliveDays Integer Snapshot retention time for cross-region replication, in days.
Tags Array of TagInfo Snapshot policy tag.

AvailableProtoStatus

Version control - protocol details.

Used by actions: DescribeAvailableZoneInfo.

Name Type Description
SaleStatus String Sale status. Valid values: sale_out (sold out), saling (purchasable), no_saling (non-purchasable)
Protocol String Protocol type. optional values: NFS, CIFS, and TURBO.

AvailableRegion

Versioning - array of regions

Used by actions: DescribeAvailableZoneInfo.

Name Type Description
Region String Region name, such as "ap-beijing"
RegionName String Region name, such as "bj"
RegionStatus String Region availability. If a region has at least one AZ where resources are purchasable, this value will be AVAILABLE; otherwise, it will be UNAVAILABLE
Zones Array of AvailableZone Array of AZs
RegionCnName String Region name, such as "Guangzhou"

AvailableType

Versioning - array of classes

Used by actions: DescribeAvailableZoneInfo.

Name Type Description
Protocols Array of AvailableProtoStatus

Protocol and sale details

Type String

Storage type. In the return value, SD indicates General Standard Storage, HP indicates General Performance Storage, TB indicates Standard Turbo, and TP indicates High-Performance Turbo.

Prepayment Boolean

Support for prepaid. In the return value, true means supported and false means unsupported.

Version String

File system version

Enumeration value:

  • v1.5: Universal Series
  • v3.1: Universal Series (enhanced)
  • v4.0: Turbo series

AvailableZone

Versioning - array of AZs

Used by actions: DescribeAvailableZoneInfo.

Name Type Description
Zone String AZ name
ZoneId Integer AZ ID
ZoneCnName String Chinese name of an AZ
Types Array of AvailableType Array of classes
ZoneName String Chinese and English names of an AZ

BucketInfo

Bucket information

Used by actions: DescribeBucketList.

Name Type Description
Name String Bucket name
Region String Bucket region
Note: This field may return null, indicating that no valid values can be obtained.

CheckResult

Returns the rule information list if there is a rule conflict.

Used by actions: ApplyPathLifecyclePolicy.

Name Type Description
LifecyclePolicyID String Lifecycle management policy ID.
FileSystemId String File system ID.
Path String Directory absolute path.
LifecycleRules Array of LifecycleRule List of management rules associated with the lifecycle management policy.
TargetPath String Target path.

DataFlowInfo

Data flow information.

Used by actions: DescribeDataFlow.

Name Type Description
DataFlowId String Data flow manage ID.
DataFlowName String Data flow name.
SourceStorageType String Source data type.
SourceStorageAddress String Source storage address.
SourcePath String Source path.
TargetPath String Directory path.
Status String available: effective.
pending: configuring.
unavailable.
Deleting: deleting.
CreationTime String Creation time.
FileSystemId String File system ID
AutoRefresh Integer 0: disable auto-update.

1: enable auto-update.
UserKafkaTopic String Topic Parameter used by KafkaConsumer during consumption
ServerAddr String Service address.
UserName String Kafka consuming user name.
AutoRefreshStatus String Auto refresh status, available: in effect.
pending: configuring.
unavailable.
AutoRefreshTime String Automatically refresh start time.

ExstraPerformanceInfo

Value after purchasing additional performance.

Used by actions: DescribeCfsFileSystems.

Name Type Description
Type String Fixed: final value is fixed.
Performance Integer Additional purchase CFS performance value in MB/s.

FileSystemByPolicy

Information of the file system bound to the snapshot policy

Used by actions: DescribeAutoSnapshotPolicies.

Name Type Description
CreationToken String File system name
FileSystemId String File system ID
SizeByte Integer File system size, in Byte.
StorageType String Storage type. HP: high-performance; SD: standard; TP: high-performance Turbo; TB: standard Turbo; THP: throughput.
TotalSnapshotSize Integer Total snapshot size in GiB.
CreationTime String File system creation time
ZoneId Integer Region ID of the file system

FileSystemClient

Information on the file system client

Used by actions: DescribeCfsFileSystemClients.

Name Type Description
CfsVip String IP address of the file system
ClientIp String Client IP
VpcId String File system VPCID
Zone String Availability zone name, such as ap-beijing-1. see the region and availability zone list in the description Introduction
ZoneName String AZ name
MountDirectory String Path in which the file system is mounted to the client

FileSystemInfo

Basic information of a file system

Used by actions: DescribeCfsFileSystems.

Name Type Description
CreationTime String

Creation time.

CreationToken String

User-defined name.

FileSystemId String

File system ID.

LifeCycleState String

File system status. Valid values:

  • creating: Creating
  • mounting: Mounting
  • create_failed: Failed to create
  • available: Available
  • unserviced: Service suspended
  • upgrading: Upgrading
SizeByte Integer

Used capacity of the file system. Unit: Byte.

SizeLimit Integer

File system space limit. Unit: GiB.

ZoneId Integer

Region ID.

Zone String

Region name.

Protocol String

File system protocol type. Valid values: NFS, CIFS, and TURBO.

StorageType String

Storage type. Valid values: HP: General performance; SD: General standard; TP: turbo performance; TB: turbo standard; THP: Throughput.

StorageResourcePkg String

Prepaid storage pack bound to the file system.

BandwidthResourcePkg String

Prepaid bandwidth pack bound to the file system (not supported yet).

PGroup PGroup

Information of the permission group bound to the file system.

FsName String

User-defined name.

Encrypted Boolean

Whether the file system is encrypted. true: encrypted; false: not encrypted.

KmsKeyId String

Key used for encryption, which can be the key ID or ARN.

AppId Integer

Application ID.

BandwidthLimit Float

Maximum file system throughput, which is determined by the current used storage capacity of the file system, the bound storage pack, and the throughput pack. Unit: MiB/s.

AutoSnapshotPolicyId String

Snapshot policy associated with the file system.

SnapStatus String

Snapshot processing status of the file system. snapping: snapshot in progress; normal: normal status.

Capacity Integer

Maximum capacity specification of the file system.
Unit: GiB.

Tags Array of TagInfo

List of file system tags.

TieringState String

Lifecycle management status of the file system.
NotAvailable: Unavailable.
Available: Available.

TieringDetail TieringDetailInfo

Tiered storage details.

AutoScaleUpRule AutoScaleUpRule

Automatic scaling policy of the file system.

Version String

File system version.

ExstraPerformanceInfo Array of ExstraPerformanceInfo

Additional performance information.

MetaType String

basic: standard metadata type.
enhanced: enhanced metadata type.

Scenario String

Business scenario.

Valid values:

  • AgentSandbox: Create AgentCFS.
FullDeleteCapacityUsage Float

Overfull deletion capacity ratio. 0.0 indicates disabled.

Value range: [0.0, 1.0].

FullDeleteMinTtl Integer

Minimum survival time before overfull deletion, in seconds.

Unit: seconds.

ExpireDeleteTtl Integer

Expiration deletion TTL, in seconds. 0 indicates disabled.

Unit: seconds.

Filter

Conditional filter

Used by actions: DescribeAutoSnapshotPolicies, DescribeCfsFileSystems, DescribeCfsSnapshots, DescribeLifecycleDataTask, DescribeMigrationTasks.

Name Type Required Description
Values Array of String Yes Value
Name String Yes Name

LifecycleDataTaskInfo

Lifecycle task.

Used by actions: DescribeLifecycleDataTask.

Name Type Required Description
TaskId String No

Task ID.

TaskStatus String No

Task status.

Valid values:

  • init: queuing
  • running: running
  • finished: completed
  • failed: failed
  • stopping: stopping
  • stopped: stopped
CreationTime String No

Task creation time

FinishTime String No

Task end time

FileTotalCount Integer No

Total number of files

FileSuccessedCount Integer No

Number of files processed successfully

FileFailedCount Integer No

Number of files that have failed

FileTotalSize Integer No

File size, in bytes

FileSuccessedSize Integer No

Size of processed files, in bytes

FileFailedSize Integer No

Size of failed files, in bytes

FileTotalList String No

Total file list.

FileSuccessedList String No

List of successful files.

FileFailedList String No

List of failed files.

FileSystemId String No

FileSystemId

TaskName String No

Task name.

TaskPath String No

Task path.

Type String No

Task type. archive: an archiving task. restore: a retrieval task.

DataFlowId String No

Data flow Id.

IsOverwrite Boolean No

Whether to overwrite files with the same name in CFS Turbo and external storage.

true: Overwrite.

false: Do not overwrite (and hot storage data will not be released).
If this parameter is left empty, the default value is false.

ListPath String No

Path of the data manifest file. Each line in the manifest file is the full path of a file to be processed. All paths (including the manifest file path and the paths of files to be processed in each line of the manifest file) must start with /cfs and point to existing files in the CFS file system. This parameter and TaskPath are alternative.
Example:

  • If the CFS root directory / is mounted and the manifest file is located at lists/archive_list.txt under the mount path, set this parameter to /cfs/lists/archive_list.txt.
  • If the CFS subdirectory /subdir is mounted and the manifest file is located at lists/archive_list.txt under the mount path, set this parameter to /cfs/subdir/lists/archive_list.txt.

LifecyclePolicy

Lifecycle management policy information.

Used by actions: DescribeLifecyclePolicies.

Name Type Description
CreateTime String <P>The time when the lifecycle management policy was created

.
LifecyclePolicyID String

Lifecycle management policy ID.

.
LifecyclePolicyName String <P>Lifecycle management policy name

.
Note: This field may return null, indicating that no valid values can be obtained.
LifecycleRules Array of LifecycleRule <P>List of management rules associated with the lifecycle management policy.

.
Note: This field may return null, indicating that no valid values can be obtained.
Paths Array of PathInfo <P>List of absolute paths for directories associated with the lifecycle management policy

.
Note: This field may return null, indicating that no valid values can be obtained.

LifecycleRule

Manage rule associated with the lifecycle management policy.

Used by actions: ApplyPathLifecyclePolicy, CreateLifecyclePolicy, DescribeLifecyclePolicies, ModifyLifecyclePolicy.

Name Type Required Description
StorageType String Yes

Storage type after data dumping. Valid values: InfrequentAccess: Infrequent Access storage. ColdStorage: Cold storage.

FileType String Yes

File type for data dumping. Valid values: BIG_FILE: Very large files. STD_FILE: Standard files. SMALL_FILE: Small files. ALL: All files.

Action String Yes

Data dumping behavior. Valid values: Archive: Archive. Noarchive: Do not archive.

Interval String No

Trigger time for data dumping. It consists of "DEFAULT_ATIME_" and a number, in the unit of days. Leave this parameter empty when Action is Noarchive.

FileMaxSize String No

Maximum size of a file for data dumping. The value must be in the format of "number + unit". Supported units: K (KiB), M (MiB), and G (GiB).

FileMinSize String No

Minimum size of a file for data dumping. The value must be in the format of "number + unit". Supported units: K (KiB), M (MiB), and G (GiB).

PolicyType String No

Policy type

ExpireThreshold Integer No

Threshold range [10-90]

TargetThreshold Integer No

Threshold range [10-90]

IsOverwrite Boolean No

Whether to overwrite a file in CFSTurbo if it has the same name as a file in the external storage.

true: Overwrite.

false: Do not overwrite (and hot storage data will not be released).

If this parameter is left empty, the default value is false.

IsCreateRealTimeSync Boolean No

Whether to sync new files to S3 in near real time. true: Near real-time sync (within 30 seconds). false: Sync based on the time configured in the policy. The default value is false. This parameter takes effect only when StorageType=ExternalStorage.

IsModifyRealTimeSync Boolean No

Whether to sync modified files to S3 in near real time. true: Near real-time sync (within 30 seconds) / false: Sync based on the time configured in the policy. The default value is false. This parameter takes effect only when StorageType=ExternalStorage. It is independent of IsOverwrite.

IsSyncDelete Boolean No

Whether to sync file deletion to S3. true: Sync deletion (within 30 seconds) / false: Do not sync deletion. The default value is false. If this parameter is set to true, versioning must be enabled for the destination COS Bucket. This parameter takes effect only when StorageType=ExternalStorage.

MigrationTaskInfo

Information of a CFS data migration task

Used by actions: DescribeMigrationTasks.

Name Type Description
TaskName String Migration task name
TaskId String Migration task ID
MigrationType Integer Migration type. Valid values: 0 (bucket) and 1 (list). Default value: 0.
MigrationMode Integer Migration mode. Default value: 0 (full migration).
BucketName String Data source bucket name.
BucketRegion String Source bucket region.
BucketAddress String Data source bucket address.
ListAddress String Checklist address.
FsName String File system instance name.
FileSystemId String File system instance ID
FsPath String File system path
CoverType Integer Overwrite policy for files with the same name. Valid values: 0 (retain the file with the latest modified time), 1 (overwrite); and 2 (not overwrite). Default value: 0.
CreateTime Integer Creation time
EndTime Integer Completion/Termination time.
Status Integer Migration status. 0: completed; 1: creating; 2: running; 3: terminating; 4: terminated; 5: creation failed; 6: running failure; 7: ending; 8: deleting; 9: waiting.
FileTotalCount Integer Number of files.
FileMigratedCount Integer Number of migrated files.
FileFailedCount Integer Number of failed files in migration.
FileTotalSize Integer File capacity, in Byte.
FileMigratedSize Integer Migrated file capacity in Byte.
FileFailedSize Integer Capacity of failed migration files, in Byte.
FileTotalList String Total inventory.
FileCompletedList String File list completed.
FileFailedList String Failed file list.
BucketPath String Source bucket path.
Direction Integer Migration direction. valid values: 0 (cos migration to file system), 1 (file system migration to cos). default is 0.

MountInfo

Mount target information

Used by actions: DescribeMountTargets.

Name Type Description
FileSystemId String File system ID
MountTargetId String Mount target ID
IpAddress String Mount target IP
FSID String Mount root-directory
LifeCycleState String Mount point status, including creating: under creation; available: running.
Deleting: deleting.
Creation failed.
NetworkInterface String Network type, including VPC, CCN.
VpcId String VPC ID
VpcName String VPC name
SubnetId String Subnet ID
SubnetName String Subnet name
CcnID String CCN instance ID used by CFS Turbo
CidrBlock String CCN IP range used by CFS Turbo

PGroup

Information of permission groups bound to a file system

Used by actions: DescribeCfsFileSystems.

Name Type Description
PGroupId String Permission group ID
Name String Permission group name

PGroupInfo

Array of permission groups

Used by actions: DescribeCfsPGroups.

Name Type Description
PGroupId String Permission group ID
Name String Permission group name
DescInfo String Description
CDate String Creation time
BindCfsNum Integer The number of bound file system

PGroupRuleInfo

List of permission group rules

Used by actions: DescribeCfsRules.

Name Type Description
RuleId String Rule ID
AuthClientIp String Client IP allowed for access
RWPermission String Read/write permission. ro: read-only; rw: read & write
UserPermission String All_squash: all accessing users (including the root user) will be mapped to anonymous users or groups.
no_all_squash: all accessing users (including the root user) retain original UID/GID information.
root_squash: maps visiting root user to anonymous user or user group. non-root user keeps original UID/GID information.
no_root_squash: has the same effect as no_all_squash. all accessing users (including the root user) retain their original UID/GID information.
Priority Integer Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest

PathInfo

Absolute path of the directory associated with the lifecycle management policy.

Used by actions: ApplyPathLifecyclePolicy, DescribeLifecyclePolicies.

Name Type Required Description
FileSystemId String Yes File system ID.
Path String Yes Directory absolute path.
DataFlowId String No Data flow Id.

SnapshotInfo

Snapshot information

Used by actions: DescribeCfsSnapshots.

Name Type Description
CreationTime String <P>Snapshot creation time

.
SnapshotName String <P>Snapshot name

.
SnapshotId String

Snapshot ID.

.
Status String <P>Snapshot status: creating - creating; available - running; deleting - deleting; rollbacking-new - creating new file system; create-failed - creation failed.

.
RegionName String <P>Region name

.
FileSystemId String

File system ID

.
Size Integer

Snapshot size

unit: MiB

.
AliveDay Integer <P>Retention duration days

.
Percent Integer <P>Snapshot progress percentage. 1 means 1%. value range: 1-100.

.
AppId Integer

Account ID.

.
DeleteTime String <P>Snapshot deletion time

.
FsName String <P>File system name

.
Tags Array of TagInfo <P>Snapshot tag.

.
SnapshotType String

Snapshot type. general indicates a snapshot of the general series. turbo indicates a snapshot of the turbo series.

.
Note: This field may return null, indicating that no valid values can be obtained.
SnapshotTime String <P>Snapshot time reflects the data of the corresponding file system at a certain moment.

.
Note: This field may return null, indicating that no valid values can be obtained.

SnapshotOperateLog

Snapshot operation log

Used by actions: DescribeSnapshotOperationLogs.

Name Type Description
Action String Operation type
CreateCfsSnapshot: create a snapshot.
DeleteCfsSnapshot: delete snapshot.
CreateCfsFileSystem: create a file system.
UpdateCfsSnapshotAttribute: update snapshot.
ActionTime String Operation time
ActionName String Operation name.
CreateCfsSnapshot
DeleteCfsSnapshot
CreateCfsFileSystem
UpdateCfsSnapshotAttribute
Operator String Operator uin.
Result Integer 1- task in progress; 2- task success; 3- task failure.

SnapshotStatistics

File system snapshot statistics

Used by actions: DescribeCfsSnapshotOverview.

Name Type Description
Region String Region
SnapshotNumber Integer Total number of snapshots
SnapshotSize Integer Total snapshot capacity in MiB.

TagInfo

Tag information unit

Used by actions: CreateAutoSnapshotPolicy, CreateCfsFileSystem, CreateCfsSnapshot, DescribeAutoSnapshotPolicies, DescribeCfsFileSystems, DescribeCfsSnapshots.

Name Type Required Description
TagKey String Yes Tag key
TagValue String Yes Tag value

TieringDetailInfo

The details about tiered storage.

Used by actions: DescribeCfsFileSystems.

Name Type Required Description
TieringSizeInBytes Integer No

Infrequent access storage capacity

measurement unit: Byte, B, Byte

.
SecondaryTieringSizeInBytes Integer No

Cold storage capacity

measurement unit: Byte, B, Byte

.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック