docs
api
Cloud Network(UGN)
describe_inter_region_bandwidth

Cross-domain Bandwidth Query - DescribeInterRegionBandwidth

Overview

Cross-domain Bandwidth Query

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeInterRegionBandwidth.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
UGNIdstringUGN IdYes
OffsetintData offset. Default is 0No
LimitintData pagination value. Default is 20No
InterRegionBandwidthIds.NstringCross-domain Bandwidth IdNo

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
InterRegionBandwidthsarray[InterRegionBandwidth]Cross-domain Bandwidth InformationYes
TotalCountintThe quantity of the InterRegionBandwidths fieldNo

Data Model

InterRegionBandwidth

Field NameTypeDescription InformationRequired
ExpireTimeintExpiration DateYes
UGNIdstringUGN IdYes
InterRegionBandwidthIdstringCross-domain Bandwidth IdYes
BandwidthintBandwidth (Unit in Mb/s)Yes
ChargeTypestringBilling TypeYes
Region0stringCross-region BandwidthYes
Region1stringCross-region BandwidthYes
PayModestringPayment TypeYes
StateintCross-domain Bandwidth StatusYes
CreateTimeintCreation TimeYes

Example

Request Example

https://api.surfercloud.com/?Action=DescribeInterRegionBandwidth
&ProjectId=ULSXwpkw
&UGNId=imdEPsSn
&InterRegionBandwidthIds.n=JhTrGXWu
&OffSet=8
&Limit=2

Response Example

{
  "Action": "DescribeInterRegionBandwidthResponse",
  "InterRegionBandwidths": [
    {
      "Bandwidth": 9,
      "ChargeType": "Year",
      "CreateTime": 5,
      "ExpireTime": 1,
      "InterRegionBandwidthId": "CAEKJswX",
      "PayMode": "Traffic",
      "Region0": "FFseRXtF",
      "Region1": "jKOISBCu",
      "State": 1,
      "UGNId": "CMMsbcOe"
    }
  ],
  "Message": "success",
  "RetCode": 0,
  "TotalCount": 5
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved