diff --git a/docs/eip/api-ref/.placeholder b/docs/eip/api-ref/.placeholder deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/eip/api-ref/ALL_META.TXT.json b/docs/eip/api-ref/ALL_META.TXT.json index ab1952b2..278c4b46 100644 --- a/docs/eip/api-ref/ALL_META.TXT.json +++ b/docs/eip/api-ref/ALL_META.TXT.json @@ -10,9 +10,19 @@ "githuburl":"" }, { - "uri":"eip_api04_0000.html", + "uri":"eip_api02_0001.html", "product_code":"eip", "code":"2", + "des":"APIs provided by the EIP service include native OpenStack APIs and EIP APIs.A combination of these two types of APIs allows you to use all functions provided by the EIP s", + "doc_type":"api", + "kw":"API Overview,API Reference", + "title":"API Overview", + "githuburl":"" + }, + { + "uri":"eip_api04_0000.html", + "product_code":"eip", + "code":"3", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"APIs", @@ -22,67 +32,67 @@ { "uri":"eip_api_0000.html", "product_code":"eip", - "code":"3", + "code":"4", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", - "kw":"Elastic IP", - "title":"Elastic IP", + "kw":"EIP", + "title":"EIP", "githuburl":"" }, { "uri":"eip_api_0001.html", "product_code":"eip", - "code":"4", + "code":"5", "des":"This API is used to assign an EIP.The EIP service provides independent public IP addresses and bandwidth for Internet access. EIPs can be bound to or unbound from ECSs, B", "doc_type":"api", - "kw":"Assigning an EIP,Elastic IP,API Reference", + "kw":"Assigning an EIP,EIP,API Reference", "title":"Assigning an EIP", "githuburl":"" }, { "uri":"eip_api_0002.html", "product_code":"eip", - "code":"5", - "des":"This API is used to query a specific EIP.GET /v1/{project_id}/publicips/{publicip_id}Table 1 describes the parameters.Parameter descriptionNameMandatoryDescriptionproject", + "code":"6", + "des":"This API is used to query a specific EIP.Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:In eu-de, EIPs of the Dedicated Load Balancer (", "doc_type":"api", - "kw":"Querying an EIP,Elastic IP,API Reference", + "kw":"Querying an EIP,EIP,API Reference", "title":"Querying an EIP", "githuburl":"" }, { "uri":"eip_api_0003.html", "product_code":"eip", - "code":"6", - "des":"This API is used to query EIPs.GET /v1/{project_id}/publicipsTable 1 describes the parameters.Parameter descriptionNameMandatoryTypeDescriptionproject_idYesStringSpecifie", + "code":"7", + "des":"This API is used to query EIPs.Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:In eu-de, EIPs of the Dedicated Load Balancer (5_gray) ty", "doc_type":"api", - "kw":"Querying EIPs,Elastic IP,API Reference", + "kw":"Querying EIPs,EIP,API Reference", "title":"Querying EIPs", "githuburl":"" }, { "uri":"eip_api_0004.html", "product_code":"eip", - "code":"7", - "des":"This API is used to bind an EIP to a NIC, or unbind an EIP from a NIC.This API cannot be used to bind an EIP to or unbind an EIP from a dedicated load balancer.PUT /v1/{p", + "code":"8", + "des":"This API is used to bind an EIP to a NIC, or unbind an EIP from a NIC.Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:In eu-de, EIPs of ", "doc_type":"api", - "kw":"Updating an EIP,Elastic IP,API Reference", + "kw":"Updating an EIP,EIP,API Reference", "title":"Updating an EIP", "githuburl":"" }, { "uri":"eip_api_0005.html", "product_code":"eip", - "code":"8", - "des":"This API is used to release an EIP.DELETE /v1/{project_id}/publicips/{publicip_id}Table 1 describes the parameters.Parameter descriptionNameMandatoryDescriptionproject_id", + "code":"9", + "des":"This API is used to release an EIP.Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:In eu-de, EIPs of the Dedicated Load Balancer (5_gray", "doc_type":"api", - "kw":"Releasing an EIP,Elastic IP,API Reference", + "kw":"Releasing an EIP,EIP,API Reference", "title":"Releasing an EIP", "githuburl":"" }, { "uri":"eip_apifloatip_0000.html", "product_code":"eip", - "code":"9", + "code":"10", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Floating IP Address (IPv6)", @@ -92,7 +102,7 @@ { "uri":"eip_apifloatip_0001.html", "product_code":"eip", - "code":"10", + "code":"11", "des":"This API is used to query all floating IP addresses accessible to the tenant submitting the request.GET /v2.0/eip/floatingips_v6Example:Table 1 describes the parameters.R", "doc_type":"api", "kw":"Querying Floating IP Addresses,Floating IP Address (IPv6),API Reference", @@ -102,7 +112,7 @@ { "uri":"eip_apifloatip_0002.html", "product_code":"eip", - "code":"11", + "code":"12", "des":"This API is used to query details about a specific floating IP address accessible to the tenant submitting the request.GET /v2.0/eip/floatingips_v6/{floatingip_id}Request", "doc_type":"api", "kw":"Querying a Floating IP Address,Floating IP Address (IPv6),API Reference", @@ -112,7 +122,7 @@ { "uri":"eip_apifloatip_0003.html", "product_code":"eip", - "code":"12", + "code":"13", "des":"This API is used to assign a floating IP address and associates it with an internal port.RestrictionsYou can use GET /v2.0/networks?router:external=True or run the neutro", "doc_type":"api", "kw":"Assigning a Floating IP Address,Floating IP Address (IPv6),API Reference", @@ -122,7 +132,7 @@ { "uri":"eip_apifloatip_0004.html", "product_code":"eip", - "code":"13", + "code":"14", "des":"This API is used to update a specific floating IP address and the port associated with the IP address. If port_id is left blank, the floating IP address has been unbound ", "doc_type":"api", "kw":"Updating a Floating IP Address,Floating IP Address (IPv6),API Reference", @@ -132,7 +142,7 @@ { "uri":"eip_apifloatip_0005.html", "product_code":"eip", - "code":"14", + "code":"15", "des":"This API is used to delete a floating IP address.DELETE /v2.0/eip/floatingips_v6/{floatingip_id}Request parameterNoneNoneExample requestDELETE https://{Endpoint}/v2.0/eip", "doc_type":"api", "kw":"Deleting a Floating IP Address,Floating IP Address (IPv6),API Reference", @@ -142,7 +152,7 @@ { "uri":"eip_apiBandwidth_0000.html", "product_code":"eip", - "code":"15", + "code":"16", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Bandwidth", @@ -152,7 +162,7 @@ { "uri":"eip_apiBandwidth_0001.html", "product_code":"eip", - "code":"16", + "code":"17", "des":"This API is used to query details about a bandwidth.GET /v1/{project_id}/bandwidths/{bandwidth_id}Table 1 describes the parameters.Parameter descriptionNameMandatoryDescr", "doc_type":"api", "kw":"Querying a Bandwidth,Bandwidth,API Reference", @@ -162,8 +172,8 @@ { "uri":"eip_apiBandwidth_0002.html", "product_code":"eip", - "code":"17", - "des":"This API is used to query bandwidths using search criteria.GET /v1/{project_id}/bandwidthsTable 1 describes the parameters.Parameter descriptionNameMandatoryTypeDescripti", + "code":"18", + "des":"This API is used to query bandwidths using search criteria.GET /v1/{project_id}/bandwidthsTable 1 describes the parameters.Request parameterRequest parametersNameMandator", "doc_type":"api", "kw":"Querying Bandwidths,Bandwidth,API Reference", "title":"Querying Bandwidths", @@ -172,7 +182,7 @@ { "uri":"eip_apiBandwidth_0003.html", "product_code":"eip", - "code":"18", + "code":"19", "des":"This API is used to update information about a bandwidth.PUT /v1/{project_id}/bandwidths/{bandwidth_id}Table 1 describes the parameters.Parameter descriptionNameMandatory", "doc_type":"api", "kw":"Updating a Bandwidth,Bandwidth,API Reference", @@ -182,7 +192,7 @@ { "uri":"eip_apisharedbandwidth_0000.html", "product_code":"eip", - "code":"19", + "code":"20", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Bandwidth (V2.0)", @@ -192,7 +202,7 @@ { "uri":"eip_apisharedbandwidth_0001.html", "product_code":"eip", - "code":"20", + "code":"21", "des":"This API is used to assign a shared bandwidth.POST /v2.0/{project_id}/bandwidthsTable 1 describes the parameters.Parameter descriptionNameMandatoryDescriptionproject_idYe", "doc_type":"api", "kw":"Assigning a Shared Bandwidth,Bandwidth (V2.0),API Reference", @@ -202,7 +212,7 @@ { "uri":"eip_apisharedbandwidth_0003.html", "product_code":"eip", - "code":"21", + "code":"22", "des":"This API is used to delete a shared bandwidth.DELETE /v2.0/{project_id}/bandwidths/{bandwidth_id}Table 1 describes the parameters.Parameter descriptionNameMandatoryDescri", "doc_type":"api", "kw":"Deleting a Shared Bandwidth,Bandwidth (V2.0),API Reference", @@ -212,7 +222,7 @@ { "uri":"eip_apisharedbandwidth_0004.html", "product_code":"eip", - "code":"22", + "code":"23", "des":"This API is used to add an EIP to a shared bandwidth.POST /v2.0/{project_id}/bandwidths/{bandwidth_id}/insertTable 1 describes the parameters.Parameter descriptionNameMan", "doc_type":"api", "kw":"Adding an EIP to a Shared Bandwidth,Bandwidth (V2.0),API Reference", @@ -222,7 +232,7 @@ { "uri":"eip_apisharedbandwidth_0005.html", "product_code":"eip", - "code":"23", + "code":"24", "des":"This API is used to remove an EIP from a shared bandwidth.POST /v2.0/{project_id}/bandwidths/{bandwidth_id}/removeTable 1 describes the parameters.Parameter descriptionNa", "doc_type":"api", "kw":"Removing an EIP from a Shared Bandwidth,Bandwidth (V2.0),API Reference", @@ -232,7 +242,7 @@ { "uri":"eip_apiquota_0000.html", "product_code":"eip", - "code":"24", + "code":"25", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Quota", @@ -242,7 +252,7 @@ { "uri":"eip_apiquota_0001.html", "product_code":"eip", - "code":"25", + "code":"26", "des":"This API is used to query network resource quotas of a tenant. The network resources include VPCs, subnets, security groups, security group rules, EIPs, and VPNs.This API", "doc_type":"api", "kw":"Querying the Quota,Quota,API Reference", @@ -252,7 +262,7 @@ { "uri":"eip_apitag_0000.html", "product_code":"eip", - "code":"26", + "code":"27", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"EIP Tag Management", @@ -262,7 +272,7 @@ { "uri":"eip_apitag_0001.html", "product_code":"eip", - "code":"27", + "code":"28", "des":"This API is used to create a tag for an EIP.POST /v2.0/{project_id}/publicips/{publicip_id}/tagsTable 1 describes the parameters.Request parameterRequest parameterParamet", "doc_type":"api", "kw":"Creating a Tag for an EIP,EIP Tag Management,API Reference", @@ -272,7 +282,7 @@ { "uri":"eip_apitag_0002.html", "product_code":"eip", - "code":"28", + "code":"29", "des":"This API is used to query tags of a specified EIP.GET /v2.0/{project_id}/publicips/{publicip_id}/tagsTable 1 describes the parameters.Request parameterNoneNoneExample req", "doc_type":"api", "kw":"Querying EIP Tags,EIP Tag Management,API Reference", @@ -282,7 +292,7 @@ { "uri":"eip_apitag_0003.html", "product_code":"eip", - "code":"29", + "code":"30", "des":"This API is used to delete an EIP tag.DELETE /v2.0/{project_id}/publicips/{publicip_id}/tags/{key}Table 1 describes the parameters.Request parameterNoneNoneExample reques", "doc_type":"api", "kw":"Deleting an EIP Tag,EIP Tag Management,API Reference", @@ -292,7 +302,7 @@ { "uri":"eip_apitag_0004.html", "product_code":"eip", - "code":"30", + "code":"31", "des":"This API is used to add multiple tags to or delete multiple tags from an EIP at a time.This API is idempotent.If there are duplicate keys in the request body when you add", "doc_type":"api", "kw":"Batch Creating or Deleting EIP Tags,EIP Tag Management,API Reference", @@ -302,7 +312,7 @@ { "uri":"eip_apitag_0005.html", "product_code":"eip", - "code":"31", + "code":"32", "des":"This API is used to query EIPs by tag.POST /v2.0/{project_id}/publicips/resource_instances/actionTable 1 describes the parameters.Request parameterRequest parameterParame", "doc_type":"api", "kw":"Querying EIPs by Tag,EIP Tag Management,API Reference", @@ -312,17 +322,97 @@ { "uri":"eip_apitag_0006.html", "product_code":"eip", - "code":"32", + "code":"33", "des":"This API is used to query all EIP tags of a tenant in a specified region.GET /v2.0/{project_id}/publicips/tagsTable 1 describes the parameters.Request parameterNoneNoneEx", "doc_type":"api", "kw":"Querying EIP Tags in a Specified Project,EIP Tag Management,API Reference", "title":"Querying EIP Tags in a Specified Project", "githuburl":"" }, + { + "uri":"eip_apiv3_0000.html", + "product_code":"eip", + "code":"34", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"API V3", + "title":"API V3", + "githuburl":"" + }, + { + "uri":"eip_apiv3_0100.html", + "product_code":"eip", + "code":"35", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"EIPs", + "title":"EIPs", + "githuburl":"" + }, + { + "uri":"ListPublicipsV3.html", + "product_code":"eip", + "code":"36", + "des":"This API is used to query all EIPs. (This API is not supported in eu-nl.)GET /v3/{project_id}/eip/publicipsNoneStatus code: 200NoneStatus code: 200Normal response to the ", + "doc_type":"api", + "kw":"Querying All EIPs,EIPs,API Reference", + "title":"Querying All EIPs", + "githuburl":"" + }, + { + "uri":"ShowPublicipV3.html", + "product_code":"eip", + "code":"37", + "des":"This API is used to query EIP details. (This API is not supported in eu-nl.)GET /v3/{project_id}/eip/publicips/{publicip_id}NoneStatus code: 200NoneStatus code: 200Normal", + "doc_type":"api", + "kw":"Querying EIP Details,EIPs,API Reference", + "title":"Querying EIP Details", + "githuburl":"" + }, + { + "uri":"DisassociatePublicips.html", + "product_code":"eip", + "code":"38", + "des":"This API is used to unbind an EIP. (This API is not supported in eu-nl.)POST /v3/{project_id}/eip/publicips/{publicip_id}/disassociate-instanceNoneStatus code: 200NoneSta", + "doc_type":"api", + "kw":"Unbinding an EIP,EIPs,API Reference", + "title":"Unbinding an EIP", + "githuburl":"" + }, + { + "uri":"AssociatePublicips.html", + "product_code":"eip", + "code":"39", + "des":"This API is used to bind an EIP. (This API is not supported in eu-nl.)POST /v3/{project_id}/eip/publicips/{publicip_id}/associate-instanceStatus code: 200Status code: 200", + "doc_type":"api", + "kw":"Binding an EIP,EIPs,API Reference", + "title":"Binding an EIP", + "githuburl":"" + }, + { + "uri":"eip_apiv3_0300.html", + "product_code":"eip", + "code":"40", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Common Pools", + "title":"Common Pools", + "githuburl":"" + }, + { + "uri":"ListCommonPools.html", + "product_code":"eip", + "code":"41", + "des":"This API is used to query common pools. (This API is not supported in eu-nl.)GET /v3/{project_id}/eip/publicip-pools/common-poolsNoneStatus code: 200NoneStatus code: 200N", + "doc_type":"api", + "kw":"Querying Common Pools,Common Pools,API Reference", + "title":"Querying Common Pools", + "githuburl":"" + }, { "uri":"eip_openstackapi_0000.html", "product_code":"eip", - "code":"33", + "code":"42", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Native OpenStack Neutron APIs V2.0", @@ -332,7 +422,7 @@ { "uri":"eip_openstackapi_0001.html", "product_code":"eip", - "code":"34", + "code":"43", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"API Version Information", @@ -342,8 +432,8 @@ { "uri":"eip_openstackapi_0002.html", "product_code":"eip", - "code":"35", - "des":"This API is used to query all available versions of a native OpenStack API.GET /Request parameterNoneExample requestResponse parameterExample responseSee Status Codes.See", + "code":"44", + "des":"This API is used to query all available versions of a native OpenStack API.GET /NoneSee Status Codes.See Error Codes.", "doc_type":"api", "kw":"Querying API Versions,API Version Information,API Reference", "title":"Querying API Versions", @@ -352,8 +442,8 @@ { "uri":"eip_openstackapi_0003.html", "product_code":"eip", - "code":"36", - "des":"This API is used to query the version of a specified API.GET /{api_version}Table 1 describes the parameters.Request parameterNoneNoneExample requestGET https://{Endpoint}", + "code":"45", + "des":"This API is used to query the version of a specified API.GET /{api_version}Table 1 describes the parameters.NoneSee Status Codes.See Error Codes.", "doc_type":"api", "kw":"Querying a Specified API Version,API Version Information,API Reference", "title":"Querying a Specified API Version", @@ -362,7 +452,7 @@ { "uri":"eip_openstackapi_0004.html", "product_code":"eip", - "code":"37", + "code":"46", "des":"Neutron APIs v2.0 provides the pagination function. You can set parameters limit and marker in the URL to enable the desired number of items to be returned. All returned ", "doc_type":"api", "kw":"Pagination,API Version Information,API Reference", @@ -372,7 +462,7 @@ { "uri":"eip_openstackapi_0005.html", "product_code":"eip", - "code":"38", + "code":"47", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Floating IP Address", @@ -382,7 +472,7 @@ { "uri":"eip_openstackapi_0006.html", "product_code":"eip", - "code":"39", + "code":"48", "des":"This API is used to query all floating IP addresses accessible to the tenant submitting the request.You can query the detailed information about a specified floating IP a", "doc_type":"api", "kw":"Querying Floating IP Addresses,Floating IP Address,API Reference", @@ -392,7 +482,7 @@ { "uri":"eip_openstackapi_0007.html", "product_code":"eip", - "code":"40", + "code":"49", "des":"This API is used to query details about a specified floating IP address, including the floating IP address status, ID of the router to which the floating IP address belon", "doc_type":"api", "kw":"Querying a Floating IP Address,Floating IP Address,API Reference", @@ -402,7 +492,7 @@ { "uri":"eip_openstackapi_0008.html", "product_code":"eip", - "code":"41", + "code":"50", "des":"When assigning a floating IP address, you need to obtain the external network ID floating_network_id of the floating IP address.You can use GET /v2.0/networks?router:exte", "doc_type":"api", "kw":"Assigning a Floating IP Address,Floating IP Address,API Reference", @@ -412,7 +502,7 @@ { "uri":"eip_openstackapi_0009.html", "product_code":"eip", - "code":"42", + "code":"51", "des":"This API is used to update a floating IP address.During the update, the ID of the floating IP address must be provided in the URL.If port_id is left blank, the floating I", "doc_type":"api", "kw":"Updating a Floating IP Address,Floating IP Address,API Reference", @@ -422,17 +512,57 @@ { "uri":"eip_openstackapi_0010.html", "product_code":"eip", - "code":"43", - "des":"This API is used to delete a floating IP address.DELETE /v2.0/floatingips/{floatingip_id}Table 1 describes the parameters.NoneNoneExample requestExample responseNoneSee S", + "code":"52", + "des":"This API is used to delete a floating IP address.Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:In eu-de, EIPs of the Dedicated Load Ba", "doc_type":"api", "kw":"Deleting a Floating IP Address,Floating IP Address,API Reference", "title":"Deleting a Floating IP Address", "githuburl":"" }, + { + "uri":"eip_apieg_0000.html", + "product_code":"eip", + "code":"53", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Application Examples", + "title":"Application Examples", + "githuburl":"" + }, + { + "uri":"eip_apieg_0002.html", + "product_code":"eip", + "code":"54", + "des":"This section describes how to bind an EIP to an ECS by calling APIs.You have created an ECS. For details, see section \"Purchasing an ECS with Customized Configurations\" i", + "doc_type":"api", + "kw":"Binding an EIP to an ECS,Application Examples,API Reference", + "title":"Binding an EIP to an ECS", + "githuburl":"" + }, + { + "uri":"eip_apieg_0003.html", + "product_code":"eip", + "code":"55", + "des":"This section describes how to unbind an EIP from an ECS by calling APIs.You have created an ECS. For details, see section \"Purchasing an ECS with Customized Configuration", + "doc_type":"api", + "kw":"Unbinding an EIP from an ECS,Application Examples,API Reference", + "title":"Unbinding an EIP from an ECS", + "githuburl":"" + }, + { + "uri":"eip_apieg_0001.html", + "product_code":"eip", + "code":"56", + "des":"This section describes how to assign an EIP with a specific shared bandwidth by calling APIs.If you use a token for authentication, you must obtain the token and add X-Au", + "doc_type":"api", + "kw":"Assigning an EIP with a Specific Shared Bandwidth,Application Examples,API Reference", + "title":"Assigning an EIP with a Specific Shared Bandwidth", + "githuburl":"" + }, { "uri":"eip_apipermission_0000.html", "product_code":"eip", - "code":"44", + "code":"57", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Permissions Policies and Supported Actions", @@ -442,17 +572,17 @@ { "uri":"eip_apipermission_0002.html", "product_code":"eip", - "code":"45", + "code":"58", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", - "kw":"Elastic IP,Permissions Policies and Supported Actions,API Reference", - "title":"Elastic IP", + "kw":"EIP,Permissions Policies and Supported Actions,API Reference", + "title":"EIP", "githuburl":"" }, { "uri":"eip_apipermission_0003.html", "product_code":"eip", - "code":"46", + "code":"59", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Bandwidth,Permissions Policies and Supported Actions,API Reference", @@ -462,7 +592,7 @@ { "uri":"eip_apipermission_0004.html", "product_code":"eip", - "code":"47", + "code":"60", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Bandwidth (V2.0),Permissions Policies and Supported Actions,API Reference", @@ -472,7 +602,7 @@ { "uri":"eip_apipermission_0006.html", "product_code":"eip", - "code":"48", + "code":"61", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Floating IP Address (OpenStack Neutron API),Permissions Policies and Supported Actions,API Reference", @@ -482,7 +612,7 @@ { "uri":"eip_apipermission_0007.html", "product_code":"eip", - "code":"49", + "code":"62", "des":"If you have insufficient permissions, response code 200 will be returned when you query network resources and an empty list will be displayed.", "doc_type":"api", "kw":"Precautions for API Permissions,Permissions Policies and Supported Actions,API Reference", @@ -492,7 +622,7 @@ { "uri":"eip_api06_0001.html", "product_code":"eip", - "code":"50", + "code":"63", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Appendix", @@ -502,7 +632,7 @@ { "uri":"eip_api06_0003.html", "product_code":"eip", - "code":"51", + "code":"64", "des":"This section describes monitoring metrics reported by VPC to Cloud Eye as well as their namespaces and dimensions. You can use APIs provided by Cloud Eye to query the mon", "doc_type":"api", "kw":"VPC Monitoring Metrics,Appendix,API Reference", @@ -512,7 +642,7 @@ { "uri":"eip_api05_0001.html", "product_code":"eip", - "code":"52", + "code":"65", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Status Codes,Appendix,API Reference", @@ -520,9 +650,9 @@ "githuburl":"" }, { - "uri":"eip_api05_0002.html", + "uri":"ErrorCode.html", "product_code":"eip", - "code":"53", + "code":"66", "des":"If an error occurs when an API is called, error information is returned. This section describes the error information for EIP APIs (excluding native OpenStack APIs).", "doc_type":"api", "kw":"Error Codes,Appendix,API Reference", @@ -532,7 +662,7 @@ { "uri":"eip_api07_0000.html", "product_code":"eip", - "code":"54", + "code":"67", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Change History,API Reference", diff --git a/docs/eip/api-ref/AssociatePublicips.html b/docs/eip/api-ref/AssociatePublicips.html new file mode 100644 index 00000000..61452012 --- /dev/null +++ b/docs/eip/api-ref/AssociatePublicips.html @@ -0,0 +1,574 @@ + + +

Binding an EIP

+

Function

This API is used to bind an EIP. (This API is not supported in eu-nl.)

+
+

URI

POST /v3/{project_id}/eip/publicips/{publicip_id}/associate-instance

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Path parameters

Parameter

+

Mandatory

+

Type

+

Description

+

project_id

+

Yes

+

String

+

Project ID.

+

Minimum length: 0

+

Maximum length: 32

+

publicip_id

+

Yes

+

String

+

EIP ID.

+

Minimum length: 0

+

Maximum length: 36

+
+
+
+

Request Parameters

+
+ + + + + + + + + + + +
Table 2 Request body parameter

Parameter

+

Mandatory

+

Type

+

Description

+

publicip

+

Yes

+

AssociatePublicipsOption object

+

EIP object.

+
+
+ +
+ + + + + + + + + + + + + + + + +
Table 3 AssociatePublicipsOption

Parameter

+

Mandatory

+

Type

+

Description

+

associate_instance_type

+

Yes

+

String

+
  • Type of the instance that the port belongs to.
  • The value can be PORT, NATGW, VPN, or ELB.
  • Constraints:
    • If neither associate_instance_type nor associate_instance_id is left empty, the instance is bound.
    • associate_instance_type cannot be empty.
    • A dual-stack EIP cannot have its bound instance changed.
    +
+

Minimum length: 0

+

Maximum length: 36

+

Enumerated values:

+
  • PORT
  • NATGW
  • VPN
  • ELB
+

associate_instance_id

+

Yes

+

String

+
  • ID of the instance that the port belongs to, for example, RDS instance ID.
  • Constraints:
    • If neither associate_instance_type nor associate_instance_id is left empty, the instance is bound.
    • associate_instance_id cannot be empty.
    • A dual-stack EIP cannot have its bound instance changed.
    +
+

Minimum length: 0

+

Maximum length: 36

+
+
+
+

Response Parameters

Status code: 200

+ +
+ + + + + + + + + + + + + +
Table 4 Response body parameters

Parameter

+

Type

+

Description

+

request_id

+

String

+

Request ID.

+

Minimum length: 0

+

Maximum length: 36

+

publicip

+

PublicipInstanceResp object

+

Response body of binding an EIP.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 5 PublicipInstanceResp

Parameter

+

Type

+

Description

+

id

+

String

+
  • Unique ID of the EIP.
+

Minimum length: 0

+

Maximum length: 36

+

project_id

+

String

+
  • Project ID.
+

Minimum length: 0

+

Maximum length: 32

+

ip_version

+

Integer

+
  • IP address version.
  • The value can be:
    • 4: IPv4 EIP
    • 6: IPv6 EIP, which is not supported currently.
    +
+

Enumerated values:

+
  • 4
  • 6
+

public_ip_address

+

String

+
  • EIP or IPv6 port address.
+

Minimum length: 0

+

Maximum length: 36

+

status

+

String

+
  • EIP status.
  • The value can be:
    • FREEZED (Frozen)
    • BIND_ERROR (Binding failed)
    • BINDING (Binding)
    • PENDING_DELETE (Releasing)
    • PENDING_CREATE (Assigning)
    • NOTIFYING
    • NOTIFY_DELETE
    • PENDING_UPDATE (Updating)
    • DOWN (Unbound)
    • ACTIVE (Bound)
    • ELB (Bound to a load balancer)
    • VPN (Bound to a VPN)
    • ERROR
    +
+

Enumerated values:

+
  • FREEZED
  • BIND_ERROR
  • BINDING
  • PENDING_DELETE
  • PENDING_CREATE
  • NOTIFYING
  • NOTIFY_DELETE
  • PENDING_UPDATE
  • DOWN
  • ACTIVE
  • ELB
  • ERROR
  • VPN
+

description

+

String

+
  • Supplementary information about the EIP.
  • This is customized by users and is not perceived by the system.
+

Minimum length: 1

+

Maximum length: 255

+

public_border_group

+

String

+
  • Whether the resource is in a central region or an edge site.
  • The value can be center or an edge site name.
  • This resource can only be associated with an EIP of the same region.
+

Minimum length: 1

+

Maximum length: 64

+

created_at

+

String

+
  • Time (UTC) when an EIP is assigned.
  • Format: yyyy-MM-ddTHH:mm:ssZ
+

updated_at

+

String

+
  • Time (UTC) when an EIP is updated.
  • Format: yyyy-MM-ddTHH:mm:ssZ
+

type

+

String

+
  • EIP type
+

Minimum length: 1

+

Maximum length: 36

+

Enumerated values:

+
  • EIP
  • DUALSTACK
+

vnic

+

VnicInfo object

+
  • Port information of the instance with an EIP bound.
  • If the instance with an EIP bound does not depend on a port, the value is null.
+

bandwidth

+

PublicipBandwidthInfo object

+
  • Bandwidth bound to an EIP.
+

enterprise_project_id

+

String

+
  • Enterprise project ID. The value is 0 or a string that contains a maximum of 36 characters in UUID format with hyphens (-). This is the ID of the enterprise project that you associate with the EIP when you assign the EIP.
+

Minimum length: 0

+

Maximum length: 36

+

billing_info

+

String

+
  • Order information of an EIP.
  • This parameter is left empty for pay-per-use resources.
+

Minimum length: 0

+

Maximum length: 256

+

lock_status

+

String

+
  • Frozen status of an EIP.
  • The metadata type indicates that the EIP is frozen due to arrears or abuse.
  • Value range: police or locked
+

Minimum length: 0

+

Maximum length: 64

+

associate_instance_type

+

String

+
  • Type of the instance bound with an EIP.
  • Value range: PORT, NATGW, ELB, ELBV1, VPN or null
+

Minimum length: 0

+

Maximum length: 64

+

Enumerated values:

+
  • PORT
  • NATGW
  • ELB
  • ELBV1
  • VPN
  • null
+

associate_instance_id

+

String

+
  • ID of the instance bound with an EIP.
+

Minimum length: 0

+

Maximum length: 64

+

publicip_pool_id

+

String

+
  • ID of the network that an EIP belongs to. Network ID corresponding to publicip_pool_name
+

Minimum length: 0

+

Maximum length: 36

+

publicip_pool_name

+

String

+
  • Network type of an EIP, including public EIP pool (for example, 5_bgp or 5_sbgp) and dedicated EIP pool.
  • For details about the dedicated EIP pool, see the APIs about publcip_pool.
+

Minimum length: 0

+

Maximum length: 64

+

alias

+

String

+
  • EIP name.
+

Minimum length: 0

+

Maximum length: 64

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 6 VnicInfo

Parameter

+

Type

+

Description

+

private_ip_address

+

String

+
  • Private IP address.
+

Minimum length: 0

+

Maximum length: 36

+

device_id

+

String

+
  • ID of the device that a port belongs to.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 36

+

device_owner

+

String

+
  • Device that the port belongs to.
  • The value can be:
    • network:dhcp
    • network:VIP_PORT
    • network:router_interface_distributed
    • network:router_centralized_snat
    +
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 64

+

vpc_id

+

String

+
  • VPC ID.
+

Minimum length: 0

+

Maximum length: 36

+

port_id

+

String

+
  • Port ID.
+

Minimum length: 0

+

Maximum length: 36

+

port_profile

+

String

+
  • Port profile.
+

Minimum length: 0

+

Maximum length: 256

+

mac

+

String

+
  • Port MAC address.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 64

+

vtep

+

String

+
  • VTEP IP address.
+

Minimum length: 0

+

Maximum length: 36

+

vni

+

String

+
  • VXLAN ID.
+

Minimum length: 0

+

Maximum length: 36

+

instance_id

+

String

+
  • ID of the instance that the port belongs to, for example, RDS instance ID.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 36

+

instance_type

+

String

+
  • Type of the instance that the port belongs to, for example, RDS.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 36

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 7 PublicipBandwidthInfo

Parameter

+

Type

+

Description

+

id

+

String

+
  • Bandwidth ID.
+

Minimum length: 0

+

Maximum length: 36

+

size

+

Integer

+
  • Bandwidth size.
+
  • The value ranges from 1 Mbit/s to 1000 Mbit/s by default.
+

Minimum value: 1

+

Maximum value: 1000

+

share_type

+

String

+
  • Whether the bandwidth is shared or dedicated.
  • The value can be:
    • PER: Dedicated bandwidth
    • WHOLE: Shared bandwidth
    +
  • IPv6 addresses do not support bandwidth whose type is WHOLE.
+

Minimum length: 0

+

Maximum length: 36

+

charge_mode

+

String

+
  • Whether the billing is based on traffic or bandwidth.
  • The value can be:
    • bandwidth: billed by bandwidth
    • traffic: billed by traffic
    • 95peak_plus: billed by 95th percentile bandwidth (enhanced)
    +
+

Minimum length: 0

+

Maximum length: 36

+

name

+

String

+
  • Bandwidth name.
  • The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).
+

Minimum length: 0

+

Maximum length: 64

+

billing_info

+

String

+
  • Billing information.
+

Minimum length: 0

+

Maximum length: 256

+
+
+
+

Example Request

{
+  "publicip" : {
+    "associate_instance_id" : "921b9dc7-8151-41e1-b83c-d50fe959592a",
+    "associate_instance_type" : "PORT"
+  }
+}
+
+

Example Response

Status code: 200

+

Normal response to POST requests

+

+
{
+  "publicip" : {
+    "alias" : "abcd",
+    "associate_instance_id" : "921b9dc7-8151-41e1-b83c-d50fe959592a",
+    "associate_instance_type" : "PORT",
+    "bandwidth" : {
+      "billing_info" : "xxxx:xxxx:xxxx:xxxx",
+      "charge_mode" : "bandwidth",
+      "id" : "80549ae1-cf7a-4f39-a45f-bdb8e194a1f4",
+      "name" : "bandwidth-bd25-test",
+      "share_type" : "WHOLE",
+      "size" : 7
+    },
+    "billing_info" : null,
+    "created_at" : "2020-06-18T14:05:32Z",
+    "description" : "test!!!!",
+    "enterprise_project_id" : "0",
+    "public_border_group" : "center",
+    "id" : "b0c42aa6-3d1d-4b39-9188-35ee6aa8d6f7",
+    "ip_version" : 4,
+    "lock_status" : null,
+    "project_id" : "060576782980d5762f9ec014dd2f1148",
+    "public_ip_address" : "xx.xx.xx.xx",
+    "publicip_pool_id" : "160576782980d5762f9ec014dd2f1148",
+    "publicip_pool_name" : "5_mobile",
+    "status" : "ACTIVE",
+    "type" : "EIP",
+    "updated_at" : "2020-06-18T14:05:32Z",
+    "vnic" : {
+      "device_id" : "78aa6d7f-7111-434e-9a93-0dc6fdacff63",
+      "device_owner" : "network:nat_gateway",
+      "instance_id" : "",
+      "instance_type" : "",
+      "mac" : "fa:16:3e:83:6b:0a",
+      "port_id" : "921b9dc7-8151-41e1-b83c-d50fe959592a",
+      "port_profile" : null,
+      "private_ip_address" : "xx.xx.xx.xx",
+      "vni" : null,
+      "vpc_id" : "a26c231a-cf6f-48d3-83db-1e261d0e235a",
+      "vtep" : null
+    }
+  },
+  "request_id" : "ead9f912bd1191e3d5f0037141098d91"
+}
+
+

Status Codes

See Status Codes.

+
+

Error Codes

See Error Codes.

+
+
+
+ +
+ diff --git a/docs/eip/api-ref/CLASS.TXT.json b/docs/eip/api-ref/CLASS.TXT.json index 85d79e32..409f465f 100644 --- a/docs/eip/api-ref/CLASS.TXT.json +++ b/docs/eip/api-ref/CLASS.TXT.json @@ -9,10 +9,10 @@ "code":"1" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"APIs provided by the EIP service include native OpenStack APIs and EIP APIs.A combination of these two types of APIs allows you to use all functions provided by the EIP s", "product_code":"eip", - "title":"APIs", - "uri":"eip_api04_0000.html", + "title":"API Overview", + "uri":"eip_api02_0001.html", "doc_type":"api", "p_code":"", "code":"2" @@ -20,11 +20,20 @@ { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"eip", - "title":"Elastic IP", + "title":"APIs", + "uri":"eip_api04_0000.html", + "doc_type":"api", + "p_code":"", + "code":"3" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"eip", + "title":"EIP", "uri":"eip_api_0000.html", "doc_type":"api", - "p_code":"2", - "code":"3" + "p_code":"3", + "code":"4" }, { "desc":"This API is used to assign an EIP.The EIP service provides independent public IP addresses and bandwidth for Internet access. EIPs can be bound to or unbound from ECSs, B", @@ -32,44 +41,44 @@ "title":"Assigning an EIP", "uri":"eip_api_0001.html", "doc_type":"api", - "p_code":"3", - "code":"4" + "p_code":"4", + "code":"5" }, { - "desc":"This API is used to query a specific EIP.GET /v1/{project_id}/publicips/{publicip_id}Table 1 describes the parameters.Parameter descriptionNameMandatoryDescriptionproject", + "desc":"This API is used to query a specific EIP.Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:In eu-de, EIPs of the Dedicated Load Balancer (", "product_code":"eip", "title":"Querying an EIP", "uri":"eip_api_0002.html", "doc_type":"api", - "p_code":"3", - "code":"5" + "p_code":"4", + "code":"6" }, { - "desc":"This API is used to query EIPs.GET /v1/{project_id}/publicipsTable 1 describes the parameters.Parameter descriptionNameMandatoryTypeDescriptionproject_idYesStringSpecifie", + "desc":"This API is used to query EIPs.Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:In eu-de, EIPs of the Dedicated Load Balancer (5_gray) ty", "product_code":"eip", "title":"Querying EIPs", "uri":"eip_api_0003.html", "doc_type":"api", - "p_code":"3", - "code":"6" + "p_code":"4", + "code":"7" }, { - "desc":"This API is used to bind an EIP to a NIC, or unbind an EIP from a NIC.This API cannot be used to bind an EIP to or unbind an EIP from a dedicated load balancer.PUT /v1/{p", + "desc":"This API is used to bind an EIP to a NIC, or unbind an EIP from a NIC.Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:In eu-de, EIPs of ", "product_code":"eip", "title":"Updating an EIP", "uri":"eip_api_0004.html", "doc_type":"api", - "p_code":"3", - "code":"7" + "p_code":"4", + "code":"8" }, { - "desc":"This API is used to release an EIP.DELETE /v1/{project_id}/publicips/{publicip_id}Table 1 describes the parameters.Parameter descriptionNameMandatoryDescriptionproject_id", + "desc":"This API is used to release an EIP.Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:In eu-de, EIPs of the Dedicated Load Balancer (5_gray", "product_code":"eip", "title":"Releasing an EIP", "uri":"eip_api_0005.html", "doc_type":"api", - "p_code":"3", - "code":"8" + "p_code":"4", + "code":"9" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -77,8 +86,8 @@ "title":"Floating IP Address (IPv6)", "uri":"eip_apifloatip_0000.html", "doc_type":"api", - "p_code":"2", - "code":"9" + "p_code":"3", + "code":"10" }, { "desc":"This API is used to query all floating IP addresses accessible to the tenant submitting the request.GET /v2.0/eip/floatingips_v6Example:Table 1 describes the parameters.R", @@ -86,8 +95,8 @@ "title":"Querying Floating IP Addresses", "uri":"eip_apifloatip_0001.html", "doc_type":"api", - "p_code":"9", - "code":"10" + "p_code":"10", + "code":"11" }, { "desc":"This API is used to query details about a specific floating IP address accessible to the tenant submitting the request.GET /v2.0/eip/floatingips_v6/{floatingip_id}Request", @@ -95,8 +104,8 @@ "title":"Querying a Floating IP Address", "uri":"eip_apifloatip_0002.html", "doc_type":"api", - "p_code":"9", - "code":"11" + "p_code":"10", + "code":"12" }, { "desc":"This API is used to assign a floating IP address and associates it with an internal port.RestrictionsYou can use GET /v2.0/networks?router:external=True or run the neutro", @@ -104,8 +113,8 @@ "title":"Assigning a Floating IP Address", "uri":"eip_apifloatip_0003.html", "doc_type":"api", - "p_code":"9", - "code":"12" + "p_code":"10", + "code":"13" }, { "desc":"This API is used to update a specific floating IP address and the port associated with the IP address. If port_id is left blank, the floating IP address has been unbound ", @@ -113,8 +122,8 @@ "title":"Updating a Floating IP Address", "uri":"eip_apifloatip_0004.html", "doc_type":"api", - "p_code":"9", - "code":"13" + "p_code":"10", + "code":"14" }, { "desc":"This API is used to delete a floating IP address.DELETE /v2.0/eip/floatingips_v6/{floatingip_id}Request parameterNoneNoneExample requestDELETE https://{Endpoint}/v2.0/eip", @@ -122,8 +131,8 @@ "title":"Deleting a Floating IP Address", "uri":"eip_apifloatip_0005.html", "doc_type":"api", - "p_code":"9", - "code":"14" + "p_code":"10", + "code":"15" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -131,8 +140,8 @@ "title":"Bandwidth", "uri":"eip_apiBandwidth_0000.html", "doc_type":"api", - "p_code":"2", - "code":"15" + "p_code":"3", + "code":"16" }, { "desc":"This API is used to query details about a bandwidth.GET /v1/{project_id}/bandwidths/{bandwidth_id}Table 1 describes the parameters.Parameter descriptionNameMandatoryDescr", @@ -140,17 +149,17 @@ "title":"Querying a Bandwidth", "uri":"eip_apiBandwidth_0001.html", "doc_type":"api", - "p_code":"15", - "code":"16" + "p_code":"16", + "code":"17" }, { - "desc":"This API is used to query bandwidths using search criteria.GET /v1/{project_id}/bandwidthsTable 1 describes the parameters.Parameter descriptionNameMandatoryTypeDescripti", + "desc":"This API is used to query bandwidths using search criteria.GET /v1/{project_id}/bandwidthsTable 1 describes the parameters.Request parameterRequest parametersNameMandator", "product_code":"eip", "title":"Querying Bandwidths", "uri":"eip_apiBandwidth_0002.html", "doc_type":"api", - "p_code":"15", - "code":"17" + "p_code":"16", + "code":"18" }, { "desc":"This API is used to update information about a bandwidth.PUT /v1/{project_id}/bandwidths/{bandwidth_id}Table 1 describes the parameters.Parameter descriptionNameMandatory", @@ -158,8 +167,8 @@ "title":"Updating a Bandwidth", "uri":"eip_apiBandwidth_0003.html", "doc_type":"api", - "p_code":"15", - "code":"18" + "p_code":"16", + "code":"19" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -167,8 +176,8 @@ "title":"Bandwidth (V2.0)", "uri":"eip_apisharedbandwidth_0000.html", "doc_type":"api", - "p_code":"2", - "code":"19" + "p_code":"3", + "code":"20" }, { "desc":"This API is used to assign a shared bandwidth.POST /v2.0/{project_id}/bandwidthsTable 1 describes the parameters.Parameter descriptionNameMandatoryDescriptionproject_idYe", @@ -176,8 +185,8 @@ "title":"Assigning a Shared Bandwidth", "uri":"eip_apisharedbandwidth_0001.html", "doc_type":"api", - "p_code":"19", - "code":"20" + "p_code":"20", + "code":"21" }, { "desc":"This API is used to delete a shared bandwidth.DELETE /v2.0/{project_id}/bandwidths/{bandwidth_id}Table 1 describes the parameters.Parameter descriptionNameMandatoryDescri", @@ -185,8 +194,8 @@ "title":"Deleting a Shared Bandwidth", "uri":"eip_apisharedbandwidth_0003.html", "doc_type":"api", - "p_code":"19", - "code":"21" + "p_code":"20", + "code":"22" }, { "desc":"This API is used to add an EIP to a shared bandwidth.POST /v2.0/{project_id}/bandwidths/{bandwidth_id}/insertTable 1 describes the parameters.Parameter descriptionNameMan", @@ -194,8 +203,8 @@ "title":"Adding an EIP to a Shared Bandwidth", "uri":"eip_apisharedbandwidth_0004.html", "doc_type":"api", - "p_code":"19", - "code":"22" + "p_code":"20", + "code":"23" }, { "desc":"This API is used to remove an EIP from a shared bandwidth.POST /v2.0/{project_id}/bandwidths/{bandwidth_id}/removeTable 1 describes the parameters.Parameter descriptionNa", @@ -203,8 +212,8 @@ "title":"Removing an EIP from a Shared Bandwidth", "uri":"eip_apisharedbandwidth_0005.html", "doc_type":"api", - "p_code":"19", - "code":"23" + "p_code":"20", + "code":"24" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -212,8 +221,8 @@ "title":"Quota", "uri":"eip_apiquota_0000.html", "doc_type":"api", - "p_code":"2", - "code":"24" + "p_code":"3", + "code":"25" }, { "desc":"This API is used to query network resource quotas of a tenant. The network resources include VPCs, subnets, security groups, security group rules, EIPs, and VPNs.This API", @@ -221,8 +230,8 @@ "title":"Querying the Quota", "uri":"eip_apiquota_0001.html", "doc_type":"api", - "p_code":"24", - "code":"25" + "p_code":"25", + "code":"26" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -230,8 +239,8 @@ "title":"EIP Tag Management", "uri":"eip_apitag_0000.html", "doc_type":"api", - "p_code":"2", - "code":"26" + "p_code":"3", + "code":"27" }, { "desc":"This API is used to create a tag for an EIP.POST /v2.0/{project_id}/publicips/{publicip_id}/tagsTable 1 describes the parameters.Request parameterRequest parameterParamet", @@ -239,8 +248,8 @@ "title":"Creating a Tag for an EIP", "uri":"eip_apitag_0001.html", "doc_type":"api", - "p_code":"26", - "code":"27" + "p_code":"27", + "code":"28" }, { "desc":"This API is used to query tags of a specified EIP.GET /v2.0/{project_id}/publicips/{publicip_id}/tagsTable 1 describes the parameters.Request parameterNoneNoneExample req", @@ -248,8 +257,8 @@ "title":"Querying EIP Tags", "uri":"eip_apitag_0002.html", "doc_type":"api", - "p_code":"26", - "code":"28" + "p_code":"27", + "code":"29" }, { "desc":"This API is used to delete an EIP tag.DELETE /v2.0/{project_id}/publicips/{publicip_id}/tags/{key}Table 1 describes the parameters.Request parameterNoneNoneExample reques", @@ -257,8 +266,8 @@ "title":"Deleting an EIP Tag", "uri":"eip_apitag_0003.html", "doc_type":"api", - "p_code":"26", - "code":"29" + "p_code":"27", + "code":"30" }, { "desc":"This API is used to add multiple tags to or delete multiple tags from an EIP at a time.This API is idempotent.If there are duplicate keys in the request body when you add", @@ -266,8 +275,8 @@ "title":"Batch Creating or Deleting EIP Tags", "uri":"eip_apitag_0004.html", "doc_type":"api", - "p_code":"26", - "code":"30" + "p_code":"27", + "code":"31" }, { "desc":"This API is used to query EIPs by tag.POST /v2.0/{project_id}/publicips/resource_instances/actionTable 1 describes the parameters.Request parameterRequest parameterParame", @@ -275,8 +284,8 @@ "title":"Querying EIPs by Tag", "uri":"eip_apitag_0005.html", "doc_type":"api", - "p_code":"26", - "code":"31" + "p_code":"27", + "code":"32" }, { "desc":"This API is used to query all EIP tags of a tenant in a specified region.GET /v2.0/{project_id}/publicips/tagsTable 1 describes the parameters.Request parameterNoneNoneEx", @@ -284,8 +293,80 @@ "title":"Querying EIP Tags in a Specified Project", "uri":"eip_apitag_0006.html", "doc_type":"api", - "p_code":"26", - "code":"32" + "p_code":"27", + "code":"33" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"eip", + "title":"API V3", + "uri":"eip_apiv3_0000.html", + "doc_type":"api", + "p_code":"", + "code":"34" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"eip", + "title":"EIPs", + "uri":"eip_apiv3_0100.html", + "doc_type":"api", + "p_code":"34", + "code":"35" + }, + { + "desc":"This API is used to query all EIPs. (This API is not supported in eu-nl.)GET /v3/{project_id}/eip/publicipsNoneStatus code: 200NoneStatus code: 200Normal response to the ", + "product_code":"eip", + "title":"Querying All EIPs", + "uri":"ListPublicipsV3.html", + "doc_type":"api", + "p_code":"35", + "code":"36" + }, + { + "desc":"This API is used to query EIP details. (This API is not supported in eu-nl.)GET /v3/{project_id}/eip/publicips/{publicip_id}NoneStatus code: 200NoneStatus code: 200Normal", + "product_code":"eip", + "title":"Querying EIP Details", + "uri":"ShowPublicipV3.html", + "doc_type":"api", + "p_code":"35", + "code":"37" + }, + { + "desc":"This API is used to unbind an EIP. (This API is not supported in eu-nl.)POST /v3/{project_id}/eip/publicips/{publicip_id}/disassociate-instanceNoneStatus code: 200NoneSta", + "product_code":"eip", + "title":"Unbinding an EIP", + "uri":"DisassociatePublicips.html", + "doc_type":"api", + "p_code":"35", + "code":"38" + }, + { + "desc":"This API is used to bind an EIP. (This API is not supported in eu-nl.)POST /v3/{project_id}/eip/publicips/{publicip_id}/associate-instanceStatus code: 200Status code: 200", + "product_code":"eip", + "title":"Binding an EIP", + "uri":"AssociatePublicips.html", + "doc_type":"api", + "p_code":"35", + "code":"39" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"eip", + "title":"Common Pools", + "uri":"eip_apiv3_0300.html", + "doc_type":"api", + "p_code":"34", + "code":"40" + }, + { + "desc":"This API is used to query common pools. (This API is not supported in eu-nl.)GET /v3/{project_id}/eip/publicip-pools/common-poolsNoneStatus code: 200NoneStatus code: 200N", + "product_code":"eip", + "title":"Querying Common Pools", + "uri":"ListCommonPools.html", + "doc_type":"api", + "p_code":"40", + "code":"41" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -294,7 +375,7 @@ "uri":"eip_openstackapi_0000.html", "doc_type":"api", "p_code":"", - "code":"33" + "code":"42" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -302,26 +383,26 @@ "title":"API Version Information", "uri":"eip_openstackapi_0001.html", "doc_type":"api", - "p_code":"33", - "code":"34" + "p_code":"42", + "code":"43" }, { - "desc":"This API is used to query all available versions of a native OpenStack API.GET /Request parameterNoneExample requestResponse parameterExample responseSee Status Codes.See", + "desc":"This API is used to query all available versions of a native OpenStack API.GET /NoneSee Status Codes.See Error Codes.", "product_code":"eip", "title":"Querying API Versions", "uri":"eip_openstackapi_0002.html", "doc_type":"api", - "p_code":"34", - "code":"35" + "p_code":"43", + "code":"44" }, { - "desc":"This API is used to query the version of a specified API.GET /{api_version}Table 1 describes the parameters.Request parameterNoneNoneExample requestGET https://{Endpoint}", + "desc":"This API is used to query the version of a specified API.GET /{api_version}Table 1 describes the parameters.NoneSee Status Codes.See Error Codes.", "product_code":"eip", "title":"Querying a Specified API Version", "uri":"eip_openstackapi_0003.html", "doc_type":"api", - "p_code":"34", - "code":"36" + "p_code":"43", + "code":"45" }, { "desc":"Neutron APIs v2.0 provides the pagination function. You can set parameters limit and marker in the URL to enable the desired number of items to be returned. All returned ", @@ -329,8 +410,8 @@ "title":"Pagination", "uri":"eip_openstackapi_0004.html", "doc_type":"api", - "p_code":"34", - "code":"37" + "p_code":"43", + "code":"46" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -338,8 +419,8 @@ "title":"Floating IP Address", "uri":"eip_openstackapi_0005.html", "doc_type":"api", - "p_code":"33", - "code":"38" + "p_code":"42", + "code":"47" }, { "desc":"This API is used to query all floating IP addresses accessible to the tenant submitting the request.You can query the detailed information about a specified floating IP a", @@ -347,8 +428,8 @@ "title":"Querying Floating IP Addresses", "uri":"eip_openstackapi_0006.html", "doc_type":"api", - "p_code":"38", - "code":"39" + "p_code":"47", + "code":"48" }, { "desc":"This API is used to query details about a specified floating IP address, including the floating IP address status, ID of the router to which the floating IP address belon", @@ -356,8 +437,8 @@ "title":"Querying a Floating IP Address", "uri":"eip_openstackapi_0007.html", "doc_type":"api", - "p_code":"38", - "code":"40" + "p_code":"47", + "code":"49" }, { "desc":"When assigning a floating IP address, you need to obtain the external network ID floating_network_id of the floating IP address.You can use GET /v2.0/networks?router:exte", @@ -365,8 +446,8 @@ "title":"Assigning a Floating IP Address", "uri":"eip_openstackapi_0008.html", "doc_type":"api", - "p_code":"38", - "code":"41" + "p_code":"47", + "code":"50" }, { "desc":"This API is used to update a floating IP address.During the update, the ID of the floating IP address must be provided in the URL.If port_id is left blank, the floating I", @@ -374,17 +455,53 @@ "title":"Updating a Floating IP Address", "uri":"eip_openstackapi_0009.html", "doc_type":"api", - "p_code":"38", - "code":"42" + "p_code":"47", + "code":"51" }, { - "desc":"This API is used to delete a floating IP address.DELETE /v2.0/floatingips/{floatingip_id}Table 1 describes the parameters.NoneNoneExample requestExample responseNoneSee S", + "desc":"This API is used to delete a floating IP address.Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:In eu-de, EIPs of the Dedicated Load Ba", "product_code":"eip", "title":"Deleting a Floating IP Address", "uri":"eip_openstackapi_0010.html", "doc_type":"api", - "p_code":"38", - "code":"43" + "p_code":"47", + "code":"52" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"eip", + "title":"Application Examples", + "uri":"eip_apieg_0000.html", + "doc_type":"api", + "p_code":"", + "code":"53" + }, + { + "desc":"This section describes how to bind an EIP to an ECS by calling APIs.You have created an ECS. For details, see section \"Purchasing an ECS with Customized Configurations\" i", + "product_code":"eip", + "title":"Binding an EIP to an ECS", + "uri":"eip_apieg_0002.html", + "doc_type":"api", + "p_code":"53", + "code":"54" + }, + { + "desc":"This section describes how to unbind an EIP from an ECS by calling APIs.You have created an ECS. For details, see section \"Purchasing an ECS with Customized Configuration", + "product_code":"eip", + "title":"Unbinding an EIP from an ECS", + "uri":"eip_apieg_0003.html", + "doc_type":"api", + "p_code":"53", + "code":"55" + }, + { + "desc":"This section describes how to assign an EIP with a specific shared bandwidth by calling APIs.If you use a token for authentication, you must obtain the token and add X-Au", + "product_code":"eip", + "title":"Assigning an EIP with a Specific Shared Bandwidth", + "uri":"eip_apieg_0001.html", + "doc_type":"api", + "p_code":"53", + "code":"56" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -393,16 +510,16 @@ "uri":"eip_apipermission_0000.html", "doc_type":"api", "p_code":"", - "code":"44" + "code":"57" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"eip", - "title":"Elastic IP", + "title":"EIP", "uri":"eip_apipermission_0002.html", "doc_type":"api", - "p_code":"44", - "code":"45" + "p_code":"57", + "code":"58" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -410,8 +527,8 @@ "title":"Bandwidth", "uri":"eip_apipermission_0003.html", "doc_type":"api", - "p_code":"44", - "code":"46" + "p_code":"57", + "code":"59" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -419,8 +536,8 @@ "title":"Bandwidth (V2.0)", "uri":"eip_apipermission_0004.html", "doc_type":"api", - "p_code":"44", - "code":"47" + "p_code":"57", + "code":"60" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -428,8 +545,8 @@ "title":"Floating IP Address (OpenStack Neutron API)", "uri":"eip_apipermission_0006.html", "doc_type":"api", - "p_code":"44", - "code":"48" + "p_code":"57", + "code":"61" }, { "desc":"If you have insufficient permissions, response code 200 will be returned when you query network resources and an empty list will be displayed.", @@ -437,8 +554,8 @@ "title":"Precautions for API Permissions", "uri":"eip_apipermission_0007.html", "doc_type":"api", - "p_code":"44", - "code":"49" + "p_code":"57", + "code":"62" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -447,7 +564,7 @@ "uri":"eip_api06_0001.html", "doc_type":"api", "p_code":"", - "code":"50" + "code":"63" }, { "desc":"This section describes monitoring metrics reported by VPC to Cloud Eye as well as their namespaces and dimensions. You can use APIs provided by Cloud Eye to query the mon", @@ -455,8 +572,8 @@ "title":"VPC Monitoring Metrics", "uri":"eip_api06_0003.html", "doc_type":"api", - "p_code":"50", - "code":"51" + "p_code":"63", + "code":"64" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -464,17 +581,17 @@ "title":"Status Codes", "uri":"eip_api05_0001.html", "doc_type":"api", - "p_code":"50", - "code":"52" + "p_code":"63", + "code":"65" }, { "desc":"If an error occurs when an API is called, error information is returned. This section describes the error information for EIP APIs (excluding native OpenStack APIs).", "product_code":"eip", "title":"Error Codes", - "uri":"eip_api05_0002.html", + "uri":"ErrorCode.html", "doc_type":"api", - "p_code":"50", - "code":"53" + "p_code":"63", + "code":"66" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -483,6 +600,6 @@ "uri":"eip_api07_0000.html", "doc_type":"api", "p_code":"", - "code":"54" + "code":"67" } ] \ No newline at end of file diff --git a/docs/eip/api-ref/DisassociatePublicips.html b/docs/eip/api-ref/DisassociatePublicips.html new file mode 100644 index 00000000..047000aa --- /dev/null +++ b/docs/eip/api-ref/DisassociatePublicips.html @@ -0,0 +1,495 @@ + + +

Unbinding an EIP

+

Function

This API is used to unbind an EIP. (This API is not supported in eu-nl.)

+
+

URI

POST /v3/{project_id}/eip/publicips/{publicip_id}/disassociate-instance

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Path parameters

Parameter

+

Mandatory

+

Type

+

Description

+

project_id

+

Yes

+

String

+

Project ID.

+

Minimum length: 0

+

Maximum length: 32

+

publicip_id

+

Yes

+

String

+

EIP ID.

+

Minimum length: 0

+

Maximum length: 36

+
+
+
+

Request Parameter

None

+
+

Response Parameters

Status code: 200

+ +
+ + + + + + + + + + + + + +
Table 2 Response body parameters

Parameter

+

Type

+

Description

+

request_id

+

String

+

Request ID.

+

Minimum length: 0

+

Maximum length: 36

+

publicip

+

PublicipInstanceResp object

+

Response body of unbinding an EIP.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 PublicipInstanceResp

Parameter

+

Type

+

Description

+

id

+

String

+
  • Unique ID of the EIP.
+

Minimum length: 0

+

Maximum length: 36

+

project_id

+

String

+
  • Project ID.
+

Minimum length: 0

+

Maximum length: 32

+

ip_version

+

Integer

+
  • IP address version.
  • The value can be:
    • 4: IPv4 EIP
    • 6: IPv6 EIP, which is not supported currently.
    +
+

Enumerated values:

+
  • 4
  • 6
+

public_ip_address

+

String

+
  • EIP or IPv6 port address.
+

Minimum length: 0

+

Maximum length: 36

+

status

+

String

+
  • EIP status.
  • The value can be:
    • FREEZED (Frozen)
    • BIND_ERROR (Binding failed)
    • BINDING (Binding)
    • PENDING_DELETE (Releasing)
    • PENDING_CREATE (Assigning)
    • NOTIFYING
    • NOTIFY_DELETE
    • PENDING_UPDATE (Updating)
    • DOWN (Unbound)
    • ACTIVE (Bound)
    • ELB (Bound to a load balancer)
    • VPN (Bound to a VPN)
    • ERROR
    +
+

Enumerated values:

+
  • FREEZED
  • BIND_ERROR
  • BINDING
  • PENDING_DELETE
  • PENDING_CREATE
  • NOTIFYING
  • NOTIFY_DELETE
  • PENDING_UPDATE
  • DOWN
  • ACTIVE
  • ELB
  • ERROR
  • VPN
+

description

+

String

+
  • Supplementary information about the EIP.
  • This is customized by users and is not perceived by the system.
+

Minimum length: 1

+

Maximum length: 255

+

public_border_group

+

String

+
  • Whether the resource is in a central region or an edge site.
  • The value can be center or an edge site name.
  • This resource can only be associated with an EIP of the same region.
+

Minimum length: 1

+

Maximum length: 64

+

created_at

+

String

+
  • Time (UTC) when an EIP is assigned.
  • Format: yyyy-MM-ddTHH:mm:ssZ
+

updated_at

+

String

+
  • Time (UTC) when an EIP is updated.
  • Format: yyyy-MM-ddTHH:mm:ssZ
+

type

+

String

+
  • EIP type.
+

Minimum length: 1

+

Maximum length: 36

+

Enumerated values:

+
  • EIP
  • DUALSTACK
+

vnic

+

VnicInfo object

+
  • Port information of the instance with an EIP bound.
  • If the instance with an EIP bound does not depend on a port, the value is null.
+

bandwidth

+

PublicipBandwidthInfo object

+
  • Bandwidth bound to an EIP.
+

enterprise_project_id

+

String

+
  • Enterprise project ID. The value is 0 or a string that contains a maximum of 36 characters in UUID format with hyphens (-). This is the ID of the enterprise project that you associate with the EIP when you assign the EIP.
+

Minimum length: 0

+

Maximum length: 36

+

billing_info

+

String

+
  • Order information of an EIP.
  • This parameter is left empty for pay-per-use resources.
+

Minimum length: 0

+

Maximum length: 256

+

lock_status

+

String

+
  • Frozen status of an EIP.
  • The metadata type indicates that the EIP is frozen due to arrears or abuse.
  • Value range: police or locked
+

Minimum length: 0

+

Maximum length: 64

+

associate_instance_type

+

String

+
  • Type of the instance bound with an EIP.
  • Value range: PORT, NATGW, ELB, ELBV1, VPN or null
+

Minimum length: 0

+

Maximum length: 64

+

Enumerated values:

+
  • PORT
  • NATGW
  • ELB
  • ELBV1
  • VPN
  • null
+

associate_instance_id

+

String

+
  • ID of the instance bound with an EIP.
+

Minimum length: 0

+

Maximum length: 64

+

publicip_pool_id

+

String

+
  • ID of the network that an EIP belongs to. Network ID corresponding to publicip_pool_name
+

Minimum length: 0

+

Maximum length: 36

+

publicip_pool_name

+

String

+
  • Network type of an EIP, including public EIP pool (for example, 5_bgp or 5_sbgp) and dedicated EIP pool.
  • For details about the dedicated EIP pool, see the APIs about publcip_pool.
+

Minimum length: 0

+

Maximum length: 64

+

alias

+

String

+
  • EIP name.
+

Minimum length: 0

+

Maximum length: 64

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4 VnicInfo

Parameter

+

Type

+

Description

+

private_ip_address

+

String

+
  • Private IP address.
+

Minimum length: 0

+

Maximum length: 36

+

device_id

+

String

+
  • ID of the device that a port belongs to.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 36

+

device_owner

+

String

+
  • Device that the port belongs to.
  • The value can be:
    • network:dhcp
    • network:VIP_PORT
    • network:router_interface_distributed
    • network:router_centralized_snat
    +
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 64

+

vpc_id

+

String

+
  • VPC ID.
+

Minimum length: 0

+

Maximum length: 36

+

port_id

+

String

+
  • Port ID.
+

Minimum length: 0

+

Maximum length: 36

+

port_profile

+

String

+
  • Port profile.
+

Minimum length: 0

+

Maximum length: 256

+

mac

+

String

+
  • Port MAC address.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 64

+

vtep

+

String

+
  • VTEP IP address.
+

Minimum length: 0

+

Maximum length: 36

+

vni

+

String

+
  • VXLAN ID.
+

Minimum length: 0

+

Maximum length: 36

+

instance_id

+

String

+
  • ID of the instance that the port belongs to, for example, RDS instance ID.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 36

+

instance_type

+

String

+
  • Type of the instance that the port belongs to, for example, RDS.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 36

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 5 PublicipBandwidthInfo

Parameter

+

Type

+

Description

+

id

+

String

+
  • Bandwidth ID.
+

Minimum length: 0

+

Maximum length: 36

+

size

+

Integer

+
  • Bandwidth size.
+
  • The value ranges from 1 Mbit/s to 1000 Mbit/s by default.
+

Minimum value: 1

+

Maximum value: 1000

+

share_type

+

String

+
  • Whether the bandwidth is shared or dedicated.
  • The value can be:
    • PER: Dedicated bandwidth
    • WHOLE: Shared bandwidth
    +
  • IPv6 addresses do not support bandwidth whose type is WHOLE.
+

Minimum length: 0

+

Maximum length: 36

+

charge_mode

+

String

+
  • Whether the billing is based on traffic or bandwidth.
  • The value can be:
    • bandwidth: billed by bandwidth
    • traffic: billed by traffic
    • 95peak_plus: billed by 95th percentile bandwidth (enhanced)
    +
+

Minimum length: 0

+

Maximum length: 36

+

name

+

String

+
  • Bandwidth name.
  • The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).
+

Minimum length: 0

+

Maximum length: 64

+

billing_info

+

String

+
  • Billing information.
+

Minimum length: 0

+

Maximum length: 256

+
+
+
+

Example Request

None

+
+

Example Response

Status code: 200

+

Normal response to POST requests

+

+
{
+  "publicip" : {
+    "alias" : "abcd",
+    "associate_instance_id" : null,
+    "associate_instance_type" : null,
+    "bandwidth" : {
+      "billing_info" : "xxxx:xxxx:xxxx:xxxx",
+      "charge_mode" : "bandwidth",
+      "id" : "80549ae1-cf7a-4f39-a45f-bdb8e194a1f4",
+      "name" : "bandwidth-bd25-test",
+      "share_type" : "WHOLE",
+      "size" : 7
+    },
+    "billing_info" : null,
+    "created_at" : "2020-06-18T14:05:32Z",
+    "description" : "test!!!!",
+    "enterprise_project_id" : "0",
+    "public_border_group" : "center",
+    "id" : "b0c42aa6-3d1d-4b39-9188-35ee6aa8d6f7",
+    "ip_version" : 4,
+    "lock_status" : null,
+    "project_id" : "060576782980d5762f9ec014dd2f1148",
+    "public_ip_address" : "xx.xx.xx.xx",
+    "publicip_pool_id" : "160576782980d5762f9ec014dd2f1148",
+    "publicip_pool_name" : "5_mobile",
+    "status" : "DOWN",
+    "type" : "EIP",
+    "updated_at" : "2020-06-18T14:05:32Z",
+    "vnic" : null
+  },
+  "request_id" : "ead9f912bd1191e3d5f0037141098d91"
+}
+
+

Status Codes

See Status Codes.

+
+

Error Codes

See Error Codes.

+
+
+
+ +
+ diff --git a/docs/eip/api-ref/ErrorCode.html b/docs/eip/api-ref/ErrorCode.html new file mode 100644 index 00000000..6bf86e5f --- /dev/null +++ b/docs/eip/api-ref/ErrorCode.html @@ -0,0 +1,2015 @@ + + +

Error Codes

+

Description

If an error occurs when an API is called, error information is returned. This section describes the error information for EIP APIs (excluding native OpenStack APIs).

+
+

Example of Returned Error Information

{
+    "code": "VPC.0504",
+    "message": "Floating IP could not be found."
+}
+
+

Error Code Description

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Module

+

Status Code

+

Error Code

+

Message

+

Description

+

Handling Measure

+

Public

+

400

+

VPC.0002

+

Available zone Name is null.

+

The AZ is left blank.

+

Check whether the availability_zone field in the request body for creating a subnet is left blank.

+

404

+

VPC.0003

+

VPC does not exist.

+

The VPC does not exist.

+

Check whether the VPC ID is correct or whether the VPC exists under the tenant.

+

400

+

VPC.0004

+

VPC is not active, please try later.

+

The VPC status is abnormal.

+

Try again later or contact technical support.

+

401

+

VPC.0005

+

Lack of user authority.

+

User restricted.

+

Check whether the account is in arrears or has not applied for the OBT permission.

+

401

+

VPC.0009

+

real-name authentication fail.

+

Real-name authentication fails.

+

Contact technical support.

+

Public

+

400

+

VPC.0007

+

urlTenantId is not equal tokenTenantId

+

Inconsistent tenant IDs.

+

The tenant ID in the URL is different from that parsed in the token.

+

401

+

VPC.0008

+

Invalid token in the header.

+

Invalid token.

+

Check whether the token in the request header is valid.

+

403

+

VPC.2701

+

Token not allowed to do this action.

+

You do not have permission to perform this operation, or your account balance is insufficient.

+

Check whether the account balance is insufficient or whether your account has been frozen.

+

Public

+

+

403

+

VPC.0010

+

Rules on xx by ** disallowed by policy

+

Insufficient permissions to make calls to the underlying system.

+

Obtain the required permissions.

+

403

+

VPC.2201

+

Policy doesn't allow <x:x:x> to be performed

+

Insufficient fine-grained permissions.

+

Obtain the required permissions.

+

Creating a VPC

+

400

+

VPC.0101

+

Param is invalid.

+

VPC parameters are incorrect.

+

Check whether the parameter values are valid based on the returned error message and API reference document.

+

409

+

VPC.0114

+

Quota exceeded for resources: ['router'].

+

The number of VPCs has reached the maximum allowed limit specified by the quota.

+

Clear VPC resources that no longer will be used or apply for expanding the VPC resource quota.

+

400

+

VPC.0115

+

The router name has exist.

+

The VPC name already exists.

+

Change the VPC name.

+

Querying a VPC

+

400

+

VPC.0101

+

getVpc error vpcId is invalid.

+

VPC parameters are incorrect.

+

Ensure that the specified VPC ID is correct.

+

404/500

+

VPC.0105

+

Neutron Error.

+

Calling the backend service fails.

+

Check whether the Neutron service is normal or contact technical support.

+

500

+

VPC.0106

+

get router is null.

+

An error is returned for the failure to call the backend service.

+

Check whether the Neutron service is normal or contact technical support.

+

Querying VPCs

+

400

+

VPC.0101

+

Query vpc list error.

+

Failed to query the VPCs.

+

Check whether the parameter values are valid based on the returned error message.

+

500

+

VPC.0105

+

Neutron Error.

+

Calling the backend service fails.

+

Check whether the Neutron service is normal or contact technical support.

+

500

+

VPC.0106

+

query routers or getList are null.

+

The response result of calls to the IaaS OpenStack system is null or empty.

+

Check whether the Neutron service is normal or contact technical support.

+

Deleting a VPC

+

400/404

+

VPC.0101

+

Delete router error xx is invalid.

+

Invalid parameters.

+

Check whether the parameter values are valid based on the returned error message.

+

500

+

VPC.0102

+

Delete router fail.

+

The interface fails to obtain the routing resources.

+

Contact technical support.

+

409

+

VPC.0103

+

Resource status is busy, try it again later.

+

The VPC cannot be deleted because it is being created.

+

Contact technical support.

+

409

+

VPC.0104

+

Router contains subnets, please delete subnet first.

+

The VPC cannot be deleted because it contains subnets.

+

Delete the subnet in the VPC.

+

404/500

+

VPC.0105

+

Neutron Error.

+

Calling the backend service fails.

+

Check whether the Neutron service is normal or contact technical support.

+

409

+

VPC.0107

+

Delete the firewall first before deleting the router.

+

Failed to delete the VPC because it has firewalls associated.

+

Delete the firewalls of the tenant first.

+

409

+

VPC.0108

+

Router is used not allow deleted.

+

Failed to delete the VPC because it has EIPs associated.

+

Delete the EIPs of the tenant first.

+

409

+

VPC.0109

+

Router is used not allow deleted.

+

Failed to delete the VPC because one or more VPNs have been created for it.

+

Delete VPNs of the tenant.

+

409

+

VPC.0110

+

deleteDefaultNetworkFromRouter router status is invalid.

+

The VPC cannot be deleted because its status is unstable.

+

Contact technical support.

+

500

+

VPC.0111

+

Database Error.

+

An internal VPC exception occurs.

+

Contact technical support.

+

409

+

VPC.0112

+

Delete the securitygroup first before deleting the router.

+

The VPC cannot be deleted because it contains security groups.

+

Delete security groups of the tenant.

+

409

+

VPC.0118

+

ELB exists under this router, delete ELB firstly.

+

The VPC cannot be deleted because it contains load balancers.

+

Delete load balancers in the VPC.

+

500

+

VPC.0119

+

ELB Error.

+

An error occurred when the VPC service makes calls to the ELB service.

+

Check whether the ELB service is normal or contact technical support.

+

409

+

VPC.0120

+

exroutes exists under this router, delete exroutes firstly.

+

The VPC cannot be deleted because it contains extension routes.

+

Delete extension routes in the VPC.

+

Updating a VPC

+

+

400

+

VPC.0101

+

Update router xx is invalid.

+

Invalid parameters.

+

Check whether the parameter values are valid based on the returned error message.

+

404/500

+

VPC.0105

+

Neutron Error.

+

Calling the backend service fails.

+

Check whether the Neutron service is normal or contact technical support.

+

500

+

VPC.0113

+

Router status is not active.

+

The VPC cannot be updated because the status of the VPC is abnormal.

+

Try again later or contact technical support.

+

400

+

VPC.0115

+

The router name has exist.

+

The VPC name already exists.

+

Change the VPC name.

+

400

+

VPC.0117

+

Cidr can not contain subnetList cidr.

+

The subnet parameters are invalid. The VPC CIDR block does not contain all its subnet CIDR blocks.

+

Change the CIDR block of the VPC.

+

Creating a subnet

+

400

+

VPC.0201

+

Subnet name is invalid.

+

Incorrect subnet parameters.

+

Check whether the parameter values are valid based on the returned error message and API reference document.

+

500

+

VPC.0202

+

Create subnet failed.

+

An internal error occurs in the subnet.

+

Contact technical support.

+

400

+

VPC.0203

+

Subnet is not in the range of VPC.

+

The CIDR block of the subnet is not in the range of the VPC.

+

Change the CIDR block of the subnet.

+

400

+

VPC.0204

+

The subnet has already existed in the VPC, or has been in conflict with the VPC subnet.

+

The CIDR block of the subnet already exists in the VPC.

+

Change the CIDR block of the subnet.

+

400

+

VPC.0212

+

The subnet cidr is not valid.

+

Invalid subnet CIDR block.

+

Check whether the subnet CIDR block is valid.

+

Querying a subnet

+

400

+

VPC.0201

+

Subnet ID is invalid.

+

Invalid subnet ID.

+

Check whether the subnet ID is valid.

+

404/500

+

VPC.0202

+

Query subnet fail.

+

Failed to query the subnet.

+

Contact technical support.

+

Querying subnets

+

400

+

VPC.0201

+

Query subnets list error.

+

Failed to query the subnets.

+

Check whether the parameter values are valid based on the returned error message.

+

500

+

VPC.0202

+

List subnets error.

+

Failed to query the subnets.

+

Contact technical support.

+

Deleting a subnet

+

400

+

VPC.0201

+

Subnet ID is invalid.

+

Invalid subnet ID.

+

Check whether the parameter values are valid based on the returned error message.

+

404/500

+

VPC.0202

+

Neutron Error.

+

An internal error occurs in the subnet.

+

Contact technical support.

+

500

+

VPC.0206

+

Subnet has been used by VPN, please remove the subnet from the VPN and try again.

+

The subnet cannot be deleted because it is being used by the VPN.

+

Delete the subnet that is used by the VPN.

+

400

+

VPC.0207

+

Subnet does not belong to the VPC.

+

This operation is not allowed because the subnet does not belong to the VPC.

+

Check whether the subnet is in the VPC.

+

500

+

VPC.0208

+

Subnet is used by private IP, can not be deleted.

+

The subnet cannot be deleted because it is being used by the private IP address.

+

Delete the private IP address of the subnet.

+

500

+

VPC.0209

+

subnet is still used ,such as computer,LB.

+

The subnet cannot be deleted because it is being used by an ECS or load balancer.

+

Delete the ECS or load balancer in the subnet.

+

500

+

VPC.0210

+

Subnet has been used by routes, please remove the routes first and try again.

+

The subnet cannot be deleted because it is being used by the custom route.

+

Delete the custom route.

+

500

+

VPC.0211

+

subnet is still used by LBaas.

+

The subnet cannot be deleted because it is being used by load balancers.

+

Delete load balancers in the subnet.

+

Updating a subnet

+

400

+

VPC.0201

+

xx is invalid.

+

Incorrect subnet parameters.

+

Check whether the parameter values are valid based on the returned error message.

+

404/500

+

VPC.0202

+

Neutron Error.

+

An internal error occurs in the subnet.

+

Contact technical support.

+

500

+

VPC.0205

+

Subnet states is invalid, please try again later.

+

The subnet cannot be updated because it is being processed.

+

Try again later or contact technical support.

+

400

+

VPC.0207

+

Subnet does not belong to the VPC.

+

This operation is not allowed because the subnet does not belong to the VPC.

+

Check whether the subnet is in the VPC.

+

Assigning an EIP

+

+

400

+

VPC.0301

+

Bandwidth name or share_type is invalid.

+

The specified bandwidth parameter for assigning an EIP is invalid.

+

Check whether the specified bandwidth parameter is valid.

+

400

+

VPC.0501

+

Bandwidth share_type is invalid.

+

Invalid EIP parameters.

+

Check whether the parameter values are valid based on the returned error message and API reference document.

+

403

+

VPC.0502

+

Tenant status is op_restricted.

+

You are not allowed to assign the EIP.

+

Check whether the account balance is insufficient or whether your account has been frozen.

+

500

+

VPC.0503

+

Creating publicIp failed.

+

Failed to assign the EIP.

+

Contact technical support.

+

500

+

VPC.0504

+

FloatIp is null.

+

Failed to assign the EIP because no IP address is found.

+

Contact technical support.

+

500

+

VPC.0508

+

Port is invalid.

+

Port-related resources could not be found.

+

Contact technical support.

+

409

+

VPC.0510

+

Floatingip has already associated with port.

+

The EIP has already been bound to another ECS.

+

Unbind the EIP from the ECS.

+

409

+

VPC.0511

+

Port has already associated with floatingip.

+

The port has already been associated with an EIP.

+

Disassociate the port from the EIP.

+

409

+

VPC.0521

+

Quota exceeded for resources: ['floatingip'].

+

Insufficient EIP quota.

+

Release the unbound EIPs or request to increase the EIP quota.

+

409

+

VPC.0522

+

The IP address is in use.

+

The IP address is invalid or in use.

+

Check whether the IP address format is valid or replace it with another IP address.

+

409

+

VPC.0532

+

No more IP addresses available on network.

+

Failed to assign the IP address because no IP addresses are available.

+

Release unbound EIPs or try again later.

+

Querying an EIP

+

400

+

VPC.0501

+

Invalid floatingip_id.

+

Invalid EIP parameters.

+

Check whether the EIP ID is valid.

+

404

+

VPC.0504

+

Floating IP could not be found.

+

The EIP could not be found.

+

Check whether the specified EIP ID is valid.

+

500

+

VPC.0514

+

Neutron Error.

+

An exception occurs in the IaaS OpenStack system.

+

Check whether the Neutron service is normal or contact technical support.

+

Querying EIPs

+

400

+

VPC.0501

+

Invalid limit.

+

Invalid EIP parameters.

+

Check whether the parameter values are valid based on the returned error message and API reference document.

+

Releasing an EIP

+

+

+

+

+

+

+

+

400

+

VPC.0501

+

Invalid param.

+

Invalid EIP parameters.

+

Contact technical support.

+

404

+

VPC.0504

+

Floating IP could not be found.

+

The EIP could not be found.

+

Check whether the specified EIP ID is valid.

+

409

+

VPC.0512

+

Resource status is busy, try it again later.

+

The EIP status is abnormal.

+

Try again later or contact technical support.

+

500

+

VPC.0513

+

getElementByKey error.

+

Network resources cannot be found.

+

Contact technical support.

+

500

+

VPC.0516

+

Publicip is in used by ELB.

+

Failed to release the EIP because it is being used by a load balancer.

+

Unbind the EIP from the load balancer.

+

409

+

VPC.0517

+

Floatingip has associated with port, please disassociate it firstly.

+

Failed to release the EIP because it is bound to an ECS.

+

Unbind the EIP from the ECS.

+

500

+

VPC.0518

+

Public IP has firewall rules.

+

Failed to release the EIP because it is being used by a firewall.

+

Contact technical support.

+

Updating an EIP

+

400

+

VPC.0501

+

Port id is invalid.

+

Invalid EIP parameters.

+

Check whether the port ID is valid.

+

404

+

VPC.0504

+

Floating IP could not be found.

+

The EIP could not be found.

+

Check whether the specified EIP ID is valid.

+

500

+

VPC.0509

+

Floating ip double status is invalid.

+

The port has already been associated with an EIP.

+

Disassociate the port from the EIP.

+

409

+

VPC.0510

+

Floatingip has already associated with port.

+

The EIP has already been bound to another ECS.

+

Unbind the EIP from the ECS.

+

409

+

VPC.0511

+

Port has already associated with floatingip.

+

Failed to bind the EIP to the ECS because another EIP has already been bound to the ECS.

+

Unbind the EIP from the ECS.

+

409

+

VPC.0512

+

Resource status is busy, try it again later.

+

The EIP status is abnormal.

+

Try again later or contact technical support.

+

404/500

+

VPC.0514

+

Neutron Error.

+

An exception occurs in the IaaS OpenStack system.

+

Check whether the Neutron service is normal or contact technical support.

+

Querying a bandwidth

+

+

400

+

VPC.0301

+

getBandwidth error bandwidthId is invalid.

+

The bandwidth parameters are incorrect.

+

Check whether the bandwidth ID is valid.

+

404

+

VPC.0306

+

No Eip bandwidth exist with id.

+

The bandwidth object does not exist.

+

The bandwidth object to be queried does not exist.

+

500

+

VPC.0302

+

Neutron Error.

+

An exception occurs in the IaaS OpenStack system.

+

Check whether the Neutron service is normal or contact technical support.

+

Querying bandwidths

+

400

+

VPC.0301

+

Get bandwidths error limit is invalid.

+

The bandwidth parameters are incorrect.

+

Check whether the parameter values are valid based on the returned error message and API reference document.

+

404

+

VPC.0306

+

No Eip bandwidth exist with id.

+

The bandwidth object does not exist.

+

The bandwidth object to be queried does not exist.

+

500

+

VPC.0302

+

Neutron Error.

+

An exception occurs in the IaaS OpenStack system.

+

Check whether the Neutron service is normal or contact technical support.

+

Updating a bandwidth

+

+

400

+

VPC.0301

+

updateBandwidth input param is invalid.

+

The bandwidth parameters are incorrect.

+

Check whether the parameter values are valid based on the returned error message and API reference document.

+

500

+

VPC.0302

+

Neutron Error.

+

Failed to obtain underlying resources.

+

Check whether the Neutron service is normal or contact technical support.

+

500

+

VPC.0305

+

updateBandwidth error.

+

An internal error occurs during the bandwidth update.

+

Contact technical support.

+

Querying quotas

+

400

+

VPC.1207

+

resource type is invalid.

+

The specified resource type does not exist.

+

Use an existing resource type.

+

Assigning a private IP address

+

+

+

+

500

+

VPC.0701

+

The IP has been used.

+

The private IP address already exists.

+

Change another private IP address and try again.

+

400

+

VPC.0705

+

IP address is not a valid IP for the specified subnet.

+

Invalid private IP address

+

Check whether the specified IP address in the request body is within the subnet CIDR block.

+

404

+

VPC.2204

+

Query resource by id fail.

+

The resource does not exist or the permission is insufficient.

+

Check whether the specified subnet in the request body exists or the current account has the permission to query the subnet.

+

409

+

VPC.0703

+

No more IP addresses available on network xxx.

+

Insufficient IP addresses.

+

Check whether the subnet has sufficient IP addresses.

+

Querying a Private IP Address

+

404

+

VPC.0704

+

Query resource by id fail.

+

The private IP address does not exist.

+

Check whether the private IP address exists.

+

Querying Private IP Addresses

+

400

+

VPC.0702

+

query privateIps error.

+

Invalid parameters.

+

Check whether the parameter values are valid based on the returned error message.

+

Releasing a Private IP Address

+

+

+

404

+

VPC.0704

+

Query resource by id fail.

+

The private IP address does not exist.

+

Check whether the private IP address exists.

+

500

+

VPC.0706

+

Delete port fail.

+

An error occurs when the private IP address is being released.

+

Try again later or contact technical support.

+

409

+

VPC.0707

+

privateIp is in use.

+

The private IP address is in use.

+

Check whether the private IP address is being used by other resource.

+

Creating a security group

+

+

400

+

VPC.0601

+

Creating securitygroup name is invalid.

+

The parameters of the security group are incorrect.

+

Check whether the parameter values are valid based on the returned error message and API reference document.

+

500

+

VPC.0602

+

Add security group fail.

+

An internal error occurs in the security group.

+

Check whether the Neutron service is normal or contact technical support.

+

409

+

VPC.0604

+

Quota exceeded for resources: ['security_group'].

+

Insufficient security group quota.

+

Delete the security group that is no longer required or apply for increasing the quota.

+

Querying a security group

+

400

+

VPC.0601

+

Securitygroup id is invalid.

+

The parameters of the security group are incorrect.

+

Check whether the security group ID is valid.

+

500

+

VPC.0602

+

Query security group fail.

+

An internal error occurs in the security group.

+

Check whether the Neutron service is normal or contact technical support.

+

404

+

VPC.0603

+

Securitygroup is not exist.

+

The security group does not exist.

+

Check whether the security group ID is correct or whether the security group exists under the tenant.

+

404/500

+

VPC.0612

+

Neutron Error.

+

An internal error occurs in the security group.

+

Contact technical support.

+

Querying security groups

+

400

+

VPC.0601

+

Query security groups error limit is invalid.

+

The parameters of the security group are incorrect.

+

Check whether the parameter values are valid based on the returned error message and API reference document.

+

500

+

VPC.0602

+

Query security groups fail.

+

An internal error occurs in the security group.

+

Check whether the Neutron service is normal or contact technical support.

+

Associating multiple NIC ports to or disassociating them from a security group at a time

+

400

+

VPC.0606

+

Security group id is invalid

+

Invalid security group ID.

+

Use a valid security group ID.

+

400

+

VPC.0606

+

Request is invalid

+

The request structure is missing.

+

Use a valid request body.

+

400

+

VPC.0606

+

Request is null

+

The request is empty.

+

Use a valid request body.

+

400

+

VPC.0606

+

Action is invalid

+

Invalid action value.

+

Use a valid action value (add or remove).

+

400

+

VPC.0606

+

Ports list is empty

+

The ports are an empty list.

+

Use a valid ports list.

+

400

+

VPC.0606

+

Port id is invalid

+

The ports list contains invalid port IDs.

+

Use a valid ports list.

+

400

+

VPC.0609

+

Ports list exceeds limit

+

The ports list contains more than 20 IDs.

+

Use a valid ports list.

+

400

+

VPC.0606

+

Endpoint is invalid

+

Invalid endpoint.

+

Contact technical support.

+

200

+

VPC.0607

+

Security group of this instance doesn't exist

+

The security group does not exist.

+

Use a valid security group ID.

+

200

+

VPC.0607

+

An instance must belong to at least one security group

+

Do not disassociate the instance from the security group when it is associated with only one security group.

+

Perform other operations.

+

200

+

VPC.0608

+

Neutron Error

+

An internal error occurs when you perform batch operations.

+

Contact technical support.

+

Flow log

+

+

+

400

+

VPC.3001

+

resource could not be found, flowlog id is invalid

+

Invalid parameters.

+

Check whether the parameters are valid.

+

400

+

VPC.3002

+

create its topic failed

+

An error occurred during log topic creation in LTS.

+

Check whether the parameters are valid.

+

404

+

VPC.3002

+

NeutronError

+

Failed to query the flow log.

+

Check whether the parameters are valid.

+

500

+

VPC.3002

+

NeutronError

+

Failed to create the flow log.

+

Contact technical support.

+

Resource tags

+

400

+

VPC.1801

+

resource id is invalid.

+

Incorrect resource ID.

+

Use a correct resource ID.

+

400

+

VPC.1801

+

action is invalid.

+

Invalid action value.

+

Ensure that the value of action is create or delete.

+

400

+

VPC.1801

+

Tag length is invalid. The key length must be in range [1,36] and value in range [0,43]

+

Invalid key length. The key can contain 1 to 36 characters.

+

Use a valid key value.

+

400

+

VPC.1801

+

Tag length is invalid. The key length must be in range [1,36] and value in range [0,43]

+

Invalid value length.

+

The value can contain 0 to 43 characters.

+

Use a value of valid length.

+

400

+

VPC.1801

+

Resource_type xxx is invalid.

+

Incorrect resource type.

+

Ensure that the value of resource_type is vpcs.

+

400

+

VPC.1801

+

Tag can not be null.

+

The tag list contains value null.

+

Use valid tags.

+

400

+

VPC.1801

+

The list of matches contains null.

+

The matches list contains value null.

+

Use valid matches.

+

400

+

VPC.1801

+

Tag value can not be null.

+

The tags exist, but their values are null.

+

Use valid tags.

+

400

+

VPC.1801

+

The value of Matches in resourceInstancesReq is null.

+

The matches exist, and the value is null.

+

Use valid matches.

+

400

+

VPC.1801

+

number of tags exceeds max num of 10.

+

The tag list contains more than 10 keys.

+

Use valid tags.

+

400

+

VPC.1801

+

Tag key is repeated.

+

The tag list contains duplicate keys.

+

Use valid tags.

+

400

+

VPC.1801

+

Value of tags in resourceInstancesReq is duplicate.

+

There are duplicate tag values in the tag list.

+

Use valid tags.

+

400

+

VPC.1801

+

number of tags exceeds max num of 10.

+

The tag in the tag list has more than 10 tag values.

+

Use valid tags.

+

400

+

VPC.1801

+

The key of matches is invalid.

+

The key in matches is not the resource name.

+

Use valid matches.

+

400

+

VPC.1801

+

Limit in resourceInstancesReq is invalid.

+

Offset in resourceInstancesReq is invalid.

+

Invalid limit or offset value.

+

Use valid limit and offset values.

+

400

+

VPC.1801

+

ResourceInstancesReq is null or invalid.

+

The tags dictionary structure is missing.

+

Use a valid tags dictionary structure.

+

400

+

VPC.1801

+

Tag length is invalid. The key length must be in range [1,36] and value in range [0,43]

+

The key in tags exceeds the maximum length or is left blank.

+

Use valid keys in tags.

+

400

+

VPC.1801

+

Tag length is invalid. The key length must be in range [1,36] and value in range [0,43]

+

A value in tags exceeds the maximum length.

+

Use valid values in tags.

+

400

+

VPC.1801

+

ResourceInstancesReq is null or invalid.

+

The matches dictionary structure is missing.

+

Use a valid matches dictionary structure.

+

400

+

VPC.1801

+

The number of Matches in resourceInstancesReq is 0.

+

The matches are an empty list.

+

Use a valid matches list.

+

400

+

VPC.1801

+

The value's length of Matches in resourceInstancesReq is more than 255.

+

The matches list contains tag values that contain more than 255 Unicode characters.

+

Use a valid matches list.

+

500

+

VPC.1801

+

InvalidInput

+

Incorrect request body format.

+

Use the correct request body format.

+

404

+

VPC.2204

+

Query subnet by id fail.

+

The resource does not exist or the permission is insufficient.

+

Use an existing resource or obtain required permission.

+

Querying the network IP address usage

+

400

+

VPC.2301

+

parameter network_id is invalid.

+

The request parameter is incorrect.

+

Enter a valid network ID.

+

400

+

VPC.2302

+

Network xxx could not be found.

+

The network is not found.

+

Ensure that the network ID exists.

+

Creating a VPC flow log

+

400

+

VPC.3001

+

resource_type/log_store_type/traffic_type/log_group_id/log_topic_id is invalid

+

Incorrect type or ID.

+

Check whether the type is supported or whether the ID format is correct.

+

400

+

VPC.3002

+

Port does not support flow log, port id : xxx

+

The VPC flow log does not support this type of port.

+

Check whether the port is an S3, C3, or M3 ECS NIC port.

+

404

+

VPC.3002

+

Port/Network/Vpc xxx could not be found.

+

The resource does not exist.

+

Check whether the resource exists.

+

409

+

VPC.3004

+

Content of flow log is duplicate: resource type xxx, reousce id xxx, traffic type all, log group id xxx, log topic id xxx, log store type xxx, log store name xxx.

+

This VPC flow log already exists.

+

Modify the parameters of the VPC flow log.

+

500

+

VPC.3002

+

Create flow log by xxx(tenant_id) fail.

+

Calling the backend service fails.

+

Try again later or contact technical support.

+

Querying VPC flow logs

+

404

+

VPC.3001

+

resource could not be found, xxx(listParam) is invalid

+

Invalid parameters.

+

Check whether the parameter format is correct.

+

500

+

VPC.3002

+

Neutron Error.

+

Calling the backend service fails.

+

Try again later or contact technical support.

+

Querying a VPC flow log

+

404

+

VPC.3001

+

resource could not be found, flowlog id is invalid.

+

Invalid VPC flow log ID.

+

Check whether the VPC flow log ID format is correct.

+

404

+

VPC.3002

+

Flow log xxx could not be found.

+

The VPC flow log does not exist.

+

Check whether the VPC flow log exists or whether its ID is correct.

+

Updating a VPC flow log

+

404

+

VPC.3001

+

resource could not be found, flowlog id is invalid.

+

Invalid VPC flow log ID.

+

Check whether the VPC flow log ID format is correct.

+

404

+

VPC.3005

+

Flow log xxx could not be found.

+

The VPC flow log does not exist.

+

Check whether the VPC flow log exists or whether its ID is correct.

+

500

+

VPC.3002

+

Update flow log by xxx(tenant_id) fail.

+

Calling the backend service fails.

+

Try again later or contact technical support.

+

Deleting a VPC flow log

+

404

+

VPC.3001

+

resource could not be found, flowlog id is invalid.

+

Invalid VPC flow log ID.

+

Check whether the VPC flow log ID format is correct.

+

404

+

VPC.3005

+

Flow log xxx could not be found.

+

The VPC flow log does not exist.

+

Check whether the VPC flow log exists or whether its ID is correct.

+

500

+

VPC.3002

+

Delete flow log by xxx(tenant_id) fail.

+

Calling the backend service fails.

+

Try again later or contact technical support.

+
+
+
+
+
+ +
+ diff --git a/docs/eip/api-ref/ListCommonPools.html b/docs/eip/api-ref/ListCommonPools.html new file mode 100644 index 00000000..6d205ee2 --- /dev/null +++ b/docs/eip/api-ref/ListCommonPools.html @@ -0,0 +1,210 @@ + + +

Querying Common Pools

+

Function

This API is used to query common pools. (This API is not supported in eu-nl.)

+
+

URI

GET /v3/{project_id}/eip/publicip-pools/common-pools

+ +
+ + + + + + + + + + + +
Table 1 Path parameter

Parameter

+

Mandatory

+

Type

+

Description

+

project_id

+

Yes

+

String

+
  • Project ID.
+

Minimum length: 0

+

Maximum length: 32

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 2 Query parameters

Parameter

+

Mandatory

+

Type

+

Description

+

fields

+

No

+

String

+
  • Field. Format: "fields=id&fields=name&.."
  • Supported fields: id, name, status, type, used, allow_share_bandwidth_types, and public_border_group.
+

Minimum length: 0

+

Maximum length: 1024

+

name

+

No

+

String

+
  • Common pool name.
+

Minimum length: 0

+

Maximum length: 36

+

public_border_group

+

No

+

String

+
  • Whether the common pool is in a central region or an edge site.
+

Minimum length: 0

+

Maximum length: 64

+
+
+
+

Request Parameter

None

+
+

Response Parameters

Status code: 200

+ +
+ + + + + + + + + + + + + +
Table 3 Response body parameters

Parameter

+

Type

+

Description

+

common_pools

+

Array of CommonPoolDict objects

+

Common pool.

+

request_id

+

String

+

Request ID.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4 CommonPoolDict

Parameter

+

Type

+

Description

+

name

+

String

+
  • Common pool name.
+

Minimum length: 0

+

Maximum length: 36

+

status

+

String

+
  • Common pool status
+

Minimum length: 0

+

Maximum length: 36

+

type

+

String

+
  • Common pool type, such as bgp.
+

Minimum length: 0

+

Maximum length: 36

+

used

+

Integer

+
  • Number of used EIPs.
+

Minimum value: 0

+

Maximum value: 99999

+

public_border_group

+

String

+
  • Whether the resource is in a central region or an edge site.
  • The value can be center or an edge site name.
  • This resource can only be associated with an EIP of the same region.
+

Minimum length: 1

+

Maximum length: 64

+

id

+

String

+
  • Common pool ID. The parameter is not displayed by default.
+

Minimum length: 0

+

Maximum length: 36

+

allow_share_bandwidth_types

+

Array of strings

+
  • Types of the shared bandwidth that an EIP can be added to. If this parameter is left blank, the EIP cannot be added to any shared bandwidth.
  • The EIP can be added only to the shared bandwidth of these types.
+

Maximum length: 64

+
+
+
+

Example Request

None

+
+

Example Response

Status code: 200

+

Normal response to the GET operation

+
{
+  "common_pools" : [ {
+    "name" : "5_bgp",
+    "status" : "active",
+    "type" : "bgp",
+    "used" : 99,
+    "public_border_group" : "center",
+    "allow_share_bandwidth_types" : [ "share" ]
+  } ],
+  "request_id" : "4a06c169-cc67-4d94-a786-2d70ef09b100"
+}
+
+

Status Codes

See Status Codes.

+
+

Error Codes

See Error Codes.

+
+
+
+ +
+ diff --git a/docs/eip/api-ref/ListPublicipsV3.html b/docs/eip/api-ref/ListPublicipsV3.html new file mode 100644 index 00000000..92648e3a --- /dev/null +++ b/docs/eip/api-ref/ListPublicipsV3.html @@ -0,0 +1,1212 @@ + + +

Querying All EIPs

+

Function

This API is used to query all EIPs. (This API is not supported in eu-nl.)

+
+

URI

GET /v3/{project_id}/eip/publicips

+ +
+ + + + + + + + + + + +
Table 1 Path parameter

Parameter

+

Mandatory

+

Type

+

Description

+

project_id

+

Yes

+

String

+
  • Project ID.
+

Minimum length: 0

+

Maximum length: 32

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Query parameters

Parameter

+

Mandatory

+

Type

+

Description

+

marker

+

No

+

String

+
  • Start resource ID of pagination query. If the parameter is left blank, only resources on the first page are queried.
+

Minimum length: 0

+

Maximum length: 36

+

offset

+

No

+

Integer

+
  • Start resource number of pagination query.
+

Minimum value: 0

+

Maximum value: 99999

+

limit

+

No

+

Integer

+
  • Number of records returned on each page.
  • The value ranges from 0 to 2,000. The maximum value varies by region.
+

Minimum value: 0

+

Maximum value: 2000

+

fields

+

No

+

Array

+
  • Field. Format: "fields=id&fields=owner&..."
  • Supported fields: id, project_id, ip_version, type, public_ip_address, public_ipv6_address, network_type, status, description, created_at, updated_at, vnic, bandwidth, associate_instance_type, associate_instance_id, lock_status, billing_info, tags, enterprise_project_id, allow_share_bandwidth_types, public_border_group, alias, publicip_pool_name, and publicip_pool_id.
+

sort_key

+

No

+

String

+
  • Sort. Format: "sort_key=id"
  • Supported fields: id, public_ip_address, public_ipv6_address, ip_version, created_at, updated_at, and public_border_group.
+

Enumerated values:

+
  • id
  • public_ip_address
  • public_ipv6_address
  • ip_version
  • created_at
  • updated_at
  • public_border_group
+

sort_dir

+

No

+

String

+
  • Sorting direction.
  • The value can be asc or desc
+

Enumerated values:

+
  • asc
  • desc
+

id

+

No

+

Array

+
  • Filter by id.
+

ip_version

+

No

+

Array

+
  • Filter by ip_version.
  • The value can be 4 (IPv4) or 6 (IPv6).
+

Enumerated values:

+
  • 4
  • 6
+

public_ip_address

+

No

+

Array

+
  • Filter by public_ip_address.
+

public_ip_address_like

+

No

+

String

+
  • Filter by public_ip_address in a fuzzy search.
+

Minimum length: 0

+

Maximum length: 64

+

public_ipv6_address

+

No

+

Array

+
  • Filter by public_ipv6_address.
+

public_ipv6_address_like

+

No

+

String

+
  • Filter by public_ipv6_address in a fuzzy search.
+

Minimum length: 0

+

Maximum length: 64

+

type

+

No

+

Array

+
  • Filter by type.
  • The value can be:
    • EIP: EIP
    • DUALSTACK: Dual-stack IPv6
    +
+

Enumerated values:

+
  • EIP
  • DUALSTACK
+

network_type

+

No

+

Array

+
  • Filter by network_type.
  • The value can be 5_telcom, 5_union, 5_bgp, 5_sbgp, 5_ipv6, or 5_graybgp.
+

Enumerated values:

+
  • 5_telcom
  • 5_union
  • 5_bgp
  • 5_sbgp
  • 5_ipv6
  • 5_graybgp
+

publicip_pool_name

+

No

+

Array

+
  • Filter by publicip_pool_name.
  • The value can be 5_telcom, 5_union, 5_bgp, 5_sbgp, 5_ipv6, 5_graybgp, or a dedicated pool name.
+

status

+

No

+

Array

+
  • Filter by status.
  • The value can be FREEZED, DOWN, ACTIVE, or ERROR.
+

Enumerated values:

+
  • FREEZED
  • DOWN
  • ACTIVE
  • ERROR
+

alias_like

+

No

+

String

+
  • Filter by alias in a fuzzy search.
+

Minimum length: 0

+

Maximum length: 64

+

alias

+

No

+

Array

+
  • Filter by alias.
+

description

+

No

+

Array

+
  • Filter by description.
+

vnic.private_ip_address

+

No

+

Array

+
  • Filter by private_ip_address.
+

vnic.private_ip_address_like

+

No

+

String

+
  • Filter by private_ip_address in a fuzzy search.
+

Minimum length: 0

+

Maximum length: 64

+

vnic.device_id

+

No

+

Array

+
  • Filter by device_id.
+

vnic.device_owner

+

No

+

Array

+
  • Filter by device_owner.
+

vnic.vpc_id

+

No

+

Array

+
  • Filter by vpc_id.
+

vnic.port_id

+

No

+

Array

+
  • Filter by port_id.
+

vnic.device_owner_prefixlike

+

No

+

String

+
  • Filter by device_owner_prefixlike in a fuzzy search.
+

Minimum length: 0

+

Maximum length: 64

+

vnic.instance_type

+

No

+

Array

+
  • Filter by instance_type.
+

vnic.instance_id

+

No

+

Array

+
  • Filter by instance_id.
+

bandwidth.id

+

No

+

Array

+
  • Filter by the bandwidth ID.
+

bandwidth.name

+

No

+

Array

+
  • Filter by name.
+

bandwidth.name_like

+

No

+

Array

+
  • Filter by name in a fuzzy search.
+

bandwidth.size

+

No

+

Array

+
  • Filter by size.
+

bandwidth.share_type

+

No

+

Array

+
  • Filter by share_type.
+

Enumerated values:

+
  • PER
  • WHOLE
+

bandwidth.charge_mode

+

No

+

Array

+
  • Filter by charge_mode.
+

Enumerated values:

+
  • bandwidth
  • traffic
  • 95peak_plus
+

billing_info

+

No

+

Array

+
  • Filter by billing_info.
+

billing_mode

+

No

+

String

+
  • Filter by billing_mode.
  • The value can be PAY_PER_USE.
+

Enumerated values:

+
  • PAY_PER_USE
+

associate_instance_type

+

No

+

Array

+
  • Filter by associate_instance_type.
  • The value can be PORT, NATGW, ELB, VPN, or ELBV1.
+

Enumerated values:

+
  • PORT
  • NATGW
  • ELB
  • VPN
  • ELBV1
+

associate_instance_id

+

No

+

Array

+
  • Filter by associate_instance_id.
+

enterprise_project_id

+

No

+

Array

+
  • Filter by enterprise_project_id.
+

public_border_group

+

No

+

Array

+
  • Filter by public_border_group.
+

allow_share_bandwidth_type_any

+

No

+

Array

+
  • Shared bandwidth type. EIPs can be filtered by shared bandwidth type. You can specify multiple shared bandwidth types, which are separated by commas (,).
+
+
+
+

Request Parameter

None

+
+

Response Parameters

Status code: 200

+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Response body parameters

Parameter

+

Type

+

Description

+

request_id

+

String

+

Request ID.

+

Minimum length: 0

+

Maximum length: 36

+

publicips

+

Array of PublicipSingleShowResp objects

+

EIP object.

+

page_info

+

PageInfoOption object

+

Pagination page number information.

+

total_count

+

Integer

+

Total number of EIPs.

+

Minimum value: 0

+

Maximum value: 999999

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4 PublicipSingleShowResp

Parameter

+

Type

+

Description

+

id

+

String

+
  • Unique ID of the EIP.
+

Minimum length: 0

+

Maximum length: 36

+

project_id

+

String

+
  • Project ID.
+

Minimum length: 0

+

Maximum length: 32

+

ip_version

+

Integer

+
  • IP address version.
  • The value can be:
    • 4: IPv4 EIP
    • 6: IPv6 EIP
    +
+

Enumerated values:

+
  • 4
  • 6
+

public_ip_address

+

String

+
  • EIP or IPv6 port address.
+

Minimum length: 0

+

Maximum length: 36

+

public_ipv6_address

+

String

+
  • Obtained EIP if IPv6 EIPs are available. This parameter does not exist if only IPv4 EIPs are available.
+

Minimum length: 0

+

Maximum length: 64

+

network_type

+

String

+
  • Network type of an EIP. This parameter is discarded and is not displayed by default. It is inherited by publicip_pool_name.
+

Minimum length: 0

+

Maximum length: 64

+

status

+

String

+
  • EIP status.
  • The value can be:
    • FREEZED (Frozen)
    • BIND_ERROR (Binding failed)
    • BINDING (Binding)
    • PENDING_DELETE (Releasing)
    • PENDING_CREATE (Assigning)
    • NOTIFYING
    • NOTIFY_DELETE
    • PENDING_UPDATE (Updating)
    • DOWN (Unbound)
    • ACTIVE (Bound)
    • ELB (Bound to a load balancer)
    • VPN (Bound to a VPN)
    • ERROR
    +
+

Minimum length: 0

+

Maximum length: 64

+

Enumerated values:

+
  • FREEZED
  • BIND_ERROR
  • BINDING
  • PENDING_DELETE
  • PENDING_CREATE
  • NOTIFYING
  • NOTIFY_DELETE
  • PENDING_UPDATE
  • DOWN
  • ACTIVE
  • ELB
  • VPN
  • ERROR
+

description

+

String

+
  • Supplementary information about the EIP.
  • This is customized by users and is not perceived by the system.
+

Minimum length: 0

+

Maximum length: 256

+

public_border_group

+

String

+
  • Whether the resource is in a central region or an edge site.
  • The value can be center or an edge site name.
  • This resource can only be associated with an EIP of the same region.
+

Minimum length: 1

+

Maximum length: 64

+

created_at

+

String

+
  • Time (UTC) when an EIP is assigned.
  • Format: yyyy-MM-ddTHH:mm:ssZ
+

Minimum length: 0

+

Maximum length: 64

+

updated_at

+

String

+
  • Time (UTC) when an EIP is updated.
  • Format: yyyy-MM-ddTHH:mm:ssZ
+

Minimum length: 0

+

Maximum length: 64

+

type

+

String

+
  • EIP type.
+

Minimum length: 1

+

Maximum length: 36

+

Enumerated values:

+
  • EIP
  • DUALSTACK
+

vnic

+

VnicInfo object

+
  • Port information of the instance with an EIP bound.
  • If the instance with an EIP bound does not depend on a port, the value is null.
+

bandwidth

+

PublicipBandwidthInfo object

+

Bandwidth bound to an EIP.

+

enterprise_project_id

+

String

+

Enterprise project ID. The value is 0 or a string that contains a maximum of 36 characters in UUID format with hyphens (-). This is the ID of the enterprise project that you associate with the EIP when you assign the EIP.

+

Minimum length: 0

+

Maximum length: 36

+

billing_info

+

String

+
  • Order information of an EIP.
  • This parameter is left empty for pay-per-use resources.
+

Minimum length: 0

+

Maximum length: 256

+

lock_status

+

String

+
  • Frozen status of an EIP.
  • The metadata type indicates that the EIP is frozen due to arrears or abuse.
  • The value can be:
    • police
    • locked
    +
+

Minimum length: 0

+

Maximum length: 64

+

associate_instance_type

+

String

+
  • Type of the instance bound with an EIP.
  • The value can be:
    • PORT
    • NATGW
    • ELB
    • ELBV1
    • VPN
    • null
    +
+

Minimum length: 0

+

Maximum length: 64

+

Enumerated values:

+
  • PORT
  • NATGW
  • ELB
  • ELBV1
  • VPN
  • null
+

associate_instance_id

+

String

+
  • ID of the instance bound with an EIP.
+

Minimum length: 0

+

Maximum length: 36

+

publicip_pool_id

+

String

+
  • ID of the network that an EIP belongs to. It is the network ID corresponding to publicip_pool_name.
+

Minimum length: 0

+

Maximum length: 36

+

publicip_pool_name

+

String

+
  • Network type of an EIP, including public EIP pool (for example, 5_bgp or 5_sbgp) and dedicated EIP pool.
  • For details about the dedicated EIP pool, see the APIs about publcip_pool.
+

Minimum length: 0

+

Maximum length: 64

+

alias

+

String

+
  • EIP name.
+

Minimum length: 0

+

Maximum length: 64

+

profile

+

ProfileInfo object

+
  • EIP and metadata. (The parameter is not displayed by default.)
+

fake_network_type

+

Boolean

+
  • Whether an EIP can change its BGP type. If the value is true, the EIP can change its BGP type. If the value is false, the EIP cannot change its BGP type. (The parameter is not displayed by default.)
+

Enumerated values:

+
  • true
  • false
+

tags

+

Array of strings

+
  • User tag. (The parameter is not displayed by default.)
+

associate_instance_metadata

+

String

+
  • Record the upper-level ownership of an instance. For example, if associate_instance_type is set to PORT, this parameter records the device_id and device_owner information of the port. (This parameter only records information in limited scenarios and is not displayed by default.)
+

Minimum length: 1

+

Maximum length: 64

+

associate_mode

+

String

+
  • Passthrough mode. The parameter is displayed only after the passthrough mode is enabled.
+

Minimum length: 1

+

Maximum length: 36

+

allow_share_bandwidth_types

+

Array of strings

+
  • Types of the shared bandwidth that an EIP can be added to. If this parameter is left blank, the EIP cannot be added to any shared bandwidth.
  • The EIP can be added only to the shared bandwidth of these types.
+

Maximum length: 64

+

cascade_delete_by_instance

+

Boolean

+
  • Whether an EIP can be released together with its instance. (The parameter is not displayed by default.)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 5 VnicInfo

Parameter

+

Type

+

Description

+

private_ip_address

+

String

+
  • Private IP address.
+

Minimum length: 0

+

Maximum length: 36

+

device_id

+

String

+
  • ID of the device that a port belongs to.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 36

+

device_owner

+

String

+
  • Device that the port belongs to.
  • The value can be:
    • network:dhcp
    • network:VIP_PORT
    • network:router_interface_distributed
    • network:router_centralized_snat
    +
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 64

+

vpc_id

+

String

+
  • VPC ID.
+

Minimum length: 0

+

Maximum length: 36

+

port_id

+

String

+
  • Port ID.
+

Minimum length: 0

+

Maximum length: 36

+

port_profile

+

String

+
  • Port profile.
+

Minimum length: 0

+

Maximum length: 256

+

mac

+

String

+
  • Port MAC address.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 64

+

vtep

+

String

+
  • VTEP IP address.
+

Minimum length: 0

+

Maximum length: 36

+

vni

+

String

+
  • VXLAN ID.
+

Minimum length: 0

+

Maximum length: 36

+

instance_id

+

String

+
  • ID of the instance that the port belongs to, for example, RDS instance ID.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 36

+

instance_type

+

String

+
  • Type of the instance that the port belongs to, for example, RDS.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 36

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 6 PublicipBandwidthInfo

Parameter

+

Type

+

Description

+

id

+

String

+
  • Bandwidth ID.
+

Minimum length: 0

+

Maximum length: 36

+

size

+

Integer

+
  • Bandwidth size.
  • The value ranges from 5 Mbit/s to 2000 Mbit/s by default.
+

Minimum value: 0

+

Maximum value: 99999

+

share_type

+

String

+
  • Whether the bandwidth is shared or dedicated.
  • The value can be:
    • PER: Dedicated bandwidth
    • WHOLE: Shared bandwidth
    +
  • IPv6 addresses do not support bandwidth whose type is WHOLE.
+

Minimum length: 0

+

Maximum length: 36

+

charge_mode

+

String

+
  • Whether the billing is based on traffic or bandwidth.
  • The value can be:
    • bandwidth: billed by bandwidth
    • traffic: billed by traffic
    • 95peak_plus: billed by 95th percentile bandwidth (enhanced)
    +
+

Minimum length: 0

+

Maximum length: 36

+

name

+

String

+
  • Bandwidth name.
  • The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).
+

Minimum length: 0

+

Maximum length: 64

+

billing_info

+

String

+
  • Billing information.
+

Minimum length: 0

+

Maximum length: 256

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 7 ProfileInfo

Parameter

+

Type

+

Description

+

local_network_port

+

String

+
  • port_id in the 5_xxx network (for example, 5_bgp) of an EIP.
+

Minimum length: 0

+

Maximum length: 36

+

standalone

+

Boolean

+
  • Whether an EIP is assigned together with a VM. If the value is true, the EIP is assigned independently. If the value is false, the EIP is assigned together with a VM.
+

notify_status

+

String

+
  • EIP assigning status. This parameter is only for internal use of the EIP service.
+

Minimum length: 0

+

Maximum length: 36

+

Enumerated values:

+
  • PENDING_CREATE
  • PENDING_UPDATE
  • NOTIFYING
  • NOTIFYED
  • NOTIFY_DELETE
+

create_time

+

String

+
  • Time when an EIP is assigned.
+

Minimum length: 0

+

Maximum length: 64

+

fake_network_type

+

Boolean

+
  • Whether an EIP can change its BGP type. If the value is true, the EIP can change its BGP type. If the value is false, the EIP cannot change its BGP type.
+

Enumerated values:

+
  • true
  • false
+

create_source

+

String

+
  • Type of the resource purchased together with an EIP.
+

Minimum length: 0

+

Maximum length: 36

+

Enumerated value:

+
  • ecs
+

ecs_id

+

String

+
  • ID of the ECS purchased together with an EIP.
+

Minimum length: 0

+

Maximum length: 36

+

lock_status

+

String

+
  • Lock status of an EIP, for example, POLICE (abuse), LOCKED (common issues), ARREAR (in arrears), and DELABLE (can be deleted).
+

Minimum length: 0

+

Maximum length: 36

+

freezed_status

+

String

+
  • EIP frozen status.
+

Minimum length: 0

+

Maximum length: 36

+

Enumerated values:

+
  • FREEZED
  • UNFREEZED
+

bandwidth_info

+

BandwidthInfoResp object

+
  • Bandwidth bound to an EIP.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 8 BandwidthInfoResp

Parameter

+

Type

+

Description

+

bandwidth_name

+

String

+
  • Bandwidth name.
+

Minimum length: 0

+

Maximum length: 256

+

bandwidth_number

+

Integer

+
  • Bandwidth size (Mbit/s).
+

Minimum value: 0

+

Maximum value: 99999

+

bandwidth_type

+

String

+
  • Bandwidth type.
+

Enumerated values:

+
  • PER
  • WHOLE
+

bandwidth_id

+

String

+
  • Bandwidth ID.
+

Minimum length: 0

+

Maximum length: 36

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 9 PageInfoOption

Parameter

+

Type

+

Description

+

previous_marker

+

String

+

Marker value of the previous page.

+

Minimum length: 0

+

Maximum length: 36

+

next_marker

+

String

+

Marker value of the next page.

+

Minimum length: 0

+

Maximum length: 36

+

current_count

+

Integer

+

Total number of data records on the current page.

+

Minimum value: 0

+

Maximum value: 99999

+
+
+
+

Example Request

None

+
+

Example Response

Status code: 200

+

Normal response to the GET operation

+
{
+  "page_info" : {
+    "current_count" : 1,
+    "next_marker" : "0490aeae-ab8f-4764-b012-45645e9c0aa9",
+    "previous_marker" : "0490aeae-ab8f-4764-b012-45645e9c0aa9"
+  },
+  "publicips" : [ {
+    "created_at" : "2022-03-17T09:46:22Z",
+    "updated_at" : "2022-03-30T02:46:04Z",
+    "lock_status" : null,
+    "allow_share_bandwidth_types" : [ "bgp", "sbgp", "share", "share_yidongdanxian", "share_youxuan" ],
+    "id" : "006343a1-32bf-4361-958a-efd158153dd0",
+    "alias" : null,
+    "project_id" : "060576787a80d5762fa2c00f07ddfcf4",
+    "ip_version" : 4,
+    "public_ip_address" : "88.88.1.141",
+    "public_ipv6_address" : null,
+    "status" : "DOWN",
+    "description" : "",
+    "enterprise_project_id" : "0",
+    "billing_info" : null,
+    "type" : "EIP",
+    "vnic" : {
+      "private_ip_address" : "172.16.1.235",
+      "device_id" : "",
+      "device_owner" : "",
+      "vpc_id" : "1c30f428-9741-48b2-a788-0b2f359705eb",
+      "port_id" : "22d3576d-c042-4f3d-8c7c-1330a2724627",
+      "mac" : "fa:16:3e:3a:22:66",
+      "vtep" : null,
+      "vni" : null,
+      "instance_id" : "",
+      "instance_type" : "",
+      "port_profile" : null
+    },
+    "bandwidth" : {
+      "id" : "149ff19b-5de4-4436-958f-2eca39952e93",
+      "size" : 100,
+      "share_type" : "PER",
+      "charge_mode" : "traffic",
+      "name" : "bandwidth-xym-br-eqos",
+      "billing_info" : ""
+    },
+    "associate_instance_type" : "PORT",
+    "associate_instance_id" : "22d3576d-c042-4f3d-8c7c-1330a2724627",
+    "publicip_pool_id" : "9af5f2e5-1765-4b86-b342-ece52e785c8b",
+    "publicip_pool_name" : "5_union",
+    "public_border_group" : "center",
+    "tags" : [ "key=value" ]
+  } ],
+  "request_id" : "c4962d006b34af3c2343de7f88ef65e3",
+  "total_count" : 100
+}
+
+

Status Codes

See Status Codes.

+
+

Error Codes

See Error Codes.

+
+
+
+ +
+ diff --git a/docs/eip/api-ref/ShowPublicipV3.html b/docs/eip/api-ref/ShowPublicipV3.html new file mode 100644 index 00000000..d89f57f8 --- /dev/null +++ b/docs/eip/api-ref/ShowPublicipV3.html @@ -0,0 +1,765 @@ + + +

Querying EIP Details

+

Function

This API is used to query EIP details. (This API is not supported in eu-nl.)

+
+

URI

GET /v3/{project_id}/eip/publicips/{publicip_id}

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Path parameters

Parameter

+

Mandatory

+

Type

+

Description

+

project_id

+

Yes

+

String

+

Project ID.

+

Minimum length: 0

+

Maximum length: 32

+

publicip_id

+

Yes

+

String

+

EIP ID.

+

Minimum length: 0

+

Maximum length: 36

+
+
+ +
+ + + + + + + + + + + +
Table 2 Query parameter

Parameter

+

Mandatory

+

Type

+

Description

+

fields

+

No

+

Array

+
  • Field. Format: "fields=id&fields=owner&..."
  • Supported fields: id, project_id, ip_version, type, public_ip_address, public_ipv6_address, network_type, status, description, created_at, updated_at, vnic, bandwidth, associate_instance_type, associate_instance_id, lock_status, billing_info, tags, enterprise_project_id, publicip_pool_name, allow_share_bandwidth_types, alias, publicip_pool_id, and public_border_group.
+
+
+
+

Request Parameter

None

+
+

Response Parameters

Status code: 200

+ +
+ + + + + + + + + + + + + +
Table 3 Response body parameters

Parameter

+

Type

+

Description

+

request_id

+

String

+

Request ID.

+

Minimum length: 0

+

Maximum length: 36

+

publicip

+

PublicipSingleShowResp object

+

EIP.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4 PublicipSingleShowResp

Parameter

+

Type

+

Description

+

id

+

String

+
  • Unique ID of the EIP.
+

Minimum length: 0

+

Maximum length: 36

+

project_id

+

String

+
  • Project ID.
+

Minimum length: 0

+

Maximum length: 32

+

ip_version

+

Integer

+
  • IP address version.
  • The value can be:
    • 4: IPv4 EIP
    • 6: IPv6 EIP
    +
+

Enumerated values:

+
  • 4
  • 6
+

public_ip_address

+

String

+
  • EIP or IPv6 port address.
+

Minimum length: 0

+

Maximum length: 36

+

public_ipv6_address

+

String

+
  • Obtained EIP if IPv6 EIPs are available. This parameter does not exist if only IPv4 EIPs are available.
+

Minimum length: 0

+

Maximum length: 64

+

network_type

+

String

+
  • Network type of an EIP. This parameter is discarded and is not displayed by default. It is inherited by publicip_pool_name.
+

Minimum length: 0

+

Maximum length: 64

+

status

+

String

+
  • EIP status.
  • The value can be:
    • FREEZED (Frozen)
    • BIND_ERROR (Binding failed)
    • BINDING (Binding)
    • PENDING_DELETE (Releasing)
    • PENDING_CREATE (Assigning)
    • NOTIFYING
    • NOTIFY_DELETE
    • PENDING_UPDATE (Updating)
    • DOWN (Unbound)
    • ACTIVE (Bound)
    • ELB (Bound to a load balancer)
    • VPN (Bound to a VPN)
    • ERROR
    +
+

Minimum length: 0

+

Maximum length: 64

+

Enumerated values:

+
  • FREEZED
  • BIND_ERROR
  • BINDING
  • PENDING_DELETE
  • PENDING_CREATE
  • NOTIFYING
  • NOTIFY_DELETE
  • PENDING_UPDATE
  • DOWN
  • ACTIVE
  • ELB
  • VPN
  • ERROR
+

description

+

String

+
  • Supplementary information about the EIP.
  • This is customized by users and is not perceived by the system.
+

Minimum length: 0

+

Maximum length: 256

+

public_border_group

+

String

+
  • Whether the resource is in a central region or an edge site.
  • The value can be center or an edge site name.
  • This resource can only be associated with an EIP of the same region.
+

Minimum length: 1

+

Maximum length: 64

+

created_at

+

String

+
  • Time (UTC) when an EIP is assigned.
  • Format: yyyy-MM-ddTHH:mm:ssZ
+

Minimum length: 0

+

Maximum length: 64

+

updated_at

+

String

+
  • Time (UTC) when an EIP is updated.
  • Format: yyyy-MM-ddTHH:mm:ssZ
+

Minimum length: 0

+

Maximum length: 64

+

type

+

String

+
  • EIP type.
+

Minimum length: 1

+

Maximum length: 36

+

Enumerated values:

+
  • EIP
  • DUALSTACK
+

vnic

+

VnicInfo object

+
  • Port information of the instance with an EIP bound.
  • If the instance with an EIP bound does not depend on a port, the value is null.
+

bandwidth

+

PublicipBandwidthInfo object

+

Bandwidth bound to an EIP.

+

enterprise_project_id

+

String

+

Enterprise project ID. The value is 0 or a string that contains a maximum of 36 characters in UUID format with hyphens (-). This is the ID of the enterprise project that you associate with the EIP when you assign the EIP.

+

Minimum length: 0

+

Maximum length: 36

+

billing_info

+

String

+
  • Order information of an EIP.
  • This parameter is left empty for pay-per-use resources.
+

Minimum length: 0

+

Maximum length: 256

+

lock_status

+

String

+
  • Frozen status of an EIP.
  • The metadata type indicates that the EIP is frozen due to arrears or abuse.
  • The value can be:
    • police
    • locked
    +
+

Minimum length: 0

+

Maximum length: 64

+

associate_instance_type

+

String

+
  • Type of the instance bound with an EIP.
  • The value can be:
    • PORT
    • NATGW
    • ELB
    • ELBV1
    • VPN
    • null
    +
+

Minimum length: 0

+

Maximum length: 64

+

Enumerated values:

+
  • PORT
  • NATGW
  • ELB
  • ELBV1
  • VPN
  • null
+

associate_instance_id

+

String

+
  • ID of the instance bound with an EIP.
+

Minimum length: 0

+

Maximum length: 36

+

publicip_pool_id

+

String

+
  • ID of the network that an EIP belongs to. It is the network ID corresponding to publicip_pool_name.
+

Minimum length: 0

+

Maximum length: 36

+

publicip_pool_name

+

String

+
  • Network type of an EIP, including public EIP pool (for example, 5_bgp or 5_sbgp) and dedicated EIP pool.
  • For details about the dedicated EIP pool, see the APIs about publcip_pool.
+

Minimum length: 0

+

Maximum length: 64

+

alias

+

String

+
  • EIP name.
+

Minimum length: 0

+

Maximum length: 64

+

profile

+

ProfileInfo object

+
  • EIP and metadata. (The parameter is not displayed by default.)
+

fake_network_type

+

Boolean

+
  • Whether an EIP can change its BGP type. If the value is true, the EIP can change its BGP type. If the value is false, the EIP cannot change its BGP type. (The parameter is not displayed by default.)
+

Enumerated values:

+
  • true
  • false
+

tags

+

Array of strings

+
  • User tag. (The parameter is not displayed by default.)
+

associate_instance_metadata

+

String

+
  • Record the upper-level ownership of an instance. For example, if associate_instance_type is set to PORT, this parameter records the device_id and device_owner information of the port. (This parameter only records information in limited scenarios and is not displayed by default.)
+

Minimum length: 1

+

Maximum length: 64

+

associate_mode

+

String

+
  • Passthrough mode. The parameter is displayed only after the passthrough mode is enabled.
+

Minimum length: 1

+

Maximum length: 36

+

allow_share_bandwidth_types

+

Array of strings

+
  • Types of the shared bandwidth that an EIP can be added to. If this parameter is left blank, the EIP cannot be added to any shared bandwidth.
  • The EIP can be added only to the shared bandwidth of these types.
+

Maximum length: 64

+

cascade_delete_by_instance

+

Boolean

+
  • Whether an EIP can be released together with its instance. (The parameter is not displayed by default.)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 5 VnicInfo

Parameter

+

Type

+

Description

+

private_ip_address

+

String

+
  • Private IP address.
+

Minimum length: 0

+

Maximum length: 36

+

device_id

+

String

+
  • ID of the device that a port belongs to.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 36

+

device_owner

+

String

+
  • Device that the port belongs to.
  • The value can be:
    • network:dhcp
    • network:VIP_PORT
    • network:router_interface_distributed
    • network:router_centralized_snat
    +
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 64

+

vpc_id

+

String

+
  • VPC ID.
+

Minimum length: 0

+

Maximum length: 36

+

port_id

+

String

+
  • Port ID.
+

Minimum length: 0

+

Maximum length: 36

+

port_profile

+

String

+
  • Port profile.
+

Minimum length: 0

+

Maximum length: 256

+

mac

+

String

+
  • Port MAC address.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 64

+

vtep

+

String

+
  • VTEP IP address.
+

Minimum length: 0

+

Maximum length: 36

+

vni

+

String

+
  • VXLAN ID.
+

Minimum length: 0

+

Maximum length: 36

+

instance_id

+

String

+
  • ID of the instance that the port belongs to, for example, RDS instance ID.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 36

+

instance_type

+

String

+
  • Type of the instance that the port belongs to, for example, RDS.
  • The system automatically sets this parameter.
+

Minimum length: 0

+

Maximum length: 36

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 6 PublicipBandwidthInfo

Parameter

+

Type

+

Description

+

id

+

String

+
  • Bandwidth ID.
+

Minimum length: 0

+

Maximum length: 36

+

size

+

Integer

+
  • Bandwidth size.
  • The value ranges from 5 Mbit/s to 2000 Mbit/s by default.
+

Minimum value: 0

+

Maximum value: 99999

+

share_type

+

String

+
  • Whether the bandwidth is shared or dedicated.
  • The value can be:
    • PER: Dedicated bandwidth
    • WHOLE: Shared bandwidth
    +
  • IPv6 addresses do not support bandwidth whose type is WHOLE.
+

Minimum length: 0

+

Maximum length: 36

+

charge_mode

+

String

+
  • Whether the billing is based on traffic or bandwidth.
  • The value can be:
    • bandwidth: billed by bandwidth
    • traffic: billed by traffic
    • 95peak_plus: billed by 95th percentile bandwidth (enhanced)
    +
+

Minimum length: 0

+

Maximum length: 36

+

name

+

String

+
  • Bandwidth name.
  • The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).
+

Minimum length: 0

+

Maximum length: 64

+

billing_info

+

String

+
  • Billing information.
+

Minimum length: 0

+

Maximum length: 256

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 7 ProfileInfo

Parameter

+

Type

+

Description

+

local_network_port

+

String

+
  • port_id in the 5_xxx network (for example, 5_bgp) of an EIP.
+

Minimum length: 0

+

Maximum length: 36

+

standalone

+

Boolean

+
  • Whether an EIP is assigned together with a VM. If the value is true, the EIP is assigned independently. If the value is false, the EIP is assigned together with a VM.
+

notify_status

+

String

+
  • EIP assigning status. This parameter is only for internal use of the EIP service.
+

Minimum length: 0

+

Maximum length: 36

+

Enumerated values:

+
  • PENDING_CREATE
  • PENDING_UPDATE
  • NOTIFYING
  • NOTIFYED
  • NOTIFY_DELETE
+

create_time

+

String

+
  • Time when an EIP is assigned.
+

Minimum length: 0

+

Maximum length: 64

+

fake_network_type

+

Boolean

+
  • Whether an EIP can change its BGP type. If the value is true, the EIP can change its BGP type. If the value is false, the EIP cannot change its BGP type.
+

Enumerated values:

+
  • true
  • false
+

create_source

+

String

+
  • Type of the resource purchased together with an EIP.
+

Minimum length: 0

+

Maximum length: 36

+

Enumerated value:

+
  • ecs
+

ecs_id

+

String

+
  • ID of the ECS purchased together with an EIP.
+

Minimum length: 0

+

Maximum length: 36

+

lock_status

+

String

+
  • Lock status of an EIP, for example, POLICE (abuse), LOCKED (common issues), ARREAR (in arrears), and DELABLE (can be deleted).
+

Minimum length: 0

+

Maximum length: 36

+

freezed_status

+

String

+
  • EIP frozen status.
+

Minimum length: 0

+

Maximum length: 36

+

Enumerated values:

+
  • FREEZED
  • UNFREEZED
+

bandwith_info

+

BandwidthInfoResp object

+
  • Bandwidth bound to an EIP.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 8 BandwidthInfoResp

Parameter

+

Type

+

Description

+

bandwidth_name

+

String

+
  • Bandwidth name.
+

Minimum length: 0

+

Maximum length: 256

+

bandwidth_number

+

Integer

+
  • Bandwidth size (Mbit/s).
+

Minimum value: 0

+

Maximum value: 99999

+

bandwidth_type

+

String

+
  • Bandwidth type.
+

Enumerated values:

+
  • PER
  • WHOLE
+

bandwidth_id

+

String

+
  • Bandwidth ID.
+

Minimum length: 0

+

Maximum length: 36

+
+
+
+

Example Request

None

+
+

Example Response

Status code: 200

+

Normal response to the GET operation

+
{
+  "publicip" : {
+    "created_at" : "2022-03-17T09:46:22Z",
+    "updated_at" : "2022-03-30T02:46:04Z",
+    "lock_status" : null,
+    "allow_share_bandwidth_types" : [ "bgp", "sbgp", "share", "share_yidongdanxian", "share_youxuan" ],
+    "id" : "006343a1-32bf-4361-958a-efd158153dd0",
+    "alias" : null,
+    "project_id" : "060576787a80d5762fa2c00f07ddfcf4",
+    "ip_version" : 4,
+    "public_ip_address" : "88.88.1.141",
+    "public_ipv6_address" : null,
+    "status" : "DOWN",
+    "description" : "",
+    "enterprise_project_id" : "0",
+    "billing_info" : null,
+    "type" : "EIP",
+    "vnic" : {
+      "private_ip_address" : "172.16.1.235",
+      "device_id" : "",
+      "device_owner" : "",
+      "vpc_id" : "1c30f428-9741-48b2-a788-0b2f359705eb",
+      "port_id" : "22d3576d-c042-4f3d-8c7c-1330a2724627",
+      "mac" : "fa:16:3e:3a:22:66",
+      "vtep" : null,
+      "vni" : null,
+      "instance_id" : "",
+      "instance_type" : "",
+      "port_profile" : null
+    },
+    "bandwidth" : {
+      "id" : "149ff19b-5de4-4436-958f-2eca39952e93",
+      "size" : 100,
+      "share_type" : "PER",
+      "charge_mode" : "traffic",
+      "name" : "bandwidth-xym-br-eqos",
+      "billing_info" : ""
+    },
+    "associate_instance_type" : "PORT",
+    "associate_instance_id" : "22d3576d-c042-4f3d-8c7c-1330a2724627",
+    "publicip_pool_id" : "9af5f2e5-1765-4b86-b342-ece52e785c8b",
+    "publicip_pool_name" : "5_union",
+    "public_border_group" : "center",
+    "tags" : [ "key=value" ]
+  },
+  "request_id" : "ce1a33a85d2e105040497a21bbe58c26"
+}
+
+

Status Codes

See Status Codes.

+
+

Error Codes

See Error Codes.

+
+
+
+ +
+ diff --git a/docs/eip/api-ref/eip_api01_0000.html b/docs/eip/api-ref/eip_api01_0000.html index 5d19f258..0296963a 100644 --- a/docs/eip/api-ref/eip_api01_0000.html +++ b/docs/eip/api-ref/eip_api01_0000.html @@ -1,7 +1,7 @@

API Usage Guidelines

-

Public cloud APIs comply with the RESTful API design principles. REST-based Web services are organized into resources. Each resource is identified by one or more Uniform Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: https://Endpoint/uri. In the URL,uri indicates the resource path, that is, the API access path.

+

Public cloud APIs comply with the RESTful API design principles. REST-based Web services are organized into resources. Each resource is identified by one or more Uniform Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: https://Endpoint/uri. In the URL, uri indicates the resource path, that is, the API access path.

Public cloud APIs use HTTPS as the transmission protocol. Requests and responses are transmitted using JSON messages, with media type represented by Application/json.

For details about how to use APIs, see API Usage Guidelines.

diff --git a/docs/eip/api-ref/eip_api02_0001.html b/docs/eip/api-ref/eip_api02_0001.html new file mode 100644 index 00000000..bb92bd40 --- /dev/null +++ b/docs/eip/api-ref/eip_api02_0001.html @@ -0,0 +1,84 @@ + + +

API Overview

+

APIs provided by the EIP service include native OpenStack APIs and EIP APIs.

+

A combination of these two types of APIs allows you to use all functions provided by the EIP service.

+

Enterprise project users can only use EIP APIs. For details about API permissions, see Permissions Policies and Supported Actions.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 EIP APIs

Type

+

Subtype

+

Description

+

EIP API

+

EIP

+

APIs for assigning, querying, updating, and releasing EIPs

+

EIP API

+

Floating IP address (IPv6)

+

APIs for assigning, querying, updating, and releasing IPv6 floating IP addresses

+

EIP API

+

Bandwidth

+

APIs for querying and updating bandwidth

+

EIP API

+

Bandwidth (v2.0)

+
  • APIs for assigning and deleting shared bandwidth
  • APIs for adding an EIP to or removing an EIP from a shared bandwidth
+

EIP API

+

Quota

+

API for querying quota values

+

EIP API

+

EIP tag management

+

APIs for adding tags to EIPs as well as querying and deleting EIP tags

+

OpenStack Neutron API

+

Floating IP address

+

APIs for assigning, querying, updating, and releasing floating IP addresses

+

OpenStack Neutron API

+

API version

+

APIs for querying all available API versions and displaying the results in pages.

+

EIP v3 API

+

EIP (v3)

+

APIs for binding and unbinding EIPs.

+
+
+
+
+ diff --git a/docs/eip/api-ref/eip_api04_0000.html b/docs/eip/api-ref/eip_api04_0000.html index 79bb0a51..d812efe8 100644 --- a/docs/eip/api-ref/eip_api04_0000.html +++ b/docs/eip/api-ref/eip_api04_0000.html @@ -4,7 +4,7 @@
-
-
- -
- diff --git a/docs/eip/api-ref/eip_api06_0001.html b/docs/eip/api-ref/eip_api06_0001.html index 777acba7..534405f7 100644 --- a/docs/eip/api-ref/eip_api06_0001.html +++ b/docs/eip/api-ref/eip_api06_0001.html @@ -9,7 +9,7 @@ - diff --git a/docs/eip/api-ref/eip_api06_0003.html b/docs/eip/api-ref/eip_api06_0003.html index 8ee81851..01ef4a56 100644 --- a/docs/eip/api-ref/eip_api06_0003.html +++ b/docs/eip/api-ref/eip_api06_0003.html @@ -3,7 +3,7 @@

VPC Monitoring Metrics

Description

This section describes monitoring metrics reported by VPC to Cloud Eye as well as their namespaces and dimensions. You can use APIs provided by Cloud Eye to query the monitoring metrics of the monitored object and alarms generated for VPC.

-

Namespace

SYS.VPC

+

Namespace

SYS.VPC

Metrics

- - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 EIP and bandwidth metrics

ID

@@ -52,7 +52,7 @@

Outbound Traffic

Network traffic going out of the cloud platform

+

Network traffic going out of the cloud platform in a minute

Unit: byte

≥ 0 bytes

@@ -66,7 +66,7 @@

Inbound Traffic

Network traffic going into the cloud platform

+

Network traffic going into the cloud platform in a minute

Unit: byte

≥ 0 bytes

@@ -89,7 +89,7 @@

publicip_id

EIP ID

+

EIP ID

bandwidth_id

diff --git a/docs/eip/api-ref/eip_api07_0000.html b/docs/eip/api-ref/eip_api07_0000.html index 98c30283..08045320 100644 --- a/docs/eip/api-ref/eip_api07_0000.html +++ b/docs/eip/api-ref/eip_api07_0000.html @@ -8,22 +8,100 @@

2022-06-25

+

2023-07-26

This release incorporates the following changes:

-

Modified the load balancer types applicable to the 5_gray type in Assigning an EIP, Querying an EIP, Querying EIPs, Updating an EIP, Querying a Bandwidth, Querying Bandwidths, Updating a Bandwidth, Assigning a Shared Bandwidth, and Adding an EIP to a Shared Bandwidth.

+

This release incorporates the following changes:

+

Added descriptions in the function description in Querying All EIPs, Querying EIP Details, Unbinding an EIP, and Binding an EIP.

2022-03-03

+

2023-07-03

This release incorporates the following changes:

-

Added descriptions of parameters private_ip_address and port_id in Querying an EIP, Querying EIPs, and Updating an EIP.

+

This release incorporates the following changes:

+

Modified description about the profile parameter in Querying an EIP, Querying EIPs, and Updating an EIP.

+

2023-06-20

+

This release incorporates the following change:

+

Modified request parameters in Querying EIP Tags in a Specified Project.

+

2023-06-06

+

This release incorporates the following changes:

+

Updated the following content:

+

Changed the value of size in Unbinding an EIP and Binding an EIP.

+

Changed the value of size in Assigning a Shared Bandwidth and Adding an EIP to a Shared Bandwidth.

+

2023-05-12

+

This release incorporates the following changes:

+

Updated the following content:

+ +

2023-05-05

+

This release incorporates the following changes:

+

Updated the following content:

+ +

2023-04-06

+

This release incorporates the following changes:

+

Updated the following content:

+

Modified the description of the type field in EIPs and Common Pools.

+

2023-02-15

+

This release incorporates the following changes:

+

Updated the following content:

+ +

2022-12-15

+

This release incorporates the following changes:

+

Modified the following content:

+ +

2022-12-12

+

This release incorporates the following changes:

+

Modified the following content:

+

Added description that EIPs of the Dedicated Load Balancer (5_gray) type cannot be created in Assigning an EIP, Releasing an EIP, Querying Floating IP Addresses, Querying a Floating IP Address, Assigning a Floating IP Address, Updating a Floating IP Address, and Deleting a Floating IP Address.

+

2022-11-15

+

This release incorporates the following changes:

+

Added the following content:

+

Added the APIs for binding and unbinding EIPs in API V3.

+

Modified the following content:

+

Added support for binding and unbinding EIPs of the Dedicated Load Balancer (5_gray) type using APIs in Assigning an EIP, Releasing an EIP, Querying Floating IP Addresses, Querying a Floating IP Address, Assigning a Floating IP Address, Updating a Floating IP Address, and Deleting a Floating IP Address.

+

2022-10-30

+

This release incorporates the following changes:

+

Added the following content:

+ +

2022-06-25

+

This release incorporates the following changes:

+

Modified the load balancer types applicable to the 5_gray type in Assigning an EIP, Querying a Bandwidth, Querying Bandwidths, Updating a Bandwidth, Assigning a Shared Bandwidth, and Adding an EIP to a Shared Bandwidth.

2022-02-15

This release incorporates the following changes:

- +

2021-12-31

@@ -35,37 +113,37 @@

2021-08-25

This release incorporates the following changes:

- +

2021-06-18

This release incorporates the following changes:

- +

2021-05-25

This release incorporates the following changes:

- +

2021-05-10

This release incorporates the following changes:

- +

2021-03-16

This release incorporates the following changes:

-

Added description that leaving parameter port_id blank cannot be used to unbind an EIP from a dedicated load balancer in sections Updating an EIP and Updating a Floating IP Address.

+

Added description that leaving parameter port_id blank cannot be used to unbind an EIP from a dedicated load balancer in Updating a Floating IP Address.

2020-12-16

This release incorporates the following changes:

- +

2020-03-20

diff --git a/docs/eip/api-ref/eip_apiBandwidth_0001.html b/docs/eip/api-ref/eip_apiBandwidth_0001.html index 2804f042..0d330c0f 100644 --- a/docs/eip/api-ref/eip_apiBandwidth_0001.html +++ b/docs/eip/api-ref/eip_apiBandwidth_0001.html @@ -32,7 +32,7 @@ -

Request Message

  • Request parameter

    None

    +

    Request Message

    • Request parameter

      None

    • Example request
      Get https://{Endpoint}//v1/{project_id}/bandwidths/{bandwidth_id}
    @@ -56,7 +56,7 @@
-
Table 3 Description of the bandwidth field

Name

+
@@ -200,7 +200,7 @@ - @@ -235,7 +235,7 @@

Status Code

See Status Codes.

-

Error Code

See Error Codes.

+

Error Code

See Error Codes.

diff --git a/docs/eip/api-ref/eip_apiBandwidth_0002.html b/docs/eip/api-ref/eip_apiBandwidth_0002.html index 541e16e5..e9134ad7 100644 --- a/docs/eip/api-ref/eip_apiBandwidth_0002.html +++ b/docs/eip/api-ref/eip_apiBandwidth_0002.html @@ -4,54 +4,56 @@

Function

This API is used to query bandwidths using search criteria.

URI

GET /v1/{project_id}/bandwidths

-
Table 1 describes the parameters. -
Table 3 Description of the bandwidth field

Name

Type

String

  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP), 5_mailbgp (Mail BGP), or 5_gray (Dedicated load balancer, shared load balancer).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.
    +
  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP) or 5_mailbgp (Mail BGP).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.
- @@ -223,7 +222,7 @@ - @@ -319,7 +318,7 @@

Status Code

See Status Codes.

-

Error Code

See Error Codes.

+

Error Code

See Error Codes.

diff --git a/docs/eip/api-ref/eip_apiBandwidth_0003.html b/docs/eip/api-ref/eip_apiBandwidth_0003.html index c63afbe3..6d8f1eef 100644 --- a/docs/eip/api-ref/eip_apiBandwidth_0003.html +++ b/docs/eip/api-ref/eip_apiBandwidth_0003.html @@ -81,7 +81,7 @@
- @@ -215,14 +215,14 @@ - - @@ -251,19 +251,11 @@ - - - - - @@ -296,7 +288,7 @@

Status Code

See Status Codes.

-

Error Code

See Error Codes.

+

Error Code

See Error Codes.

diff --git a/docs/eip/api-ref/eip_api_0000.html b/docs/eip/api-ref/eip_api_0000.html index 31a2a54a..3b2d32fd 100644 --- a/docs/eip/api-ref/eip_api_0000.html +++ b/docs/eip/api-ref/eip_api_0000.html @@ -1,6 +1,6 @@ -

Elastic IP

+

EIP

Table 1 Parameter description

Name

+

Table 1 describes the parameters.

+ +

Request Message

  • Request parameter +
    - - - - - - - - - - - - - - - - - - - @@ -59,9 +61,6 @@
    Table 1 Request parameters

    Name

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    project_id

    +

    project_id

    Yes

    +

    Yes

    String

    +

    String

    Specifies the project ID.

    +

    Specifies the project ID.

    marker

    +

    marker

    No

    +

    No

    String

    +

    String

    Specifies a resource ID for pagination query, indicating that the query starts from the next record of the specified resource ID.

    +

    Specifies a resource ID for pagination query, indicating that the query starts from the next record of the specified resource ID.

    This parameter can work together with the parameter limit.

    -
    • If parameters marker and limit are not passed, all resource records will be returned.
    • If the parameter marker is not passed and the value of parameter limit is set to 10, the first 10 resource records will be returned.
    • If the value of the parameter marker is set to the resource ID of the 10th record and the value of parameter limit is set to 10, the 11th to 20th resource records will be returned.
    • If the value of the parameter marker is set to the resource ID of the 10th record and the parameter limit is not passed, resource records starting from the 11th records (including 11th) will be returned.
    +
    • If parameters marker and limit are not passed, resource records on the first page will be returned.
    • If the parameter marker is not passed and the value of parameter limit is set to 10, the first 10 resource records will be returned.
    • If the value of the parameter marker is set to the resource ID of the 10th record and the value of parameter limit is set to 10, the 11th to 20th resource records will be returned.
    • If the value of the parameter marker is set to the resource ID of the 10th record and the parameter limit is not passed, resource records starting from the 11th records (including 11th) will be returned.

    limit

    +

    limit

    No

    +

    No

    Integer

    +

    Integer

    Specifies the number of records that will be returned on each page. The value is from 0 to intmax.

    +

    Specifies the number of records that will be returned on each page. The value is from 0 to intmax (2^31-1). The default value is 2000.

    limit can be used together with marker. For details, see the parameter description of marker.

    enterprise_project_id

    +

    enterprise_project_id

    No

    +

    No

    String

    +

    String

    • Specifies the enterprise project ID. This field can be used to filter out the VPCs associated with a specified enterprise project.
    • The value is 0 or a string that contains a maximum of 36 characters in UUID format with hyphens (-). Value 0 indicates the default enterprise project. To obtain the VPCs bound to all enterprise projects of the user, set all_granted_eps.
    +
    • Specifies the enterprise project ID. This field can be used to filter out the VPCs associated with a specified enterprise project.
    • The value is 0 or a string that contains a maximum of 36 characters in UUID format with hyphens (-). Value 0 indicates the default enterprise project. To obtain the VPCs bound to all enterprise projects of the user, set all_granted_eps.
    NOTE:

    This parameter is unsupported. Do not use it.

    -
- -

Request Message

  • Request parameter

    None

  • Example request
    GET https://{Endpoint}/v1/{project_id}/bandwidths?limit={limit}&marker={marker}
@@ -118,7 +117,7 @@

String

  • Possible values are as follows:
    • PER: Dedicated bandwidth
    • WHOLE: Shared bandwidth
    +
  • Possible values are as follows:
    • PER: Dedicated bandwidth
    • WHOLE: Shared bandwidth

If this parameter is not set, the list of all bandwidths will be returned by default.

String

  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP), 5_mailbgp (Mail BGP), or 5_gray (Dedicated load balancer, shared load balancer).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.
    +
  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP) or 5_mailbgp (Mail BGP).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.

Integer

  • Specifies the bandwidth size in Mbit/s.
  • The value ranges from 1 Mbit/s to 1000 Mbit/s by default. (The specific range may vary depending on the configuration in each region. You can see the available bandwidth range on the management console.) If the parameter is not included, the bandwidth size is not changed.
  • Either parameter name or size must be specified.
  • If a decimal fraction (for example 10.2) or a character string (for example "10") is specified, the specified value will be automatically converted to an integer.
  • The minimum increment for bandwidth adjustment varies depending on the bandwidth range. The details are as follows:
    • The minimum increment is 1 Mbit/s if the allowed bandwidth ranges from 0 Mbit/s to 300 Mbit/s (with 300 Mbit/s included).
    • The minimum increment is 50 Mbit/s if the allowed bandwidth ranges from 300 Mbit/s to 1000 Mbit/s (with 1000 Mbit/s included).
    • The minimum increment is 500 Mbit/s if the allowed bandwidth is greater than 1000 Mbit/s.
    +
  • Specifies the bandwidth size in Mbit/s.
  • The value ranges from 1 Mbit/s to 1000 Mbit/s by default. (The specific range may vary depending on the configuration in each region. You can see the available bandwidth range on the management console.) If the parameter is not included, the bandwidth size is not changed.
  • Either parameter name or size must be specified.
  • If a decimal fraction (for example 10.2) or a character string (for example "10") is specified, the specified value will be automatically converted to an integer.
  • The minimum increment for bandwidth adjustment varies depending on the bandwidth range. The details are as follows:
    • The minimum increment is 1 Mbit/s if the allowed bandwidth ranges from 0 Mbit/s to 300 Mbit/s (with 300 Mbit/s included).
    • The minimum increment is 50 Mbit/s if the allowed bandwidth ranges from 300 Mbit/s to 1000 Mbit/s (with 1000 Mbit/s included).
    • The minimum increment is 500 Mbit/s if the allowed bandwidth is greater than 1000 Mbit/s.

String

  • Specifies the time (UTC) when the bandwidth is created.
  • Format: yyyy-MM-ddTHH:mm:ss
+
  • Specifies the time (UTC) when the bandwidth is created.
  • Format: yyyy-MM-ddTHH:mm:ss

updated_at

String

  • Specifies the time (UTC) when the bandwidth is updated.
  • Format: yyyy-MM-ddTHH:mm:ss
+
  • Specifies the time (UTC) when the bandwidth is updated.
  • Format: yyyy-MM-ddTHH:mm:ss

Specifies the obtained EIP if only IPv4 EIPs are available.

ip_version

-

Integer

-
  • Specifies the IP address version.
  • Possible values are as follows:
    • 4: IPv4
    • 6: IPv6 (IPv6 is not supported currently.)
    -
-

publicip_type

String

  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP), 5_mailbgp (Mail BGP), or 5_gray (Dedicated load balancer, shared load balancer).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.
    +
  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP) or 5_mailbgp (Mail BGP).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.
Table 2 Request parameter

Name

+

Request Parameters

+
- - - - - - - - - - - - - - - @@ -70,33 +74,34 @@
Table 2 Request body parameter

Name

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

publicip

+

publicip

Yes

+

Yes

publicip object

+

publicip object

Specifies the EIP object. For details, see Table 3.

+

Specifies the EIP object. For details, see Table 3.

bandwidth

+

bandwidth

Yes

+

Yes

bandwidth object

+

bandwidth object

Specifies the bandwidth object. For details, see Table 4.

+

Specifies the bandwidth object. For details, see Table 4.

enterprise_project_id

+

enterprise_project_id

No

+

No

String

+

String

  • Specifies the enterprise project ID. The value is 0 or a string that contains a maximum of 36 characters in UUID format with hyphens (-).
  • When you assign an EIP, associate an enterprise project ID with the EIP.
  • If this parameter is not specified, the default value is 0, which indicates that the default enterprise project is used.
+
  • Specifies the enterprise project ID. The value is 0 or a string that contains a maximum of 36 characters in UUID format with hyphens (-).
  • When you assign an EIP, associate an enterprise project ID with the EIP.
  • If this parameter is not specified, the default value is 0, which indicates that the default enterprise project is used.
NOTE:

This parameter is unsupported. Do not use it.

-
Table 3 Description of the publicip field

Name

+
- - - - - - - - - - - @@ -104,67 +109,66 @@ -
Table 3 Description of the publicip field

Name

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

type

+

type

Yes

+

Yes

String

+

String

  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP), 5_mailbgp (Mail BGP), or 5_gray (Dedicated load balancer, shared load balancer).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.
    +
  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP) or 5_mailbgp (Mail BGP).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.

ip_address

+

ip_version

No

+

No

String

+

Integer

  • Specifies the EIP to be assigned. The system automatically assigns an EIP if you do not specify it.
  • The value must be a valid IPv4 address in the available IP address range.
+
  • Specifies the EIP version.
  • The value can be 4 and 6, indicating IPv4 address and IPv6 address, respectively. IPv6 is not supported currently.
  • Constraints:
    • The configured value must be supported by the system.
    • If this parameter is left blank or is an empty string, IPv4 address is created by default.
    +
Table 4 Description of the bandwidth field

Name

+
- - - - - - - - - - - - - - - - - - - - - - -
Table 4 Description of the bandwidth field

Name

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

name

+

name

Yes

+

Yes

String

+

String

  • Specifies the bandwidth name.
  • The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).
  • This parameter is mandatory when share_type is set to PER. This parameter will be ignored when share_type is set to WHOLE with an ID specified.
+
  • Specifies the bandwidth name.
  • The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).
  • This parameter is mandatory when share_type is set to PER. This parameter will be ignored when share_type is set to WHOLE with an ID specified.

size

+

size

Yes

+

Yes

Integer

+

Integer

  • Specifies the bandwidth size.
  • The value ranges from 1 Mbit/s to 1000 Mbit/s by default. (The specific range may vary depending on the configuration in each region. You can see the bandwidth range of each region on the management console.)
  • This parameter is mandatory when share_type is set to PER. This parameter will be ignored when share_type is set to WHOLE with an ID specified.
  • The minimum increment for bandwidth adjustment varies depending on the bandwidth range. The details are as follows:
    • The minimum increment is 1 Mbit/s if the allowed bandwidth ranges from 0 Mbit/s to 300 Mbit/s (with 300 Mbit/s included).
    • The minimum increment is 50 Mbit/s if the allowed bandwidth ranges from 300 Mbit/s to 1000 Mbit/s (with 1000 Mbit/s included).
    • The minimum increment is 500 Mbit/s if the allowed bandwidth is greater than 1000 Mbit/s.
    +
  • Specifies the bandwidth size.
  • The value ranges from 1 Mbit/s to 1000 Mbit/s by default. (The specific range may vary depending on the configuration in each region. You can see the bandwidth range of each region on the management console.)
  • This parameter is mandatory when share_type is set to PER. This parameter will be ignored when share_type is set to WHOLE with an ID specified.
  • The minimum increment for bandwidth adjustment varies depending on the bandwidth range. The details are as follows:
    • The minimum increment is 1 Mbit/s if the allowed bandwidth ranges from 0 Mbit/s to 300 Mbit/s (with 300 Mbit/s included).
    • The minimum increment is 50 Mbit/s if the allowed bandwidth ranges from 300 Mbit/s to 1000 Mbit/s (with 1000 Mbit/s included).
    • The minimum increment is 500 Mbit/s if the allowed bandwidth is greater than 1000 Mbit/s.

id

+

id

No

+

No

String

+

String

  • Specifies the bandwidth ID. You can specify an existing shared bandwidth when assigning an EIP.
  • The value can be the ID of the shared bandwidth whose type is set to WHOLE.
+
  • Specifies the bandwidth ID. You can specify an existing shared bandwidth when assigning an EIP.
  • The value can be the ID of the shared bandwidth whose type is set to WHOLE.

share_type

+

share_type

Yes

+

Yes

String

+

String

  • Specifies the bandwidth type.
  • Possible values are as follows:
    • PER: Dedicated bandwidth
    • WHOLE: Shared bandwidth
    +
  • Specifies the bandwidth type.
  • Possible values are as follows:
    • PER: Dedicated bandwidth
    • WHOLE: Shared bandwidth
  • If this parameter is set to WHOLE, the bandwidth ID must be specified.

charge_mode

+

charge_mode

No

+

No

String

+

String

  • The value is traffic, indicating that the billing is based on traffic.
+
  • The value is traffic, indicating that the billing is based on traffic.
-
  • Example request (IPv4 EIP with dedicated bandwidth)
    POST https://{Endpoint}/v1/{project_id}/publicips
     
     {
    @@ -201,7 +205,7 @@
     
-
Table 6 Description of the publicip field

Name

+
@@ -220,7 +224,7 @@ - @@ -228,7 +232,7 @@ - @@ -297,12 +301,12 @@

Status Code

See Status Codes.

-

Error Code

See Error Codes.

+

Error Code

See Error Codes.

diff --git a/docs/eip/api-ref/eip_api_0002.html b/docs/eip/api-ref/eip_api_0002.html index cb073897..95697787 100644 --- a/docs/eip/api-ref/eip_api_0002.html +++ b/docs/eip/api-ref/eip_api_0002.html @@ -2,6 +2,10 @@

Querying an EIP

Function

This API is used to query a specific EIP.

+
Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:
  • In eu-de, EIPs of the Dedicated Load Balancer (5_gray) type cannot be assigned anymore. You can assign EIPs of the BGP (5_bgp) type.
  • Existing EIPs of the Dedicated Load Balancer (5_gray) type can be bound to dedicated or shared load balancers.
    • The EIP console cannot be used to bind EIPs to or unbind them from dedicated load balancers.
    • You can use APIs to bind EIPs to or unbind them from dedicated load balancers. For details, see Binding an EIP and Unbinding an EIP.
    • EIPs of this type can be bound to or unbound from shared load balancers using the EIP console or APIs.
    • You are advised to bind BGP EIPs to or unbind them from dedicated load balancers.
    +
  • Do not add EIPs of the dedicated load balancer type (5_gray) and other types to the same shared bandwidth. Otherwise, the bandwidth limit policy will not take effect.
+
+

URI

GET /v1/{project_id}/publicips/{publicip_id}

Table 1 describes the parameters. @@ -32,7 +36,7 @@
-

Request Message

  • Request parameter

    None

    +

    Request Message

    • Request parameter

      None

    • Example request
      Get https://{Endpoint}/v1/{project_id}/publicips/{publicip_id}
    @@ -56,7 +60,7 @@
Table 6 Description of the publicip field

Name

Type

String

  • Specifies the EIP status.
  • Possible values are as follows:
    • FREEZED (Frozen)
    • BIND_ERROR (Binding failed)
    • BINDING (Binding)
    • PENDING_DELETE (Releasing)
    • PENDING_CREATE (Assigning)
    • PENDING_UPDATE (Updating)
    • DOWN (Unbound)
    • ACTIVE (Bound)
    • ELB (Bound to a load balancer)
    • ERROR (Exceptions)
    +
  • Specifies the EIP status.
  • Possible values are as follows:
    • FREEZED (Frozen)
    • BIND_ERROR (Binding failed)
    • BINDING (Binding)
    • PENDING_DELETE (Releasing)
    • PENDING_CREATE (Assigning)
    • PENDING_UPDATE (Updating)
    • NOTIFYING (Assigning)
    • NOTIFY_DELETE (Release)
    • DOWN (Unbound)
    • ACTIVE (Bound)
    • ELB (Bound to a load balancer)
    • VPN (Bound to a VPN)
    • ERROR (Exceptions)

String

  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP), 5_mailbgp (Mail BGP), or 5_gray (Dedicated load balancer, shared load balancer).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.
    +
  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP) or 5_mailbgp (Mail BGP).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.
-
Table 3 Description of the publicip field

Name

+
@@ -75,7 +79,7 @@ - @@ -84,13 +88,14 @@ - @@ -245,12 +250,12 @@

Status Code

See Status Codes.

-

Error Code

See Error Codes.

+

Error Code

See Error Codes.

diff --git a/docs/eip/api-ref/eip_api_0003.html b/docs/eip/api-ref/eip_api_0003.html index aa9b700d..58922528 100644 --- a/docs/eip/api-ref/eip_api_0003.html +++ b/docs/eip/api-ref/eip_api_0003.html @@ -2,6 +2,10 @@

Querying EIPs

Function

This API is used to query EIPs.

+
Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:
  • In eu-de, EIPs of the Dedicated Load Balancer (5_gray) type cannot be assigned anymore. You can assign EIPs of the BGP (5_bgp) type.
  • Existing EIPs of the Dedicated Load Balancer (5_gray) type can be bound to dedicated or shared load balancers.
    • The EIP console cannot be used to bind EIPs to or unbind them from dedicated load balancers.
    • You can use APIs to bind EIPs to or unbind them from dedicated load balancers. For details, see Binding an EIP and Unbinding an EIP.
    • EIPs of this type can be bound to or unbound from shared load balancers using the EIP console or APIs.
    • You are advised to bind BGP EIPs to or unbind them from dedicated load balancers.
    +
  • Do not add EIPs of the dedicated load balancer type (5_gray) and other types to the same shared bandwidth. Otherwise, the bandwidth limit policy will not take effect.
+
+

URI

GET /v1/{project_id}/publicips

Table 1 describes the parameters. @@ -32,7 +36,7 @@
- @@ -61,7 +65,7 @@ -

Request Message

  • Request parameter

    None

    +

    Request Message

    • Request parameter

      None

    • Example request
      GET https://{Endpoint}/v1/{project_id}/publicips?limit={limit}&marker={marker}
    @@ -85,7 +89,7 @@
Table 3 Description of the publicip field

Name

Type

String

  • Specifies the EIP status.
  • Possible values are as follows:
    • FREEZED (Frozen)
    • BIND_ERROR (Binding failed)
    • BINDING (Binding)
    • PENDING_DELETE (Releasing)
    • PENDING_CREATE (Assigning)
    • PENDING_UPDATE (Updating)
    • DOWN (Unbound)
    • ACTIVE (Bound)
    • ELB (Bound to a load balancer)
    • ERROR (Exceptions)
    +
  • Specifies the EIP status.
  • Possible values are as follows:
    • FREEZED (Frozen)
    • BIND_ERROR (Binding failed)
    • BINDING (Binding)
    • PENDING_DELETE (Releasing)
    • PENDING_CREATE (Assigning)
    • PENDING_UPDATE (Updating)
    • NOTIFYING (Assigning)
    • NOTIFY_DELETE (Releasing)
    • DOWN (Unbound)
    • ACTIVE (Bound)
    • ELB (Bound to a load balancer)
    • VPN (Bound to a VPN)
    • ERROR (Exceptions)

profile object

Specifies the additional parameters, including the order ID and product ID. For details, see Table 4.

+

This parameter is not supported currently.

type

String

  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP), 5_mailbgp (Mail BGP), or 5_gray (Dedicated load balancer, shared load balancer).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.
    +
  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP) or 5_mailbgp (Mail BGP).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.

Specifies a resource ID for pagination query, indicating that the query starts from the next record of the specified resource ID.

This parameter can work together with the parameter limit.

-
  • If parameters marker and limit are not passed, all resource records will be returned.
  • If the parameter marker is not passed and the value of parameter limit is set to 10, the first 10 resource records will be returned.
  • If the value of the parameter marker is set to the resource ID of the 10th record and the value of parameter limit is set to 10, the 11th to 20th resource records will be returned.
  • If the value of the parameter marker is set to the resource ID of the 10th record and the parameter limit is not passed, resource records starting from the 11th records (including 11th) will be returned.
+
  • If parameters marker and limit are not passed, resource records on the first page will be returned.
  • If the parameter marker is not passed and the value of parameter limit is set to 10, the first 10 resource records will be returned.
  • If the value of the parameter marker is set to the resource ID of the 10th record and the value of parameter limit is set to 10, the 11th to 20th resource records will be returned.
  • If the value of the parameter marker is set to the resource ID of the 10th record and the parameter limit is not passed, resource records starting from the 11th records (including 11th) will be returned.

limit

@@ -41,7 +45,7 @@

Integer

Specifies the number of records that will be returned on each page. The value is from 0 to intmax.

+

Specifies the number of records that will be returned on each page. The value is from 0 to intmax (2^31-1). The default value is 2000.

limit can be used together with marker. For details, see the parameter description of marker.

-
Table 3 Description of the publicips field

Name

+
@@ -113,13 +117,14 @@ - @@ -135,7 +140,7 @@
Table 3 Description of the publicips field

Name

Type

Object

Specifies the additional parameters, including the order ID and product ID. For details, see Table 4.

+

This parameter is not supported currently.

type

String

  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP), 5_mailbgp (Mail BGP), or 5_gray (Dedicated load balancer, shared load balancer).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.
    +
  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP) or 5_mailbgp (Mail BGP).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.

Integer

Specifies the IP address version. The value can be 4 or 6.

-
  • 4: IPv4
  • 6: IPv6 (IPv6 is not supported currently.)
+
  • 4: IPv4
  • 6: IPv6 (IPv6 is not supported currently.)

private_ip_address

@@ -291,12 +296,12 @@

Status Code

See Status Codes.

-

Error Code

See Error Codes.

+

Error Code

See Error Codes.

diff --git a/docs/eip/api-ref/eip_api_0004.html b/docs/eip/api-ref/eip_api_0004.html index 4afb4d2d..f90176b6 100644 --- a/docs/eip/api-ref/eip_api_0004.html +++ b/docs/eip/api-ref/eip_api_0004.html @@ -2,7 +2,9 @@

Updating an EIP

Function

This API is used to bind an EIP to a NIC, or unbind an EIP from a NIC.

-

This API cannot be used to bind an EIP to or unbind an EIP from a dedicated load balancer.

+
Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:
  • In eu-de, EIPs of the Dedicated Load Balancer (5_gray) type cannot be assigned anymore. You can assign EIPs of the BGP (5_bgp) type.
  • Existing EIPs of the Dedicated Load Balancer (5_gray) type can be bound to dedicated or shared load balancers.
    • The EIP console cannot be used to bind EIPs to or unbind them from dedicated load balancers.
    • You can use APIs to bind EIPs to or unbind them from dedicated load balancers. For details, see Binding an EIP and Unbinding an EIP.
    • EIPs of this type can be bound to or unbound from shared load balancers using the EIP console or APIs.
    • You are advised to bind BGP EIPs to or unbind them from dedicated load balancers.
    +
  • Do not add EIPs of the dedicated load balancer type (5_gray) and other types to the same shared bandwidth. Otherwise, the bandwidth limit policy will not take effect.
+

URI

PUT /v1/{project_id}/publicips/{publicip_id}

@@ -58,7 +60,7 @@
-
Table 3 Description of the publicip field

Name

+
@@ -129,7 +131,7 @@ - @@ -138,13 +140,14 @@ - @@ -152,7 +155,7 @@ -
Table 3 Description of the publicip field

Name

Mandatory

String

  • Specifies the EIP status.
  • Possible values are as follows:
    • FREEZED (Frozen)
    • BIND_ERROR (Binding failed)
    • BINDING (Binding)
    • PENDING_DELETE (Releasing)
    • PENDING_CREATE (Assigning)
    • PENDING_UPDATE (Updating)
    • DOWN (Unbound)
    • ACTIVE (Bound)
    • ELB (Bound to a load balancer)
    • ERROR (Exceptions)
    +
  • Specifies the EIP status.
  • Possible values are as follows:
    • FREEZED (Frozen)
    • BIND_ERROR (Binding failed)
    • BINDING (Binding)
    • PENDING_DELETE (Releasing)
    • PENDING_CREATE (Assigning)
    • PENDING_UPDATE (Updating)
    • NOTIFYING (Assigning)
    • NOTIFY_DELETE (Releasing)
    • DOWN (Unbound)
    • ACTIVE (Bound)
    • ELB (Bound to a load balancer)
    • VPN (Bound to a VPN)
    • ERROR (Exceptions)

profile object

Specifies the additional parameters, including the order ID and product ID. For details, see Table 6.

+

This parameter is not supported currently.

type

String

  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP), 5_mailbgp (Mail BGP), or 5_gray (Dedicated load balancer, shared load balancer).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.
    +
  • Specifies the EIP type.
  • The value can be 5_bgp (Dynamic BGP) or 5_mailbgp (Mail BGP).
  • Constraints:
    • The configured value must be supported by the system.
    • publicip_id is an IPv4 port. If publicip_type is not specified, the default value is 5_bgp.

String

Specifies the obtained EIP if only IPv4 EIPs are available.

+

Specifies the obtained EIP if only IPv4 EIPs are available. (IPv6 is not supported currently.)

ip_version

@@ -160,7 +163,7 @@

Integer

Specifies the IP address version. The value can be 4 or 6.

-
  • 4: IPv4
  • 6: IPv6 (IPv6 is not supported currently.)
+
  • 4: IPv4
  • 6: IPv6 (IPv6 is not supported currently.)

private_ip_address

@@ -281,19 +284,23 @@ "tenant_id": "26ae5181a416420998eb2093aaed84d9", "create_time": "2019-03-27 01:33:18", "bandwidth_size": 7, - "ip_version": 4 + "ip_version": 4, + "bandwidth_name": "bandwidth-2aef", + "enterprise_project_id": "0", + "bandwidth_share_type": "PER", + "bandwidth_id": "7a258fff-10d8-44b8-8124-c59079eb8f4c" } }

Status Code

See Status Codes.

-

Error Code

See Error Codes.

+

Error Code

See Error Codes.

diff --git a/docs/eip/api-ref/eip_api_0005.html b/docs/eip/api-ref/eip_api_0005.html index ccf50eb5..0a2f5c2f 100644 --- a/docs/eip/api-ref/eip_api_0005.html +++ b/docs/eip/api-ref/eip_api_0005.html @@ -2,6 +2,10 @@

Releasing an EIP

Function

This API is used to release an EIP.

+
Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:
  • In eu-de, EIPs of the Dedicated Load Balancer (5_gray) type cannot be assigned anymore. You can assign EIPs of the BGP (5_bgp) type.
  • Existing EIPs of the Dedicated Load Balancer (5_gray) type can be bound to dedicated or shared load balancers.
    • The EIP console cannot be used to bind EIPs to or unbind them from dedicated load balancers.
    • You can use APIs to bind EIPs to or unbind them from dedicated load balancers. For details, see Binding an EIP and Unbinding an EIP.
    • EIPs of this type can be bound to or unbound from shared load balancers using the EIP console or APIs.
    • You are advised to bind BGP EIPs to or unbind them from dedicated load balancers.
    +
  • Do not add EIPs of the dedicated load balancer type (5_gray) and other types to the same shared bandwidth. Otherwise, the bandwidth limit policy will not take effect.
+
+

URI

DELETE /v1/{project_id}/publicips/{publicip_id}

Table 1 describes the parameters. @@ -32,8 +36,8 @@
-

Request Message

  • Request parameter

    None

    -
  • Example request
    DELETE https://{Endpoint}/v1/{project_id}/publicips
    +

    Request Message

    • Request parameter

      None

      +
    • Example request
      DELETE https://{Endpoint}/v1/{project_id}/publicips/{publicip_id}

    Response Message

    • Response parameter

      None

      @@ -47,12 +51,12 @@

    Status Code

    See Status Codes.

    -

    Error Code

    See Error Codes.

    +

    Error Code

    See Error Codes.

    diff --git a/docs/eip/api-ref/eip_apieg_0000.html b/docs/eip/api-ref/eip_apieg_0000.html new file mode 100644 index 00000000..3c8fc805 --- /dev/null +++ b/docs/eip/api-ref/eip_apieg_0000.html @@ -0,0 +1,19 @@ + + + +

    Application Examples

    + +

    +
    + + + diff --git a/docs/eip/api-ref/eip_apieg_0001.html b/docs/eip/api-ref/eip_apieg_0001.html new file mode 100644 index 00000000..09b2998f --- /dev/null +++ b/docs/eip/api-ref/eip_apieg_0001.html @@ -0,0 +1,113 @@ + + +

    Assigning an EIP with a Specific Shared Bandwidth

    +

    Scenarios

    This section describes how to assign an EIP with a specific shared bandwidth by calling APIs.

    +
    +

    Prerequisites

    If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header when making an API call.

    +

    The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequent calling.

    +
    +
    +

    Procedure

    1. Assign a shared bandwidth.
      1. Send POST https://Endpoint/v2.0/project_id/bandwidths. Parameter project_id indicates the project ID.
      2. Add X-Auth-Token to the request header.
      3. Specify the following parameters in the request body:
        { 
        +     "bandwidth": { 
        +         "name": "bandwidth123", 
        +         "size": 10
        +     } 
        + }
        +
      4. Check the response message.
        • The request is successful if the following response is displayed. In the response, id indicates the bandwidth ID.
          { 
          +   "bandwidth": { 
          +     "id": "1bffc5f2-ff19-45a6-96d2-dfdca49cc387", 
          +     "name": "bandwidth123", 
          +     "size": 10, 
          +     "share_type": "WHOLE", 
          +     "publicip_info": [], 
          +     "tenant_id": "26ae5181a416420998eb2093aaed84d9", 
          +     "bandwidth_type": "share", 
          +     "charge_mode": "bandwidth", 
          +     "enterprise_project_id": "0", 
          +     "status": "NORMAL", 
          +     "created_at": "2020-04-21T07:58:02Z",  
          +     "updated_at": "2020-04-21T07:58:02Z"  
          +   } 
          + }
          +
        • For details about the error codes when the request is abnormal, see Error Codes.
        +
      +
    2. Query the shared bandwidth details.
      1. Send Get https://Endpoint//v1/project_id/bandwidths/bandwidth_id. Parameter project_id indicates the project ID.
      2. Add X-Auth-Token to the request header.
      3. Check the response message.
        • The request is successful if the following response is displayed. In the response, id indicates the bandwidth ID.
          { 
          +     "bandwidth": { 
          +         "id": "1bffc5f2-ff19-45a6-96d2-dfdca49cc387", 
          +         "name": "bandwidth123", 
          +         "size": 10, 
          +         "share_type": "WHOLE", 
          +         "publicip_info": [ 
          +             { 
          +                 "publicip_id": "ff156c26-bcc9-4541-a75c-42baf8b9748f", 
          +                 "publicip_address": "114.xx.xx.244", 
          +                 "ip_version": 4, 
          +                 "publicip_type": "5_sbgp" 
          +             } 
          +         ], 
          +         "tenant_id": "b3292dde618e40408e30cd87455a0652", 
          +         "bandwidth_type": "sbgp", 
          +         "charge_mode": "bandwidth", 
          +         "enterprise_project_id": "0", 
          +         "status": "NORMAL", 
          +         "created_at": "2020-04-21T07:58:02Z", 
          +         "updated_at": "2020-04-21T07:58:02Z" 
          +     } 
          + }
          +
        • For details about the error codes when the request is abnormal, see Error Codes.
        +
      +
    3. Assign an EIP using the shared bandwidth.
      1. Send POST https://Endpoint/v1/project_id/publicips. Parameter project_id indicates the project ID.
      2. Add X-Auth-Token to the request header.
      3. Specify the following parameters in the request body:
        {     
        +     "publicip": {         
        +         "type": "5_bgp",         
        +         "ip_version": 6        
        +  },    
        +     "bandwidth": {        
        +         "name": "bandwidth123",        
        +         "size": 10,         
        +         "share_type": "WHOLE", 
        +         "id":"1bffc5f2-ff19-45a6-96d2-dfdca49cc387" 
        +     },          
        +     "enterprise_project_id":"0"   
        + }
        +
      4. Check the response message.
        • The request is successful if the following response is displayed.
          { 
          +     "publicip": { 
          +         "id": "f588ccfa-8750-4d7c-bf5d-2ede24414706", 
          +         "status": "PENDING_CREATE", 
          +         "type": "5_bgp", 
          +         "public_ip_address": "161.xx.xx.7", 
          +         "tenant_id": "8b7e35ad379141fc9df3e178bd64f55c", 
          +         "ip_version": 4, 
          +         "create_time": "2015-07-16 04:10:52", 
          +         "bandwidth_size": 0, 
          +         "enterprise_project_id":"b261ac1f-2489-4bc7-b31b-c33c3346a439" 
          +     } 
          + }
          +
        • For details about the error codes when the request is abnormal, see Error Codes.
        +
      +
    4. Query EIP details.
      1. Send GET /v1/project_id/publicips/publicip_id. Parameter project_id indicates the project ID.
      2. Add X-Auth-Token to the request header.
      3. Check the response message.
        { 
        +     "publicip": {
        +            "id": "3ec9fea0-2d4c-49e2-8aca-ce883eae547d",
        +            "type": "5_bgp",
        +            "public_ip_address": "10.246.164.87",
        +            "status": "DOWN",
        +            "tenant_id": "060576782980d5762f9ec014dd2f1148",
        +            "create_time": "2020-08-13 12:55:27",
        +            "bandwidth_id": "1bffc5f2-ff19-45a6-96d2-dfdca49cc387",
        +            "bandwidth_name": "bandwidth123",
        +            "bandwidth_share_type": "WHOLE",
        +            "bandwidth_size": 10,
        +            "profile": {},
        +            "enterprise_project_id": "a380829c-db6f-4db3-b5b6-cc377f7a3ff8",
        +            "ip_version": 4
        +        }
        + }
        +
      +
    +
    +
    +
    + +
    + diff --git a/docs/eip/api-ref/eip_apieg_0002.html b/docs/eip/api-ref/eip_apieg_0002.html new file mode 100644 index 00000000..d6c22b78 --- /dev/null +++ b/docs/eip/api-ref/eip_apieg_0002.html @@ -0,0 +1,105 @@ + + +

    Binding an EIP to an ECS

    +

    Scenarios

    This section describes how to bind an EIP to an ECS by calling APIs.

    +
    +

    Prerequisites

    • You have created an ECS. For details, see section "Purchasing an ECS with Customized Configurations" in the Elastic Cloud Server User Guide.
    • If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header when making an API call.

      The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequent calling.

      +
      +
    +
    +

    Procedure

    1. Obtain the NIC information based on the ECS ID. For details, see section "Querying a Port" in the Virtual Private Cloud API Reference.
      1. Send GET https://VPC endpoint/v1/project_id/ports?device_id=ecs_id. Parameter project_id indicates the project ID.
      2. Add X-Auth-Token to the request header.
      3. Check the response message.
        • The request is successful if the following response is displayed.
          { 
          +     "ports": [{ 
          +         "id": "02c72193-efec-42fb-853b-c33f2b802467", 
          +         "name": "", 
          +         "status": "ACTIVE", 
          +         "admin_state_up": true, 
          +         "fixed_ips": [{ 
          +             "subnet_id": "213cb9d-3122-2ac1-1a29-91ffc1231a12", 
          +             "ip_address": "192.168.0.75" 
          +         }], 
          +         "mac_address": "fa:16:3e:47:5f:c1", 
          +         "network_id": "4779ab1c-7c1a-44b1-a02e-93dfc361b32d", 
          +         "tenant_id": "db82c9e1415a464ea68048baa8acc6b8", 
          +         "project_id": "db82c9e1415a464ea68048baa8acc6b8", 
          +         "device_id": "ea61f836-b52f-41bf-9d06-685644001d6f", 
          +         "device_owner": "compute:br-iaas-odin1a", 
          +         "security_groups": [ 
          +             "e0598d96-9451-4f8a-8de0-b8b4d451d9e7" 
          +         ], 
          +         "extra_dhcp_opts": [], 
          +         "allowed_address_pairs": [], 
          +         "binding:vnic_type": "normal", 
          +         "binding:vif_details": { 
          +             "primary_interface": true 
          +         }, 
          +         "binding:profile": {}, 
          +         "port_security_enabled": true, 
          +         "created_at": "2020-06-20T08:07:29", 
          +         "updated_at": "2020-06-20T08:07:29" 
          +     }] 
          + }
          +
        • For details about the error codes when the request is abnormal, see Error Codes.
        +
      +
    2. Assign an EIP.
      1. Send POST https://Endpoint/v1/project_id/publicips. Parameter project_id indicates the project ID.
      2. Add X-Auth-Token to the request header.
      3. Specify the following parameters in the request body:
        {     
        +     "publicip": {         
        +         "type": "5_bgp",         
        +         "ip_version": 6        
        +  },    
        +     "bandwidth": {        
        +         "name": "bandwidth123",        
        +         "size": 5,         
        +         "share_type": "WHOLE", 
        +         "id":"ebfa375c-3f93-465e-81a3-bd66e578ee9d" 
        +     },          
        +     "enterprise_project_id":"0"   
        + }
        +
      4. Check the response message.
        • The request is successful if the following response is displayed.
          { 
          +     "publicip": { 
          +         "id": "f588ccfa-8750-4d7c-bf5d-2ede24414706", 
          +         "status": "PENDING_CREATE", 
          +         "type": "5_bgp", 
          +         "public_ip_address": "161.xx.xx.7", 
          +         "tenant_id": "8b7e35ad379141fc9df3e178bd64f55c", 
          +         "ip_version": 4, 
          +         "create_time": "2015-07-16 04:10:52", 
          +         "bandwidth_size": 0, 
          +         "enterprise_project_id":"b261ac1f-2489-4bc7-b31b-c33c3346a439" 
          +     } 
          + }
          +
        • For details about the error codes when the request is abnormal, see Error Codes.
        +
      +
    3. Bind the EIP to the ECS NIC.
      1. Send PUT /v1/project_id/publicips/publicip_id. Parameter project_id indicates the project ID.
      2. Add X-Auth-Token to the request header.
      3. Specify the following parameters in the request body:
        {     
        +     "publicip": {         
        +         "port_id": "02c72193-efec-42fb-853b-c33f2b802467"      
        +     }
        + }
        +
      4. Check the response message.
        • The request is successful if the following response is displayed.
          { 
          +   "publicip": { 
          +     "id": "f588ccfa-8750-4d7c-bf5d-2ede24414706", 
          +     "status": "ACTIVE", 
          +     "type": "5_bgp", 
          +     "port_id": "02c72193-efec-42fb-853b-c33f2b802467", 
          +     "public_ip_address": "10.xx.xx.162", 
          +     "private_ip_address": "192.168.1.131", 
          +     "tenant_id": "26ae5181a416420998eb2093aaed84d9", 
          +     "create_time": "2019-03-27 01:33:18", 
          +     "bandwidth_id": "02da78da-4fb0-4880-b512-f516cdeb8ef3",
          +     "bandwidth_name": "test",
          +     "bandwidth_share_type": "PER",
          +     "bandwidth_size": 1,
          +     "profile": {},
          +     "enterprise_project_id": "0", 
          +     "ip_version": 4 
          +   } 
          + }
          +
        • For details about the error codes when the request is abnormal, see Error Codes.
        +
      +
    +
    +
    +
    + +
    + diff --git a/docs/eip/api-ref/eip_apieg_0003.html b/docs/eip/api-ref/eip_apieg_0003.html new file mode 100644 index 00000000..1aa1340d --- /dev/null +++ b/docs/eip/api-ref/eip_apieg_0003.html @@ -0,0 +1,66 @@ + + +

    Unbinding an EIP from an ECS

    +

    Scenarios

    This section describes how to unbind an EIP from an ECS by calling APIs.

    +
    +

    Prerequisites

    • You have created an ECS. For details, see section "Purchasing an ECS with Customized Configurations" in the Elastic Cloud Server User Guide.
    • If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header when making an API call.

      The token obtained from IAM is valid for only 24 hours. If you want to use a token for authentication, you can cache it to avoid frequent calling.

      +
      +
    +
    +

    Procedure

    1. Query EIP details.
      1. Send GET /v1/project_id/publicips/publicip_id. Parameter project_id indicates the project ID.
      2. Add X-Auth-Token to the request header.
      3. Check the response message.
        • The request is successful if the following response is displayed.
          { 
          +   "publicip": { 
          +     "id": "f6318bef-6508-4ea5-a48f-6152b6b1a8fb", 
          +     "status": "ACTIVE", 
          +     "type": "5_bgp", 
          +     "port_id": "a135e9b8-1630-40d2-a6c5-eb534a61efbe", 
          +     "public_ip_address": "10.xx.xx.162", 
          +     "private_ip_address": "192.168.1.131", 
          +     "port_id": "a135e9b8-1630-40d2-a6c5-eb534a61efbe",
          +     "tenant_id": "26ae5181a416420998eb2093aaed84d9", 
          +     "create_time": "2019-03-27 01:33:18", 
          +     "bandwidth_id": "02da78da-4fb0-4880-b512-f516cdeb8ef3",
          +     "bandwidth_name": "test",
          +     "bandwidth_share_type": "PER",
          +     "bandwidth_size": 1,
          +     "enterprise_project_id": "0",
          +     "profile": {},
          +     "ip_version": 4 
          +   } 
          + }
          +
        • For details about the error codes when the request is abnormal, see Error Codes.
        +
      +
    2. Unbind the EIP from the ECS NIC.
      1. Send PUT /v1/project_id/publicips/publicip_id. Parameter project_id indicates the project ID.
      2. Add X-Auth-Token to the request header.
      3. Specify the following parameters in the request body:
        {     
        +     "publicip": {         
        +         "port_id": ""      
        +     }
        + }
        +
      +
      1. Check the response message.
        • The request is successful if the following response is displayed.
          { 
          +   "publicip": { 
          +     "id": "f6318bef-6508-4ea5-a48f-6152b6b1a8fb", 
          +     "status": "DOWN", 
          +     "type": "5_bgp",  
          +     "public_ip_address": "10.xx.xx.162", 
          +     "bandwidth_id": "02da78da-4fb0-4880-b512-f516cdeb8ef3",
          +     "bandwidth_name": "test",
          +     "bandwidth_share_type": "PER",
          +     "bandwidth_size": 1,
          +     "tenant_id": "26ae5181a416420998eb2093aaed84d9", 
          +     "create_time": "2019-03-27 01:33:18",
          +     "enterprise_project_id": "0", 
          +     "profile": {}
          +     "ip_version": 4 
          +   } 
          + }
          +
        +
      +
      • For details about the error codes when the request is abnormal, see Error Codes.
      +
    +
    +
    +
    + +
    + diff --git a/docs/eip/api-ref/eip_apifloatip_0001.html b/docs/eip/api-ref/eip_apifloatip_0001.html index d251795b..f68509bf 100644 --- a/docs/eip/api-ref/eip_apifloatip_0001.html +++ b/docs/eip/api-ref/eip_apifloatip_0001.html @@ -206,7 +206,7 @@ ], "floatingips_links": [ { - "href": "https://network.region.cn-southwest-2.hwclouds.com/v2.0/floatingips_v6?marker=861a4c5b-b17b-4a1d-b653-f3e95dcb3345&page_reverse=true&page_reverse=True", + "href": "https://vpc.region.otctest.t-systems.com/v2.0/floatingips_v6?marker=861a4c5b-b17b-4a1d-b653-f3e95dcb3345&page_reverse=true&page_reverse=True", "rel": "previous" } ] @@ -215,7 +215,7 @@

Status Code

See Status Codes.

-

Error Code

See Error Codes.

+

Error Code

See Error Codes.

diff --git a/docs/eip/api-ref/eip_apifloatip_0002.html b/docs/eip/api-ref/eip_apifloatip_0002.html index 5ac0ad5d..e28114e7 100644 --- a/docs/eip/api-ref/eip_apifloatip_0002.html +++ b/docs/eip/api-ref/eip_apifloatip_0002.html @@ -116,7 +116,7 @@

Status Code

See Status Codes.

-

Error Code

See Error Codes.

+

Error Code

See Error Codes.

diff --git a/docs/eip/api-ref/eip_apifloatip_0003.html b/docs/eip/api-ref/eip_apifloatip_0003.html index 6afec093..adcf210e 100644 --- a/docs/eip/api-ref/eip_apifloatip_0003.html +++ b/docs/eip/api-ref/eip_apifloatip_0003.html @@ -228,7 +228,7 @@

Status Code

See Status Codes.

-

Error Code

See Error Codes.

+

Error Code

See Error Codes.

diff --git a/docs/eip/api-ref/eip_apifloatip_0004.html b/docs/eip/api-ref/eip_apifloatip_0004.html index 738535e9..62ed48de 100644 --- a/docs/eip/api-ref/eip_apifloatip_0004.html +++ b/docs/eip/api-ref/eip_apifloatip_0004.html @@ -189,7 +189,7 @@

Status Code

See Status Codes.

-

Error Code

See Error Codes.

+

Error Code

See Error Codes.

diff --git a/docs/eip/api-ref/eip_apifloatip_0005.html b/docs/eip/api-ref/eip_apifloatip_0005.html index a05a79e4..478982ad 100644 --- a/docs/eip/api-ref/eip_apifloatip_0005.html +++ b/docs/eip/api-ref/eip_apifloatip_0005.html @@ -15,7 +15,7 @@

Status Code

See Status Codes.

-

Error Code

See Error Codes.

+

Error Code

See Error Codes.

diff --git a/docs/eip/api-ref/eip_apipermission_0000.html b/docs/eip/api-ref/eip_apipermission_0000.html index 6f67c61f..dacd8992 100644 --- a/docs/eip/api-ref/eip_apipermission_0000.html +++ b/docs/eip/api-ref/eip_apipermission_0000.html @@ -4,7 +4,7 @@