VMware Networking Community
shenoyss
Contributor
Contributor
Jump to solution

NSX API for Service Definition

I am trying to create a service definition using NSX Rest APIs. However, I am not able to find one. I'd appreciate if someone can point me to the right API documentation around this.

-

Shenoy

0 Kudos
1 Solution

Accepted Solutions
shenoyss
Contributor
Contributor
Jump to solution

I found a KB article, which pointed me to Rest API for Deploying Service Instances.

/api/2.0/si/serviceinstance

Using these APIs, I am able to create the required service instance.

HTH,

Sudhakar Shenoy

View solution in original post

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

Page 104 of the PDF NSX vSphere 6.2 API Guide - VMware Documentation covers working with services.

0 Kudos
shenoyss
Contributor
Contributor
Jump to solution

Thanks for your response. However, I am looking to create a service definition similar to one in UI via the following steps :-

1) Networking and Security -> Service Definition -> New Service Definition

2) Select Deployment Mechanism like L3 Boundary

3) Select Service category like Load Balancer

4) Configure Service Manager

5) Add Service configurations

6) Select Transport like None

7) Deploy the service.

Once deployed, we can use that service definition while configuring the Edge Services Gateway.

0 Kudos
shenoyss
Contributor
Contributor
Jump to solution

I found a KB article, which pointed me to Rest API for Deploying Service Instances.

/api/2.0/si/serviceinstance

Using these APIs, I am able to create the required service instance.

HTH,

Sudhakar Shenoy

0 Kudos