Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

vShield Edge REST API Service To Scope

$
0
0

Adding a service to a scope is not working on our vShield Manager 5.1. The request we are submitting is as follows:

 

POST https://<vsm-ip>/api/2.0/services/application/scope/<scope-id>

 

<?xml version="1.0" encoding="UTF-8"?>

<application>

<objectId/>

<type>

<typeName/>

</type>

<objectTypeName/>

<description>TestingPurposes</description>

<name>CustomTestService</name>

<revision>0</revision>

<element>

<applicationProtocol>TCP</applicationProtocol>

<value>9,22-31,44</value>

</element>

</application>


We tried the following scopes:

  • globalroot-0
  • edge-id
  • datacentre-id
  • dvportgroup-id

 

The response we are getting is a 405 error.

 

Any ideas what's wrong with the request?

 

Thanks,

 

Alan.


Viewing all articles
Browse latest Browse all 179681

Trending Articles