CreateFileSystem API を呼び出して、Apsara File Storage NAS のファイルシステムを作成します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ens:CreateFileSystem |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| OrderDetails |
array<object> |
必須 |
各注文の詳細を含むオブジェクトの配列です。 |
|
|
object |
必須 |
|||
| OrderType |
string |
必須 |
注文タイプ。有効な値は |
BUY |
| ChargeType |
string |
必須 |
Apsara File Storage NAS の課金方法。有効な値は以下のとおりです。
|
PostPaid |
| FileSystemName |
string |
必須 |
ファイルシステムの名前。長さは 1~80 文字で、英字、数字、ハイフン (-)、およびアンダースコア (_) のみ使用できます。 |
nasFile |
| EnsRegionId |
string |
必須 |
ノードの ID。 |
cn-suzhou-telecom |
| StorgeType |
string |
必須 |
ストレージタイプ。有効な値は以下のとおりです。
|
capacity |
| ProtocolType |
string |
必須 |
ストレージプロトコル。有効な値は 列挙値:
|
nfs |
| NetworkId |
string |
必須 |
仮想プライベートクラウド (VPC) の ID。 |
vpc-xxx |
| MountTargetDomain |
string |
必須 |
マウントポイントの名前。長さは 1~80 文字で、英字、数字、ハイフン (-)、およびアンダースコア (_) のみ使用できます。 |
nasMount |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答データ。 |
||
| RequestId |
string |
リクエスト ID。 |
4EC47282-1B74-4534-BD0E-403F3EE64CAF |
| AllocationId |
array |
正常に作成されたファイルシステム。 |
|
|
string |
|
{"InstanceId":"e426409223", "EnsRegionId":"cn-chengdu-telecom-4"} |
|
| BizStatusCode |
string |
ビジネス状態コード。有効な値は以下のとおりです。
|
PartSuccess |
| UnAllocationId |
array |
作成に失敗したファイルシステム。 |
|
|
string |
|
{"InstanceId":"e4264066666","EnsRegionId":"cn-hangzhou-26"} |
|
| AllocationIds |
array<object> |
||
|
object |
|||
| EnsRegionId |
string |
||
| InstanceId |
string |
例
成功レスポンス
JSONJSON
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF",
"AllocationId": [
"{\"InstanceId\":\"e426409223\", \"EnsRegionId\":\"cn-chengdu-telecom-4\"}"
],
"BizStatusCode": "PartSuccess",
"UnAllocationId": [
"{\"InstanceId\":\"e4264066666\",\"EnsRegionId\":\"cn-hangzhou-26\"}"
],
"AllocationIds": [
{
"EnsRegionId": "",
"InstanceId": ""
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。