Package com.ngrok.services
Class IpWhitelist
java.lang.Object
com.ngrok.services.IpWhitelist
The IP Whitelist is deprecated and will be removed. Use an IP Restriction
with an
endpoints type instead.
See also https://ngrok.com/docs/api#api-ip-whitelist.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA builder object encapsulating state for an unsent Create API call.classA builder object encapsulating state for an unsent Delete API call.classA builder object encapsulating state for an unsent Get API call.classA builder object encapsulating state for an unsent List API call.classA builder object encapsulating state for an unsent Update API call. -
Constructor Summary
ConstructorsConstructorDescriptionIpWhitelist(NgrokApiClient apiClient)Creates a new sub-client for IpWhitelist. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a new IP whitelist entry that will restrict traffic to all tunnel endpoints on the account.Delete an IP whitelist entry.Get detailed information about an IP whitelist entry by ID.list()List all IP whitelist entries on this account See also https://ngrok.com/docs/api#api-ip-whitelist-list.Update attributes of an IP whitelist entry by ID See also https://ngrok.com/docs/api#api-ip-whitelist-update.
-
Constructor Details
-
IpWhitelist
Creates a new sub-client for IpWhitelist.- Parameters:
apiClient- an instance ofNgrokApiClient
-
-
Method Details
-
create
Create a new IP whitelist entry that will restrict traffic to all tunnel endpoints on the account. See also https://ngrok.com/docs/api#api-ip-whitelist-create.- Returns:
- a call builder for this API call
-
delete
Delete an IP whitelist entry. See also https://ngrok.com/docs/api#api-ip-whitelist-delete.- Parameters:
id- a resource identifier- Returns:
- a call builder for this API call
-
get
Get detailed information about an IP whitelist entry by ID. See also https://ngrok.com/docs/api#api-ip-whitelist-get.- Parameters:
id- a resource identifier- Returns:
- a call builder for this API call
-
list
List all IP whitelist entries on this account See also https://ngrok.com/docs/api#api-ip-whitelist-list.- Returns:
- a call builder for this API call
-
update
Update attributes of an IP whitelist entry by ID See also https://ngrok.com/docs/api#api-ip-whitelist-update.- Parameters:
id- the value of theidparameter as aString- Returns:
- a call builder for this API call
-