All Products
Search
Document Center

Hybrid Backup Recovery:DetachNasFileSystem

Last Updated:Nov 14, 2022

Deletes a mount target that is created by Hybrid Backup Recovery (HBR).

Operation Description

  • If the request is successful, the specified mount target is deleted.
  • After you create a backup plan for an Apsara File Storage NAS file system, HBR automatically creates a mount target for the file system. To delete the mount target, you must call this operation. If you move the point over the mount target in the Status column on the Mount Targets tab, a message appears. The message includes the following content: The mount target is created by an Alibaba Cloud service. You cannot perform an operation on the mount target. Service name: HBR.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
FileSystemIdstringYes

The ID of the file system.

005494
CreateTimestringYes

The time when the file system was created. The time must be in the UNIX format. Unit: seconds.

1607436917

Response parameters

ParameterTypeDescriptionExample
object

The response body.

Codestring

The HTTP status code. The status code 200 indicates that the request is successful.

200
Messagestring

The message that is returned. If the request is successful, a value of successful is returned. If the request fails, an error message is returned.

successful
RequestIdstring

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
TaskIdstring

The ID of Asynchronous task. You can obtain task results by calling DescribeTask.

t-*********************
Successboolean

Indicates whether the request is successful. Valid values:

  • true: indicates that the request is successful.
  • false: indicates that the request fails.
true

Example

Request example

http(s)://[Endpoint]/?Action=DetachNasFileSystem
&CreateTime=1607436917
&FileSystemId=005494
&<Common request parameters>

Normal return example

JSONFormat

{
  "Code": "200",
  "Message": "successful",
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
  "TaskId": "t-*********************",
  "Success": true
}

Error codes

For a list of error codes, visit the API error center.