GTM type A and AAAA wideip NetworkMap to generate a json with python f5-sdk
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’. Short Description GTM type A and AAAA NetworkMap to a json with python f5-sdk, code support check AS3 wid...
Updated Dec 19, 2022
Version 4.0xuwen
Cumulonimbus
Joined September 03, 2020
heibarth
Mar 22, 2023Nimbostratus
Hi Xuwen
I have some problem to add two members to a existen pool trough API REST, but I have the error bellow:
{
"code": 403,
"message": "Operation is not supported on property /gtm/pool/a/PL_API_TEST/members.",
"errorStack": [],
"apiError": 1
}
The endpoint that I use is the bellow:
https://{{bigip_gtm_mgmt}}/mgmt/tm/gtm/pool/a/PL_API_TEST/members
And the payload is this:
{
"kind": "tm:gtm:pool:a:members:memberscollectionstate",
"items": {
"kind": "tm:gtm:pool:a:members:membersstate",
"name": "SERVER:VS_API_TEST",
"partition": "Common",
"fullPath": "/Common/SERVER:/Common/VS_API_TEST",
"monitor": "default",
"ratio": 1
}
}
I´m tried too with this payload:
{
"kind": "tm:gtm:pool:a:members:memberscollectionstate",
"items": {
"kind": "tm:gtm:pool:a:members:membersstate",
"name": "SERVER:VS_API_TEST",
"partition": "Common",
"fullPath": "/Common/SERVER:VS_API_TEST",
"monitor": "default",
"ratio": 1
}
}
Regards