All Products
Search
Document Center

Serverless App Engine:DescribeConfigurationPrice

Last Updated:Jan 14, 2026

Queries the price of a configuration.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

sae:DescribeConfigurationPrice

none

*All Resource

*

None None

Request syntax

GET /pop/v1/paas/configurationPrice HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

Cpu

integer

Yes

The number of CPU cores required for each instance. Unit: millicores. This value cannot be 0. Only the following defined specifications are supported:

  • 500

  • 1000

  • 2000

  • 4000

  • 8000

  • 12000

  • 16000

  • 32000

2000

Memory

integer

Yes

The amount of memory required for each instance. Unit: MB. This value cannot be 0. The memory size must correspond to the CPU specification. Only the following defined specifications are supported:

  • 1024: Corresponds to 500 millicores and 1,000 millicores of CPU.

  • 2048: Corresponds to 500, 1,000, and 2,000 millicores of CPU.

  • 4096: Corresponds to 1,000, 2,000, and 4,000 millicores of CPU.

  • 8192: Corresponds to 2,000, 4,000, and 8,000 millicores of CPU.

  • 12288: Corresponds to 12,000 millicores of CPU.

  • 16384: Corresponds to 4,000, 8,000, and 16,000 millicores of CPU.

  • 24576: Corresponds to 12,000 millicores of CPU.

  • 32768: Corresponds to 16,000 millicores of CPU.

  • 65536: Corresponds to 8,000, 16,000, and 32,000 millicores of CPU.

  • 131072: Corresponds to 32,000 millicores of CPU.

4096

Workload

string

No

The application scenario. Valid values:

  • web

  • micro_service

Web

ResourceType

string

No

The resource type. Valid values: NULL (default), default, and haiguang (Haiguang server).

Valid values:

  • default :

    default

  • haiguang :

    haiguang

default

NewSaeVersion

string

No

The application version. Valid values:

  • lite: Lightweight Edition

  • std: Standard Edition

  • pro: Professional Edition

Valid values:

  • std :

    std

  • lite :

    lite

  • pro :

    pro

std

BestEffortType

string

No

The BestEffort policy. Valid values:

  • besteffort: BestEffort

  • try-besteffort: BestEffort preferred

  • default: default

Valid values:

  • default :

    default

  • try-besteffort :

    try-besteffort

  • besteffort :

    besteffort

default

Response elements

Element

Type

Description

Example

object

The returned information.

RequestId

string

The request ID.

ADCEC067-86AD-19E2-BD43-E83F3841****

Message

string

The returned message.

  • If the request is successful, success is returned.

  • If the request fails, an error code is returned.

success

TraceId

string

The trace ID.

1a0dcc771722848598056771******

Data

object

The pricing information.

BagUsage

object

The remaining quota of the resource plan.

Cpu

number

The remaining CPU quota. Unit: core-hours.

497570.450009

Mem

number

The remaining memory quota. Unit: GiB-hours.

989802.563546

Cu

number

The remaining computing units (CUs) of the resource plan.

10000

Order

object

The pricing information.

OriginalAmount

number

The original price of the order.

0.0092592

DiscountAmount

number

The discount amount of the order.

0.0018518

RuleIds

array

The promotion ID.

string

The promotion ID.

2000010******

TradeAmount

number

The final price of the order.

0.0074074

Rules

array<object>

The promotion rules.

object

The promotion rule.

RuleDescId

integer

The rule ID.

2000010******

Name

string

The name of the rule.

后付费8折优惠

RequestPrice

object

The price per request.

Order

object

The pricing information.

OriginalAmount

number

The original price of the order.

0.0046296

DiscountAmount

number

The discount amount of the order.

0.0009259

TradeAmount

number

The actual transaction price of the order.

0.0037037

RuleIds

array

The rule ID.

string

The discount rule ID.

2000010******

Rules

array<object>

The promotion rules.

object

The promotion rule.

RuleDescId

integer

The policy ID.

2000010******

Name

string

The name of the rule.

后付费8折优惠

TrafficPrice

object

The price of traffic.

Order

object

The pricing information.

OriginalAmount

number

The original price of the order.

0.0046296

DiscountAmount

number

The discount amount of the order.

0.0009259

TradeAmount

number

The actual transaction price of the order.

0.0037037

RuleIds

array

The promotion ID.

string

The promotion ID.

2000010******

Rules

array<object>

The promotion rules.

object

The promotion rule.

RuleDescId

number

The rule ID.

2000010******

Name

string

The name of the rule.

后付费8折优惠

CpuMemPrice

object

The price of CPU and memory.

Order

object

The pricing information.

OriginalAmount

number

The original price.

0.0046296

DiscountAmount

number

The discount amount of the order.

0.0009259

TradeAmount

number

The actual transaction price of the order.

0.0037037

RuleIds

array

The rule ID.

string

The rule ID.

2000010******

Rules

array<object>

The promotion rules.

object

The promotion rule.

RuleDescId

number

The rule ID.

2000010******

Name

string

The name of the rule.

后付费8折优惠

ErrorCode

string

The error code.

  • This parameter is not returned if the request is successful.

  • This parameter is returned if the request fails. For more information, see the Error codes section of this topic.

Code

string

The HTTP status code or POP error code. Valid values:

  • 2xx: The request was successful.

  • 3xx: The request was redirected.

  • 4xx: A request error occurred.

  • 5xx: A server error occurred.

200

Success

boolean

Indicates whether the price of the configuration was obtained.

  • true: The price was obtained.

  • false: The price failed to be obtained.

true

Examples

Success response

JSON format

{
  "RequestId": "ADCEC067-86AD-19E2-BD43-E83F3841****",
  "Message": "success",
  "TraceId": "1a0dcc771722848598056771******",
  "Data": {
    "BagUsage": {
      "Cpu": 497570.450009,
      "Mem": 989802.563546,
      "Cu": 10000
    },
    "Order": {
      "OriginalAmount": 0.0092592,
      "DiscountAmount": 0.0018518,
      "RuleIds": [
        "2000010******"
      ],
      "TradeAmount": 0.0074074
    },
    "Rules": [
      {
        "RuleDescId": 0,
        "Name": "后付费8折优惠"
      }
    ],
    "RequestPrice": {
      "Order": {
        "OriginalAmount": 0.0046296,
        "DiscountAmount": 0.0009259,
        "TradeAmount": 0.0037037,
        "RuleIds": [
          "2000010******"
        ]
      },
      "Rules": [
        {
          "RuleDescId": 0,
          "Name": "后付费8折优惠"
        }
      ]
    },
    "TrafficPrice": {
      "Order": {
        "OriginalAmount": 0.0046296,
        "DiscountAmount": 0.0009259,
        "TradeAmount": 0.0037037,
        "RuleIds": [
          "2000010******"
        ]
      },
      "Rules": [
        {
          "RuleDescId": 0,
          "Name": "后付费8折优惠"
        }
      ]
    },
    "CpuMemPrice": {
      "Order": {
        "OriginalAmount": 0.0046296,
        "DiscountAmount": 0.0009259,
        "TradeAmount": 0.0037037,
        "RuleIds": [
          "2000010******"
        ]
      },
      "Rules": [
        {
          "RuleDescId": 0,
          "Name": "后付费8折优惠"
        }
      ]
    }
  },
  "ErrorCode": "空",
  "Code": "200",
  "Success": true
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter.Obviously The specified parameter is invalid {%s}.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.