Bir örneğe bağlantıyı test eder.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:TestInstanceConnection |
none |
*All resources.
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceResourceId |
string |
No |
Alibaba Cloud veritabanı örneğinin kimliği. |
rm-bp1p**** |
| DbType |
string |
No |
Veritabanı türü. Geçerli değerler için DbType parametre açıklaması bölümüne bakın. |
polardb |
| Region |
string |
No |
Örneğin bölge kimliği. |
cn-hangzhou |
| Account |
string |
No |
Hesabın adı. |
1878076129455271 |
| Password |
string |
No |
Veritabanı parolası. |
****** |
| Id |
string |
No |
Örneğin kimliği. |
24*** |
| InstanceSource |
string |
No |
Örneğin kaynağı. |
RDS |
| Host |
string |
No |
Örneğin bağlantı uç noktası. |
xxx.mysql.rds.aliyuncs.com |
| Port |
string |
No |
Veritabanının bağlantı noktası. |
3306 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ErrorCode |
string |
İstek sırasında bir istisna oluşursa döndürülen hata kodu. |
UnknownError |
| ErrorMessage |
string |
Çağrı başarısız olursa döndürülen hata mesajı. |
Specified parameter PageSize is not valid. |
| PingResult |
object |
Döndürülen sonuç. |
|
| ErrorType |
string |
Hata türü. |
ACCESS_DENIED |
| Message |
string |
Çalıştırma başarısız olursa döndürülen hata mesajı. |
successful! |
| Success |
boolean |
İsteğin başarılı olup olmadığını gösterir. Geçerli değerler:
|
True |
| Title |
string |
Başlık. |
Access denied |
| RequestId |
string |
İstek kimliği. |
31853A2B-DC9D-5B39-8492-D2AC8BCF550E |
| Success |
boolean |
İsteğin başarılı olup olmadığını gösterir. |
true |
Examples
Success response
JSON format
{
"ErrorCode": "UnknownError",
"ErrorMessage": "Specified parameter PageSize is not valid.",
"PingResult": {
"ErrorType": "ACCESS_DENIED",
"Message": "successful!",
"Success": true,
"Title": "Access denied"
},
"RequestId": "31853A2B-DC9D-5B39-8492-D2AC8BCF550E",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.