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
public ContentLibraryItemStorageList(objVAPIClient: VAPIClient, strContentLibraryItemID: string): com_vmware_content_library_item_storage_info[] {
let objVAPIContentLibraryItemStorage: com_vmware_content_library_item_storage = new com_vmware_content_library_item_storage(objVAPIClient);
let arrVAPIContentLibraryItemStorageInfo: com_vmware_content_library_item_storage_info[] = objVAPIContentLibraryItemStorage.list(strContentLibraryItemID);
objVAPIClient.close();
return arrVAPIContentLibraryItemStorageInfo;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
