EIP Instance

EIP

  • API Reference
    • API function release records
    • API Service Domain Name
    • API Specifications
    • Appendix 1
    • Bandwidth Package Related Interfaces
      • Adjust the bandwidth of the bandwidth package
      • Create bandwidth package
      • Query bandwidth package details
      • Query bandwidth package list information of users
      • Release bandwidth package
      • Update the automatic release time of the bandwidth package
      • Update the name of the bandwidth package
    • DDoS Basic Protection Related Interfaces
      • Modify DDoS basic protection threshold
      • Query DDoS Basic Protection Attack Records
      • Query DDoS basic protection list
    • EIP Related Interfaces
      • Apply for EIP
      • Bind EIP
      • Disable EIP direct
      • EIP bandwidth scaling
      • EIP renewal has been enabled
      • Enable EIP direct
      • Query EIP list in bucket trash
      • Query EIP list
      • Release EIP
      • Release EIPs in the bucket trash
      • Renew EIP
      • Restore EIPs in the bucket trash
      • Selective release of EIP
      • Unbind EIP
      • Unsubscribe prepaid EIP
      • Update EIP Release Protection Switch
    • Error code
    • General Description
    • Inquiry Related
      • Bandwidth package price inquiry
      • EIP Inquiry
      • EIPGROUP Inquiry
      • Shared Traffic Package Inquiry
    • Interface Overview
    • Overview
    • Prerequisites for use
    • Shared Bandwidth Related Interfaces
      • Bandwidth scaling up for EIPGROUP
      • Create EIPGROUP
      • EIPGROUP IP count upgrade
      • EIPGROUP release
      • EIPGROUP renewal
      • EIPGROUP update
      • Migrate EIP from EIPGROUP
      • Migrate EIP into EIPGROUP
      • Query EIPGROUP details
      • Query the EIPGROUP list
      • Unsubscribe prepaid EIPGROUP
    • Shared Traffic Package Related Interfaces
      • Create a shared traffic package
      • Query shared traffic package details
      • Query shared traffic package list
    • TBSP Related Interfaces
      • Add Protection IP Allow List
      • Add Protocol Blocking
      • Add Region Blocking
      • Bind Protection Object
      • Close Protection IP Cleaning
      • Create TBSP
      • Delete Protection IP Allow List
      • Delete Protection Object
      • Delete Protocol Blocking
      • Delete Region Blocking
      • Modify Protection IP Cleaning Threshold
      • Modify Protection IP Protection Level
      • Open Protection IP Cleaning
      • Query Protection IP Allow List
      • Query Protection IP Cleaning Threshold List
      • Query Protocol Blocking List
      • Query Region Blocking List
      • Query TBSP Details
      • Query TBSP List
      • TBSP Capacity dilatation
      • TBSP renew
  • FAQs
    • Billing class
    • Configuration
    • Consultation
    • Security class
  • Function Release Records
  • Operation guide
    • Address pool
    • Bandwidth package
      • Bandwidth scale-up package
      • Cross-border acceleration package
    • Certification
    • DDoS standard protection
    • EIP Instance
      • Create instance
      • EIP Direct Connect
      • IPv6 Termination
      • Manage Alarms
      • Operation Instance
      • Shift Charge
      • View monitoring
    • EIP Self-Service Diagnostics
      • EIP Instance Diagnosis
    • EIPGROUP
      • Bind cloud resources
      • Manage Shared Bandwidth
      • Purchase Shared Bandwidth
      • View monitoring
    • High Defense EIP
    • Identity and access management
    • Recycle bin
    • Shared traffic package
      • Purchase Shared Traffic Package
      • View Shared Traffic Package
    • Tag Management
    • Traffic Burst Service Package
      • Instance management
      • Monitor alarm
      • Protection Configuration
    • Unblocking Center
  • Product Description
    • Application scenarios
    • Product advantages
    • Product Introduction
    • Usage restrictions
  • Product pricing
    • Bandwidth Package Billing
    • EIP Instance Billing
    • EIPGROUP Billing
    • Shared Traffic Package Billing
    • TBSP Billing
  • SDK
    • GO-SDK
      • DDoS Instance
      • EIP Instance
      • EipBp Instance
      • EIPGROUP Instance
      • EipTp Instance
      • Exception handling
      • Initialization
      • Install the SDK Package
      • Overview
    • Java-SDK
      • EIP Instance
      • EipBP Instance
      • EIPGROUP Instance
      • EipTp Instance
      • Exception handling
      • Initialization
      • Install the SDK Package
      • Overview
      • Version history
    • PHP-SDK
      • EIP Instance
      • EipBP Instance
      • EIPGROUP Instance
      • Exception handling
      • Initialization
      • Install the SDK Package
      • Overview
      • Version history
    • Python-SDK
      • EIP Instance
      • EipBP Instance
      • EIPGROUP Instance
      • EipTp Instance
      • Exception handling
      • Initialization
      • Install the SDK Package
      • Overview
      • Version history
  • Service Level Agreement (SLA)
    • EIP Service Level Agreement SLA
    • TBSP Service Level Agreement SLA
  • Typical Practices
    • Bring Your Own Overseas Public IP Address to the Cloud
    • IPv6 Public Network Access
    • Save Public Network Costs
    • TCP Port 25 Restriction Description
All documents
menu
No results found, please re-enter

EIP

  • API Reference
    • API function release records
    • API Service Domain Name
    • API Specifications
    • Appendix 1
    • Bandwidth Package Related Interfaces
      • Adjust the bandwidth of the bandwidth package
      • Create bandwidth package
      • Query bandwidth package details
      • Query bandwidth package list information of users
      • Release bandwidth package
      • Update the automatic release time of the bandwidth package
      • Update the name of the bandwidth package
    • DDoS Basic Protection Related Interfaces
      • Modify DDoS basic protection threshold
      • Query DDoS Basic Protection Attack Records
      • Query DDoS basic protection list
    • EIP Related Interfaces
      • Apply for EIP
      • Bind EIP
      • Disable EIP direct
      • EIP bandwidth scaling
      • EIP renewal has been enabled
      • Enable EIP direct
      • Query EIP list in bucket trash
      • Query EIP list
      • Release EIP
      • Release EIPs in the bucket trash
      • Renew EIP
      • Restore EIPs in the bucket trash
      • Selective release of EIP
      • Unbind EIP
      • Unsubscribe prepaid EIP
      • Update EIP Release Protection Switch
    • Error code
    • General Description
    • Inquiry Related
      • Bandwidth package price inquiry
      • EIP Inquiry
      • EIPGROUP Inquiry
      • Shared Traffic Package Inquiry
    • Interface Overview
    • Overview
    • Prerequisites for use
    • Shared Bandwidth Related Interfaces
      • Bandwidth scaling up for EIPGROUP
      • Create EIPGROUP
      • EIPGROUP IP count upgrade
      • EIPGROUP release
      • EIPGROUP renewal
      • EIPGROUP update
      • Migrate EIP from EIPGROUP
      • Migrate EIP into EIPGROUP
      • Query EIPGROUP details
      • Query the EIPGROUP list
      • Unsubscribe prepaid EIPGROUP
    • Shared Traffic Package Related Interfaces
      • Create a shared traffic package
      • Query shared traffic package details
      • Query shared traffic package list
    • TBSP Related Interfaces
      • Add Protection IP Allow List
      • Add Protocol Blocking
      • Add Region Blocking
      • Bind Protection Object
      • Close Protection IP Cleaning
      • Create TBSP
      • Delete Protection IP Allow List
      • Delete Protection Object
      • Delete Protocol Blocking
      • Delete Region Blocking
      • Modify Protection IP Cleaning Threshold
      • Modify Protection IP Protection Level
      • Open Protection IP Cleaning
      • Query Protection IP Allow List
      • Query Protection IP Cleaning Threshold List
      • Query Protocol Blocking List
      • Query Region Blocking List
      • Query TBSP Details
      • Query TBSP List
      • TBSP Capacity dilatation
      • TBSP renew
  • FAQs
    • Billing class
    • Configuration
    • Consultation
    • Security class
  • Function Release Records
  • Operation guide
    • Address pool
    • Bandwidth package
      • Bandwidth scale-up package
      • Cross-border acceleration package
    • Certification
    • DDoS standard protection
    • EIP Instance
      • Create instance
      • EIP Direct Connect
      • IPv6 Termination
      • Manage Alarms
      • Operation Instance
      • Shift Charge
      • View monitoring
    • EIP Self-Service Diagnostics
      • EIP Instance Diagnosis
    • EIPGROUP
      • Bind cloud resources
      • Manage Shared Bandwidth
      • Purchase Shared Bandwidth
      • View monitoring
    • High Defense EIP
    • Identity and access management
    • Recycle bin
    • Shared traffic package
      • Purchase Shared Traffic Package
      • View Shared Traffic Package
    • Tag Management
    • Traffic Burst Service Package
      • Instance management
      • Monitor alarm
      • Protection Configuration
    • Unblocking Center
  • Product Description
    • Application scenarios
    • Product advantages
    • Product Introduction
    • Usage restrictions
  • Product pricing
    • Bandwidth Package Billing
    • EIP Instance Billing
    • EIPGROUP Billing
    • Shared Traffic Package Billing
    • TBSP Billing
  • SDK
    • GO-SDK
      • DDoS Instance
      • EIP Instance
      • EipBp Instance
      • EIPGROUP Instance
      • EipTp Instance
      • Exception handling
      • Initialization
      • Install the SDK Package
      • Overview
    • Java-SDK
      • EIP Instance
      • EipBP Instance
      • EIPGROUP Instance
      • EipTp Instance
      • Exception handling
      • Initialization
      • Install the SDK Package
      • Overview
      • Version history
    • PHP-SDK
      • EIP Instance
      • EipBP Instance
      • EIPGROUP Instance
      • Exception handling
      • Initialization
      • Install the SDK Package
      • Overview
      • Version history
    • Python-SDK
      • EIP Instance
      • EipBP Instance
      • EIPGROUP Instance
      • EipTp Instance
      • Exception handling
      • Initialization
      • Install the SDK Package
      • Overview
      • Version history
  • Service Level Agreement (SLA)
    • EIP Service Level Agreement SLA
    • TBSP Service Level Agreement SLA
  • Typical Practices
    • Bring Your Own Overseas Public IP Address to the Cloud
    • IPv6 Public Network Access
    • Save Public Network Costs
    • TCP Port 25 Restriction Description
  • Document center
  • arrow
  • EIP
  • arrow
  • SDK
  • arrow
  • Java-SDK
  • arrow
  • EIP Instance
Table of contents on this page
  • Apply for EIP
  • EIP bandwidth scaling
  • Bind EIP
  • Unbind EIP
  • Release EIP
  • Query EIP list
  • Renew EIP
  • EIP renewal has been enabled
  • Enable EIP direct
  • Disable EIP direct
  • Query EIP list in bucket trash
  • Selective release of EIP
  • Release EIPs in the bucket trash
  • Restore EIPs in the bucket trash
  • Appendix

EIP Instance

Updated at:2025-10-16

Apply for EIP

Function declaration

Java
1public CreateEipResponse createEip(CreateEipRequest request) {
2    ......
3}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for Applying for an EIP

Response value

  • Operation succeeded
Plain Text
1{
2 "metadata": For details, refer to the metadata section in the appendix,
3    "eip":"180.181.3.133"
4}
  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, please refer to ExampleCreateEip.java

EIP bandwidth scaling

Function declaration

Java
1public void resizeEip(ResizeEipRequest request) {
2    ......
3}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for Bandwidth Resizing of EIP

Response value

  • Operation succeeded

None

  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, please refer to ExampleResizeEip.java

Bind EIP

Function declaration

Java
1public void bindEip(BindEipRequest request) {
2    ......
3}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for Binding Eni

Response value

  • Operation succeeded

None

  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, refer to ExampleBindEip.java

Unbind EIP

Function declaration

Java
1public void unbindEip(UnbindEipRequest request) {
2    ......
3}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for Unbinding Eni

Response value

  • Operation succeeded

None

  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, refer to ExampleUnBindEip.java

Release EIP

Function declaration

Java
1public void releaseEip(ReleaseEipRequest request) {
2    ......
3}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for Releasing EIP

Response value

  • Operation succeeded

None

  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, please refer to ExampleReleaseEip.java

Query EIP list

Function declaration

Java
1public ListEipsResponse listEips(ListEipsRequest request) {
2    ......
3}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for Querying EIP List

Response value

  • Operation succeeded
Plain Text
1{
2 "metadata": For details, refer to the metadata section in the appendix,
3    "eipList": [
4        {
5            "name":"eip-xrllt5M-1",
6            "eip": "180.181.3.133",
7            "eipId": "ip-xxxxxxxx",
8            "status":"binded",
9            "instanceType": "BCC",
10            "instanceId": "i-IyWRtII7",
11            "shareGroupId": "eg-0c31c93a",
12            "eipInstanceType": "shared",
13            "bandwidthInMbps": 5,
14            "paymentTiming":"Prepaid",
15            "billingMethod":null,
16            "createTime":"2016-03-08T08:13:09Z",
17            "expireTime":"2016-04-08T08:13:09Z",
18            "region":"bj",
19            "routeType":"BGP",
20            "tags": [
21            {
22                "tagKey": "aa",
23                "tagValue": "bb"
24            }
25        ]
26        },
27        {
28            "name":"eip-scewa1M-1",
29            "eip": "180.181.3.134",
30            "eipId": "ip-xxxxxxxx",
31            "status":"binded",
32            "instanceType": "BCC",
33            "instanceId": "i-KjdgweC4",
34            "shareGroupId": null,
35            "eipInstanceType": "normal",
36            "bandwidthInMbps": 1,
37            "paymentTiming":"Postpaid",
38            "billingMethod":"ByTraffic",
39            "createTime":"2016-03-08T08:13:09Z",
40            "expireTime":null,
41            "region":"bj",
42            "routeType":"BGP",
43            "tags": [
44            {
45                "tagKey": "key",
46                "tagValue": "value"
47            }
48        ]
49        },
50    ],
51    "marker":"eip-DCB50385",
52    "isTruncated": true,
53    "nextMarker": "eip-DCB50387",
54    "maxKeys": 2
55}
  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, please refer to ExampleListEip.java

Renew EIP

Function declaration

Java
1public void purchaseReservedEip(PurchaseReservedEipRequest request) {
2    ......
3}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for Renewing EIP

Response value

  • Operation succeeded

None

  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, please refer to ExampleRenewEip.java

EIP renewal has been enabled

Function declaration

Java
1public void startAutoRenew(AutoRenewEipRequest request) {
2    ......
3}
4public void stopAutoRenew(StopAutoRenewEipRequest request) {
5    ......
6}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for EIP Auto-renewal

Response value

  • Operation succeeded

None

  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, refer to ExampleAutoRenewEip.java, ExampleStopAutoRenewEipjava

Enable EIP direct

Function declaration

Java
1public void directEip(DirectEipRequest request) {
2    ......
3}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for Enabling EIP Direct

Response value

  • Operation succeeded

None

  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, please refer to ExampleDirectEip.java

Disable EIP direct

Function declaration

Java
1public void unDirectEip(DirectEipRequest request) {
2    ......
3}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for Disabling EIP Direct

Response value

  • Operation succeeded

None

  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, please refer to ExampleUnDirectEip.java

Query EIP list in bucket trash

Function declaration

Java
1public ListRecycleEipsResponse listRecycleEips(ListRecycleEipsRequest request) {
2    ......
3}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for Querying List of EIPs in Bucket Trash

Response value

  • Operation succeeded
Plain Text
1{
2 "metadata": For details, refer to the metadata section in the appendix,
3    "nextMarker": "ip-d51ec70b",
4    "marker": "ip-1dd4f675",
5    "maxKeys": 1,
6    "isTruncated": true,
7    "eipList": [
8        {
9			"name":"eip-xxxx-1",
10            "eip": "180.181.3.133",
11            "eipId": "ip-xxxxxxxx",
12            "status": "paused",
13            "routeType":"BGP",
14            "bandwidthInMbps": 5,
15            "paymentTiming":"Postpaid",
16            "billingMethod":"ByTraffic",
17            "recycleTime":"2022-02-13T04:28:00Z",
18            "scheduledDeleteTime":"2022-02-20T04:28:00Z",
19        }
20    ]
21}
  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, please refer to ExampleListRecycleEips.java

Selective release of EIP

Function declaration

Java
1public void optionalReleaseEip(OptionalReleaseEipRequest request) {
2    ......
3}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for Selective Release of EIP

Response value

  • Operation succeeded

None

  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, please refer to ExampleOptionalReleaseEip.java

Release EIPs in the bucket trash

Function declaration

Java
1public void releaseEipFromRecycle(RecycleOperateEipRequest request) {
2    ......
3}

Parameter meaning

Please refer to the OpenAPI documentation Request Parameters for Releasing EIPs in Bucket Trash

Response value

  • Operation succeeded

None

  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, refer to ExampleReleaseEipFromRecycle.java

Restore EIPs in the bucket trash

Function declaration

Java
1public void restoreEipFromRecycle(RecycleOperateEipRequest request) {
2    ......
3}

Parameter meaning Please refer to the OpenAPI documentation Request Parameters for Restoring EIPs from Bucket Trash

Response value

  • Operation succeeded

None

  • Operation failed

For response exception list of operation failure, refer to the EIP Exception List.

Code example

For specific code examples, please refer to ExampleRestoreEipFromRecycle.java

Appendix

Public response information in Metadata format

Plain Text
1 {
2      "bceRequestId":"f5f0821d-45fe-439b-bbf4-fc48b639f84a",
3      "contentLength":28,
4      "contentType":"application/json;charset=UTF-8",
5      "date":1701917695000,
6      "server":"openresty/1.15.8.1"
7 }

Previous
GO-SDK
Next
EipBP Instance