Forum Discussion

selvam's avatar
selvam
Icon for Nimbostratus rankNimbostratus
Sep 18, 2019

Using REST API i need to add string and value inside iRule datagroup.

Greetings,

 

I am able to filter data which is inside the datagroup using $select=records, but i am unable to filter inside the records and post as well.

 

https://localhost/mgmt/tm/ltm/data-group/internal/~Common~DataGroup_Mohan_test?

 

output:

 

{

"kind": "tm:ltm:data-group:internal:internalstate",

"name": "DataGroup_Mohan_test",

"partition": "Common",

"fullPath": "/Common/DataGroup_Mohan_test",

"generation": 177197,

"selfLink": "https://localhost/mgmt/tm/ltm/data-group/internal/~Common~DataGroup_Mohan_test?ver=11.5.4",

"type": "string",

"records": [

{

"name": "ENSS_rockers",

"data": "GNOC.amat.com"

},

{

"name": "GNShome",

"data": "gnshome.com"

},... continue

 

Please help !!!

 

BTW i am using python.

No RepliesBe the first to reply