Add EIP to Shared Bandwidth - AssociateEIPWithShareBandwidth
Overview
Add EIP to Shared Bandwidth
Definition
Public Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is AssociateEIPWithShareBandwidth . | Yes |
PublicKey | string | The user’s public key can be obtained from Console | Yes |
Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Region | string | Region. | Yes |
ProjectId | string | Project ID. If not filled in, it defaults to the main project, sub-accounts must fill in. | No |
EIPIds.N | string | The ResourceId of the EIP to be added to the shared bandwidth | Yes |
ShareBandwidthId | string | Shared Bandwidth ID | Yes |
IPVersion | string | Shared bandwidth type, IPv4 or IPv6, defaults to IPv4 if not passed. | No |
Response Field
Field Name | Type | Description Information | Required |
---|---|---|---|
RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
Action | string | Operation command name. | Yes |
Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
Example
Request Example
https://api.dezai.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
}