Set IP address whitelist for a role. If whitelist is null or empty, remove existing whitelist from role.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.1.0 (3.9.1)
Syntax
Parameters
- policy
- Type: Aerospike.Client AdminPolicy
admin configuration parameters, pass in null for defaults
- roleName
- Type:
System String
role name
- whitelist
- Type:
System.Collections.Generic IList
String
list of allowable IP addresses or null. IP addresses can contain wildcards (ie. 10.1.2.0/24).
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if command fails |
See Also