[{"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
Update Network
DescriptionUpdates a specific Org vDC network.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}
Path Parameters
Path Parameters
string
vdcNetworkId
Required
Request Body
Request Body
VdcNetwork
of type(s) application/json
Required
This request body class requires all of the following:
Network, InlineVdcNetwork1
Authentication
This operation uses the following authentication methods.
Errors
Error
400
Invalid configuration.
Error
404
The specified resource was not found
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"backingNetworkId":"string","backingNetworkType":"enum","connection":{"connected":false,"connectionType":"enum","connectionTypeValue":"string","routerRef":{"id":"string","name":"string"}},"crossVdcNetworkId":"string","crossVdcNetworkLocationId":"string","description":"string","enableDualSubnetNetwork":false,"guestVlanTaggingAllowed":false,"id":"string","isDefaultNetwork":false,"lastTaskFailureMessage":"string","name":"string","networkType":"enum","orgRef":{"id":"string","name":"string"},"orgVdc":{"id":"string","name":"string"},"orgVdcIsNsxTBacked":false,"overlayId":0,"ownerRef":{"id":"string","name":"string"},"parentNetworkId":{"id":"string","name":"string"},"retainNicResources":false,"routeAdvertised":false,"securityGroups":[{"id":"string","name":"string"}],"segmentProfileTemplateRef":{"id":"string","name":"string"},"shared":false,"status":"enum","subnets":{"values":[{"dnsServer1":"string","dnsServer2":"string","dnsSuffix":"string","enabled":false,"gateway":"string","ipRanges":{"values":[{"endAddress":"string","startAddress":"string"}]},"prefixLength":0,"totalIpCount":0,"usedIpCount":0}]},"totalIpCount":0,"usedIpCount":0}' https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}
[{"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
Availability
Added in 32.0
On This Page
Org VDC Network Operations
delete
post
post
put