Melakukan pemeriksaan awal pada sumber daya yang diperlukan untuk membuat instans Database Apsara untuk SelectDB.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
selectdb:CheckCreateDBInstance |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-4690g37929**** |
| ClientToken |
string |
No |
Token yang dihasilkan klien yang digunakan untuk memastikan idempotensi permintaan. Token harus unik di antara permintaan yang berbeda. Token dapat memiliki panjang hingga 64 karakter ASCII dan tidak boleh mengandung karakter non-ASCII. |
AB |
| Engine |
string |
No |
Tipe mesin database. |
SelectDB |
| EngineVersion |
string |
Yes |
Versi mesin database. |
3.0 |
| ChargeType |
string |
Yes |
Metode penagihan instans. Nilai valid:
|
PrePaid |
| UsedTime |
integer |
No |
Durasi langganan. Nilai valid:
Catatan
Parameter ini wajib dan hanya berlaku ketika ChargeType diatur ke Prepaid. |
1 |
| Period |
string |
No |
Unit durasi langganan. Nilai valid:
Catatan
Parameter ini wajib dan hanya berlaku ketika ChargeType diatur ke Prepaid. |
Month |
| DBInstanceClass |
string |
Yes |
Tipe instans. Nilai valid:
Valid values:
|
selectdb.xlarge |
| RegionId |
string |
Yes |
ID Wilayah. |
cn-hangzhou |
| ZoneId |
string |
Yes |
ID zona. |
cn-hangzhou-i |
| CacheSize |
integer |
Yes |
Ukuran cache yang dicadangkan, dalam GB. |
200 |
| VpcId |
string |
Yes |
ID VPC. |
vpc-bp175iuvg8nxqraf2**** |
| VSwitchId |
string |
Yes |
ID vSwitch. |
vsw-bp1gzt31twhlo0sa5**** |
| DBInstanceDescription |
string |
No |
Deskripsi instans. |
新建实例测试 |
| ConnectionString |
string |
No |
String koneksi instans. |
selectdb-cn-7213c8y****-public.selectdbfe.pre.rds.aliyuncs.com |
| SecurityIPList |
string |
No |
Daftar putih alamat IP untuk instans. Pisahkan beberapa alamat IP dengan koma (,). |
172.16.XX.XX/12,192.168.XX.XX/22 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
ADF42B18-43FD-5100-83A9-BE81AB70C863 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "ADF42B18-43FD-5100-83A9-BE81AB70C863"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DocumentConvertFailed.ExceedFileSizeLimit | The conversion has been failed, exceed file size limit. | |
| 400 | Forbidden | User not authorized to operate on the specified resource, or this API does not support RAM. | |
| 400 | InvalidDBName | The specified database name is not allowed. | |
| 400 | CreateOrderFailed | Failed to create order. | |
| 403 | DBClusterNotSupported | The requested operation can not be performed while the cluster is not sale. | |
| 403 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | |
| 403 | InstanceEngineType.NotSupport | The instance engine and type does not support operations. | |
| 403 | InvalidDBInstanceState.NotSupport | The specified instance state does't support this operation. | |
| 403 | MoneyLessThan100 | The Account Monet less Than 100. | |
| 403 | OperationDenied.DBNameAndAccountPrivilegeCount | The operation is not permitted due to count of database or account privilege. | |
| 403 | InsufficientResourceCapacity | The resource is out of usage. | |
| 403 | OperationDenied.SpecificClassCodeNotSupported | The uid is not in specific classcode whitelist. | |
| 404 | DBInstanceLocked | The current instance lock mode does not support this operation. | |
| 404 | IncorrectVswitchId | The specified parameter VSwitchId is not valid. | |
| 404 | InvalidApi.NotFound | Specified api is not found, please check your url and method. | |
| 404 | InvalidDBInstance.NotFound | The specified instance is not found. | |
| 404 | InvalidDBInstanceClass.NotFound | The specified instance classic does not exist. | |
| 404 | InvalidRegionId.NotFound | The provided RegionId does not exist in our records. | |
| 404 | QueryPrice.Failed | The inquiry failed. Contact Alibaba Cloud customer service representatives. | |
| 404 | InvalidVPC.NotFound | VPC or VSwitch is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.