docs
api
File Storage(UFS)
DescribeUFSVolumePrice

Get file system price - DescribeUFSVolumePrice

Overview

Get file system price

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeUFSVolumePrice.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
SizeintThe 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
StorageTypestringFile storage type, enumeration value, Basic represents capacity type product, Advanced represents performance type product.Yes
QuantityintThe duration of purchasing UFS, default is 1No
ChargeTypestringYearly, Monthly, Dynamic, Trial, Default: DynamicNo
VolumeIdstringFile system ID, this parameter is not required when creating a file system for the first time.No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
DataSetarray[UFSPriceDataSet]UFS Pricing InformationNo

Data Model

UFSPriceDataSet

Field NameTypeDescription InformationRequired
ChargeTypestringYearly, Monthly, Dynamic, TrialNo
PricefloatPrice (Unit: Cent)No
ChargeNamestringFile StorageNo

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
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved