To use this function add it to the class library file named vCenterVAPIService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: vCenterVAPIService.ts
Function ContentLibraryItemStorageList
publicContentLibraryItemStorageList(objVAPIClient:VAPIClient,strContentLibraryItemID:string):com_vmware_content_library_item_storage_info[]{
letobjVAPIContentLibraryItemStorage:com_vmware_content_library_item_storage=newcom_vmware_content_library_item_storage(objVAPIClient);
letarrVAPIContentLibraryItemStorageInfo:com_vmware_content_library_item_storage_info[]=objVAPIContentLibraryItemStorage.list(strContentLibraryItemID);
objVAPIClient.close();
returnarrVAPIContentLibraryItemStorageInfo;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
