iControl 101 - #13 - Data Groups
Data Groups can be useful when writing iRules. A data group is simply a group of related elements, such as a set of IP addresses, URI paths, or document extensions. When used in conjuction with the ...
Published May 01, 2008
Version 1.0Mar 02, 2012
@Erik, you can use the LocalLB.Class.get_* methods to pull out the values. For a string class named urimappnings, you could do something like this
pull out the names from the string class;
$StringClassA = (Get-F5.iControl).LocalLBClass.get_string_class(@("urimappings") );
ValuesAofA = (Get-F5.iControl).LocalLBClass.get_string_class_member_data_value($StringClassA);
Print out the results
Write-Host "Data Group: urimappings"
Write-Host "Names:"
$StringClassA[0].members
Write-Host "Values"
$ValuesAofA[0]
Hope this helps...