Create a Custom Property Definition using the vRealize Orchestrator Action.

About this task

Procedure

  1. Log in to the vRealize Automation Rainpole portal.
    1. Open a Web browser and go to https://vra01svr01.rainpole.local/vcac/org/rainpole.
    2. Log in using the following credentials.

      Setting

      Value

      User name

      itac-tenantadmin

      Password

      itac-tenantadmin_password

      Domain

      rainpole.local

  2. Select Administration > Property Dictionary > Property Definitions.
  3. Click New to create a new property definition.
  4. Enter VirtualMachine.Network0.NetworkProfileName in the Name text box.

    Note:

    The property definition name is case sensitive, and must match exactly the property name used in the blueprint or build profile. 

  5. Enter Select a network in the Label text box.
  6. In the Visibility section, select the All Tenants radio button and specify to which tenant the property is available.
  7. (Optional) Enter a property description in the Description text box.

    Describe the intent of the property and any information that might help the consumer best use the property.

  8. Enter 2 for Display order.
  9. Select String from the Data type drop-down menu.
  10. Select Yes from the Required drop-down menu.
  11. Select Dropdown from the Display As drop-down menu.
  12. Select External values for Values.
  13. Click Select button for Script action.
  14. In the pop up Select Script Action window, expand local.rainpole.vra.scriptActions and select avaiableNetworkProfiles. Click OK.




  15. Select location in the Input parameters table and click Edit icon.
  16. Check the checkbox for Bind and enter Vrm.DataCenter.Location for the value. Click OK to save the input parameter binding.




  17. Click OK to save the property definition.

    The property is created and made available on the Property Definitions page.