[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Create Segment Profile Template

Description

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

Request

URL

URL


post
https://{api_host}/cloudapi/1.0.0/segmentProfileTemplates
Copy

Request Body

Request Body

SegmentProfileTemplate of type(s) application/json Required
{
	"name": "string",
	"sourceNsxTManagerRef": {}
}
sourceNsxTManagerRef Required

The NSX-T manager providing the source segment profiles.


string
name Required

The name of the Segment Profile Template.


string
description Optional

The description of the Segment Profile Template.


string
id Optional

The URN of the Segment Profile Template Object.


string as date-time
lastModified Optional

The last time the segment profile template was modified.


macDiscoveryProfile Optional

The MAC Discovery profile. Defines how the segment discovers MAC addresses.


qosProfile Optional

The Quality of Service (QoS) profile.


segmentSecurityProfile Optional

The Segment Security profile. Enables stateless L2 and L3 security on the segment.


ipDiscoveryProfile Optional

The IP Discovery profile. Defines how the segment discovers IP addresses.


spoofGuardProfile Optional

The Spoof Guard profile.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

202 Accepted

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

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"description":"string","id":"string","ipDiscoveryProfile":{"id":"2a4ba9ad-e8d5-409c-8cae-c06910cd9b47","name":"string"},"lastModified":"string","macDiscoveryProfile":{"id":"2a4ba9ad-e8d5-409c-8cae-c06910cd9b47","name":"string"},"name":"string","qosProfile":{"id":"2a4ba9ad-e8d5-409c-8cae-c06910cd9b47","name":"string"},"segmentSecurityProfile":{"id":"2a4ba9ad-e8d5-409c-8cae-c06910cd9b47","name":"string"},"sourceNsxTManagerRef":{"id":"string","name":"string"},"spoofGuardProfile":{"id":"2a4ba9ad-e8d5-409c-8cae-c06910cd9b47","name":"string"}}' https://{api_host}/cloudapi/1.0.0/segmentProfileTemplates
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vcloud-event: com/vmware/vcloud/event/segmentProfileTemplate/create


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Feedback

Was this page helpful?