Package org.azd.abstractions.internals
Class LookUpService
java.lang.Object
org.azd.abstractions.internals.LookUpService
Determines the resource area.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LookUpService
getInstance
(AccessTokenCredential accessTokenCredential) Get the instance of lookup service.locationUrl
(String organizationUrl, String resourceId) Get the location url for given base url and resource id.resourceAreas
(String organizationUrl) Get the resource areas for given url.
-
Method Details
-
getInstance
Get the instance of lookup service.- Parameters:
accessTokenCredential
- Access token credential object.- Returns:
- Lookup service object
LookUpService
.
-
resourceAreas
Get the resource areas for given url.- Parameters:
organizationUrl
- Organisation url. E.g., https://dev.azure.com/{organisation}- Returns:
- Resource areas object
ResourceAreas
.
-
locationUrl
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.
-