Updated on 2026-09-14 GMT+08:00

CLI Command Reference

Lifecycle Management

API Name

Command

Description

Operation

Deleting a File System

hcloud SFSTurbo DeleteShare

This API is used to delete a file system.

Go debug

Querying Details About a File System

hcloud SFSTurbo ShowShare

This API is used to query details about an SFS Turbo file system.

Go debug

Creating a File System

hcloud SFSTurbo CreateShare

This API is used to create a file system.

Go debug

Obtaining the File System List

hcloud SFSTurbo ListShares

This API is used to obtain the file system list.

Go debug

Expanding the Capacity of a File System

hcloud SFSTurbo ExpandShare

This API is used to expand the capacity of a file system.

Go debug

Connection Management

API Name

Command

Description

Operation

Changing the Security Group Associated with a File System

hcloud SFSTurbo ChangeSecurityGroup

This API is used to change the security group associated with an SFS Turbo file system. Security group change is an asynchronous task. You can check whether the security group is changed based on the value of sub_status returned after calling the API to query details of a file system. If value 232 is returned, the security group has been changed.

Go debug

Tag Management

API Name

Command

Description

Operation

Adding a Tag for a File System

hcloud SFSTurbo CreateSharedTag

This API is used to add a tag to a specified file system.

Go debug

Querying Tags of a File System

hcloud SFSTurbo ShowSharedTags

This API is used to query all tags of a specified file system.

Go debug

Deleting a Tag of a File System

hcloud SFSTurbo DeleteSharedTag

This API is used to delete a tag of a specified file system. If the key to be deleted does not exist, error 404 will be returned.

Go debug

Batch Adding Tags to a File System

hcloud SFSTurbo BatchAddSharedTags

This API is used to batch add tags for a specified file system.

Go debug

Querying Tags of All File Systems of a Tenant

hcloud SFSTurbo ListSharedTags

This API is used to query the tags of all file systems of a tenant.

Go debug

Querying the File System List by Tag

hcloud SFSTurbo ListSharesByTag

Querying the File System List by Tag.

Go debug

Name Management

API Name

Command

Description

Operation

Changing the Name of a File System

hcloud SFSTurbo ChangeShareName

This API is used to change the name of an SFS Turbo file system.

Go debug

File System Management

API Name

Command

Description

Operation

Obtaining IP Addresses of the Clients Who Have Mounted the File System

hcloud SFSTurbo ShowClientIpInfo

This API is used to obtain the IP addresses of the clients who have mounted the file system.

Go debug

Creating an Asynchronous Task for a File System

hcloud SFSTurbo CreateFsTask

This API is used to create an asynchronous task for a file system. Only tasks for querying directory usage can be created. Such tasks are also referred to as DU tasks. The value of feature in the API request path is dir-usage.

Go debug

Obtaining Asynchronous Tasks of a File System

hcloud SFSTurbo ListFsTasks

This API is used to obtain the asynchronous tasks of a file system. Only tasks for querying directory usage can be obtained. Such tasks are also referred to as DU tasks. The value of feature in the API request path is dir-usage.

Go debug

Obtaining Details About a File System Asynchronous Task

hcloud SFSTurbo ShowFsTask

This API is used to obtain details about a file system asynchronous task. Only tasks for querying directory usage can be obtained. Such tasks are also referred to as DU tasks. The value of feature in the API request path is dir-usage.

Go debug

Canceling or Deleting an Asynchronous Task of a File System

hcloud SFSTurbo DeleteFsTask

If the asynchronous task is being executed, this API is used to cancel and then delete the task. Otherwise, this API is used to delete the task. Only tasks for querying directory usage can be deleted. Such tasks are also referred to as DU tasks. The value of feature in the API request path is dir-usage.

Go debug

Storage Interworking Management

API Name

Command

Description

Operation

Updating a File System

hcloud SFSTurbo UpdateHpcShare

This API is used to update the cold data eviction period of a file system.

Go debug

Adding a Backend Target

hcloud SFSTurbo CreateBackendTarget

This API is used to add a storage backend for an SFS Turbo file system.

Go debug

Querying Backend Targets

hcloud SFSTurbo ListBackendTargets

This API is used to query backend targets of a file system.

Go debug

Obtaining Details About a Backend Target

hcloud SFSTurbo ShowBackendTargetInfo

This API is used to obtain details about a backend target.

Go debug

Deleting a Backend Target

hcloud SFSTurbo DeleteBackendTarget

This API is used to delete a backend target.

Go debug

Updating the Properties of a Storage Backend

hcloud SFSTurbo UpdateObsTargetAttributes

This API is used to update the properties of a storage backend.

Go debug

Updating the Auto Synchronization Policy of a Storage Backend

hcloud SFSTurbo UpdateObsTargetPolicy

This API is used to update the auto synchronization policy of a storage backend.

Go debug

Creating an Import or Export Task

hcloud SFSTurbo CreateHpcCacheTask

This API is used to create an import or export task.

Go debug

Querying Details About an Import or Export Task

hcloud SFSTurbo ShowHpcCacheTask

This API is used to query details about an import or export task.

Go debug

Deleting an Import or Export Task

hcloud SFSTurbo DeleteHpcCacheTask

This API is used to delete an import or export task.

Go debug

Listing Import and Export Tasks

hcloud SFSTurbo ListHpcCacheTasks

This API is used to list import and export tasks.

Go debug

Directory Management

API Name

Command

Description

Operation

Querying the Usage of a File System Directory

hcloud SFSTurbo ShowFsDirUsage

This API is used to query the usage of a file system directory (including usages of subdirectories). The obtained data may not be the latest as there is a 5-minute delay between the frontend and backend.

Go debug

Creating Quotas for a Directory

hcloud SFSTurbo CreateFsDirQuota

This API is used to create quotas for a directory.

Go debug

Updating Quotas of a Directory

hcloud SFSTurbo UpdateFsDirQuota

This API is used to update quotas of a directory.

Go debug

Querying Quotas of a Directory

hcloud SFSTurbo ShowFsDirQuota

This API is used to update quotas of a directory. The used_capacity and used_inode obtained may not be the latest.

Go debug

Deleting Quotas of a Directory

hcloud SFSTurbo DeleteFsDirQuota

This API is used to delete quotas of a directory.

Go debug

Creating a Directory

hcloud SFSTurbo CreateFsDir

This API is used to create a directory.

Go debug

Checking Whether a Directory Exists

hcloud SFSTurbo ShowFsDir

This API is used to query whether a directory exists.

Go debug

Deleting a Directory

hcloud SFSTurbo DeleteFsDir

This API is used to delete a directory.

Go debug

Permissions Management

API Name

Command

Description

Operation

Creating a Permission Rule

hcloud SFSTurbo CreatePermRule

This API is used to create a permission rule.

Go debug

Querying Permission Rules of a File System

hcloud SFSTurbo ListPermRules

This API is used to query the permission rules of a file system.

Go debug

Querying a Permission Rule of a File System

hcloud SFSTurbo ShowPermRule

This API is used to query a specific permission rule of a file system.

Go debug

Modifying a Permission Rule

hcloud SFSTurbo UpdatePermRule

This API is used to modify a permission rule.

Go debug

Deleting a Permissions Rule

hcloud SFSTurbo DeletePermRule

This API is used to delete a permission rule.

Go debug

Creating and Binding the LDAP Configuration

hcloud SFSTurbo CreateLdapConfig

This API is used to bind to an LDAP server.

Go debug

Querying the LDAP Configuration

hcloud SFSTurbo ShowLdapConfig

This API is used to query the LDAP configuration.

Go debug

Modifying the LDAP Configuration

hcloud SFSTurbo UpdateLdapConfig

This API is used to modify the LDAP configuration.

Go debug

Deleting the LDAP Configuration

hcloud SFSTurbo DeleteLdapConfig

This API is used to delete the LDAP configuration.

Go debug

Joining an AD Domain

hcloud SFSTurbo AddActiveDirectoryDomain

This API is used to add a file system to an AD domain. Active Directory Domain Services (AD DS) is a directory service that provides unified identity and permissions management through domain networks. By adding an SFS Turbo file system to an AD domain, you can easily authenticate and manage user identities and control file permissions in that domain.

Go debug

Querying the AD Domain Configuration

hcloud SFSTurbo ShowActiveDirectoryDomain

This API is used to query the AD domain configuration. AD DS is a directory service that provides unified identity and permissions management through domain networks. By adding an SFS Turbo file system to an AD domain, you can easily authenticate and manage user identities and control file permissions in that domain.

Go debug

Modifying the AD Domain Configuration

hcloud SFSTurbo UpdateActiveDirectoryDomain

This API is used to modify the AD domain configuration. AD DS is a directory service that provides unified identity and permissions management through domain networks. By adding an SFS Turbo file system to an AD domain, you can easily authenticate and manage user identities and control file permissions in that domain.

Go debug

Leaving the AD Domain

hcloud SFSTurbo DeleteActiveDirectoryDomain

This API is used to remove a file system from an AD domain. AD DS is a directory service that provides unified identity and permissions management through domain networks. By adding an SFS Turbo file system to an AD domain, you can easily authenticate and manage user identities and control file permissions in that domain.

Go debug

Task Management

API Name

Command

Description

Operation

Querying Details About a Task

hcloud SFSTurbo ShowJobDetail

This API is used to query the execution status of an SFS Turbo asynchronous task. For example, you can query the task execution status using the jobId returned after you call the API for creating and binding the LDAP configuration.

Go debug

Tenant Quota Management

API Name

Command

Description

Operation

Querying Tenant Quotas

hcloud SFSTurbo ShowQuota

Querying tenant quotas.

Go debug