百度智能云

All Product Document

          Elastic IP

          EIPGroup Instance

          EIPGroup instance is an EIP shared bandwidth created in Baidu AI Cloud.

          • Identity Verification is required for creation of EIP shared bandwidth, if you fail to pass identity verification, you can go to identity verification under security authentication in [Baidu Open Cloud Console](https://login.bce.baidu.com/? account=&redirect=http%3A%2F%2Fconsole.bce.baidu.com%2Fqualify%2F#/qualify/result) for authentication, and currently, only the creation of prepaid EIP shared bandwidth is supported.

          Create Instance

          The following codes can be used to create EIPGroup instance.

          public feature createEipGroup($eipGroupClient, $billing, $name, $eipCount, $bandwidthInMbps)
          {
              $result = $eipGroupClient->createEipGroup($bandwidthInMbps, $eipCount, $billing, $name);
              var_dump($result);
          }

          Bandwidth Capacity Expansion in EIP Shared Bandwidth

          Specify the bandwidth capacity expansion of EIP shared bandwidth.

          public feature resizeBandwidth($eipGroupClient, $id, $bandwidthInMbps){
              $eipGroupClient->resizeEipGroupForBandWidth($id, $bandwidthInMbps);
          }

          Quantity Expansion of EIP in EIP Shared Bandwidth

          It is used to specify quantity expansion of EIP in EIP shared bandwidth.

          public feature resizeEipCount($eipGroupClient, $id, $eipAddCount) {
              $eipGroupClient->resizeEipGroupForEipCount($id, $eipAddCount);
          }

          Update EIP Shared Bandwidth

          Update of EIP shared bandwidth.

          public feature update($eipGroupClient, $id, $name) {
              $eipGroupClient->updateEipGroup($id, $name);
          }

          Query EIP Shared Bandwidth List

          • EIP shared bandwidth list can be queried according to multiple conditions.
          • If no query condition is provided, the default query overwrites all EIPs.
          • The returned result is the query result of intersection of multiple conditions, i.e. when multiple conditions are provided, EIP shared bandwidth meeting all conditions simultaneously is returned.
          • The query result above supports marker paging, with paging size of 1,000 by default, which can be specified via maxKeys parameter.
          public feature listEipGroups($eipGroupClient, $marker, $maxKey, $name) {
          
              $result = $eipGroupClient->listEipGroups($marker, $maxKey, $name);
              var_dump($result);
          }

          Query Details of EIP Shared Bandwidth

          Query details of EIP shared bandwidth.

          public feature getEipGroup($eipGroupClient, $id) {
              $result = $eipGroupClient->getEipGroup($id);
              var_dump($result);
          }

          Renew EIP Shared Bandwidth

          • For the renewal operation of specified EIP shared bandwidth, extend the expiration time.
          • No renewal operation can be conducted during EIP shared bandwidth capacity expansion and reduction.
          public feature purchaseReservedEipGroup($eipGroupClient, $id, $billing) {
              $eipGroupClient->purchaseReservedEipGroup($id, $billing);
          }
          Previous
          EIP Instance
          Next
          EipBP Instance