EIPGROUP Instance
Updated at:2025-10-16
An EIPGROUP instance is the creation of an EIPGROUP on Baidu AI Cloud. Real-name certification is required for creating EIPGROUP. Those who have not passed real-name certification can access the real-time certification under security certification in the Baidu Open Cloud Official Website Console for certification. Currently, only prepaid EIPGROUP creation is supported.
Create instance
The following code can be used to create an EIPGROUP instance:
PHP
1public function createEipGroup($eipGroupClient, $billing, $name, $eipCount, $bandwidthInMbps)
2{
3 $result = $eipGroupClient->createEipGroup($bandwidthInMbps, $eipCount, $billing, $name);
4 var_dump($result);
5}
Bandwidth scaling up for EIPGROUP
Bandwidth scaling up for the specified EIPGROUP
PHP
1public function resizeBandwidth($eipGroupClient, $id, $bandwidthInMbps){
2 $eipGroupClient->resizeEipGroupForBandWidth($id, $bandwidthInMbps);
3}
Perform scale-up of the EIP count in EIPGROUP
Used to specify the scale-up of EIPGROUP EIP count
PHP
1public function resizeEipCount($eipGroupClient, $id, $eipAddCount) {
2 $eipGroupClient->resizeEipGroupForEipCount($id, $eipAddCount);
3}
EIPGROUP update
EIPGROUP update
PHP
1public function update($eipGroupClient, $id, $name) {
2 $eipGroupClient->updateEipGroup($id, $name);
3}
Query the EIPGROUP list
- Retrieve the list of EIPGROUPs that meet multiple specified conditions.
- If no specific criteria are specified, all EIPs will be listed by default.
- The returned results are filtered based on the intersection of conditions. Specifically, when multiple conditions are applied, the results will include only the EIPGROUPs that simultaneously meet all conditions.
- The query results support marker-based pagination, with a default page size of 1,000. You can adjust this by setting the maxKeys parameter.
PHP
1public function listEipGroups($eipGroupClient, $marker, $maxKey, $name) {
2 $result = $eipGroupClient->listEipGroups($marker, $maxKey, $name);
3 var_dump($result);
4}
Query EIPGROUP details
Retrieve the details of an EIPGROUP.
PHP
1public function getEipGroup($eipGroupClient, $id) {
2 $result = $eipGroupClient->getEipGroup($id);
3 var_dump($result);
4}
EIPGroup renewal
- Renew operation for the specified EIPGROUP to extend the expiration period
- Renewal operations cannot be executed while the EIPGROUP is undergoing scaling.
PHP
1public function purchaseReservedEipGroup($eipGroupClient, $id, $billing) {
2 $eipGroupClient->purchaseReservedEipGroup($id, $billing);
3}
