Orchestrator Function: vCenter VAPI Plugin Content Library Subscription Update

by Simon Sparks · 18 January 2026

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 ContentLibrarySubscriptionUpdate

privateContentLibrarySubscriptionUpdate(objVAPIContentLibrary:com_vmware_content_library__model,objVAPIContentLibrarySubscriptionUpdateSpecVCenter:com_vmware_content_library_subscriptions_update__spec__vcenter,objVAPIContentLibrarySubscriptionUpdateSpecPlacement:com_vmware_content_library_subscriptions_update__spec__placement):void{

letobjVAPIContentLibrarySubscriptions:com_vmware_content_library_subscriptions=newcom_vmware_content_library_subscriptions(this.objVAPIClient);

letobjVAPIContentLibrarySubscriptionUpdateSpec:com_vmware_content_library_subscriptions_update__spec={
subscribed_library_vcenter:objVAPIContentLibrarySubscriptionUpdateSpecVCenter,
subscribed_library_placement:objVAPIContentLibrarySubscriptionUpdateSpecPlacement
};

objVAPIContentLibrarySubscriptions.update(null,objVAPIContentLibrary.id,objVAPIContentLibrarySubscriptionUpdateSpec);
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like