use of com.microsoft.azure.management.applicationinsights.v2015_05_01.ApplicationInsightsComponent in project azure-tools-for-java by Microsoft.
the class ApplicationInsightsResourceRegistry method prepareAppResListFromRes.
/**
* Prepare list of ApplicationInsightsResource using list of Resource.
* @param resourceList
* @param sub
* @return
*/
public static List<ApplicationInsightsResource> prepareAppResListFromRes(List<ApplicationInsightsComponent> resourceList, Subscription sub) {
List<ApplicationInsightsResource> list = new ArrayList<ApplicationInsightsResource>();
for (ApplicationInsightsComponent resource : resourceList) {
ApplicationInsightsResource resourceToAdd = new ApplicationInsightsResource(resource, sub, true);
list.add(resourceToAdd);
}
return list;
}
Aggregations