Ruby and iControl: Understanding Complex Type Syntax
Published Jan 27, 2011
Version 1.0Was this article helpful?
shouldn't it be something like below (which i think applies the 1st 3 profiles to your 1st VS and the last profile to the 2nd VS):
profiles -> VirtualServerProfile[][]
[ [ { 'profile_context' => 'PROFILE_CONTEXT_TYPE_SERVER', 'profile_name' => 'tcp-lan-optimized' }, \
{ 'profile_context' => 'PROFILE_CONTEXT_TYPE_CLIENT', 'profile_name' => 'tcp' }, \
{ 'profile_context' => 'PROFILE_CONTEXT_TYPE_ALL', 'profile_name' => 'http-lan-optimized-caching' } ], \
[ { 'profile_context' => 'PROFILE_CONTEXT_TYPE_ALL', 'profile_name' => 'udp' } ] \
] \