You can publish and unpublish deployment profiles of an application to the vCloud Automation Center service catalog.

Publishes a deployment profile of an application to the vCloud Automation Center service catalog.

The user account with the ROLE_DEPLOYER deployer role can access this API.

POST

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/vcac-catalog-publish

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/vcac-catalog-publish
{
   "name":"DUKE'S BANK DP vCAC - IT",
   "description":"to ITests-vCAC-cam-appdvcac DE on cam-appdvcac CP.",
   "itemId":"325",
   "itemType":"DEPLOYMENT_PROFILE"
}
{
   "errors":false,
   "messageList":[
      {
         "messageType":"INFO",
         "message":"Successfully published deployment profile 'ac' to vCAC.",
         "messageKey":"csp.catalogitem.deployment_profile.publish.success.msg",
         "property":null
      }
   ],
   "result":{
      "id":"appd-dp-325",
      "name":"DUKE'S BANK DP vCAC - IT",
      "description":"to ITests-vCAC-cam-appdvcac DE on cam-appdvcac CP.\n[Published: Wed Sep 11 12:48:46 PDT 2013]",
      "status":"PUBLISHED",
      "type":"DEPLOYMENT_PROFILE",
      "catalogItemTypeId":"test.appd.csp.DEPLOYMENT_PROFILE",
      "subtenantId":"2ee360e1-762e-4df9-8775-c26e3cf281d4"
   }
}

Verifies that the status of the deployment profile indicates Published in the vCloud Automation Center service catalog based on the deployment profile ID. If the deployment profile is not published, the status indicates Not Published.

The user account with the ROLE_DEPLOYER deployer role can access this API.

GET

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/vcac-item-status/DeploymentProfileID

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/vcac-item-status/325
{
   "errors":false,
   "messageList":[
   ],
   "result":{
      "id":"appd-dp-325",
      "name":"ac",
      "description":"ac-desc",
      "status":"RETIRED",
      "type":"DEPLOYMENT_PROFILE",
      "catalogItemTypeId":null,
      "subtenantId":null
   }
}

Removes a published deployment profile of an application from the vCloud Automation Center service catalog.

The user account with the ROLE_DEPLOYER deployer role can access this API.

POST

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/vcac-catalog-unpublish

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/2.0/vcac-catalog-unpublish
{
   "name":"DUKE'S BANK DP vCAC - IT",
   "description":"to ITests-vCAC-cam-appdvcac DE on cam-appdvcac CP.",
   "itemId":"325",
   "itemType":"DEPLOYMENT_PROFILE"
}
{
   "errors":false,
   "messageList":[
      {
         "messageType":"INFO",
         "message":"Successfully unpublished catalog item from vCAC.",
         "messageKey":"csp.catalogitem.unpublish.success.msg",
         "property":null
      }
   ]
}