ApsaraDB for SelectDB インスタンスを作成します。
操作説明
サブスクリプションインスタンスは削除できません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
selectdb:CreateDBInstance |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ResourceGroupId |
string |
任意 |
リソースグループ ID。 |
rg-aekzt2zaluvuvqa_fake |
| ClientToken |
string |
任意 |
リクエストのべき等性を確保し、重複送信を防止するために使用されるクライアントトークン。値はクライアントによって生成され、異なるリクエスト間で一意である必要があり、最大 64 文字の ASCII 文字を含めることができ、非 ASCII 文字は含めることができません。 |
AB |
| Engine |
string |
任意 |
データベースタイプ。デフォルト値: selectdb。 |
selectdb |
| EngineVersion |
string |
必須 |
データベースエンジンのバージョン。デフォルト値: 4.1。有効な値:
|
4.1 |
| ChargeType |
string |
必須 |
インスタンスの課金方法。有効な値:
|
PrePaid |
| UsedTime |
integer |
任意 |
インスタンスのサブスクリプション期間。有効な値:
説明
このパラメーターは、ChargeType が Prepaid に設定されている場合にのみ有効になり、必須です。 |
1 |
| Period |
string |
任意 |
サブスクリプションクラスターのサブスクリプション期間の単位。有効な値:
説明
このパラメーターは、ChargeType が Prepaid に設定されている場合にのみ有効になり、必須です。 |
Month |
| DBInstanceClass |
string |
必須 |
インスタンスの仕様。 DescribeAllDBInstanceClass 操作を呼び出して、利用可能なインスタンスの仕様をクエリできます。 |
selectdb.xlarge |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| ZoneId |
string |
必須 |
ゾーン ID。 |
cn-hangzhou-e |
| CacheSize |
integer |
必須 |
予約キャッシュサイズ。 |
200GB |
| VpcId |
string |
必須 |
VPC ID。 |
vpc-bp175iuvg8nxqraf2**** |
| VSwitchId |
string |
必須 |
vSwitch ID。 |
vsw-bp1gzt31twhlo0sa5**** |
| DBInstanceDescription |
string |
任意 |
インスタンスの説明。 |
新建实例测试 |
| ConnectionString |
string |
任意 |
データベースエンドポイント。 |
selectdb-cn-7213c8y****-public.selectdbfe.pre.rds.aliyuncs.com |
| SecurityIPList |
string |
任意 |
インスタンスの IP アドレスホワイトリスト。複数の IP アドレスはコンマ (,) で区切ります。 |
192.168.1.1 |
| Tag |
array<object> |
任意 |
インスタンスタグのリスト。 |
|
|
object |
任意 |
インスタンスタグのリスト。 |
||
| Key |
string |
任意 |
タグキー。 |
testKey |
| Value |
string |
任意 |
タグ値。 |
testValue |
| DeployScheme |
string |
任意 |
インスタンスのデプロイモード。 |
single_az |
| MultiZone |
array<object> |
任意 |
マルチゾーン構成。 説明
|
|
|
object |
任意 |
ゾーンのリスト。 |
||
| ZoneId |
string |
任意 |
ゾーン ID。 |
cn-hangzhou-k |
| VSwitchIds |
array |
任意 |
vSwitch ID のリスト。 |
|
|
string |
任意 |
vSwitch ID。 |
vsw-bp10dbralpn4bzmgkkh8f |
|
| AddVPCIPs |
string |
任意 |
VPC CIDR ブロックをホワイトリストに追加するかどうかを指定します。有効な値:
|
1 |
| ClusterNodeType |
string |
任意 |
||
| ClusterNodeCount |
integer |
任意 |
||
| ScaleMax |
number |
任意 |
||
| ScaleMin |
number |
任意 |
||
| ConfigPatternType |
string |
任意 |
インスタンスに適用される構成テンプレート。 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスのスキーマ。 |
||
| RequestId |
string |
リクエスト ID。 |
4773E4EC-025D-509F-AEA9-D53123FDFB0F |
| Data |
object |
返されたデータ。 |
|
| DBInstanceId |
string |
インスタンス ID。 |
selectdb-cn-7213cjv**** |
| OrderId |
integer |
注文 ID。 |
21137950671**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "4773E4EC-025D-509F-AEA9-D53123FDFB0F",
"Data": {
"DBInstanceId": "selectdb-cn-7213cjv****",
"OrderId": 0
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | COMMODITY.INVALID_COMPONENT | Order configuration parameters do not meet the verification conditions, please re-match the product. | |
| 400 | DocumentConvertFailed.ExceedFileSizeLimit | The conversion has been failed, exceed file size limit. | 日文说明1 |
| 400 | Forbidden | User not authorized to operate on the specified resource, or this API does not support RAM. | 日文说明1 |
| 400 | InvalidDBName | The specified database name is not allowed. | 日文说明1 |
| 400 | CreateOrderFailed | Failed to create order. | 注文の作成に失敗しました。 |
| 400 | InvalidVSwitchId.Malformed | The specified parameter "VSwitchId" is not valid. | |
| 400 | InvalidMultiZone.NotThreeZones | The number of zones must be three. | |
| 400 | InvalidZoneId.Duplicated | The zones cannot be repeated please select different zones. | |
| 400 | EngineVersionDoNotSupportMultiZone | The specified engine version doesn't support multi zone. | |
| 400 | InvalidChargeType.Malformed | The specified parameter "ChargeType" is not valid. | |
| 400 | InvalidBuyConfigCpuOrCacheSize | The specified purchase configuration CPU or cache size is invalid. | |
| 400 | InvalidZoneId.Malformed | The specified parameter "ZoneId" is not valid. | |
| 400 | InvalidVpcId.Malformed | The specified parameter "VpcId" is not valid. | |
| 400 | ORDER.INST_HAS_UNPAID_ORDER | Instance has unpaid order. | |
| 400 | OperationDenied.OrderProcessing | There are orders in process. | |
| 400 | InvalidInstanceClass.MultiAZ | The instance with 4-core BE cluster does not support multi-zone redundancy. | 4 CPU 的 BE 集群不支持多可用区同城冗余。 |
| 403 | DBClusterNotSupported | The requested operation can not be performed while the cluster is not sale. | 日文说明1 |
| 403 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | 日文说明1 |
| 403 | InstanceEngineType.NotSupport | The instance engine and type does not support operations. | 日文说明1 |
| 403 | InvalidDBInstanceState.NotSupport | The specified instance state does't support this operation. | 日文说明1 |
| 403 | MoneyLessThan100 | The Account Monet less Than 100. | 日文说明1 |
| 403 | OperationDenied.DBNameAndAccountPrivilegeCount | The operation is not permitted due to count of database or account privilege. | 日文说明1 |
| 403 | InsufficientResourceCapacity | The resource is out of usage. | リソースが不足しています。しばらくしてからやり直してください。 |
| 403 | INSUFFICIENT_AVAILABLE_QUOTA | Your account available limit is less than 0, please recharge before trying to purchase. | |
| 403 | OperationDenied.SpecificClassCodeNotSupported | The uid is not in specific classcode whitelist. | |
| 404 | DBInstanceLocked | The current instance lock mode does not support this operation. | 日文说明1 |
| 404 | IncorrectVswitchId | The specified parameter VSwitchId is not valid. | 日文说明1 |
| 404 | InvalidApi.NotFound | Specified api is not found, please check your url and method. | |
| 404 | InvalidDBInstance.NotFound | The specified instance is not found. | 日文说明1 |
| 404 | InvalidDBInstanceClass.NotFound | The specified instance classic does not exist. | 日文说明1 |
| 404 | InvalidRegionId.NotFound | The provided RegionId does not exist in our records. | 日文说明1 |
| 404 | QueryPrice.Failed | The inquiry failed. Contact Alibaba Cloud customer service representatives. | 日文说明1 |
| 404 | InvalidVSwitch.NoIP | VSwitch has zero available IP. | |
| 404 | InvalidDBClusterClass.NotFound | The specified cluster class does not exist. | |
| 404 | InvalidVPC.NotFound | VPC or VSwitch is not valid. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。