NSX-T Read Group API GET /policy/api/v1/infra/domains/{domain-id}/groups/{group-id} is not returning the “state” parameter.
search cancel

NSX-T Read Group API GET /policy/api/v1/infra/domains/{domain-id}/groups/{group-id} is not returning the “state” parameter.

book

Article ID: 409086

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

The API documentation included a "state" parameter, but the Read Group API GET/policy/api/v1/infra/domains/{domain-id}/groups/{group-id} was not returning it.

https://developer.broadcom.com/xapis/nsx-t-data-center-rest-api/4.2.2/method_ReadGroupForDomain.html

 

Environment

VMware NSX-T 4.x

Cause

The Read Group API GET /policy/api/v1/infra/domains/{domain-id}/groups/{group-id} is an intent API and is not designed to return the realization state of any resource.

 



Resolution

From NSX-T 9.1 release, the "state" parameter of the Get Group API is deprecated.

Workaround: