createBlockStorageInstance
- 印刷する
- PDF
createBlockStorageInstance
- 印刷する
- PDF
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
概要
ブロックストレージのインスタンスを作成します。
リクエスト
リクエストパラメータ
パラメータ名 | 必須 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
blockStorageName | No | String | Min : 3, Max : 30 | 作成するブロックストレージ名 Default : NAVER クラウドプラットフォームで基本値に設定します。 |
blockStorageSize | Yes | Long | Min : 10, Max : 2000 | 作成するブロックストレージサイズ 必須項目であり、10GB単位で入力可能、最大2000GBまでに入力できます。 |
blockStorageDescription | No | String | Min : 10, Max : 1000 | 作成するブロックストレージに対する説明 |
serverInstanceNo | Yes | String | Attachするサーバインスタンス番号 getServerInstanceListアクションを通じてサーバインスタンス番号を取得できます。 | |
diskDetailTypeCode | Yes | String | ディスクタイプ詳細コード Options : HDD | SSD Default : HDD |
レスポンス
レスポンスボディ
例示
リクエスト例示
レスポンス例示
エラーコード
以下のエラーコードは、このアクション(Action)で特徴的に発生するエラーです。共通的に発生するエラーに対する詳細な説明は NAVER Cloud Platform APIをご参考ください。
HTTP Response Code | リターンコード | リターンメッセージ |
---|---|---|
400 | 10300 | Instance name is already in use. please use other name. |
400 | 10708 | Server shall not be beyond {0}G2. |
400 | 10713 | Not found contract information. Please check your input parameter. |
400 | 10723 | Additional storage is not available for Micro Server. |
400 | 23001 | Unable to allocate more than {0} storages (included default storage) to the corresponding Linux server. |
400 | 23002 | Unable to allocate more than {0} storages (included default storage) to the corresponding Windows server. |
400 | 24100 | Input parameter value is invalid. The value of the storage size must be a integer greater than zero. |
400 | 24101 | Input parameter value is invalid. The minimum value of the storage size is 10 GB and the maximum, 1 T2. |
400 | 24102 | Input parameter value is invalid. The value of storage size must be a multiple of 10 G2. |
400 | 24103 | Input parameter value is invalid. The minimum length of the name is 3 bytes and the maximum, 30 bytes. |
400 | 24105 | Input parameter value is invalid. The name must contain only lower case letters, digits, and hyphen('-'); it must start with a letter and end with a letter or digit. |
400 | 24109 | The input parameter instance number is invalid. |
400 | 24120 | The input parameter server instance number is invalid. |
400 | 24300 | The length constraints of the parameter description (memo) were violated. The minimum length is 0 byte, the maximum, 1,000 bytes. |
400 | 25005 | Unable to perform allocation command since (other) user is either operating the target server which is to be allocated with storage or an error in target server. |
この記事は役に立ちましたか?