Consulte le prix d'un changement de spécification avec conservation du cache.
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
|
esa:DescribeCacheReservePriceGap |
create |
*All Resource
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| InstanceId |
string |
Non |
L'identifiant de l'instance. |
esa-cr-9tuv********* |
| TargetQuotaGb |
integer |
Non |
La taille de cache demandée. Unité : Go. |
1000 |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
La structure de la réponse. |
||
| RequestId |
string |
L'identifiant de la requête. |
40423A7F-A83D-1E24-B80E-86DD25790759 |
| PriceModel |
object |
Les informations de tarification. |
|
| Rule |
object |
||
| RuleList |
array<object> |
The rule hits. |
|
|
object |
|||
| Name |
string |
The policy name. |
rule-a |
| RuleDescId |
integer |
The policy ID. |
1 |
| InstanceId |
string |
L'identifiant de l'instance. |
esa-cr-9tuv********* |
| Price |
number |
Le prix final de la commande, qui correspond au prix réel de la transaction. |
1 |
| Currency |
string |
La devise. Valeurs valides :
|
CNY |
| TotalPrice |
number |
Le prix initial de la commande. Prix initial de la commande = prix réel de la transaction + montant de la remise. |
2 |
| DiscountPrice |
number |
Le montant de la remise de la commande. |
1 |
Exemples
JSON format
{
"RequestId": "40423A7F-A83D-1E24-B80E-86DD25790759\n",
"PriceModel": {
"Rule": {
"RuleList": [
{
"Name": "rule-a",
"RuleDescId": 1
}
]
},
"InstanceId": "esa-cr-9tuv*********",
"Price": 1,
"Currency": "CNY",
"TotalPrice": 2,
"DiscountPrice": 1
}
}
Codes d'erreur
|
Code de statut HTTP |
Code d'erreur |
Message d'erreur |
Description |
|---|---|---|---|
| 400 | InternalError | An internal exception occurred, please try again later. | An inner exception was triggered. Please try again later. |
| 400 | CheckPlanFailed | Invalid plan name or code. Check and try again. | Invalid plan name or code. Check and try again. |
| 400 | InvalidSiteICP | The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. | The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. |
| 400 | InvalidSiteName | Invalid website name. Check and try again. | Invalid website name. Check and try again. |
| 400 | SYSTEM.NoSpecificCodeFailed | Invalid subscription duration. Check and try again. | Invalid subscription duration. Check and try again. |
| 400 | InvalidInstance | The instance ID is missing or invalid. Make sure that the instance ID is valid and try again. | The instance ID is missing or invalid. Make sure that the instance ID is valid and try again. |
| 400 | InvalidComponent | The order parameters is invalid. | The order parameters is invalid. |
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.