All Products
Search
Document Center

Security Center:GetServerlessAuthSummary

Last Updated:May 22, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Get Serverless Authorization Overview

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
yundun-sas:GetServerlessAuthSummaryget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
VendorTypestringNo

Cloud product:

  • ASK
  • SAE
  • ACS
SAE
MachineTypestringNo

Server type:

  • RunD
  • ECI
RunD
AppRegionIdstringNo

Application region ID.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

PlainResult

Dataobject

Returned data details.

IsPostPaidboolean

Whether it is a post-paid instance. Values:

  • true: Yes
  • false: No
true
PostPaidModuleSwitchstring

Pay-as-you-go module switch. Values:

  • VUL: Vulnerability Repair Module
  • CSPM: Cloud Security Posture Management Module
  • AGENTLESS: Agentless Detection Module
  • SERVERLESS: Serverless Security Module
  • CTDR: Threat Analysis and Response Module
SERVERLESS
PostpaidInstanceIdstring

Post-paid instance ID.

sas-postpay-**
PostPaidOpenTimelong

Post-paid activation time. Unit: milliseconds.

1655432638000
PostPaidStatusinteger

Post-paid instance status. Values:

  • 1: Active
  • 2: Suspended due to unpaid bills
1
IsServerlessPostPaidValidboolean

Serverless post-paid status. Values:

  • true: Active
  • false: Expired
true
TotalBindAppCountinteger

Total number of bound applications.

10
TotalUnBindAppCountinteger

Total number of unbound applications.

1
TotalBindInstanceCountinteger

Total number of bound instances.

1
TotalUnBindInstanceCountinteger

Total number of unbound instances.

2
TotalBindCoreCountinteger

Total number of bound cores.

1
TotalUnBindCoreCountinteger

Total number of unbound cores.

1
RegionIdstring

Region ID.

cn-hangzhou
AutoBindinteger

Enable auto-binding. Values:

  • 0: Disabled
  • 1: Enabled
1
HasPreBindSettingboolean

Indicates whether there is a pre-bound asset configuration. Pre-binding refers to the asset binding configuration selected in advance at the time of purchase. The values are: - 0: No - 1: Yes

1
Successboolean

Indicates whether the API call was successful. Values:

  • true: Success
  • false: Failure
true
RequestIdstring

The ID of this request, which is a unique identifier generated by Alibaba Cloud for this request. It can be used to troubleshoot and locate issues.

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

Examples

Sample success responses

JSONformat

{
  "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 codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

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