Queries the records of bill subscriptions to OSS buckets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bss:DescribeSubscribeToOSS |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. |
Success |
| Data |
object |
The returned data. |
|
| AccountID |
string |
The ID of the current query account. |
185xxxxx03489 |
| AccountName |
string |
The name of the current query account. |
test@test.aliyunid.com |
| Items |
object |
||
| Item |
array<object> |
The subscription details. |
|
|
object |
The subscription details. |
||
| BucketOwnerId |
integer |
The user ID of the bucket owner. |
1369168081849304 |
| BucketPath |
string |
The OSS storage directory. |
Billing/BillingItemDetailMonthly/ |
| RowLimitPerFile |
integer |
The maximum number of rows per file. If a bill file exceeds this limit, it is split into multiple files and merged into a compressed package. |
300000 |
| SubscribeBucket |
string |
The ID of the subscribed bucket. |
billingtestbucket |
| SubscribeLanguage |
string |
The language code of the subscription. Valid values:
Valid values:
|
zh |
| SubscribeTime |
string |
The subscription time in the format of 'YYYY-MM-DD hh:mm:ss'. |
2019-10-30 15:40:11 |
| SubscribeType |
string |
The subscribed bill type. Valid values:
|
BillingItemDetailForBillingPeriod |
| Message |
string |
The error message. |
Successful! |
| RequestId |
string |
The request ID. |
9EEAE43F-1E4D-4734-AE93-5049878AC103 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"Code": "Success",
"Data": {
"AccountID": "185xxxxx03489",
"AccountName": "test@test.aliyunid.com",
"Items": {
"Item": [
{
"BucketOwnerId": 1369168081849304,
"BucketPath": "Billing/BillingItemDetailMonthly/",
"RowLimitPerFile": 300000,
"SubscribeBucket": "billingtestbucket",
"SubscribeLanguage": "zh",
"SubscribeTime": "2019-10-30 15:40:11",
"SubscribeType": "BillingItemDetailForBillingPeriod"
}
]
}
},
"Message": "Successful!",
"RequestId": "9EEAE43F-1E4D-4734-AE93-5049878AC103",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.