Docs
api
Cloud Network(UGN)
Create Inter Region Bandwidth

Purchase Cross-domain Bandwidth - CreateInterRegionBandwidth

Overview

Purchase Cross-domain Bandwidth

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is CreateInterRegionBandwidth.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
BandwidthintBandwidth (Unit in Mb/s)Yes
ChargeTypestringBilling TypeYes
QuantityintPurchasing DurationYes
PayModestringPayment TypeYes
Region0stringCross-domain Bandwidth Ownership RegionYes
Region1stringCross-domain Bandwidth Ownership RegionYes
CouponIdstringCoupon 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
InterRegionBandwidthIdstringCross-domain Bandwidth IdYes

Example

Request Example

https://api.dezai.com/?Action=CreateInterRegionBandwidth&ProjectId=LBXHvMRE
&UGNId=upTEZdod
&Bandwidth=4
&ChargeType=Year
&Quantity=5
&PayMode=Traffic
&Region0=ovEWLXTO
&Region1=EwPIhVjX
&CouponId=oElLFpMk

Response Example

{
  "Action": "CreateInterRegionBandwidthResponse",
  "InterRegionBandwidthId": "fIpsnxEC",
  "Message": "success",
  "RetCode": 0
}