Virtual Server options to iControl Queries

This post is to provide a list of the available iControl queries to the Virtual Server settings and is from the perspective of the iControl Assembly for .NET (but can be easily translated to any of the others using the iControlSDK).

You will still need to handle the return types, but this information was collected while I was building a single method to return all of the settings for a single Virtual Server.

General Properties:

Name:(Required for any sub-queries).List can be obtained via:LocalLBVirtualServer.get_list();

Destination:LocalLBVirtualServer.get_destination

Service Port:LocalLBVirtualServer.get_destination

State:LocalLBVirtualServer.get_enabled_state

Configuration:

Type:LocalLBVirtualServer.get_type

Protocol:LocalLBVirtualServer.get_protocol

Protocol Profile (Client):LocalLBVirtualServer.get_profile

profile_type == LocalLBProfileType.PROFILE_TYPE_TCP

profile_context ==LocalLBProfileContextType.PROFILE_CONTEXT_TYPE_CLIENT

Protocol Profile (Server): LocalLBVirtualServer.get_profile

profile_type ==LocalLBProfileType.PROFILE_TYPE_TCP

profile_context ==LocalLBProfileContextType.PROFILE_CONTEXT_TYPE_SERVER

OneConnect Profile:LocalLBVirtualServer.get_profile

profile_type ==LocalLBProfileType.PROFILE_TYPE_CONNECTION_POOL

NTLM Conn Pool:Unknown (If you find it please post in this discussion string)

HTTP Profile:LocalLBVirtualServer.get_profile

profile_type ==LocalLBProfileType.PROFILE_TYPE_HTTP

FTP Profile:LocalLBVirtualServer.get_profile

profile_type ==LocalLBProfileType.PROFILE_TYPE_FTP

Stream Profile:LocalLBVirtualServer.get_profile

profile_type ==LocalLBProfileType.PROFILE_TYPE_STREAM

XML Profile:LocalLBVirtualServer.get_profile

profile_type ==LocalLBProfileType.PROFILE_TYPE_XML

SSL Profile (Client):LocalLBVirtualServer.get_profile

profile_type ==LocalLBProfileType.PROFILE_TYPE_CLIENT_SSL

SSL Profile (Server):LocalLBVirtualServer.get_profile

profile_type ==LocalLBProfileType.PROFILE_TYPE_SERVER_SSL

Authentication Profiles:LocalLBVirtualServer.get_authentication_profile

RTSP Profile:LocalLBVirtualServer.get_profile

profile_type ==LocalLBProfileType.PROFILE_TYPE_RTSP

SMTP Profile:LocalLBVirtualServer.get_profile

profile_type ==LocalLBProfileType.PROFILE_TYPE_INSTANCE

Diameter Profile:Unknown (If you find it please post in this discussion string)

SIP Profile:LocalLBVirtualServer.get_profile

profile_type ==LocalLBProfileType.PROFILE_TYPE_SIPP

Statistics Profile:LocalLBVirtualServer.get_profile

profile_type ==LocalLBProfileType.PROFILE_TYPE_STATISTICS

VLAN and Tunnel Traffic:LocalLBVirtualServer.get_vlan

SNAT Pool:LocalLBVirtualServer.get_snat_type

Traffic Class:Unknown (If you find it please post in this discussion string)

Connection Limit:LocalLBVirtualServer.get_connection_limit

Connection Mirroring:LocalLBVirtualServer.get_connection_mirror_state

Address Translation:LocalLBVirtualServer.get_translate_address_state

Port Translation:LocalLBVirtualServer.get_translate_address_state

Source Port:LocalLBVirtualServer.get_source_port_behavior

Clone Pool (Client):LocalLBVirtualServer.get_clone_pool

type ==LocalLBClonePoolType.CLONE_POOL_TYPE_CLIENTSIDE

Clone Pool (Server):LocalLBVirtualServer.get_clone_pool

type ==LocalLBClonePoolType.CLONE_POOL_TYPE_SERVERSIDE

Last Hop Pool:LocalLBVirtualServer.get_last_hop_pool

iRules:LocalLBVirtualServer.get_rule

HTTP Class Profiles:LocalLBVirtualServer.get_httpclass_profile

Default Pool:LocalLBVirtualServer.get_default_pool_name

Default Persistence Profile:LocalLBVirtualServer.get_persistence_profile

Fallback Persistence Profile:LocalLBVirtualServer.get_fallback_persistence_profile

Any feedback or additions are welcome.

Hey Michael,

Can you share the code you came up with for the method to return all of the settings?

Thanks,

Hank