Create Segment Profile Template

Create Segment Profile Template

Creates a new Segment Profile Template. 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.

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/segmentProfileTemplates
COPY
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 POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","sourceNsxTManagerRef:"object"}' https://{api_host}/cloudapi/1.0.0/segmentProfileTemplates