Update Logical Router Port
Modifies the specified logical router port. Required parameters include the resource_type and logical_router_id. Modifiable parameters include the resource_type (LogicalRouterUpLinkPort, LogicalRouterDownLinkPort, LogicalRouterLinkPort), logical_router_id (to reassign the port to a different router), and service_bindings.
logical-router-port-id
{
"_self": {
"rel": "string"
},
"_system_owned": false,
"display_name": "string",
"description": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"_revision": 0,
"_create_user": "string",
"_schema": "string",
"service_bindings": [
{
"service_id": {
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
}
],
"_create_time": 0,
"logical_router_id": "string",
"mac_address": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_last_modified_time": 0,
"_last_modified_user": "string",
"id": "string",
"resource_type": "string"
}
Indicates system owned resource
Defaults to ID if not set
description
The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
ID of the user who created this resource
_schema
Timestamp of resource creation
logical_router_id
MAC address
The server will populate this field when returing the resource. Ignored on PUT and POST.
Timestamp of last modification
ID of the user who last modified this resource
id
Resource types of logical router port
Success
{
"_self": {
"rel": "string"
},
"_system_owned": false,
"display_name": "string",
"description": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"_revision": 0,
"_create_user": "string",
"_schema": "string",
"service_bindings": [
{
"service_id": {
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
}
],
"_create_time": 0,
"logical_router_id": "string",
"mac_address": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_last_modified_time": 0,
"_last_modified_user": "string",
"id": "string",
"resource_type": "string"
}
Indicates system owned resource
Defaults to ID if not set
description
The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
ID of the user who created this resource
_schema
Timestamp of resource creation
logical_router_id
MAC address
The server will populate this field when returing the resource. Ignored on PUT and POST.
Timestamp of last modification
ID of the user who last modified this resource
id
Resource types of logical router port
Unexpected error
{
"module_name": "string",
"error_message": "string",
"error_code": 0
}
module_name
error_message
error_code