vlocode-project - v2.4.3
    Preparing search index...
    • Summarizes an array of datapack deployment states into a single representative state.

      The function uses the following logic to determine the summary state:

      • If any deployment is 'InProgress', returns 'InProgress'.
      • If no deployments are 'Pending':
        • If there are no 'Error' states, returns 'Success'.
        • If there are 'PartialSuccess' states, returns 'PartialSuccess'.
        • Otherwise, returns 'Error'.
      • If none of the above conditions are met, returns 'Pending'.

      Parameters

      Returns DatapackDeploymentState

      A single state representing the overall deployment status