Adds an EIP to a shared-bandwidth instance.

Debug

By using API Explorer, you can easily debug APIs, automatically generate SDK code examples, and quickly search for APIs.

Request parameters

Parameter Type Required? Example value Description 
Action String Yes AddGlobalAccelerationInstanceIp

The name of this action. Value: 

AddGlobalAccelerationInstanceIp

GlobalAccelerationInstanceId String Yes ga-LXXX111

The ID of the shared-bandwidth instance.

IpInstanceId String Yes i-rw434rwfafxxx

The ID of the EIP.

To query the EIP ID, call DescribeEipAddresses.
Note The billing method of the EIP must be Pay-As-You-Go, and the regions of the EIP and the instance must be the same.
RegionId String Yes cn-hangzhou

The ID of the region where the shared-bandwidth instance is located.

To query the region ID, call DescribeRegions.

Response parameters

Parameter Type Example value Description
RequestId String 01FDDD49-C4B7-4D2A-A8E5-A93915C450A6 The ID of the request.

Examples

Request example


https://vpc.aliyuncs.com/?Action=AddGlobalAccelerationInstanceIp
&GlobalAccelerationInstanceId=ga-LXXX111
&IpInstanceId=i-rw434rwfafxxx
&RegionId=cn-hangzhou
&<CommonParameters>
Response example

XML format

<AddGlobalAccelerationInstanceIpResponse>
  <RequestId>01FDDD49-C4B7-4D2A-A8E5-A93915C450A6</RequestId>
</AddGlobalAccelerationInstanceIpResponse>

JSON format

{
	"RequestId":"01FDDD49-C4B7-4D2A-A8E5-A93915C450A6"
}

Error codes

HTTP status code Type Example value Description
404 InvalidRegionId.NotFound The specified RegionId does not exist in our records. The specified region ID does not exist.
404 InvalidBandwidthPackageId.NotFound The specified bandwidthPackageId does not exist in our records. The specified shared-bandwidth package does not exist.

See common error codes