You need to enable JavaScript to run this app.
导航
ExpandFileSystem - 扩容文件系统
最近更新时间:2025.04.27 17:14:17首次发布时间:2023.07.10 11:11:52
我的收藏
有用
有用
无用
无用

调用 ExpandFileSystem 接口扩容极速型文件系统。

调试

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

参数
类型
是否必填
示例值
描述
Action
String

ExpandFileSystem

要执行的操作,取值:ExpandFileSystem。

Version
String

2022-01-01

API的版本,取值:2022-01-01。

FileSystemId
String

enas-cnbja8cecb87****

需要扩容的文件系统 ID。

Capacity
Integer

100

扩容后的文件系统容量,单位为 GiB。

说明

文件系统的规格说明,请参见产品规格

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构

参数
类型
示例值
描述
OrderNo
String

Order705488740677732****

返回的订单号。

请求示例

POST /?Action=ExpandFileSystem&Version=2022-01-01 HTTP/1.1
Host: filenas.volcengineapi.com
Authorization: HMAC-SHA256 Credential=AKLTOGJhY2E1NTdkZGFmNDg0Yjk0ZDFiNjE5Y2NjZjI****/20230907/cn-beijing/filenas/request, SignedHeaders=host;x-date;x-content-sha256;content-type, Signature=7f1119a75111535b1d6e7929700f22e1474af0fb4fe26c59f5ac5cdba0cc****
Content-Type: application/json; charset=utf-8
X-Content-Sha256: 567112abe45bd6a09504fd244237f14c0ba120491da0d35097afd54d87bd****
X-Date: 20230907T124910Z
{
    "FileSystemId": "enas-cnbja8cecb87****",
    "Capacity": 200
}

返回示例

{
    "ResponseMetadata":{
        "RequestId":"92983677-0255-4ea0-a084-0b5e45a093e3",
        "Action":"ExpandFileSystem",
        "Version":"2022-01-01",
        "Service":"FileNAS",
        "Region":"cn-beijing"
    },
    "Result":{
        "OrderNo":"Order700729993688051****"
    }
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

状态码
错误码
错误信息
说明
400
InvalidParameter

The specified parameter format is invalid.

参数格式无效。

400
MissingParameter.FileSystemId

The required parameter FileSystemId is not supplied.

文件系统 ID 不能为空。

400
MissingParameter.Capacity

The required parameter Capacity is not supplied.

参数Capacity不能为空。

400
InvalidParameter.Capacity

The specified parameter Capacity is invalid.

参数Capacity不合法。

400
BillingError.AccountInArrears

Your account is in arrears, please recharge first.

您的账户已欠费,无法开通此服务!请前往账户充值。

400
BillingError.BalanceNotEnough

Your account balance and available vouchers are less than 100CNY, please recharge first.

您的账户余额及可用代金券共不足100元,无法开通此服务!请前往账户充值。

400
LimitExceeded.Capacity

The specified Capacity exceeds the limit.

指定的文件系统容量不在合法范围内。

400
QuotaExceeded.FileSystemCapacity

You have reached the limit on the number of FileSystemCapacity, please submit ticket to request an increase in quota.

文件系统容量达到配额上限,请先在配额中心提交申请。

403
OperationDenied.FileSystemUnhealthy

The specified FileSystem is unhealthy.

文件系统非健康状态。

423
OperationDenied.FileSystemBusy

The specified FileSystem is busy.

文件系统繁忙。

500
InternalError

An internal error has occurred.

内部错误。