All Products
Search
Document Center

Alibaba Cloud Service Mesh:ModifyApiServerEipResource

Last Updated:Mar 05, 2024

Disassociates an elastic IP address (EIP) from an API server or associates an EIP with an API server.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringNo

The ID of the Alibaba Cloud Service Mesh (ASM) instance.

cb8963379255149cb98c8686f274x****
OperationstringNo

The type of the operation. Valid values:

  • UnBindEip: disassociates an EIP from the API server.
  • BindEip: associates an EIP with the API server.
BindEip
ApiServerEipIdstringNo

The ID of the EIP.

eip-bp1adu9jegmxnaoq****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

BD65C0AD-D3C6-48D3-8D93-38D2015C****

Examples

Sample success responses

JSONformat

{
  "RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****"
}

Error codes

HTTP status codeError codeError message
500ERR500An internal server error occurred.

For a list of error codes, visit the Service error codes.