Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store

Action settings for the on Resource operation trigger

Action settings for the on Resource operation trigger

These fields display when you create a policy action for a policy that is triggered on Resource operation.

Table 1. Property override action type form fields
Field Description
Property Specify the user-specified attribute (property) value to override.
Enter a value that overrides the value in the Property name field. You can use a static value, an expression, or both. Expressions can do the following:
  • Set form data values using definition expressions. For example: ${parameter.formData.CatalogAttributeType}
  • Assign user data values using definition expressions. For example: ${parameter.userData.userId}

    For example, the following value can set the stack name to Stack_${parameter.userData.userId}

  • Set stack or table values using runtime expressions.

    For example: $(ci.sn_cmp _ip_pool[subnet=${parameter.formData.Subnet Id}]) takes the subnet from the IP Pools table.

  • Associate a random number with a field using static expressions. Use: ${randomNumber}
Is Script Based Select the check box to display the Script text box and specify the script.
Table 2. Execute a script action type form fields
Field Description
Action Script Category Select an action attribute category.
Action Script Name Select a policy rule action script.

If you select the Call Cloud API action type and save the record, the Policy Rule Action Attributes related list populates with the attributes to pass to the provider. If you are integrating with Infoblox, you must configure the DNSSuffix field. When you create a host, for example, the value in the DNSSuffix field appears in Infoblox for the newly created virtual machine.

Table 3. Settings for the 'Execute a Call Cloud API' action
Field Description
Action Name Enter a descriptive name for the action. In subsequent policy actions within the same policy, you can reference this name in a Value field. It refers to the JSON payload that is received from the cloud provider after an API call. For example, to reference an allocated IP address that was returned, you can use the following expression in the Value field of another policy action: $(parameter.action_name.Allocated_IP} where action_name is the name you enter in this field.
Provider Enter the cloud provider from the API library.
Version Enter the version from the API library.
Endpoint URL Enter the endpoint URL of the connector from the API library. For Infoblox, it is the IP address of the Infoblox server.
Credentials Enter the sys_ID of the necessary credentials. You can also use an expression similar to the following:
Interface Select a CAPI interface. For Infoblox, select IPAM interface.
Operation Select a CAPI interface operation to perform. For Infoblox, select CreateHostRecord or DeleteHostRecord.
Provider Type Select the IP address management provider. Infoblox Server is available by default.
Table 4. Settings for the 'Execute an IP Address Management' action
Field Description
IPAM Method Name Select the IPAM Method Name. For Infoblox, select one of the following options:
  • Release IP Address: Release an IP address from Infoblox when a machine is deprovisioned.
  • Register IP Address: Register a new virtual machine to Infoblox. This option is used by AWS and Azure clouds.
  • Reserve IP Address: Reserve a new IP address. This option is used by a vSphere cloud.