tencent cloud

APIs

Data Types

Baixar
Modo Foco
Tamanho da Fonte
Última atualização: 2026-11-30 15:20:17

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 Associated File Systems
DayOfWeek String Day of the week for scheduled snapshot backups. This parameter is mutually exclusive with DayOfMonth and IntervalDays.
Hour String Hour for scheduled snapshot backups
IsActivated Integer Whether the scheduled snapshot feature is activated. 1 indicates activated; 0 indicates not activated.
NextActiveTime String Next snapshot trigger time
Status String Snapshot policy status. available indicates that the snapshot policy is in a normal state. This is the only status.
AppId Integer Account ID.
AliveDays Integer Retention period.
RegionName String Region.
FileSystems Array of FileSystemByPolicy File System Information
DayOfMonth String Day of the month for scheduled snapshot backups. This parameter is mutually exclusive with DayOfWeek and IntervalDays.
IntervalDays Integer Interval in days for scheduled snapshots. The parameter range is 1-365 days. This parameter is mutually exclusive with DayOfMonth and DayOfWeek.
CrossRegionsAliveDays Integer Retention period of cross-region snapshot replication, in days.
Tags Array of TagInfo Snapshot policy tag

AvailableProtoStatus

Version Control - Protocol Details

Used by actions: DescribeAvailableZoneInfo.

Name Type Description
SaleStatus String Sales status. The value can be sale_out, selling, or no_selling. Wherein, "sale_out" indicates Sold Out; "selling" indicates Available for Sale; "no_selling" indicates Not Available for Sale.
Protocol String Protocol type. Valid values: NFS, CIFS, and TURBO.

AvailableRegion

Version Control - Zone Array

Used by actions: DescribeAvailableZoneInfo.

Name Type Description
Region String Zone name, for example, ap-beijing
RegionName String Zone name, for example, bj
RegionStatus String Zone availability. When at least one availability zone in the zone is available for sale, the value is Available. Otherwise, it is Unavailable.
Zones Array of AvailableZone Availability Zone Array
RegionCnName String Zone name (Chinese), for example, Guangzhou

AvailableType

Version Control - Type Array

Used by actions: DescribeAvailableZoneInfo.

Name Type Description
Protocols Array of AvailableProtoStatus

Protocol and sale details

Type String

Storage type. In the response, SD indicates Standard storage, HP indicates High-Performance storage, TB indicates Standard Turbo storage, and TP indicates High-Performance Turbo storage.

Prepayment Boolean

Whether prepaid is supported. In the response, true indicates supported, and false indicates not supported.

Version String

File system version.

Valid values:

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

AvailableZone

Version Control - Availability Zone Array

Used by actions: DescribeAvailableZoneInfo.

Name Type Description
Zone String AZ name.
ZoneId Integer AZ ID.
ZoneCnName String AZ Chinese name.
Types Array of AvailableType Type Array
ZoneName String AZ name in Chinese and English.

BucketInfo

COS bucket

Used by actions: DescribeBucketList.

Name Type Description
Name String Bucket name
Region String Bucket region

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 management ID

DataFlowName String

Data flow name

SourceStorageType String

Source data type

SourceStorageAddress String

Source storage address

SourcePath String

Source path

TargetPath String

Target path in the file system specified when setting data flow. It must start with /cfs/ and represents a logical path inside the file storage instance, not a local mount point path.
Example:

  • If the CFS root directory / is mounted, and you need to map the source directory on object storage to test1/test2 under the mount path, the value of this parameter is /cfs/test1/test2.
  • If the CFS subdirectory /subdir is mounted, and you need to map the source directory on object storage to test1/test2 under the mount path, the value of this parameter is /cfs/subdir/test1/test2.
Status String

available: effective
pending: configuring
unavailable: ineffective
deleting: deleting

CreationTime String

Creation time.

FileSystemId String

File system ID

AutoRefresh Integer

0: Disable automatic update.

1: Enable automatic update.

UserKafkaTopic String

Topic parameter used by KafkaConsumer for consumption

ServerAddr String

Service address

UserName String

Kafka consumer username

AutoRefreshStatus String

Status of automatic refresh. available: effective
pending: configuring
unavailable: ineffective

AutoRefreshTime String

Time when automatic refresh is enabled

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 About File System Bound with 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 bytes.
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 ID of the Zone Where the File System Resides

FileSystemClient

File System Client Information

Used by actions: DescribeCfsFileSystemClients.

Name Type Description
CfsVip String File System IP Address
ClientIp String Client IP Address
VpcId String VPCID That File System Belongs to
Zone String AZ name, for example, ap-beijing-1. For more information, see Overview.
ZoneName String AZ Chinese name.
MountDirectory String Path Information About File System 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

Time when the lifecycle management policy was created.

LifecyclePolicyID String

Lifecycle management policy ID.

LifecyclePolicyName String

Lifecycle management policy name.

LifecycleRules Array of LifecycleRule

List of management rules associated with the lifecycle management policy.

Paths Array of PathInfo

List of absolute paths of directories associated with the lifecycle management policy.

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

CFS data migration task information

Used by actions: DescribeMigrationTasks.

Name Type Description
TaskName String

Migration task name.

TaskId String

Migration task ID.

MigrationType Integer

Migration mode flag. Default value: 0. 0: Bucket migration; 1: Inventory migration.

MigrationMode Integer

Migration mode. Default value: 0. 0: Full migration.

BucketName String

Data source bucket name.

BucketRegion String

Region of the data source bucket.

BucketAddress String

Data source bucket address.

ListAddress String

Inventory address.

FsName String

File system instance name

FileSystemId String

File system instance Id

FsPath String

Directory path in the file system. It does not involve the actual mounted subdirectory or root directory, and does not need to be prefixed with /cfs/.

CoverType Integer

Overwrite policy for files with the same name during migration. Default value: 0. 0: The file with the latest modification time takes precedence; 1: Full overwrite; 2: No overwrite.

CreateTime Integer

Creation time.

EndTime Integer

Completion/termination time.

Status Integer

Migration status. 0: Completed; 1: Creating; 2: Running; 3: Terminating; 4: Terminated; 5: Failed to create; 6: Failed to run; 7: Ending; 8: Deleting; 9: Pending.

FileTotalCount Integer

Number of files

FileMigratedCount Integer

Number of migrated files

FileFailedCount Integer

Number of files that failed to migrate

FileTotalSize Integer

File size, in bytes

FileMigratedSize Integer

Capacity of migrated files, in bytes

FileFailedSize Integer

Capacity of files that failed to migrate, in bytes

FileTotalList String

Full inventory.

FileCompletedList String

List of completed files.

FileFailedList String

List of failed files.

BucketPath String

Source bucket path

Direction Integer

Migration direction. 0: From COS to a file system; 1: From a file system to COS. Default value: 0.

SrcService String

Data source service provider.

Valid values:

  • COS: Tencent Cloud COS
  • OSS: Alibaba Cloud OSS
  • OBS: Huawei Cloud OBS
  • BOS: Baidu Cloud BOS
  • TOS: Volcano Engine TOS

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 target status. Creating: Creating; available: Running;
Deleting: Deleting;
create_failed: Failed to create.

NetworkInterface String

Network type. Valid values: VPC and CCN.

VpcId String

VPC ID

VpcName String

VPC name

SubnetId String

Subnet Id

SubnetName String

Subnet name.

CcnID String

CCN ID used by CFS Turbo

CidrBlock String

Subnet used by CFS Turbo in CCN

ServerList Array of String

List of occupied user IPs

ServerListTruncated Boolean

Whether more than 200 IPs are occupied

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

Permission Group Array

Used by actions: DescribeCfsPGroups.

Name Type Description
PGroupId String Permission group ID
Name String Permission group name
DescInfo String Description information
CDate String Creation time.
BindCfsNum Integer Number of Associated File Systems

PGroupRuleInfo

Permission Group Rule List

Used by actions: DescribeCfsRules.

Name Type Description
RuleId String Rule ID
AuthClientIp String Accessible Client IP
RWPermission String Read-write permissions. Wherein, "RO" indicates read-only and "RW" indicates read-write.
UserPermission String all_squash: All access users (including root users) are mapped to anonymous users or groups.
no_all_squash: All access users (including root users) retain their original UID/GID information.
root_squash: Maps root users to anonymous users or groups, while non-root users retain their original UID/GID information.
no_root_squash: The effect is the same as that of no_all_squash. All access users (including root users) retain their original UID/GID information.
Priority Integer Rule priority. The parameter range is 1–100. "1" indicates the highest and "100" indicates 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

Snapshot creation time.

SnapshotName String

Snapshot name.

SnapshotId String

Snapshot ID.

Status String

Snapshot status. creating: Creating; available: Running; deleting: Deleting; rollbacking-new: Creating a new file system; create-failed: Failed to create.

RegionName String

Region name.

FileSystemId String

File system ID

Size Integer

Snapshot size

Unit: MiB

AliveDay Integer

Retention period in days

Percent Integer

Snapshot progress in percentage. 1 indicates 1%. Value range: 1-100.

AppId Integer

Account ID

DeleteTime String

Snapshot deletion time.

FsName String

File system name

Tags Array of TagInfo

Snapshot tag

SnapshotType String

Snapshot type. General: General series snapshot; Turbo: Turbo series snapshot.

SnapshotTime String

Actual snapshot time, which reflects the data of the file system at a specific point in time.

FinishTime String

Snapshot completion time.

SnapshotOperateLog

Snapshot operation log

Used by actions: DescribeSnapshotOperationLogs.

Name Type Description
Action String Operation type
CreateCfsSnapshot: Creates a snapshot
DeleteCfsSnapshot: Deletes a snapshot
CreateCfsFileSystem: Creates a file system
UpdateCfsSnapshotAttribute: Updates a snapshot
ActionTime String Operation time.
ActionName String Operation name
CreateCfsSnapshot
DeleteCfsSnapshot
CreateCfsFileSystem
UpdateCfsSnapshotAttribute
Operator String Operator uin.
Result Integer 1-In progress; 2-Succeeded; 3-Failed.

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

.

Ajuda e Suporte

Esta página foi útil?

comentários