Create a new global catalog
/api/v1/cat/create?cat=catalog&vdc=controller-name
Name of the new catalog
Name of the target virtual data center
synchronous
GET
Create a catalog named /test.
GET http://192.168.123.200/api/v1/cat/create?cat=/test&vdc=mygrid
<opt></opt>
{}
Entity vdc mygrid not found - A VDC name was specified that is not configured in the WS_API application.
Missing required arguments (cat). - Argument cat=catalog missing in the request.
'test' is not a valid catalog. - Invalid catalog specified in the request. Only global catalogs can be created.
Destroy a global or application catalog
/api/v1/cat/destroy?cat=catalog&vdc=controller-name
Name of the catalog to be destroyed
Name of the target virtual data center
asynchronous
GET
Destroy a catalog named /test.
GET http://192.168.123.200/api/v1/cat/destroy?cat=/test&vdc=mygrid
<job>be805915-76b2-48c8-b8a0-b881cca66da6</job>
{
"job" : "be805915-76b2-48c8-b8a0-b881cca66da6"
}
Entity vdc mygrid not found - A VDC name was specified that is not configured in the WS_API application.
Missing required arguments (cat). - Argument cat=catalog missing in the request.
Notes: To get the status of job, issue a /api/v1/job/info? request with the job_id returned above as the argument. For more information about how to obtain the job status, refer to the job object.
|
Copyright © 2012 CA.
All rights reserved.
|
|