docs
api
Basic Network(UNet)
AssociateEIPWithShareBandwidth

Add EIP to Shared Bandwidth - AssociateEIPWithShareBandwidth

Overview

Add EIP to Shared Bandwidth

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is AssociateEIPWithShareBandwidth.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.Yes
ProjectIdstringProject ID. If not filled in, it defaults to the main project, sub-accounts must fill in.No
EIPIds.NstringThe ResourceId of the EIP to be added to the shared bandwidthYes
ShareBandwidthIdstringShared Bandwidth IDYes
IPVersionstringShared bandwidth type, IPv4 or IPv6, defaults to IPv4 if not passed.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

Example

Request Example

https://api.surfercloud.com/?Action=AssociateEIPWithShareBandwidth
&Region=cn-bj2
&EIPIds.0=eip-XXXXX
&ShareBandwidthId=bwshare-XXXXX
&BwType=tcsRSDBP
&IPVersion=iUnPUHzo

Response Example

{
  "Action": "AssociateEIPWithShareBandwidthResponse",
  "Request_uuid": "d4dde503-0b50-451d-943b-XXXXXXXXX",
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved