Class LookUpService

java.lang.Object
org.azd.abstractions.internals.LookUpService

public class LookUpService extends Object
Determines the resource area.
  • Method Details

    • getInstance

      public static LookUpService getInstance(AccessTokenCredential accessTokenCredential)
      Get the instance of lookup service.
      Parameters:
      accessTokenCredential - Access token credential object.
      Returns:
      Lookup service object LookUpService.
    • resourceAreas

      public ResourceAreas resourceAreas(String organizationUrl)
      Get the resource areas for given url.
      Parameters:
      organizationUrl - Organisation url. E.g., https://dev.azure.com/{organisation}
      Returns:
      Resource areas object ResourceAreas.
    • locationUrl

      public String locationUrl(String organizationUrl, String resourceId)
      Get the location url for given base url and resource id.
      Parameters:
      organizationUrl - Organisation url. E.g., https://dev.azure.com/{organisation}
      resourceId - GUID of the resource such as release, git etc.
      Returns:
      Location url.