Changed1
[{"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
DescriptionCreates 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
URLURL
https://{api_host}/cloudapi/1.0.0/segmentProfileTemplates
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.
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.
Authentication
This operation uses the following authentication methods.
No error details were provided in the OpenAPI specification.
Code SamplesCode 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
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
What's changed in v36.3?
INTRODUCED
Availability
Added in 36.2
On This Page
Segment Profile Templates Operations
post
Create Segment Profile Template
Introduced
delete
Delete Segment Profile Template
Introduced
get
Get Global Default Segment Profile Templates
Introduced
get
Get Segment Profile Template
Introduced
get
Get Segment Profile Templates
Introduced
post
Sync Segment Profile Template
Introduced
put
put
Update Segment Profile Template
Introduced