Consulte les informations des instances PXFuse.
Description de l'opération
La fonctionnalité d'audit et d'analyse SQL de PolarDB-X 2.0 est gratuite. Cependant, Simple Log Service facture des frais pour l'espace de stockage, le trafic de lecture, le nombre de requêtes, la transformation des données et l'expédition des données. Pour plus d'informations sur la fonctionnalité d'audit SQL, consultez Activer l'audit et l'analyse SQL.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| RegionId |
string |
Oui |
L'identifiant de la région de l'instance. |
cn-shanghai |
| DBInstanceName |
string |
Oui |
Le nom de l'instance. |
pxc-xxx |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| RequestId |
string |
L'identifiant de la requête. |
173CA69A-3513-591D-8A09-C1EA37CBE2D9 |
| Data |
object |
Les données de surveillance. |
|
| Instance |
object |
Les informations de l'instance. |
|
| InstanceId |
string |
pxc-spsil01pww4hfz-mem |
|
| RegionId |
string |
ap-southeast-1 |
|
| ZoneId |
string |
ap-southeast-1a |
|
| ClassCode |
string |
mysql.x2.large.2c |
|
| NodeCount |
integer |
1 |
|
| CreateTime |
string |
2026-02-17T02:00:20Z |
|
| Status |
string |
Running |
|
| StorageType |
string |
local_ssd |
|
| VPCId |
string |
vpc-t4n4hf9xey7ea3lp4bwwx |
|
| VSwitchId |
string |
vsw-t4ny14pr37spmjsbv5dc2 |
|
| ConnAddrs |
array<object> |
||
|
object |
|||
| Type |
string |
VPC |
|
| VPCId |
string |
vpc-t4n4hf9xey7ea3lp4bwwx |
|
| VSwitchId |
string |
vsw-t4ny14pr37spmjsbv5dc2 |
|
| Port |
integer |
3306 |
|
| VpcInstanceId |
string |
pxc-spsil01pww4hfzjayd-cn-20251013180429 |
|
| ConnectionString |
string |
pxc-spsil01pww4hfz.polarx.singapore.rds.aliyuncs.com |
|
| AccessDeniedDetail |
object |
Les détails du refus d'accès. |
|
| AuthAction |
string |
L'action d'authentification. |
xxx |
| AuthPrincipalType |
string |
Le type de principal d'authentification. |
222 |
| AuthPrincipalOwnerId |
string |
L'identifiant du propriétaire du principal d'authentification. |
111 |
| AuthPrincipalDisplayName |
string |
L'identité utilisée pour l'authentification dans la requête. |
xxx |
| PolicyType |
string |
Le type de stratégie. |
PRIORITY |
| NoPermissionType |
string |
Le type d'autorisation manquante. |
ImplicitDeny |
| EncodedDiagnosticMessage |
string |
Les informations de diagnostic. |
AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg== |
Exemples
JSON format
{
"RequestId": "173CA69A-3513-591D-8A09-C1EA37CBE2D9",
"Data": {
"Instance": {
"InstanceId": "pxc-spsil01pww4hfz-mem",
"RegionId": "ap-southeast-1",
"ZoneId": "ap-southeast-1a",
"ClassCode": "mysql.x2.large.2c",
"NodeCount": 1,
"CreateTime": "2026-02-17T02:00:20Z",
"Status": "Running",
"StorageType": "local_ssd",
"VPCId": "vpc-t4n4hf9xey7ea3lp4bwwx",
"VSwitchId": "vsw-t4ny14pr37spmjsbv5dc2",
"ConnAddrs": [
{
"Type": "VPC",
"VPCId": "vpc-t4n4hf9xey7ea3lp4bwwx",
"VSwitchId": "vsw-t4ny14pr37spmjsbv5dc2",
"Port": 3306,
"VpcInstanceId": "pxc-spsil01pww4hfzjayd-cn-20251013180429",
"ConnectionString": "pxc-spsil01pww4hfz.polarx.singapore.rds.aliyuncs.com"
}
]
}
},
"AccessDeniedDetail": {
"AuthAction": "xxx",
"AuthPrincipalType": "222",
"AuthPrincipalOwnerId": "111",
"AuthPrincipalDisplayName": "xxx",
"PolicyType": "PRIORITY",
"NoPermissionType": "ImplicitDeny",
"EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg=="
}
}
Codes d'erreur
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.