docs
api
Cloud Network(UGN)
ListSimpleBwPackage

Get Simplified Bandwidth Package List - ListSimpleBwPackage

Overview

Get the bandwidth package list under the current project

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ListSimpleBwPackage.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
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.Yes
OffsetintNo
LimitintNo

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
TotalCountintYes
OffsetintYes
LimitintYes
BwPackagesarray[SimpleBwPackage]Yes

Data Model

SimpleBwPackage

Field NameTypeDescription InformationRequired
PackageIDstringYes
UGNIDstringYes
PayModestringBilling Mode FixedBw: Fixed Bandwidth | Peak95: Classic 95 | Max5: Fifth Peak | Traffic: Traffic BillingYes
RegionAstringRegion A NameYes
RegionBstringRegion B NameYes
BandWidthfloatBandwidth ValueYes
QosstringService Quality
Diamond: Diamond | Platinum: Platinum | Gold: Gold
Yes
PathstringIntelligent Path
Delay: Minimum Delay | IGP: Regular Route | TCO: Lowest Cost
Yes
CreateTimeintCreation TimeYes
NamestringNo
RemarkstringNo
ExpireTimeintExpiration TimeNo
ChangeStatusintBandwidth Package Switch StatusNo
ChangeTimeintBandwidth Package Switching TimeNo
ChangePayModestringSwitch Billing Type for Bandwidth PackageNo

Example

Request Example

https://api.surfercloud.com/?Action=ListSimpleBwPackage
&ProjectId=ypltSuDF
&Offset=7
&Limit=1

Response Example

{
  "Action": "ListSimpleBwPackageResponse",
  "BwPackages": [
    {
      "ChangePayMode": "TUAmOPJl",
      "ChangeStatus": 1,
      "ChangeTime": 4,
      "CreateTime": 5,
      "ExpireTime": 2,
      "IsCrossBorder": true,
      "Message": "XfyizAyL",
      "Name": "pmUvMYuL",
      "PackageID": "OZCGcLMK",
      "Path": "TCO|IGP|Delay",
      "PayMode": "Free|SolidBw|Peak95|Max5|Traffic",
      "Qos": "金|银|铜",
      "RegionA": "KajgsUSg",
      "RegionABwMax": 8,
      "RegionABwMin": 8,
      "RegionB": "zKmtGPmm",
      "RegionBBwMax": 7,
      "RegionBBwMin": 2,
      "Remark": "nHLwhtiM",
      "UGNID": "EIHoedsh"
    }
  ],
  "Limit": 2,
  "Offset": 7,
  "RetCode": 0,
  "TotalCount": 2
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved