Modifying the Inbound and Outbound Bandwidth and Enabling Status
Function
Modify the inbound and outbound bandwidth and enabling status.
URI
PUT /v1/{project_id}/cae/eips
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. See Obtaining a Project ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token.
|
X-Enterprise-Project-ID |
No |
String |
Enterprise project ID.
NOTE:
For details about how to obtain enterprise project IDs and enterprise project features, see Enterprise Management User Guide.
|
X-Environment-ID |
Yes |
String |
Environment ID.
|
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
api_version |
No |
String |
API version. Fixed value: v1. |
kind |
No |
String |
API type. Fixed value: Eip. |
spec |
No |
spec object |
Inbound and outbound EIPs whose bandwidth is to be modified. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
egress |
No |
egress object |
Outbound IP address. |
ingress |
No |
ingress object |
Inbound IP address. |
Response Parameters
Status code: 200
OK
None
Example Requests
Modify the inbound and outbound bandwidth and enabling status.
PUT https://{endpoint}/v1/{project_id}/cae/eips { "api_version" : "v1", "kind" : "Eip", "spec" : { "egress" : { "bandwidth_size" : 50, "enabled" : true }, "ingress" : { "bandwidth_size" : 100, "enabled" : true } } }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot