调用CreateFileSystem接口创建NAS文件系统。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
OrderDetails | array<object> | 是 | 订单数组列表,列表里面元素为每个订单的详情。 | |
object | 是 | |||
OrderType | string | 是 | 订单类型,取值:BUY(购买)。 | BUY |
ChargeType | string | 是 | NAS 的计费方式。取值:
| PostPaid |
FileSystemName | string | 是 | 文件系统名称。 长度限制为 1-80 个字符,可包含字母、数字、“-”“_”字符。 | nasFile |
EnsRegionId | string | 是 | 节点 ID。 | cn-suzhou-telecom |
StorgeType | string | 是 | 存储类型,取值:
| capacity |
ProtocolType | string | 是 | 存储协议。取值:nfs。 | nfs |
NetworkId | string | 是 | VPC 网络的 ID 号。 | vpc-xxx |
MountTargetDomain | string | 是 | 挂载点名称。长度限制为 1-80 个字符,可包含字母、数字、“-”“_”字符。 | nasMount |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF",
"AllocationId": [
"{\"InstanceId\":\"e426409223\", \"EnsRegionId\":\"cn-chengdu-telecom-4\"}"
],
"BizStatusCode": "PartSuccess",
"UnAllocationId": [
"{\"InstanceId\":\"e4264066666\",\"EnsRegionId\":\"cn-hangzhou-26\"}"
]
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Parameter.Invalid.%s | The parameter %s is invalid.Please check your parameters and try it again. | - |
400 | Stock.NotEnough | The inventory of the specified zone is insufficient.Please contact the product. | 指定的可用区资源库存不足 |
400 | UserStatus.Abnormal | The user status is abnormal.Please contact the product. | 用户状态异常 |
400 | Service.NotOpen | You have not activated the service.Please activate the service first. | 尚未开通服务 |
400 | Order.CreateFailed | Failed to create order. Please check your parameters and try it again. | 订单创建失败 |
400 | SaleControl.VerificationFailed | You did not pass the salecontrol verification.Please contact the product. | 创建资源的时候没有通过资源的售卖约束校验 |
400 | NoPermission | Permission denied. | 没有足够的权限,请联系云账号管理员授予您相应权限。 |
400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | - |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史