Confirming Targets

Confirm all targets that can then be available for lifecycle operations in Fleet Application Management.

On the fleet details page, view the status of the fleet resources. During target discovery, Fleet Application Management finds a list of targets that can't be applied for fleet lifecycle operations. Therefore, confirm the targets before proceeding with lifecycle operations. The fleet state displayed on its details page before confirmation of the targets is Needs Attention. On the details page, the total number of targets available is displayed and prompts for confirmation.
Important

If auto confirmation of target resources is enabled when creating a fleet, you don't need to manually confirm the targets unless the fleet details page indicates that the targets can't be confirmed.
  • The following steps show how to confirm targets from the fleet details page.
    Note

    After the discovery of resources is complete, the option to confirm targets is available at the top of the page.
    1. On the Fleets list page, select the fleet that you want to work with. If you need help finding the list page or the fleet, see Listing Fleets.
      The details page for the fleet opens. If the state of the target resources appears Invalid, you must validate these targets before they can be used for lifecycle operations.

      At the top of the page, you can view the fleet state that Fleet Application Management updates in real time. When the fleet state appears as Needs Attention and the option to Confirm targets is available, you can verify the targets and confirm them.

    2. To verify targets, select Confirm targets.
      The Confirm targets dialog box is displayed. You can view all the available targets for the fleet, their path, the type of product associated with the resource, and the parent fleet name.
    3. From the list of Available targets, select the checkbox next to targets that you want to confirm for lifecycle operations and then select Confirm targets.
    4. Verify the list of targets for confirmation under the Targets tab.
  • Use the oci fleet-apps-management fleet confirm-targets command and required parameters to confirm required targets that can then be available for fleet lifecycle operations:

    oci fleet-apps-management fleet confirm-targets --fleet-id <fleet_OCID> --targets <json_file_or_string> [OPTIONS]

    Use the oci fleet-apps-management fleet-target-collection list-targets command and required parameters to know the list of all confirmed and unconfirmed resources.

    oci fleet-apps-management fleet-target-collection list-targets --fleet-id <fleet_OCID> [OPTIONS]

    For a complete list of flags and variable options for Fleet Application Management CLI commands, see the CLI for Fleet Application Management.

  • Run the ConfirmTargets operation to confirm the required targets.

    Run the ListTargets operation to know the list of all confirmed and unconfirmed resources.