Changed2
[{"label":"Latest (v37.0)","version":"latest"},{"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

Update Network Segment Profiles

Description

Updates the segment profiles configuration for an Org vDC Network.

Request

Request

URL

URL


put
https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/segmentProfiles
Copy

Path Parameters

Path Parameters

string
vdcNetworkId Required

Request Body

Request Body

VdcNetworkSegmentProfileConfig of type(s) application/json Required
{
	"ipDiscoveryProfile": {
		"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
		"name": "string"
	},
	"macDiscoveryProfile": {
		"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
		"name": "string"
	},
	"qosProfile": {
		"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
		"name": "string"
	},
	"segmentProfileTemplate": {
		"source": "string",
		"templateRef": {
			"id": "string",
			"name": "string"
		}
	},
	"segmentSecurityProfile": {
		"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
		"name": "string"
	},
	"spoofGuardProfile": {
		"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
		"name": "string"
	}
}
ipDiscoveryProfile Optional

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


macDiscoveryProfile Optional

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


qosProfile Optional

The Quality of Service (QoS) profile.


segmentProfileTemplate Optional

Reference to the Segment Profile Template that is used when creating/updating this network. This reference will be returned if the original template still exists and all of the segment profiles on the network match exactly with the profiles configured on the template.


segmentSecurityProfile Optional

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


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 PUT -H "Content-Type: application/json" -d '{"ipDiscoveryProfile":{"id":"2a4ba9ad-e8d5-409c-8cae-c06910cd9b47","name":"string"},"macDiscoveryProfile":{"id":"2a4ba9ad-e8d5-409c-8cae-c06910cd9b47","name":"string"},"qosProfile":{"id":"2a4ba9ad-e8d5-409c-8cae-c06910cd9b47","name":"string"},"segmentProfileTemplate":{"source":"string","templateRef":{"id":"string","name":"string"}},"segmentSecurityProfile":{"id":"2a4ba9ad-e8d5-409c-8cae-c06910cd9b47","name":"string"},"spoofGuardProfile":{"id":"2a4ba9ad-e8d5-409c-8cae-c06910cd9b47","name":"string"}}' https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/segmentProfiles


[{"label":"Latest (v37.0)","version":"latest"},{"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 v37.0?
INTRODUCED
New in this version
Feedback

Was this page helpful?