IAerospikeClient.SetWhitelist Method
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: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
void SetWhitelist(
AdminPolicy policy,
string roleName,
IList<string> whitelist
)
Parameters
- policy AdminPolicy
- admin configuration parameters, pass in null for defaults
- roleName String
- role name
- whitelist IList<String>
-
list of allowable IP addresses or null.
IP addresses can contain wildcards (ie. 10.1.2.0/24).