• Builds a destination from one of three sources (in the given order):

    • from the environment variable "destinations".
    • from service bindings.
    • from the destination service.

    If you want to get a destination only from a specific source, use the corresponding function directly (getDestinationFromEnvByName, destinationForServiceBinding, getDestinationFromDestinationService).

    Parameters

    Returns Promise<Destination | null>

    A promise returning the requested destination on success.

    Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.