Retrieves the Serverless authorization overview.
Try it now
Test
RAM authorization
|
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:
|
SAE |
| MachineType |
string |
No |
The server type. Valid values:
|
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 |
| PostPaidModuleSwitch |
string |
The pay-as-you-go module switch. Valid values:
|
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 |
| IsServerlessPostPaidValid |
boolean |
The Serverless pay-as-you-go status. Valid values:
|
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:
|
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:
|
1 |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
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.