Consulte les informations de quota de plusieurs instances.
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 |
| InstanceIds |
string |
Oui |
Plusieurs identifiants d'instance séparés par des virgules (,). Vous pouvez obtenir les identifiants d'instance en appelant l'opération ListSites. |
sp-xcdn-96wblslz****,sp-xcdn-81wblslz**** |
| QuotaName |
string |
Oui |
Le nom du quota. Séparez les différents noms par des virgules (,). Valeurs valides :
|
waf:phase:http_anti_scan:actions, waf:phase:http_bot:actions, siteCount |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
Schéma de la réponse. |
||
| RequestId |
string |
L'identifiant de la requête. |
156A6B-677B1A-4297B7-9187B7-2B44792 |
| QuotaName |
string |
Le nom du quota. |
siteCount |
| QuotaValueType |
string |
Le type de seuil du quota. Valeurs valides :
|
bool |
| QuotaValues |
array<object> |
La liste des valeurs de quota. |
|
|
object |
Les informations sur la valeur du quota. |
||
| InstanceId |
string |
L'identifiant de l'instance. |
esa-site-blea5hv7m0ow |
| QuotaValue |
string |
La valeur du quota. |
10 |
Exemples
JSON format
{
"RequestId": "156A6B-677B1A-4297B7-9187B7-2B44792",
"QuotaName": "siteCount",
"QuotaValueType": "bool",
"QuotaValues": [
{
"InstanceId": "esa-site-blea5hv7m0ow",
"QuotaValue": "10"
}
]
}
Codes d'erreur
|
Code de statut HTTP |
Code d'erreur |
Message d'erreur |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 400 | QuotaNotExist | The quota item does not exist or the purchased plan has not taken effect. Confirm and try again. | The quota item does not exist or the purchased plan has not taken effect. Confirm and try again. |
| 400 | InstanceNotExist | The instance does not exist. Check whether the specified instance ID is correct or whether the instance belongs to your account. | The instance does not exist. Check whether the specified instance ID is correct or whether the instance belongs to your account. |
| 400 | ErService.HasOpened | You have already activated Edge Routine. | You have already activated Edge Routine. |
| 403 | Site.NotExist | The specified website does not exist or is not recognized by the system.Check whether the specified website identifier is valid and matches a website that is active, defined, and recognized by the system.If you want to add a new website, make sure that the creation and registration process is complete to integrate the website to the system. | The specified website does not exist or is not recognized by the system.Check whether the specified website identifier is valid and matches a website that is active, defined, and recognized by the system.If you want to add a new website, make sure that the creation and registration process is complete to integrate the website to the system. |
| 404 | SiteNotFound | The website does not exist or does not belong to you. | The website does not exist or does not belong to you. |
| 404 | UnsupportQuota | Unsupported quota is specified. Check and try again. | Unsupported quota is specified. Check and try again. |
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.