After configuring the dynamic types plug-in and creating some test objects, you must create the custom resource definition in Cloud Assembly.

Procedure

  1. In Cloud Assembly, select Design > Custom Resource, and click New Custom Resource.
  2. Provide the following values:
    Setting Sample Value
    Name Website

    This is the name that appears in the cloud template resource type palette. You can use another name if desired.

    Resource Type Custom.website

    The resource type must begin with Custom. and each resource type must be unique.

    Although the inclusion of Custom. is not validated in the text box, the string is automatically added if you remove it.

    This resource type is added to the resource type palette so that you can use it in the cloud template.

    Activate To enable this resource type in the cloud template resource type list, verify that Activate option is toggled on.
    Scope Define if you want this custom resource to be shared across projects or specific to a single project.
    Lifecycle Actions - Create Select the Create Website Object workflow.

    If you have multiple vRealize Orchestrator integrations, select the workflow on the integration instance you use to run these custom resources.

    After selecting the workflow, the external type drop-down menu becomes available.

    Note: An external source type can be used only once if shared and once per project. In this use case, you are providing the same custom resource for all the projects. It does mean that you cannot use the same external type for any other resource types for all projects. If you have other workflows that require the selected type, you must create individual custom resources for each project.
    Lifecycle Actions - Destroy Select the Delete Website Object workflow.
  3. To finish creating the custom resource, click Create.

Results

You have created a sample custom resource definition that uses the dynamic types plug-in.

What to do next

When you create a cloud template, the website object should now be available from the left resource pane and can be dragged into the cloud template canvas. After deploying the cloud template, a instance of the site object is displayed in the dynamic types plug-in inventory. Similarly, if the deployment is destroyed, the instance of the site object is removed from the from the dynamic types plug-in inventory.