Forum Discussion
Mike_Nepomny
Jun 20, 2012Nimbostratus
get_policy_list stopped working in v11.1
Hi,
I was using get_policy_list method in v10.1. Same code returns only one policy in v11.1. My web app has one active policy and one policy in recycle bin.
How to get all policies for web app in v11.1 ?
Thank you
my (@webapp_names) = @_;
my $soapResponse = $AppInterface->get_policy_list
(
SOAP::Data->name(webapp_names => [@webapp_names])
);
&checkResponse($soapResponse);
my @PolicyList = @{$soapResponse->result};
my $policy_count = @PolicyList ;
print "---->policy_count $policy_count\n" ;
my $p = @PolicyList[0];
my @policies = @{ $p }; array of hashes
2 Replies
Sort By
- I am not familiar with this interface but I asked a colleague and he said the following. Does it help?
- Thank you, Todd.
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