Patch Tier1 Segment Port

Patch Tier1 Segment Port

Create a Tier-1 segment port if it does not exist based on the IDs, or update existing port information by replacing the port object fields which presents in the request body.

Request
URI
PATCH
https://nsxmanager.your.domain/policy/api/v1/infra/tier-1s/{tier-1-id}/segments/{segment-id}/ports/{port-id}
COPY
Path Parameters
string
tier-1-id
Required

tier-1-id

string
segment-id
Required

segment-id

string
port-id
Required

port-id


Request Body
SegmentPort of type(s) application/json
Optional
This request body class requires all of the following: PolicyConfigResource , InlineSegmentPort1
{
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "_self": {
        "action": "string",
        "href": "string",
        "rel": "string"
    },
    "_revision": 0,
    "_create_time": 0,
    "_create_user": "string",
    "_last_modified_time": 0,
    "_last_modified_user": "string",
    "_protection": "string",
    "_system_owned": false,
    "description": "string",
    "display_name": "string",
    "id": "string",
    "resource_type": "string",
    "tags": [
        {
            "scope": "string",
            "tag": "string"
        }
    ],
    "parent_path": "string",
    "path": "string",
    "relative_path": "string",
    "children": [
        {
            "_links": [
                {
                    "action": "string",
                    "href": "string",
                    "rel": "string"
                }
            ],
            "_schema": "string",
            "_self": {
                "action": "string",
                "href": "string",
                "rel": "string"
            },
            "_revision": 0,
            "_create_time": 0,
            "_create_user": "string",
            "_last_modified_time": 0,
            "_last_modified_user": "string",
            "_protection": "string",
            "_system_owned": false,
            "description": "string",
            "display_name": "string",
            "id": "string",
            "resource_type": "string",
            "tags": [
                {
                    "scope": "string",
                    "tag": "string"
                }
            ],
            "marked_for_delete": false
        }
    ],
    "marked_for_delete": false,
    "address_bindings": [
        {
            "ip_address": "string",
            "mac_address": "string",
            "vlan_id": 0
        }
    ],
    "attachment": {
        "allocate_addresses": "string",
        "app_id": "string",
        "context_id": "string",
        "id": "string",
        "traffic_tag": 0,
        "type": "string"
    }
}
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Operation doesn't return any data structure

400
Returns BadRequest of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

403
Returns Forbidden of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

404

Not Found

Operation doesn't return any data structure

412
Returns PreconditionFailed of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

500
Returns InternalServerError of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

503
Returns ServiceUnavailable of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

Tier 1s Operations
PUT
Create Or Replace Segment
PUT
Create Or Replace Static ARP Config
PUT
Create Or Replace Tier1 Segment Port
PUT
Create Or Update Port Security Profile Binding
PUT
Create Or Update Segment Security Profile Binding
DELETE
Delete Port Discovery Binding
DELETE
Delete Port Monitoring Binding
DELETE
Delete Port Qo S Binding
DELETE
Delete Port Security Profile Binding
DELETE
Delete Segment
DELETE
Delete Segment Discovery Binding
DELETE
Delete Segment Monitoring Binding
DELETE
Delete Segment Qo S Binding
DELETE
Delete Segment Security Profile Binding
DELETE
Delete Static ARP Config
DELETE
Delete Tier1 Segment Port
DELETE
Force Delete Segment True
GET
Get Port Discovery Binding
GET
Get Port Monitoring Binding
GET
Get Port Qo S Binding
GET
Get Port Security Profile Binding
GET
Get Segment Discovery Binding
GET
Get Segment Monitoring Binding
GET
Get Segment Port Statistics
GET
Get Segment Qo S Binding
GET
Get Segment Security Profile Binding
GET
Get Segment Statistics
GET
Get Tier1 Segment Port
GET
List Port Discovery Bindings
GET
List Port Monitoring Bindings
GET
List Port Qo S Bindings
GET
List Port Security Profile Bindings
GET
List Segment Discovery Bindings
GET
List Segment Monitoring Bindings
GET
List Segment Qo S Bindings
GET
List Segments
GET
List Segment Security Profile Bindings
GET
List Tier1 Segment Ports
PATCH
Patch Port Discovery Binding
PATCH
Patch Port Monitoring Binding
PATCH
Patch Port Qo S Binding
PATCH
Patch Port Security Profile Binding
PATCH
Patch Segment
PATCH
Patch Segment Discovery Binding
PATCH
Patch Segment Monitoring Binding
PATCH
Patch Segment Qo S Binding
PATCH
Patch Segment Security Profile Binding
PATCH
Patch Static ARP Config
PATCH
Patch Tier1 Segment Port
GET
Read Segment
GET
Read Static ARP Config
PUT
Update Port Discovery Binding
PUT
Update Port Monitoring Binding
PUT
Update Port Qo S Binding
PUT
Update Segment Discovery Binding
PUT
Update Segment Monitoring Binding
PUT
Update Segment Qo S Binding