Forum Discussion
JasonBizzle_178
Aug 20, 2015Nimbostratus
Disable Multiple Pools Members At Once
Making a single rest call, has anyone been able to disable multiple pool members? I'm running into a problem where I want to only disable 2 of the 4 members, but every time I use the PATCH or PUT met...
James_Thomson
Employee
Currently, members in a pool are all in the pool object and not by themselves in a sub-collection. Because of this, you'll want to read in the current pool definition, then send the whole thing back in with the edits you want to make. What you have to realize is that you're patching the whole Pool to this new state. I believe F5 in version 12 was going to change pool members to a sub-collection which would allow you to patch a member individually. I have not found a way around this yet.
Andrew_Le_12873
Aug 27, 2015Nimbostratus
Yes, in BIG-IP version 12.0, ltm pool members will become a sub-collection.
Here's an excerpt:
{
"items": [
{
"allowNat": "yes",
"allowSnat": "yes",
"fullPath": "/Common/P1",
"generation": 496,
"ignorePersistedWeight": "disabled",
"ipTosToClient": "pass-through",
"ipTosToServer": "pass-through",
"kind": "tm:ltm:pool:poolstate",
"linkQosToClient": "pass-through",
"linkQosToServer": "pass-through",
"loadBalancingMode": "round-robin",
"membersReference": {
"isSubcollection": true,
"link": "https://localhost/mgmt/tm/ltm/pool/~Common~P1/members?ver=12.0.0"
},
....
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects