How to Change the Allocation Model of an Organization Virtual Data Center (OVDC) in VMware Cloud Director (VCD)
search cancel

How to Change the Allocation Model of an Organization Virtual Data Center (OVDC) in VMware Cloud Director (VCD)

book

Article ID: 370355

calendar_today

Updated On: 12-20-2024

Products

VMware Cloud Director

Issue/Introduction

  • Steps to change the allocation model for an organization's virtual data center through the VCD API.

Environment

VMware Cloud Director 10.x

Resolution

Steps to change the Allocation Model using REST API via Postman:

Request:
GET https://<vcd_fqdn>/api/admin/vdc/<orgvdc-id>
    • Replace <orgvdc-id> with the ID of the Org VDC you wish to modify.

Request Headers:
Accept: application/*+json;version=<vcd-api-version>
Authorization: Bearer <vcd-auth-token>

  • Locate the current allocation model name within this output. 

  • Copy the body output from above step and replace the old allocation model name with the new desired allocation model name and paste it in PUT call to update the Org VDC with the new allocation model:
Request:
PUT https://<vcd_fqdn>/api/admin/vdc/<orgvdc-id>
 
Request Headers:
Accept: application/*+json;version=<vcd-api-version>
Authorization: Bearer <vcd-auth-token>
Content-Type: application/vnd.vmware.admin.vdc+json
 
 
  • Execute the GET call once again on the same Org VDC to verify that the allocation model has been successfully changed.

Additional Information