Update Network Connector Endpoint
Updates a specified network connector endpoint.
Request
URI
PUT <network service endpoint>/v2.0/network_connector_endpoints/<network connector endpoint id>
Example:
PUT http://192.168.122.1:9696/v2.0/network_connector_endpoints/6ed3561f-087f-43f9-9a51-bf71f666b80f
Headers
- X-Auth-Token: token delivered by identity service
- Content-Type: application/json
Body Syntax
{
"network_connector_endpoint" : {
"name": "endpoint2_for_az1"
}
}
Request parameters
- name:
Name for this network connector endpoint.
- Type: String
- Constraints: Up to 255 characters in length
- Constraints: a-z, A-Z, 0-9, and _-
Response
Status Code
- 200
Headers
- Content-Type: application/json
Body
Example:
{
"network_connector_endpoint" : {
"id": "6ed3561f-087f-43f9-9a51-bf71f666b80f",
"name": "endpoint2_for_az1",
"network_connector_id": "07993b1c-79e1-4cf6-a663-dc42b9ce37d4",
"endpoint_type": "availability_zone",
"location" : "east-jp-az1",
"tenant_id" : "29320d5e-dd29-425c-b386-3cbb2754ad03"
}
}
Elements
- id:
ID for this network connector endpoint
- Type: String
- name:
Name for this network connector endpoint
- Type: String
- network_connector_id:
ID of network connector to which this network connector endpoint belongs.
- Type: String
- endpoint_type:
Type of this network connector endpoint. This value must be one of "availability_zone" or "remote"
- Type: String
- location:
Location of this network connector endpoint in the endpoint_type. When endpoint_type is "availability_zone", this value is availability_zone name. When endpoint_type is "remote", this value expresses label of location, such as 'intra'.
- Type: String
- tenant_id:
Tenant's ID to which this network connector belongs
- Type: String
Errors
- 400:
- Invalid parameter in request body
- Not updatable parameter is specified in request body
- 401: Token is not specified or not authorized
- 403: Token is not permitted to operate
- 404: Network connector endpoint not found for specified ID
- 409: Operation conflicts with another one.