Tous les produits
Search
Centre de documentation

Edge Security Acceleration:DescribeRatePlanPrice

Dernière mise à jour :Aug 07, 2026

Consulte le prix d'un plan, y compris son type et son état.

Description de l'opération

La période d'achat est exprimée en mois.

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

Le tableau ci-dessous décrit les autorisations nécessaires pour appeler cette API. Vous pouvez les définir dans une politique Resource Access Management (RAM). Les colonnes du tableau sont détaillées ci-dessous :

  • Action : les actions peuvent être utilisées dans l'élément Action des instructions de politique de permissions RAM pour accorder les autorisations nécessaires à l'exécution de l'opération.

  • API : l'API que vous pouvez appeler pour exécuter l'action.

  • Niveau d'accès : le niveau d'accès prédéfini accordé pour chaque API. Valeurs valides : create, list, get, update et delete.

  • Type de ressource : le type de ressource qui prend en charge l'autorisation pour exécuter l'action. Il indique si l'action prend en charge les permissions au niveau de la ressource. La ressource spécifiée doit être compatible avec l'action. Sinon, la politique sera inefficace.

    • Pour les API avec permissions au niveau de la ressource, les types de ressource requis sont marqués d'un astérisque (*). Spécifiez l'Alibaba Cloud Resource Name (ARN) correspondant dans l'élément Resource de la politique.

    • Pour les API sans permissions au niveau de la ressource, la valeur All Resources est affichée. Utilisez un astérisque (*) dans l'élément Resource de la politique.

  • Clé de condition : les clés de condition définies par le service. La clé permet un contrôle granulaire, applicable aux actions seules ou aux actions associées à des ressources spécifiques. En plus des clés de condition propres au service, Alibaba Cloud fournit un ensemble de clés de condition communes applicables à tous les services pris en charge par RAM.

  • Action dépendante : les actions dépendantes requises pour exécuter l'action. Pour mener à bien l'opération, l'utilisateur RAM ou le rôle RAM doit disposer des permissions pour toutes les actions dépendantes.

esa:DescribeRatePlanPrice

create

*All Resource

*

Aucune Aucune

Paramètres de requête

Paramètre

Type

Requis

Description

Exemple

Period

integer

Non

La durée d'achat, en mois.

1

PlanName

string

Non

Le nom du plan.

basic

Amount

integer

Non

Le nombre de plans.

1

Éléments de réponse

Élément

Type

Description

Exemple

object

Le corps de la réponse.

RequestId

string

L'identifiant de la requête.

50423A7F-A83D-1E24-B80E-86DD25790759

PriceModel

object

Les informations de tarification.

RatePlan

object

PlanPriceList

array<object>

The price information of the plan.

object

PlanName

string

The name of the plan.

basic

PlanType

string

The type of the plan. Valid values:

  • normal: Fixed plan.

  • enterprise: Enterprise plan.

normal

PlanStatus

string

The status of the plan. Valid values:

  • uncustomed: Not customized.

  • upgrading: Upgrading.

  • unsaled: Not purchased.

  • saled: Purchased.

unsaled

Currency

string

The currency. Valid values:

  • JPY: Japanese yen.

  • USD: US dollar.

  • CNY: Chinese yuan.

CNY

TotalPrice

number

The original price of the order. The value is the sum of the transaction price and the discount amount.

2

DiscountPrice

number

The discount amount for the order.

1

Price

number

The final price of the order.

1

Coverages

string

The acceleration regions that are supported by the plan.

overseas,global,domestic

Position

integer

The priority of the plan.

1

ChargeType

string

The billing method. Valid values:

  • PREPAY: subscription.

  • POSTPAY: pay-as-you-go.

PREPAY

PlanTraffic

string

The capacity of the plan.

1000

EdgeCompute

string

Edge computing.

er_on

EdgeWaf

string

Edge WAF.

waf_off

DcdnPlan

string

The edition of the plan.

basicplan

AccelerateType

string

The acceleration type.

smartrouting_off

EdgeDdos7Layer

string

Layer 7 edge DDoS.

ddos_off

Layer4Traffic

string

The capacity for Layer 4 acceleration.

1000

EdgeDdos4Layer

string

Layer 4 edge DDoS.

ddos_off

CrossborderTraffic

string

China network optimization.

1000

EdgeLb7Layer

string

Layer 7 load balancing.

lb_off

EdgeLb4Layer

string

Layer 4 load balancing.

lb_off

Layer4TrafficIntl

string

The capacity for Layer 4 acceleration outside the Chinese mainland.

1000

EdgeDdos4LayerIntl

string

Layer 4 edge DDoS outside the Chinese mainland.

ddos_off

EdgeLb4LayerIntl

string

Layer 4 load balancing outside the Chinese mainland.

lb_off

EdgeDdosInstanceCn

string

The DDoS instance in the Chinese mainland.

cn_300

EdgeDdosInstanceIntl

string

The DDoS instance outside the Chinese mainland.

overseas_300

EdgeWafInstance

string

The WAF instance.

enterprise_bot

Rule

object

RuleList

array<object>

The matched policy.

object

Name

string

The name of the policy.

Policy A

RuleDescId

integer

The ID of the policy.

1

Exemples

JSON format

{
  "RequestId": "50423A7F-A83D-1E24-B80E-86DD25790759",
  "PriceModel": {
    "RatePlan": {
      "PlanPriceList": [
        {
          "PlanName": "basic",
          "PlanType": "normal",
          "PlanStatus": "unsaled",
          "Currency": "CNY",
          "TotalPrice": 2,
          "DiscountPrice": 1,
          "Price": 1,
          "Coverages": "overseas,global,domestic",
          "Position": 1,
          "ChargeType": "PREPAY",
          "PlanTraffic": "1000",
          "EdgeCompute": "er_on",
          "EdgeWaf": "waf_off",
          "DcdnPlan": "basicplan",
          "AccelerateType": "smartrouting_off",
          "EdgeDdos7Layer": "ddos_off",
          "Layer4Traffic": "1000",
          "EdgeDdos4Layer": "ddos_off",
          "CrossborderTraffic": "1000",
          "EdgeLb7Layer": "lb_off",
          "EdgeLb4Layer": "lb_off",
          "Layer4TrafficIntl": "1000",
          "EdgeDdos4LayerIntl": "ddos_off",
          "EdgeLb4LayerIntl": "lb_off",
          "EdgeDdosInstanceCn": "cn_300",
          "EdgeDdosInstanceIntl": "overseas_300",
          "EdgeWafInstance": "enterprise_bot"
        }
      ]
    },
    "Rule": {
      "RuleList": [
        {
          "Name": "Policy A",
          "RuleDescId": 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.
400 EnterpriseAmountErr Enterprise plans do not support bulk purchase. Enterprise plans do not support bulk purchase.

Consultez Codes d'erreur pour la liste complète.

Notes de version

Consultez Notes de version pour la liste complète.