Update Segment Profile Template

Update Segment Profile Template

Updates the Segment Profile Template with the given ID. If needed, the segment profiles referenced in the template will be synced from the source NSX-T Manager to all known NSX-T Managers in Cloud Director. If the source NSX-T Manager is updated, all updates to profiles will be ignored within the same request.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/segmentProfileTemplates/{segmentProfileTemplateId}
COPY
Path Parameters
string
segmentProfileTemplateId
Required

segmentProfileTemplateId


Request Body
SegmentProfileTemplate of type(s) application/json
Optional

Show optional properties

{
    "name": "string",
    "sourceNsxTManagerRef": {}
}
{
    "id": "string",
    "name": "string",
    "description": "string",
    "sourceNsxTManagerRef": {
        "name": "string",
        "id": "string"
    },
    "qosProfile": {
        "id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
        "name": "string",
        "type": "string"
    },
    "macDiscoveryProfile": {
        "id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
        "name": "string",
        "type": "string"
    },
    "ipDiscoveryProfile": {
        "id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
        "name": "string",
        "type": "string"
    },
    "segmentSecurityProfile": {
        "id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
        "name": "string",
        "type": "string"
    },
    "spoofGuardProfile": {
        "id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
        "name": "string",
        "type": "string"
    },
    "lastModified": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","sourceNsxTManagerRef:"object"}' https://{api_host}/cloudapi/1.0.0/segmentProfileTemplates/{segmentProfileTemplateId}