Forum Discussion
shru199116
Nimbostratus
May 18, 2022How to get all the properties of a Virtual Sever using python SDK?
device.tm.ltm.virtuals.get_collection() --> It just gives basic fields like name, ipProtocol, iRule, Pool name, nat64, etc
device.tm.ltm.profile.server_ssls.get_collection() --> Gives the Server SSL details
device.tm.ltm.profile.client_ssls.get_collection() --> Gives the Client SSL details
Is there a way were i can get complete General Properties, Advanced Configuration Properties, Acceleration property details . Kindly help on this.
1 Reply
Just to be clear, are you talking about the string (key), or its corresponding value? The system won't let you use a null string, but you can definitely use a null value (though that changes with 11.4). If you do need a null string, I would recommend testing for that first, and then testing the data group. Example:
when HTTP_REQUEST { if { ( $foo equals "" ) or ( [class match $foo equals my_dg] ) } { do something } else { do something else } }
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