Class LicenseIpOperations
java.lang.Object
dev.demeng.sentinel.client.license.LicenseIpOperations
Operations for managing license IP addresses.
Obtain an instance via LicenseService.ips().
-
Method Summary
-
Method Details
-
add
Adds IP addresses to a license.- Parameters:
key- the license keyaddresses- the set of IP addresses to add- Returns:
- the updated license
- Throws:
SentinelException- if a network or API error occurs
-
remove
Removes IP addresses from a license.- Parameters:
key- the license keyaddresses- the set of IP addresses to remove- Returns:
- the updated license
- Throws:
SentinelException- if a network or API error occurs
-