All Products
Search
Document Center

Serverless App Engine:DescribeConfigurationPrice

Last Updated:Dec 17, 2025

Query configuration price.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
sae:DescribeConfigurationPricenone
*All Resources
*
    none
none

Request syntax

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

Request parameters

ParameterTypeRequiredDescriptionExample
CpuintegerYes

The CPU specifications that are required for each instance. Unit: millicores. This parameter cannot be set to 0. Valid values:

  • 500
  • 1000
  • 2000
  • 4000
  • 8000
  • 12000
  • 16000
  • 32000
2000
MemoryintegerYes

The memory size that is required by each instance. Unit: MB. This parameter cannot be set to 0. The values of this parameter correspond to the values of the Cpu parameter:

  • This parameter is set to 1024 if the Cpu parameter is set to 500 or 1000.
  • This parameter is set to 2048 if the Cpu parameter is set to 500, 1000, or 2000.
  • This parameter is set to 4096 if the Cpu parameter is set to 1000, 2000, or 4000.
  • This parameter is set to 8192 if the Cpu parameter is set to 2000, 4000, or 8,000.
  • This parameter is set to 12288 if the Cpu parameter is set to 12000.
  • This parameter is set to 16384 if the Cpu parameter is set to 4000, 8000, or 16000.
  • This parameter is set to 24576 if the Cpu parameter is set to 12000.
  • This parameter is set to 32768 if the Cpu parameter is set to 16000.
  • This parameter is set to 65536 if the Cpu parameter is set to 8000, 16000, or 32000.
  • This parameter is set to 131072 if the Cpu parameter is set to 32000.
4096
WorkloadstringNo

Scenarios:

  • Web
  • micro_service
Web

Response parameters

ParameterTypeDescriptionExample
object

The information returned.

RequestIdstring

The ID of the request.

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

The message returned. Valid values:

  • If the request was successful, success is returned.
  • If the request failed, an error code is returned.
success
TraceIdstring

The ID of the trace.

1a0dcc771722848598056771******
Dataobject

The price.

BagUsageobject

The remaining capacity of the resource plan.

Cpufloat

The available CPU capacity. Unit: cores *.

497570.450009
Memfloat

The available memory size. Unit: GiB ×.

989802.563546
Orderobject

The information about pricing.

OriginalAmountfloat

The original price of the order.

0.0092592
DiscountAmountfloat

The discount amount.

0.0018518
RuleIdsarray

The ID of the promotion rule.

RuleIdstring

The ID of the promotion rule.

2000010******
TradeAmountfloat

The transaction price.

0.0074074
Rulesarray<object>

The promotion rules.

Ruleobject

The promotion rules.

RuleDescIdlong

The ID of the promotion rule.

2000010******
Namestring

The name of the promotion rule.

RequestPriceobject

The price based on the number of requests.

Orderobject

The information about pricing.

OriginalAmountfloat

The original price of the order.

0.0046296
DiscountAmountfloat

The discount amount.

0.0009259
TradeAmountfloat

The actual price of the order.

0.0037037
RuleIdsarray

The ID of the discount rule.

RuleIdstring

The ID of the discount rule.

2000010******
Rulesarray<object>

The discount rule.

Ruleobject

The discount rule.

RuleDescIdlong

The ID of the discount policy.

2000010******
Namestring

The name of the discount rule.

TrafficPriceobject

The traffic price.

Orderobject

The information about pricing.

OriginalAmountfloat

The original price of the order.

0.0046296
DiscountAmountfloat

The discount amount.

0.0009259
TradeAmountfloat

The final price of the order.

0.0037037
RuleIdsarray

The ID of the discount rule.

RuleIdstring

The ID of the discount rule.

2000010******
Rulesarray<object>

The discount rule.

Ruleobject

The discount rule.

RuleDescIdfloat

The ID of the discount rule.

2000010******
Namestring

The name of the discount rule.

CpuMemPriceobject

The price of CPU and memory.

Orderobject

The information about pricing.

OriginalAmountfloat

The original price.

0.0046296
DiscountAmountfloat

The discount amount.

0.0009259
TradeAmountfloat

The final price of the order.

0.0037037
RuleIdsarray

The ID of the discount rule.

RuleIdstring

The ID of the discount rule.

2000010******
Rulesarray<object>

The discount rules.

Ruleobject

The discount rules.

RuleDescIdfloat

The ID of the discount rule.

2000010******
Namestring

The name of discount rule.

ErrorCodestring

The error code. Valid values:

  • If the request was successful, ErrorCode is not returned.
  • If the request failed, ErrorCode is returned. For more information, see Error codes in this topic.
Codestring

The HTTP status code. Valid values:

  • 2xx: The request was successful.
  • 3xx: The request was redirected.
  • 4xx: The request failed.
  • 5xx: A server error occurred.
200
Successboolean

Indicates whether the configuration price was obtained.

  • true: The price was obtained.
  • false: The price failed to be queried.
true

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError message
400InvalidParameter.ObviouslyThe specified parameter is invalid {%s}.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-09-08The Error code has changed. The request parameters of the API has changedView Change Details
2025-04-22The Error code has changed. The request parameters of the API has changedView Change Details
2025-02-27The Error code has changed. The request parameters of the API has changedView Change Details
2024-10-17The Error code has changed. The response structure of the API has changedView Change Details
2023-12-06The Error code has changed. The response structure of the API has changedView Change Details