To create catalog items and request deployments, you use the Service Broker Catalog APIs.
This use case includes the procedures required to associate a project that you previously created with the catalog source, create a catalog source, and create entitlements, so that you can request a deployment from the catalog item. Optionally, if you want to expire your deployment, you can create a lease policy. If you want to limit resource consumption in your deployment, you create a limit policy.
Prerequisites for Requesting a Deployment from a Catalog Item
All tasks for requesting a deployment from a catalog item share the following common prerequisites:
- Verify that you are at least an organization member in VMware vRealize Automation with both a Cloud Assembly administrator service role and a Service Broker administrator service role.
- Verify that you have an active access token. See Getting Your Authentication Token.
- Verify that the URL variable is assigned.
url='https://appliance.domain.com'
- Verify that the API version variable is assigned as in the following example.
api_version='2020-08-25'
If you choose not to assign a value to the apiVersion or to assign it to a different value, review the information in API versioning.
- Verify that you have the ID for a project that has the cloud template versioned and released to it. See the prerequisites section of Create and Update a Cloud Template.
Any additional prerequisites are specified with the individual tasks.