VMware Cloud Community
bdamian
Expert
Expert
Jump to solution

NSX-v DynamicTypes plug-in V2 query methods

I'm giving a try to the NSX-v DynamicTypes plug-in V2 and I can't find any query method.

How can I obtain a Edge object from his Id?

How can I obtain a Pool object knowing his id and the edge id?

Thanks a lot,

D,.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos
1 Solution

Accepted Solutions
cdecanini_
VMware Employee
VMware Employee
Jump to solution

With the standard Server.findForType(type,id);

With ID being the rest server ID + "/" + edgeId + "/" + poolId for a pool type

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter

View solution in original post

0 Kudos
3 Replies
cdecanini_
VMware Employee
VMware Employee
Jump to solution

With the standard Server.findForType(type,id);

With ID being the rest server ID + "/" + edgeId + "/" + poolId for a pool type

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos
bdamian
Expert
Expert
Jump to solution

Thanks a lot!!!!!

Now I can really work with this as an extension of the NSX official plugin for orchestrator.

Thank you very much!

D.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos
cdecanini_
VMware Employee
VMware Employee
Jump to solution

You can also use the official NSX plug-in workflows using my plug-in by using the objectId property and pass it to the official plug-in workflow.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos