GetUFileDailyBill - GetUFileDailyBill
Overview
Get bucket daily bill
Definition
Public Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is GetUFileDailyBill . | Yes |
PublicKey | string | The user's public key can be obtained from Console (opens in a new tab) | Yes |
Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Region | string | Region. See Region and Zone List | Yes |
ProjectId | string | Project ID. Leave it blank for the default project. Sub-accounts must fill in. Please refer to the GetProjectList API | No |
StartTime | int | Query start time; unix timestamp, unit s | Yes |
EndTime | int | Query end time; unix timestamp, unit s | Yes |
BucketName | string | Space name. If this field is not empty, return the daily bill of this Bucket.otherwise, return the daily bill of this project. | No |
Response Field
Field Name | Type | Description Information | Required |
---|---|---|---|
RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
Action | string | Operation command name. | Yes |
Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
DataSet | array[BucketBills] | Consumption Situation | Yes |
Data Model
BucketBills
Field Name | Type | Description Information | Required |
---|---|---|---|
BucketBills | array[UFileDailyBillItem] | No |
UFileDailyBillItem
Field Name | Type | Description Information | Required |
---|---|---|---|
GetCountIaBill | float | No | |
GetCountBill | float | No | |
PutCountAcBill | float | No | |
PutCountIaBill | float | No | |
PutCountBill | float | No | |
ObjectTagCountBill | float | Object Tagging Fee: Cents | No |
StorageBill | float | Standard - Total Storage Capacity Fee; Divided | No |
IaStorageBill | float | Low-frequency - Total storage capacity fee; divided | No |
AcStorageBill | float | Archive - Total storage capacity fee; divided | No |
IaGetSizeBill | float | Low-frequency - Data retrieval volume, which is the cost of data retrieval for low-frequency files; divided | No |
AcRestoreBill | float | Archive - Standard Thawing Volume, that is, the thawing volume cost of the archive file type is standard (Strandard); Divided | No |
AcExpeditedRetrievalBill | float | Archive - High priority thawing volume, that is, the thawing volume cost of the archive file type is high priority (Expedited); Divided | No |
IaShortStorageBill | float | Low-frequency - short-term storage volume, that is, the storage volume cost for the remaining days to make up for the shortest storage period; divided | No |
AcShortStorageBill | float | Archive - Short-term storage volume, that is, the storage volume cost for the remaining days to make up for the shortest storage period; divided | No |
ImageHandleFlowBill | float | Basic image processing volume fee; divided | No |
ImageCompressCountBill | float | Advanced Image Compression Count Fee; Divided | No |
BusyFlowBill | float | Peak traffic cost; minute; No such field overseas | No |
IdleFlowBill | float | Idle traffic cost; minute; No such field overseas | No |
CdnFlowBill | float | CDN back-to-source traffic cost; divided | No |
FlowBill | float | Download traffic cost: points; No such field in China | No |
Date | int | Quota consumption time, unix timestamp; unit is seconds, accurate to the date. | No |
GetCountAcBill | float | Request Count Fee; Minute | No |
Example
Request Example
https://api.surfercloud.com/?Action=GetUFileDailyBill
&Region=cn-zj
&ProjectId=UdlOdbuF
&BucketName=HGrwkMQD
&StartTime=7
&EndTime=7
Response Example
{
"Action": "GetUFileDailyBillResponse",
"DataSet": [
"AALyFfHn"
],
"RetCode": 0
}