Instance - Restart a Compute Instance

The following example policy will restart a compute instance

policies:
    - name: reboot-instance
      description: |
         Restart a compute instance
      resource: oci.instance
      filters:
         - type: value
           key: display_name
           value: Instance_1
      actions:
         - reboot