---
title: Catalog.Protection
slug: ps/help/en_us/vtm/controlapi/catalogprotection
docTags: 
createdAt: 2026-08-02T08:52:21.950Z
---

URI: http\://soap.zeus.com/zxtm/1.0/Catalog/Protection/

The Catalog.Protection interface allows management of Service Protection classes. Using this interface, you can create, delete and rename Protection classes, and manage their configuration.

### Methods

### addAllowedAddresses( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Add new IP addresses and CIDR IP subnets to the list of machines that are always allowed access.

```bash
void addAllowedAddresses(
String[] class_names
String[][] values
)
```

### addAllowedAddressesByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Add new IP addresses and CIDR IP subnets to the list of machines that are always allowed access. This is a location specific function, any action will operate on the specified location.

```bash
void addAllowedAddressesByLocation(
String location
String[] class_names
String[][] values
)
```

### addBannedAddresses( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Add new IP addresses and CIDR IP subnets to the list of machines that aren't allowed access.

```bash
void addBannedAddresses(
String[] class_names
String[][] values
)
```

### addBannedAddressesByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Add new IP addresses and CIDR IP subnets to the list of machines that aren't allowed access. This is a location specific function, any action will operate on the specified location.

```bash
void addBannedAddressesByLocation(
String location
String[] class_names
String[][] values
)
```

### addProtection( class\_names ) throws ObjectAlreadyExists, InvalidObjectName, DeploymentError

Add new Protection classes.

```bash
void addProtection(
String[] class_names
)
```

### copyProtection( class\_names, new\_names ) throws ObjectDoesNotExist, ObjectAlreadyExists, InvalidObjectName, DeploymentError

Copy the named Protection classes.

```bash
void copyProtection(
String[] class_names
String[] new_names
)
```

### deleteProtection( class\_names ) throws ObjectInUse, ObjectDoesNotExist, DeploymentError

Delete the named Protection classes.

```bash
void deleteProtection(
String[] class_names
)
```

### getAllowedAddresses( class\_names ) throws ObjectDoesNotExist

Get the list of IP addresses and CIDR IP subnets that are always allowed access.

```bash
String[][] getAllowedAddresses(
String[] class_names
)
```

### getAllowedAddressesByLocation( location, class\_names ) throws ObjectDoesNotExist

Get the list of IP addresses and CIDR IP subnets that are always allowed access. This is a location specific function, any action will operate on the specified location.

```bash
String[][] getAllowedAddressesByLocation(
String location
String[] class_names
)
```

### getBannedAddresses( class\_names ) throws ObjectDoesNotExist

Get the list of IP addresses and CIDR IP subnets that aren't allowed access.

```bash
String[][] getBannedAddresses(
String[] class_names
)
```

### getBannedAddressesByLocation( location, class\_names ) throws ObjectDoesNotExist

Get the list of IP addresses and CIDR IP subnets that aren't allowed access. This is a location specific function, any action will operate on the specified location.

```bash
String[][] getBannedAddressesByLocation(
String location
String[] class_names
)
```

### getDebug( class\_names ) throws ObjectDoesNotExist

Get whether the service protection classes are in debug mode. When in debug mode, verbose log messages are written.

```bash
Boolean[] getDebug(
String[] class_names
)
```

### getDebugByLocation( location, class\_names ) throws ObjectDoesNotExist

Get whether the service protection classes are in debug mode. When in debug mode, verbose log messages are written. This is a location specific function, any action will operate on the specified location.

```bash
Boolean[] getDebugByLocation(
String location
String[] class_names
)
```

### getEnabled( class\_names ) throws ObjectDoesNotExist

Get whether the service protection classes are enabled.

```bash
Boolean[] getEnabled(
String[] class_names
)
```

### getEnabledByLocation( location, class\_names ) throws ObjectDoesNotExist

Get whether the service protection classes are enabled. This is a location specific function, any action will operate on the specified location.

```bash
Boolean[] getEnabledByLocation(
String location
String[] class_names
)
```

### getHTTPCheckRfc2396( class\_names ) throws ObjectDoesNotExist

Get whether requests with poorly-formed URLs (as specified in RFC 2396) should be rejected.

```bash
Boolean[] getHTTPCheckRfc2396(
String[] class_names
)
```

### getHTTPCheckRfc2396ByLocation( location, class\_names ) throws ObjectDoesNotExist

Get whether requests with poorly-formed URLs (as specified in RFC 2396) should be rejected. This is a location specific function, any action will operate on the specified location.

```bash
Boolean[] getHTTPCheckRfc2396ByLocation(
String location
String[] class_names
)
```

### getHTTPRejectBinary( class\_names ) throws ObjectDoesNotExist

Get whether requests containing binary data (after decoding) should be rejected.

```bash
Boolean[] getHTTPRejectBinary(
String[] class_names
)
```

### getHTTPRejectBinaryByLocation( location, class\_names ) throws ObjectDoesNotExist

Get whether requests containing binary data (after decoding) should be rejected. This is a location specific function, any action will operate on the specified location.

```bash
Boolean[] getHTTPRejectBinaryByLocation(
String location
String[] class_names
)
```

### getHTTPSendErrorPage( class\_names ) throws ObjectDoesNotExist

Get whether an HTTP error message should be sent when a connection is dropped, rather than just dropping the connection.

```bash
Boolean[] getHTTPSendErrorPage(
String[] class_names
)
```

### getHTTPSendErrorPageByLocation( location, class\_names ) throws ObjectDoesNotExist

Get whether an HTTP error message should be sent when a connection is dropped, rather than just dropping the connection. This is a location specific function, any action will operate on the specified location.

```bash
Boolean[] getHTTPSendErrorPageByLocation(
String location
String[] class_names
)
```

### getLogInterval( class\_names ) throws ObjectDoesNotExist

Get the interval between logging service protection messages (in seconds).

```bash
Unsigned Integer[] getLogInterval(
String[] class_names
)
```

### getLogIntervalByLocation( location, class\_names ) throws ObjectDoesNotExist

Get the interval between logging service protection messages (in seconds). This is a location specific function, any action will operate on the specified location.

```bash
Unsigned Integer[] getLogIntervalByLocation(
String location
String[] class_names
)
```

### getMax10Connections( class\_names ) throws ObjectDoesNotExist

Get the maximum number of concurrent connections allowed from the 10 busiest IP addresses.

```bash
Unsigned Integer[] getMax10Connections(
String[] class_names
)
```

### getMax10ConnectionsByLocation( location, class\_names ) throws ObjectDoesNotExist

Get the maximum number of concurrent connections allowed from the 10 busiest IP addresses. This is a location specific function, any action will operate on the specified location.

```bash
Unsigned Integer[] getMax10ConnectionsByLocation(
String location
String[] class_names
)
```

### getMax1Connections( class\_names ) throws ObjectDoesNotExist

Get the maximum number of concurrent connections allowed from an individual IP address (0 means unlimited).

```bash
Unsigned Integer[] getMax1Connections(
String[] class_names
)
```

### getMax1ConnectionsByLocation( location, class\_names ) throws ObjectDoesNotExist

Get the maximum number of concurrent connections allowed from an individual IP address (0 means unlimited). This is a location specific function, any action will operate on the specified location.

```bash
Unsigned Integer[] getMax1ConnectionsByLocation(
String location
String[] class_names
)
```

### getMaxConnectionRate( class\_names ) throws ObjectDoesNotExist

Get the maximum number of connections and HTTP keepalive requests allowed from 1 IP address in the 'rate\_timer' interval (0 means unlimited).

```bash
Unsigned Integer[] getMaxConnectionRate(
String[] class_names
)
```

### getMaxConnectionRateByLocation( location, class\_names ) throws ObjectDoesNotExist

Get the maximum number of connections and HTTP keepalive requests allowed from 1 IP address in the 'rate\_timer' interval (0 means unlimited). This is a location specific function, any action will operate on the specified location.

```bash
Unsigned Integer[] getMaxConnectionRateByLocation(
String location
String[] class_names
)
```

### getMaxHTTPBodyLength( class\_names ) throws ObjectDoesNotExist

Get the maximum size of the HTTP request body data (in bytes, 0 means no limit).

```bash
Unsigned Integer[] getMaxHTTPBodyLength(
String[] class_names
)
```

### getMaxHTTPBodyLengthByLocation( location, class\_names ) throws ObjectDoesNotExist

Get the maximum size of the HTTP request body data (in bytes, 0 means no limit). This is a location specific function, any action will operate on the specified location.

```bash
Unsigned Integer[] getMaxHTTPBodyLengthByLocation(
String location
String[] class_names
)
```

### getMaxHTTPHeaderLength( class\_names ) throws ObjectDoesNotExist

Get the maximum size of a single HTTP request header (in bytes, 0 means no limit).

```bash
Unsigned Integer[] getMaxHTTPHeaderLength(
String[] class_names
)
```

### getMaxHTTPHeaderLengthByLocation( location, class\_names ) throws ObjectDoesNotExist

Get the maximum size of a single HTTP request header (in bytes, 0 means no limit). This is a location specific function, any action will operate on the specified location.

```bash
Unsigned Integer[] getMaxHTTPHeaderLengthByLocation(
String location
String[] class_names
)
```

### getMaxHTTPRequestLength( class\_names ) throws ObjectDoesNotExist

Get the maximum size of all the HTTP request headers (in bytes, 0 means no limit).

```bash
Unsigned Integer[] getMaxHTTPRequestLength(
String[] class_names
)
```

### getMaxHTTPRequestLengthByLocation( location, class\_names ) throws ObjectDoesNotExist

Get the maximum size of all the HTTP request headers (in bytes, 0 means no limit). This is a location specific function, any action will operate on the specified location.

```bash
Unsigned Integer[] getMaxHTTPRequestLengthByLocation(
String location
String[] class_names
)
```

### getMaxHTTPURLLength( class\_names ) throws ObjectDoesNotExist

Get the maximum size of the request URL (in bytes, 0 means no limit).

```bash
Unsigned Integer[] getMaxHTTPURLLength(
String[] class_names
)
```

### getMaxHTTPURLLengthByLocation( location, class\_names ) throws ObjectDoesNotExist

Get the maximum size of the request URL (in bytes, 0 means no limit). This is a location specific function, any action will operate on the specified location.

```bash
Unsigned Integer[] getMaxHTTPURLLengthByLocation(
String location
String[] class_names
)
```

### getMinConnections( class\_names ) throws ObjectDoesNotExist

Get the number of concurrent connections that are always allowed from each IP address (0 means unlimited).

```bash
Unsigned Integer[] getMinConnections(
String[] class_names
)
```

### getMinConnectionsByLocation( location, class\_names ) throws ObjectDoesNotExist

Get the number of concurrent connections that are always allowed from each IP address (0 means unlimited). This is a location specific function, any action will operate on the specified location.

```bash
Unsigned Integer[] getMinConnectionsByLocation(
String location
String[] class_names
)
```

### getNote( class\_names ) throws ObjectDoesNotExist

Get the note for each of the named Protection classes

```bash
String[] getNote(
String[] class_names
)
```

### getPerProcessConnectionCount( class\_names ) throws ObjectDoesNotExist

Get whether or not each process within a Traffic Manager counts connections independently, when limiting the maximum concurrent connections allowed from one IP address.

```bash
Boolean[] getPerProcessConnectionCount(
String[] class_names
)
```

### getPerProcessConnectionCountByLocation( location, class\_names ) throws ObjectDoesNotExist

Get whether or not each process within a Traffic Manager counts connections independently, when limiting the maximum concurrent connections allowed from one IP address. This is a location specific function, any action will operate on the specified location.

```bash
Boolean[] getPerProcessConnectionCountByLocation(
String location
String[] class_names
)
```

### getProtectionNames()

Get the names of all the configured Protection classes.

```bash
String[] getProtectionNames()
```

### getRateTimer( class\_names ) throws ObjectDoesNotExist

Get how frequently the max\_connection\_rate is assessed. For example, a value of 1 second will impose a limit of max connections/second; a value of 60 will impose a limit of max connections/minute controlling how our connection rates are calculated. The valid range is 1-99999 seconds.

```bash
Unsigned Integer[] getRateTimer(
String[] class_names
)
```

### getRateTimerByLocation( location, class\_names ) throws ObjectDoesNotExist

Get how frequently the max\_connection\_rate is assessed. For example, a value of 1 second will impose a limit of max connections/second; a value of 60 will impose a limit of max connections/minute controlling how our connection rates are calculated. The valid range is 1-99999 seconds. This is a location specific function, any action will operate on the specified location.

```bash
Unsigned Integer[] getRateTimerByLocation(
String location
String[] class_names
)
```

### getRule( class\_names ) throws ObjectDoesNotExist

Get the TrafficScript rule to be applied to all connections.

```bash
String[] getRule(
String[] class_names
)
```

### getRuleByLocation( location, class\_names ) throws ObjectDoesNotExist

Get the TrafficScript rule to be applied to all connections. This is a location specific function, any action will operate on the specified location.

```bash
String[] getRuleByLocation(
String location
String[] class_names
)
```

### getTesting( class\_names ) throws ObjectDoesNotExist

Get whether the service protection classes are in testing mode. When in testing mode the class logs when a connection would be dropped, but it allows all connections through.

```bash
Boolean[] getTesting(
String[] class_names
)
```

### getTestingByLocation( location, class\_names ) throws ObjectDoesNotExist

Get whether the service protection classes are in testing mode. When in testing mode the class logs when a connection would be dropped, but it allows all connections through. This is a location specific function, any action will operate on the specified location.

```bash
Boolean[] getTestingByLocation(
String location
String[] class_names
)
```

### removeAllowedAddresses( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Remove IP addresses and CIDR IP subnets from the list of machines that are always allowed access.

```bash
void removeAllowedAddresses(
String[] class_names
String[][] values
)
```

### removeAllowedAddressesByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Remove IP addresses and CIDR IP subnets from the list of machines that are always allowed access. This is a location specific function, any action will operate on the specified location.

```bash
void removeAllowedAddressesByLocation(
String location
String[] class_names
String[][] values
)
```

### removeBannedAddresses( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Remove IP addresses and CIDR IP subnets from the list of machines that aren't allowed access.

```bash
void removeBannedAddresses(
String[] class_names
String[][] values
)
```

### removeBannedAddressesByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Remove IP addresses and CIDR IP subnets from the list of machines that aren't allowed access. This is a location specific function, any action will operate on the specified location.

```bash
void removeBannedAddressesByLocation(
String location
String[] class_names
String[][] values
)
```

### renameProtection( class\_names, new\_names ) throws ObjectDoesNotExist, ObjectAlreadyExists, InvalidObjectName, DeploymentError, InvalidOperation

Rename the named Protection classes.

```bash
void renameProtection(
String[] class_names
String[] new_names
)
```

### setAllowedAddresses( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the list of IP addresses and CIDR IP subnets that are always allowed access.

```bash
void setAllowedAddresses(
String[] class_names
String[][] values
)
```

### setAllowedAddressesByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the list of IP addresses and CIDR IP subnets that are always allowed access. This is a location specific function, any action will operate on the specified location.

```bash
void setAllowedAddressesByLocation(
String location
String[] class_names
String[][] values
)
```

### setBannedAddresses( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the list of IP addresses and CIDR IP subnets that aren't allowed access.

```bash
void setBannedAddresses(
String[] class_names
String[][] values
)
```

### setBannedAddressesByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the list of IP addresses and CIDR IP subnets that aren't allowed access. This is a location specific function, any action will operate on the specified location.

```bash
void setBannedAddressesByLocation(
String location
String[] class_names
String[][] values
)
```

### setDebug( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether the service protection classes are in debug mode. When in debug mode, verbose log messages are written.

```bash
void setDebug(
String[] class_names
Boolean[] values
)
```

### setDebugByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether the service protection classes are in debug mode. When in debug mode, verbose log messages are written. This is a location specific function, any action will operate on the specified location.

```bash
void setDebugByLocation(
String location
String[] class_names
Boolean[] values
)
```

### setEnabled( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether the service protection classes are enabled.

```bash
void setEnabled(
String[] class_names
Boolean[] values
)
```

### setEnabledByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether the service protection classes are enabled. This is a location specific function, any action will operate on the specified location.

```bash
void setEnabledByLocation(
String location
String[] class_names
Boolean[] values
)
```

### setHTTPCheckRfc2396( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether requests with poorly-formed URLs (as specified in RFC 2396) should be rejected.

```bash
void setHTTPCheckRfc2396(
String[] class_names
Boolean[] values
)
```

### setHTTPCheckRfc2396ByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether requests with poorly-formed URLs (as specified in RFC 2396) should be rejected. This is a location specific function, any action will operate on the specified location.

```bash
void setHTTPCheckRfc2396ByLocation(
String location
String[] class_names
Boolean[] values
)
```

### setHTTPRejectBinary( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether requests containing binary data (after decoding) should be rejected.

```bash
void setHTTPRejectBinary(
String[] class_names
Boolean[] values
)
```

### setHTTPRejectBinaryByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether requests containing binary data (after decoding) should be rejected. This is a location specific function, any action will operate on the specified location.

```bash
void setHTTPRejectBinaryByLocation(
String location
String[] class_names
Boolean[] values
)
```

### setHTTPSendErrorPage( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether an HTTP error message should be sent when a connection is dropped, rather than just dropping the connection.

```bash
void setHTTPSendErrorPage(
String[] class_names
Boolean[] values
)
```

### setHTTPSendErrorPageByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether an HTTP error message should be sent when a connection is dropped, rather than just dropping the connection. This is a location specific function, any action will operate on the specified location.

```bash
void setHTTPSendErrorPageByLocation(
String location
String[] class_names
Boolean[] values
)
```

### setLogInterval( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the interval between logging service protection messages (in seconds).

```bash
void setLogInterval(
String[] class_names
Unsigned Integer[] values
)
```

### setLogIntervalByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the interval between logging service protection messages (in seconds). This is a location specific function, any action will operate on the specified location.

```bash
void setLogIntervalByLocation(
String location
String[] class_names
Unsigned Integer[] values
)
```

### setMax10Connections( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum number of concurrent connections allowed from the 10 busiest IP addresses.

```bash
void setMax10Connections(
String[] class_names
Unsigned Integer[] values
)
```

### setMax10ConnectionsByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum number of concurrent connections allowed from the 10 busiest IP addresses. This is a location specific function, any action will operate on the specified location.

```bash
void setMax10ConnectionsByLocation(
String location
String[] class_names
Unsigned Integer[] values
)
```

### setMax1Connections( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum number of concurrent connections allowed from an individual IP address (0 means unlimited).

```bash
void setMax1Connections(
String[] class_names
Unsigned Integer[] values
)
```

### setMax1ConnectionsByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum number of concurrent connections allowed from an individual IP address (0 means unlimited). This is a location specific function, any action will operate on the specified location.

```bash
void setMax1ConnectionsByLocation(
String location
String[] class_names
Unsigned Integer[] values
)
```

### setMaxConnectionRate( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum number of connections and HTTP keepalive requests allowed from 1 IP address in the 'rate\_timer' interval (0 means unlimited).

```bash
void setMaxConnectionRate(
String[] class_names
Unsigned Integer[] values
)
```

### setMaxConnectionRateByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum number of connections and HTTP keepalive requests allowed from 1 IP address in the 'rate\_timer' interval (0 means unlimited). This is a location specific function, any action will operate on the specified location.

```bash
void setMaxConnectionRateByLocation(
String location
String[] class_names
Unsigned Integer[] values
)
```

### setMaxHTTPBodyLength( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum size of the HTTP request body data (in bytes, 0 means no limit).

```bash
void setMaxHTTPBodyLength(
String[] class_names
Unsigned Integer[] values
)
```

### setMaxHTTPBodyLengthByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum size of the HTTP request body data (in bytes, 0 means no limit). This is a location specific function, any action will operate on the specified location.

```bash
void setMaxHTTPBodyLengthByLocation(
String location
String[] class_names
Unsigned Integer[] values
)
```

### setMaxHTTPHeaderLength( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum size of a single HTTP request header (in bytes, 0 means no limit).

```bash
void setMaxHTTPHeaderLength(
String[] class_names
Unsigned Integer[] values
)
```

### setMaxHTTPHeaderLengthByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum size of a single HTTP request header (in bytes, 0 means no limit). This is a location specific function, any action will operate on the specified location.

```bash
void setMaxHTTPHeaderLengthByLocation(
String location
String[] class_names
Unsigned Integer[] values
)
```

### setMaxHTTPRequestLength( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum size of all the HTTP request headers (in bytes, 0 means no limit).

```bash
void setMaxHTTPRequestLength(
String[] class_names
Unsigned Integer[] values
)
```

### setMaxHTTPRequestLengthByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum size of all the HTTP request headers (in bytes, 0 means no limit). This is a location specific function, any action will operate on the specified location.

```bash
void setMaxHTTPRequestLengthByLocation(
String location
String[] class_names
Unsigned Integer[] values
)
```

### setMaxHTTPURLLength( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum size of the request URL (in bytes, 0 means no limit).

```bash
void setMaxHTTPURLLength(
String[] class_names
Unsigned Integer[] values
)
```

### setMaxHTTPURLLengthByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the maximum size of the request URL (in bytes, 0 means no limit). This is a location specific function, any action will operate on the specified location.

```bash
void setMaxHTTPURLLengthByLocation(
String location
String[] class_names
Unsigned Integer[] values
)
```

### setMinConnections( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the number of concurrent connections that are always allowed from each IP address (0 means unlimited).

```bash
void setMinConnections(
String[] class_names
Unsigned Integer[] values
)
```

### setMinConnectionsByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the number of concurrent connections that are always allowed from each IP address (0 means unlimited). This is a location specific function, any action will operate on the specified location.

```bash
void setMinConnectionsByLocation(
String location
String[] class_names
Unsigned Integer[] values
)
```

### setNote( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the note for each of the named Protection classes

```bash
void setNote(
String[] class_names
String[] values
)
```

### setPerProcessConnectionCount( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether or not each process within a Traffic Manager counts connections independently, when limiting the maximum concurrent connections allowed from one IP address.

```bash
void setPerProcessConnectionCount(
String[] class_names
Boolean[] values
)
```

### setPerProcessConnectionCountByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether or not each process within a Traffic Manager counts connections independently, when limiting the maximum concurrent connections allowed from one IP address. This is a location specific function, any action will operate on the specified location.

```bash
void setPerProcessConnectionCountByLocation(
String location
String[] class_names
Boolean[] values
)
```

### setRateTimer( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set how frequently the max\_connection\_rate is assessed. For example, a value of 1 second will impose a limit of max connections/second; a value of 60 will impose a limit of max connections/minute controlling how our connection rates are calculated. The valid range is 1-99999 seconds.

```bash
void setRateTimer(
String[] class_names
Unsigned Integer[] values
)
```

### setRateTimerByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set how frequently the max\_connection\_rate is assessed. For example, a value of 1 second will impose a limit of max connections/second; a value of 60 will impose a limit of max connections/minute controlling how our connection rates are calculated. The valid range is 1-99999 seconds. This is a location specific function, any action will operate on the specified location.

```bash
void setRateTimerByLocation(
String location
String[] class_names
Unsigned Integer[] values
)
```

### setRule( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the TrafficScript rule to be applied to all connections.

```bash
void setRule(
String[] class_names
String[] values
)
```

### setRuleByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set the TrafficScript rule to be applied to all connections. This is a location specific function, any action will operate on the specified location.

```bash
void setRuleByLocation(
String location
String[] class_names
String[] values
)
```

### setTesting( class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether the service protection classes are in testing mode. When in testing mode the class logs when a connection would be dropped, but it allows all connections through.

```bash
void setTesting(
String[] class_names
Boolean[] values
)
```

### setTestingByLocation( location, class\_names, values ) throws ObjectDoesNotExist, DeploymentError, InvalidInput

Set whether the service protection classes are in testing mode. When in testing mode the class logs when a connection would be dropped, but it allows all connections through. This is a location specific function, any action will operate on the specified location.

```bash
void setTestingByLocation(
String location
String[] class_names
Boolean[] values
)
```
