public interface MailgunIPsApi extends MailgunApi
The IP API endpoint allows you to access information regarding the IPs allocated to your Mailgun account that are used for outbound sending.
| Modifier and Type | Method and Description |
|---|---|
ResponseWithMessage |
assignIPToDomain(String domain,
String ip)
Assign a dedicated IP to the domain specified.
|
feign.Response |
assignIPToDomainFeignResponse(String domain,
String ip)
Assign a dedicated IP to the domain specified.
|
IPsResult |
getAllIPs()
Returns a list of IPs assigned to your account.
|
feign.Response |
getAllIPsFeignResponse()
Returns a list of IPs assigned to your account.
|
IPsResult |
getDedicatedIPs(boolean dedicated)
Return only dedicated IPs if
param dedicated set to true, otherwise return all IPs. |
feign.Response |
getDedicatedIPsFeignResponse(boolean dedicated)
Return only dedicated IPs if
param dedicated set to true, otherwise return all IPs. |
IPsResult |
getDomainIPs(String domain)
Returns a list of IPs currently assigned to the specified domain.
|
feign.Response |
getDomainIPsFeignResponse(String domain)
Returns a list of IPs currently assigned to the specified domain.
|
IPResult |
getSpecifiedIP(String ip)
Returns information about the specified IP.
|
feign.Response |
getSpecifiedIPFeignResponse(String ip)
Returns information about the specified IP.
|
ResponseWithMessage |
unassignIPFromDomain(String domain,
String ip)
Unassign an IP from the domain specified.
|
feign.Response |
unassignIPFromDomainFeignResponse(String domain,
String ip)
Unassign an IP from the domain specified.
|
getApiVersionfeign.Response getAllIPsFeignResponse()
Returns a list of IPs assigned to your account.
ResponseIPsResult getDedicatedIPs(boolean dedicated)
Return only dedicated IPs if param dedicated set to true, otherwise return all IPs.
dedicated - dedicated IPsIPsResultfeign.Response getDedicatedIPsFeignResponse(boolean dedicated)
Return only dedicated IPs if param dedicated set to true, otherwise return all IPs.
dedicated - dedicated IPsResponseIPResult getSpecifiedIP(String ip)
Returns information about the specified IP.
ip - specified IPIPResultfeign.Response getSpecifiedIPFeignResponse(String ip)
Returns information about the specified IP.
ip - specified IPResponseIPsResult getDomainIPs(String domain)
Returns a list of IPs currently assigned to the specified domain.
domain - Name of the domainIPsResultfeign.Response getDomainIPsFeignResponse(String domain)
Returns a list of IPs currently assigned to the specified domain.
domain - Name of the domainResponseResponseWithMessage assignIPToDomain(String domain, String ip)
Assign a dedicated IP to the domain specified.
Note: Only dedicated IPs can be assigned to a domain.
domain - Name of the domainip - IP address that should be assigned to the domain pool.ResponseWithMessagefeign.Response assignIPToDomainFeignResponse(String domain, String ip)
Assign a dedicated IP to the domain specified.
Note: Only dedicated IPs can be assigned to a domain.
domain - Name of the domainip - IP address that should be assigned to the domain pool.ResponseResponseWithMessage unassignIPFromDomain(String domain, String ip)
Unassign an IP from the domain specified.
domain - Name of the domainip - IP address that should be unassign.ResponseWithMessageCopyright © 2022. All rights reserved.