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 ConsoleYes
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.dezai.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
}