调用DeleteFileSystem删除NAS服务。
接口说明
删除 NAS 文件系统。删除前必须先调用 DeleteMountTarget 删除该文件系统的全部挂载点;DeleteMountTarget 成功后存在最终一致性窗口,请通过 DescribeFileSystems 轮询确认 MountTargets 为空,再调用本 API。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ens:DeleteFileSystem |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| EnsRegionId |
string |
是 |
节点 ID。 |
cn-chengdu-telecom-4 |
| FileSystemId |
string |
是 |
要删除的文件系统 ID。 |
e42640**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
4EC47282-1B74-4534-BD0E-403F3EE64CAF |
示例
正常返回示例
JSON格式
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Instance.NotFound | The instance was not found.Please confirm whether the instance exists. | 未找到要删除的实例 |
| 400 | Parameter.Invalid | The parameter is invalid.Please check your parameters and try it again. | |
| 400 | Nas.Mount.Tatget.Entity.Not.Null | There are still mount points under the file system.Please delete the mount point first | 文件系统下面仍然有挂载点未删除 |
| 400 | Interface.Call.Error | The interface call error | 接口调用出错 |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?