PROPERTY::exists¶
Description¶
Determine if a property is configured on a virtual server.
Note
Renamed in BIG-IP Next 20.0.1 from previous PROFILE::exists command.
Syntax¶
PROPERTY::exists [auth | clientssl | fastL4 | ftp | http | httpclass | oneconnect | persist | serverssl | stream | tcp | udp | xml]
PROPERTY::exists [auth | clientssl | fastL4 | ftp | http | httpclass | oneconnect | persist | serverssl | stream | tcp | udp | xml]¶
- Returns 1 if the property is configured on the current virtual server. Returns 0 if the property is not configured on the current virtual server.
PROPERTY::exists persist [cookie | source_addr | simple | dest_addr | sticky | msrdp | ssl | uie | universal | hash]¶
- Returns 1 if the property is configured on the current virtual server. Returns 0 if the property is not configured on the current virtual server.
Examples¶
when CLIENT_ACCEPTED {
if { [PROPERTY::exists clientssl] == 1} {
log local0. "client SSL profile enabled on virtual server"
}
}
when SERVER_CONNECTED {
if { [PROPERTY::exists serverssl] == 1} {
log local0. "server SSL profile enabled on virtual server"
}
}