[{"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 IP Space Org Assignment

Description

Create a new IP Space Org Assignment. The assignment links an Organization to an IP Space by providing the Organization access to the specified IP Space. It also defines the various IP Space quotas applied to an Organization.

Request

Request

URL

URL


post
https://{api_host}/cloudapi/1.0.0/ipSpaces/orgAssignments
Copy

Request Body

Request Body

IpSpaceOrgAssignment of type(s) application/json Required
{}
ipSpaceRef Required

Reference to the associated IP Space. This property is not updatable.


orgRef Required

Reference to the associated Organization. This property is not updatable.


customQuotas Optional

Custom IP Space quotas applied to the Organization. A custom quota for floating IPs or IP Prefix overrides the default quotas applied to the associated Organization. Setting the customQuotas property to NULL will result in resetting all the overridden quotas to their respective defaults. Setting the specific overridden quota value within customQuotas will result in resetting the overridden quota value to its default value. A Quota of -1 means there is no cap to the number of IP addresses or IP Prefixes that can be allocated. A Quota of 0 means that the IP addresses or IP Prefixes cannot be allocated.


defaultQuotas Optional

Default IP Space quotas applied to the Organization.


string
id Optional

The identifier of the IP Space Org Assignment in URN format.


string
ipSpaceType Optional

The type of the IP Space. Possible values are:

  • PUBLIC
  • PRIVATE
  • SHARED_SERVICES

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 '{"id":"urn:vcloud:ipSpaceOrgAssignment:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}' https://{api_host}/cloudapi/1.0.0/ipSpaces/orgAssignments


[{"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?