All Products
Search
Document Center

Security Center:GetServerlessAuthSummary

Last Updated:Jun 17, 2026

Retrieves the Serverless authorization overview.

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

yundun-sas:GetServerlessAuthSummary

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

VendorType

string

No

The cloud service to which the resource belongs. Valid values:

  • ASK

  • SAE

  • ACS.

SAE

MachineType

string

No

The server type. Valid values:

  • RunD

  • ECI.

RunD

AppRegionId

string

No

The region ID of the application.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

PlainResult

Data

object

The returned data details.

IsPostPaid

boolean

Indicates whether the instance is a pay-as-you-go instance. Valid values:

  • true: The instance is a pay-as-you-go instance.

  • false: The instance is not a pay-as-you-go instance.

true

PostPaidModuleSwitch

string

The pay-as-you-go module switch. Valid values:

  • VUL: vulnerability fix module

  • CSPM: Cloud Security Posture Management (CSPM) module

  • AGENTLESS: agentless detection module

  • SERVERLESS: Serverless security module

  • CTDR: Cloud Threat Detection and Response (CTDR) module.

SERVERLESS

PostpaidInstanceId

string

The pay-as-you-go instance ID.

sas-postpay-**

PostPaidOpenTime

integer

The time when pay-as-you-go billing was enabled. Unit: milliseconds.

1655432638000

PostPaidStatus

integer

The pay-as-you-go instance status. Valid values:

  • 1: active

  • 2: suspended due to overdue payment.

1

IsServerlessPostPaidValid

boolean

The Serverless pay-as-you-go status. Valid values:

  • true: active

  • false: expired.

true

TotalBindAppCount

integer

The total number of bound applications.

10

TotalUnBindAppCount

integer

The total number of unbound applications.

1

TotalBindInstanceCount

integer

The total number of bound instances.

1

TotalUnBindInstanceCount

integer

The total number of unbound instances.

2

TotalBindCoreCount

integer

The total number of bound cores.

1

TotalUnBindCoreCount

integer

The total number of unbound cores.

1

RegionId

string

The region ID.

cn-hangzhou

AutoBind

integer

Indicates whether automatic binding is enabled. Valid values:

  • 0: disabled

  • 1: enabled.

1

HasPreBindSetting

boolean

Indicates whether a pre-binding asset configuration exists. Pre-binding refers to the asset binding configuration that is selected in advance during purchase. Valid values:

  • 0: does not exist

  • 1: exists.

1

Success

boolean

Indicates whether the call was successful. Valid values:

  • true: The call was successful.

  • false: The call failed.

true

RequestId

string

The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.

F8B6F758-BCD4-597A-8A2C-DA5A552C****

Examples

Success response

JSON format

{
  "Data": {
    "IsPostPaid": true,
    "PostPaidModuleSwitch": "SERVERLESS",
    "PostpaidInstanceId": "sas-postpay-**",
    "PostPaidOpenTime": 1655432638000,
    "PostPaidStatus": 1,
    "IsServerlessPostPaidValid": true,
    "TotalBindAppCount": 10,
    "TotalUnBindAppCount": 1,
    "TotalBindInstanceCount": 1,
    "TotalUnBindInstanceCount": 2,
    "TotalBindCoreCount": 1,
    "TotalUnBindCoreCount": 1,
    "RegionId": "cn-hangzhou",
    "AutoBind": 1,
    "HasPreBindSetting": true
  },
  "Success": true,
  "RequestId": "F8B6F758-BCD4-597A-8A2C-DA5A552C****"
}

Error codes

HTTP status code

Error code

Error message

Description

500 ServerError ServerError
403 NoPermission caller has no permission

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.