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. | |
| Querying Details About a File System | hcloud SFSTurbo ShowShare | This API is used to query details about an SFS Turbo file system. | |
| Creating a File System | hcloud SFSTurbo CreateShare | This API is used to create a file system. | |
| Obtaining the File System List | hcloud SFSTurbo ListShares | This API is used to obtain the file system list. | |
| Expanding the Capacity of a File System | hcloud SFSTurbo ExpandShare | This API is used to expand the capacity of a file system. |
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. |
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. | |
| Querying Tags of a File System | hcloud SFSTurbo ShowSharedTags | This API is used to query all tags of a specified file system. | |
| 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. | |
| Batch Adding Tags to a File System | hcloud SFSTurbo BatchAddSharedTags | This API is used to batch add tags for a specified file system. | |
| 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. | |
| Querying the File System List by Tag | hcloud SFSTurbo ListSharesByTag | Querying the File System List by Tag. |
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. |
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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. |
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. | |
| Adding a Backend Target | hcloud SFSTurbo CreateBackendTarget | This API is used to add a storage backend for an SFS Turbo file system. | |
| Querying Backend Targets | hcloud SFSTurbo ListBackendTargets | This API is used to query backend targets of a file system. | |
| Obtaining Details About a Backend Target | hcloud SFSTurbo ShowBackendTargetInfo | This API is used to obtain details about a backend target. | |
| Deleting a Backend Target | hcloud SFSTurbo DeleteBackendTarget | This API is used to delete a backend target. | |
| Updating the Properties of a Storage Backend | hcloud SFSTurbo UpdateObsTargetAttributes | This API is used to update the properties of a storage backend. | |
| 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. | |
| Creating an Import or Export Task | hcloud SFSTurbo CreateHpcCacheTask | This API is used to create an import or export task. | |
| Querying Details About an Import or Export Task | hcloud SFSTurbo ShowHpcCacheTask | This API is used to query details about an import or export task. | |
| Deleting an Import or Export Task | hcloud SFSTurbo DeleteHpcCacheTask | This API is used to delete an import or export task. | |
| Listing Import and Export Tasks | hcloud SFSTurbo ListHpcCacheTasks | This API is used to list import and export tasks. |
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. | |
| Creating Quotas for a Directory | hcloud SFSTurbo CreateFsDirQuota | This API is used to create quotas for a directory. | |
| Updating Quotas of a Directory | hcloud SFSTurbo UpdateFsDirQuota | This API is used to update quotas of a directory. | |
| 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. | |
| Deleting Quotas of a Directory | hcloud SFSTurbo DeleteFsDirQuota | This API is used to delete quotas of a directory. | |
| Creating a Directory | hcloud SFSTurbo CreateFsDir | This API is used to create a directory. | |
| Checking Whether a Directory Exists | hcloud SFSTurbo ShowFsDir | This API is used to query whether a directory exists. | |
| Deleting a Directory | hcloud SFSTurbo DeleteFsDir | This API is used to delete a directory. |
Permissions Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating a Permission Rule | hcloud SFSTurbo CreatePermRule | This API is used to create a permission rule. | |
| Querying Permission Rules of a File System | hcloud SFSTurbo ListPermRules | This API is used to query the permission rules of a file system. | |
| 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. | |
| Modifying a Permission Rule | hcloud SFSTurbo UpdatePermRule | This API is used to modify a permission rule. | |
| Deleting a Permissions Rule | hcloud SFSTurbo DeletePermRule | This API is used to delete a permission rule. | |
| Creating and Binding the LDAP Configuration | hcloud SFSTurbo CreateLdapConfig | This API is used to bind to an LDAP server. | |
| Querying the LDAP Configuration | hcloud SFSTurbo ShowLdapConfig | This API is used to query the LDAP configuration. | |
| Modifying the LDAP Configuration | hcloud SFSTurbo UpdateLdapConfig | This API is used to modify the LDAP configuration. | |
| Deleting the LDAP Configuration | hcloud SFSTurbo DeleteLdapConfig | This API is used to delete the LDAP configuration. | |
| 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. | |
| 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. | |
| 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. | |
| 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. |
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. |
Tenant Quota Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Tenant Quotas | hcloud SFSTurbo ShowQuota | Querying tenant quotas. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot