Get file system price - DescribeUFSVolumePrice
Overview
Get file system price
Definition
Public Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is DescribeUFSVolumePrice . | 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 List of Regions and Availability Zones | Yes |
ProjectId | string | Project ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface. | No |
Size | int | The size of the file system is in GB. For the new architecture capacity type, the minimum capacity is 500GB, increasing in increments of 100GB, and does not exceed 100TB. For the new architecture performance type, the minimum capacity is 100GB, increasing in increments of 100GB, and does not exceed 20TB. | Yes |
StorageType | string | File storage type, enumeration value, Basic represents capacity type product, Advanced represents performance type product. | Yes |
Quantity | int | The duration of purchasing UFS, default is 1 | No |
ChargeType | string | Yearly, Monthly, Dynamic, Trial, Default: Dynamic | No |
VolumeId | string | File system ID, this parameter is not required when creating a file system for the first time. | 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[UFSPriceDataSet] | UFS Pricing Information | No |
Data Model
UFSPriceDataSet
Field Name | Type | Description Information | Required |
---|---|---|---|
ChargeType | string | Yearly, Monthly, Dynamic, Trial | No |
Price | float | Price (Unit: Cent) | No |
ChargeName | string | File Storage | No |
Example
Request Example
https://api.surfercloud.com/?Action=DescribeUFSVolumePrice
&Region=HkdKBREf
&ProjectId=HyOvhXKd
&VolumeId=mSHMSuBe
&Quantity=4
&ChargeType=MFWpWMwK
&Size=4
&StorageType=xShMEetE
&VolumeId=BtpJrIyu
Response Example
{
"Action": "DescribeUFSVolumePriceResponse",
"DataSet": [
{
"ChargeName": "yvhXFwCh",
"ChargeType": "nKQKsuXt",
"Price": 6.44823
},
{
"ChargeName": "iEWvdvlO",
"ChargeType": "eBXtSMgF",
"Price": 6.42198
},
{
"ChargeName": "ZXIRydLJ",
"ChargeType": "gkeWHmzv",
"Price": 2.77386
},
{
"ChargeName": "FSmrJaPr",
"ChargeType": "kpXKyKRm",
"Price": 6.12148
},
{
"ChargeName": "ysjFPvpx",
"ChargeType": "obfbmFck",
"Price": 3.62132
},
{
"ChargeName": "msTwFsHQ",
"ChargeType": "lrVWPQZt",
"Price": 8.42654
}
],
"RetCode": 0
}