Create an action for an 'on Lease end' policy

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • A policy that is triggered by the on Lease end trigger can send a notification or perform a Start, Stop, or Deprovision life cycle operation.

    Before you begin

    Procedure

    1. In the Cloud Admin Portal, navigate to Govern > Policies.
    2. Open a cloud policy and set the policy to the Draft state if needed.
    3. Open the rule that should perform the action and then click New on the Policy Rule Actions related list.
    4. On the popup, click Create for the type of action to perform, enter a unique and meaningful Action Name, and then fill in the form for the action.
      Create Action popup
      Table 1. Settings for the 'Run an Operation' action
      Field Description
      Blueprint Operation Specify Start, Stop, or Deprovision.
      Table 2. Settings for the 'Send a Notification' action
      Field Description
      Notification Select the text for the notification:
      • Lease End Date Reached
      • Stack Decommissioned (Lease End)
      • Upcoming Lease End