VMware Cloud Community
anba89
Enthusiast
Enthusiast

Display Provisioned Resources by resourceData Key / Value with REST-API filters

Hi all

Does anyone know if a filter exists to search for a Key & Value in the provisioned resources api call?

I tried with different options:

Base URL: https://(vRA)/catalog-service/api/consumer/resources/types/Infrastructure.Virtual/?offset=0&limit=50...

$filter=resourceData/entries/key eq 'customer1.shutdownVm'

$filter=resourceData/entries/key/name eq 'customer1.shutdownVm'

$filter=resourceData/key/name eq 'customer1.shutdownVm'

and many more...

"resourceData": {           

     "entries": [               

               {          "key": "customer1.shutdownVm",                   

                           "value": {                       

                           "type": "boolean",                       

                            "value": true                   

                             }               

                  },

Thanks.

Cheers,

Andi

Tags (2)
0 Kudos
0 Replies