class-Mandrill_Ips.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="generator" content="ApiGen 2.8.0" />
  6. <title>Class Mandrill_Ips</title>
  7. <script type="text/javascript" src="resources/combined.js?394153670"></script>
  8. <script type="text/javascript" src="elementlist.js?882160656"></script>
  9. <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
  10. </head>
  11. <body>
  12. <div id="left">
  13. <div id="menu">
  14. <a href="index.html" title="Overview"><span>Overview</span></a>
  15. <div id="groups">
  16. <h3>Namespaces</h3>
  17. <ul>
  18. <li class="active"><a href="namespace-None.html">None</a>
  19. </li>
  20. <li><a href="namespace-PHP.html">PHP</a>
  21. </li>
  22. </ul>
  23. </div>
  24. <hr />
  25. <div id="elements">
  26. <h3>Classes</h3>
  27. <ul>
  28. <li><a href="class-Mandrill.html">Mandrill</a></li>
  29. <li><a href="class-Mandrill_Exports.html">Mandrill_Exports</a></li>
  30. <li><a href="class-Mandrill_Inbound.html">Mandrill_Inbound</a></li>
  31. <li><a href="class-Mandrill_Internal.html">Mandrill_Internal</a></li>
  32. <li class="active"><a href="class-Mandrill_Ips.html">Mandrill_Ips</a></li>
  33. <li><a href="class-Mandrill_Messages.html">Mandrill_Messages</a></li>
  34. <li><a href="class-Mandrill_Metadata.html">Mandrill_Metadata</a></li>
  35. <li><a href="class-Mandrill_Rejects.html">Mandrill_Rejects</a></li>
  36. <li><a href="class-Mandrill_Senders.html">Mandrill_Senders</a></li>
  37. <li><a href="class-Mandrill_Subaccounts.html">Mandrill_Subaccounts</a></li>
  38. <li><a href="class-Mandrill_Tags.html">Mandrill_Tags</a></li>
  39. <li><a href="class-Mandrill_Templates.html">Mandrill_Templates</a></li>
  40. <li><a href="class-Mandrill_Urls.html">Mandrill_Urls</a></li>
  41. <li><a href="class-Mandrill_Users.html">Mandrill_Users</a></li>
  42. <li><a href="class-Mandrill_Webhooks.html">Mandrill_Webhooks</a></li>
  43. <li><a href="class-Mandrill_Whitelists.html">Mandrill_Whitelists</a></li>
  44. </ul>
  45. <h3>Exceptions</h3>
  46. <ul>
  47. <li><a href="class-Mandrill_Error.html">Mandrill_Error</a></li>
  48. <li><a href="class-Mandrill_HttpError.html">Mandrill_HttpError</a></li>
  49. <li><a href="class-Mandrill_Invalid_CustomDNS.html">Mandrill_Invalid_CustomDNS</a></li>
  50. <li><a href="class-Mandrill_Invalid_CustomDNSPending.html">Mandrill_Invalid_CustomDNSPending</a></li>
  51. <li><a href="class-Mandrill_Invalid_DeleteDefaultPool.html">Mandrill_Invalid_DeleteDefaultPool</a></li>
  52. <li><a href="class-Mandrill_Invalid_DeleteNonEmptyPool.html">Mandrill_Invalid_DeleteNonEmptyPool</a></li>
  53. <li><a href="class-Mandrill_Invalid_EmptyDefaultPool.html">Mandrill_Invalid_EmptyDefaultPool</a></li>
  54. <li><a href="class-Mandrill_Invalid_Key.html">Mandrill_Invalid_Key</a></li>
  55. <li><a href="class-Mandrill_Invalid_Reject.html">Mandrill_Invalid_Reject</a></li>
  56. <li><a href="class-Mandrill_Invalid_Tag_Name.html">Mandrill_Invalid_Tag_Name</a></li>
  57. <li><a href="class-Mandrill_Invalid_Template.html">Mandrill_Invalid_Template</a></li>
  58. <li><a href="class-Mandrill_IP_ProvisionLimit.html">Mandrill_IP_ProvisionLimit</a></li>
  59. <li><a href="class-Mandrill_Metadata_FieldLimit.html">Mandrill_Metadata_FieldLimit</a></li>
  60. <li><a href="class-Mandrill_NoSendingHistory.html">Mandrill_NoSendingHistory</a></li>
  61. <li><a href="class-Mandrill_PaymentRequired.html">Mandrill_PaymentRequired</a></li>
  62. <li><a href="class-Mandrill_PoorReputation.html">Mandrill_PoorReputation</a></li>
  63. <li><a href="class-Mandrill_ServiceUnavailable.html">Mandrill_ServiceUnavailable</a></li>
  64. <li><a href="class-Mandrill_Unknown_Export.html">Mandrill_Unknown_Export</a></li>
  65. <li><a href="class-Mandrill_Unknown_InboundDomain.html">Mandrill_Unknown_InboundDomain</a></li>
  66. <li><a href="class-Mandrill_Unknown_InboundRoute.html">Mandrill_Unknown_InboundRoute</a></li>
  67. <li><a href="class-Mandrill_Unknown_IP.html">Mandrill_Unknown_IP</a></li>
  68. <li><a href="class-Mandrill_Unknown_Message.html">Mandrill_Unknown_Message</a></li>
  69. <li><a href="class-Mandrill_Unknown_MetadataField.html">Mandrill_Unknown_MetadataField</a></li>
  70. <li><a href="class-Mandrill_Unknown_Pool.html">Mandrill_Unknown_Pool</a></li>
  71. <li><a href="class-Mandrill_Unknown_Sender.html">Mandrill_Unknown_Sender</a></li>
  72. <li><a href="class-Mandrill_Unknown_Subaccount.html">Mandrill_Unknown_Subaccount</a></li>
  73. <li><a href="class-Mandrill_Unknown_Template.html">Mandrill_Unknown_Template</a></li>
  74. <li><a href="class-Mandrill_Unknown_TrackingDomain.html">Mandrill_Unknown_TrackingDomain</a></li>
  75. <li><a href="class-Mandrill_Unknown_Url.html">Mandrill_Unknown_Url</a></li>
  76. <li><a href="class-Mandrill_Unknown_Webhook.html">Mandrill_Unknown_Webhook</a></li>
  77. <li><a href="class-Mandrill_ValidationError.html">Mandrill_ValidationError</a></li>
  78. </ul>
  79. </div>
  80. </div>
  81. </div>
  82. <div id="splitter"></div>
  83. <div id="right">
  84. <div id="rightInner">
  85. <form id="search">
  86. <input type="hidden" name="cx" value="" />
  87. <input type="hidden" name="ie" value="UTF-8" />
  88. <input type="text" name="q" class="text" />
  89. <input type="submit" value="Search" />
  90. </form>
  91. <div id="navigation">
  92. <ul>
  93. <li>
  94. <a href="index.html" title="Overview"><span>Overview</span></a>
  95. </li>
  96. <li>
  97. <a href="namespace-None.html" title="Summary of None"><span>Namespace</span></a>
  98. </li>
  99. <li class="active">
  100. <span>Class</span> </li>
  101. </ul>
  102. <ul>
  103. <li>
  104. <a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
  105. </li>
  106. </ul>
  107. <ul>
  108. </ul>
  109. </div>
  110. <div id="content" class="class">
  111. <h1>Class Mandrill_Ips</h1>
  112. <div class="info">
  113. <b>Located at</b> <a href="source-class-Mandrill_Ips.html#3-277" title="Go to source code">Mandrill/Ips.php</a><br />
  114. </div>
  115. <table class="summary" id="methods">
  116. <caption>Methods summary</caption>
  117. <tr data-order="__construct" id="___construct">
  118. <td class="attributes"><code>
  119. public
  120. </code>
  121. </td>
  122. <td class="name"><div>
  123. <a class="anchor" href="#___construct">#</a>
  124. <code><a href="source-class-Mandrill_Ips.html#4-6" title="Go to source code">__construct</a>( <span><code><a href="class-Mandrill.html">Mandrill</a></code> <var>$master</var></span> )</code>
  125. <div class="description short">
  126. </div>
  127. <div class="description detailed hidden">
  128. </div>
  129. </div></td>
  130. </tr>
  131. <tr data-order="getList" id="_getList">
  132. <td class="attributes"><code>
  133. public
  134. array
  135. </code>
  136. </td>
  137. <td class="name"><div>
  138. <a class="anchor" href="#_getList">#</a>
  139. <code><a href="source-class-Mandrill_Ips.html#8-28" title="Go to source code">getList</a>( )</code>
  140. <div class="description short">
  141. <p>Lists your dedicated IPs.</p>
  142. </div>
  143. <div class="description detailed hidden">
  144. <p>Lists your dedicated IPs.</p>
  145. <h4>Returns</h4>
  146. <div class="list">
  147. <code>array</code><br>an array of structs for each dedicated IP - return[] struct information about a
  148. single dedicated IP - ip string the ip address - created_at string the date and
  149. time that the dedicated IP was created as a UTC string in YYYY-MM-DD HH:MM:SS
  150. format - pool string the name of the pool that this dedicated IP belongs to -
  151. domain string the domain name (reverse dns) of this dedicated IP - custom_dns
  152. struct information about the ip's custom dns, if it has been configured -
  153. enabled boolean a boolean indicating whether custom dns has been configured for
  154. this ip - valid boolean whether the ip's custom dns is currently valid - error
  155. string if the ip's custom dns is invalid, this will include details about the
  156. error - warmup struct information about the ip's warmup status - warming_up
  157. boolean whether the ip is currently in warmup mode - start_at string the start
  158. time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format -
  159. end_at string the end date and time for the warmup process as a UTC string in
  160. YYYY-MM-DD HH:MM:SS format<br />
  161. </div>
  162. </div>
  163. </div></td>
  164. </tr>
  165. <tr data-order="info" id="_info">
  166. <td class="attributes"><code>
  167. public
  168. struct
  169. </code>
  170. </td>
  171. <td class="name"><div>
  172. <a class="anchor" href="#_info">#</a>
  173. <code><a href="source-class-Mandrill_Ips.html#30-50" title="Go to source code">info</a>( <span>string <var>$ip</var></span> )</code>
  174. <div class="description short">
  175. <p>Retrieves information about a single dedicated ip.</p>
  176. </div>
  177. <div class="description detailed hidden">
  178. <p>Retrieves information about a single dedicated ip.</p>
  179. <h4>Parameters</h4>
  180. <div class="list"><dl>
  181. <dt><var>$ip</var></dt>
  182. <dd><code>string</code><br>$ip a dedicated IP address</dd>
  183. </dl></div>
  184. <h4>Returns</h4>
  185. <div class="list">
  186. <code>struct</code><br>Information about the dedicated ip - ip string the ip address - created_at
  187. string the date and time that the dedicated IP was created as a UTC string in
  188. YYYY-MM-DD HH:MM:SS format - pool string the name of the pool that this
  189. dedicated IP belongs to - domain string the domain name (reverse dns) of this
  190. dedicated IP - custom_dns struct information about the ip's custom dns, if it
  191. has been configured - enabled boolean a boolean indicating whether custom dns
  192. has been configured for this ip - valid boolean whether the ip's custom dns is
  193. currently valid - error string if the ip's custom dns is invalid, this will
  194. include details about the error - warmup struct information about the ip's
  195. warmup status - warming_up boolean whether the ip is currently in warmup mode -
  196. start_at string the start time for the warmup process as a UTC string in
  197. YYYY-MM-DD HH:MM:SS format - end_at string the end date and time for the warmup
  198. process as a UTC string in YYYY-MM-DD HH:MM:SS format<br />
  199. </div>
  200. </div>
  201. </div></td>
  202. </tr>
  203. <tr data-order="provision" id="_provision">
  204. <td class="attributes"><code>
  205. public
  206. struct
  207. </code>
  208. </td>
  209. <td class="name"><div>
  210. <a class="anchor" href="#_provision">#</a>
  211. <code><a href="source-class-Mandrill_Ips.html#52-64" title="Go to source code">provision</a>( <span>boolean <var>$warmup</var> = <span class="php-keyword1">false</span></span>, <span>string <var>$pool</var> = <span class="php-keyword1">null</span></span> )</code>
  212. <div class="description short">
  213. <p>Requests an additional dedicated IP for your account. Accounts may have one
  214. outstanding request at any time, and provisioning requests are processed within
  215. 24 hours.</p>
  216. </div>
  217. <div class="description detailed hidden">
  218. <p>Requests an additional dedicated IP for your account. Accounts may have one
  219. outstanding request at any time, and provisioning requests are processed within
  220. 24 hours.</p>
  221. <h4>Parameters</h4>
  222. <div class="list"><dl>
  223. <dt><var>$warmup</var></dt>
  224. <dd><code>boolean</code><br>$warmup whether to enable warmup mode for the ip</dd>
  225. <dt><var>$pool</var></dt>
  226. <dd><code>string</code><br>$pool the id of the pool to add the dedicated ip to, or null to use your
  227. account's default pool</dd>
  228. </dl></div>
  229. <h4>Returns</h4>
  230. <div class="list">
  231. <code>struct</code><br>a description of the provisioning request that was created - requested_at string
  232. the date and time that the request was created as a UTC timestamp in YYYY-MM-DD
  233. HH:MM:SS format<br />
  234. </div>
  235. </div>
  236. </div></td>
  237. </tr>
  238. <tr data-order="startWarmup" id="_startWarmup">
  239. <td class="attributes"><code>
  240. public
  241. struct
  242. </code>
  243. </td>
  244. <td class="name"><div>
  245. <a class="anchor" href="#_startWarmup">#</a>
  246. <code><a href="source-class-Mandrill_Ips.html#66-89" title="Go to source code">startWarmup</a>( <span>string <var>$ip</var></span> )</code>
  247. <div class="description short">
  248. <p>Begins the warmup process for a dedicated IP. During the warmup process,
  249. Mandrill will gradually increase the percentage of your mail that is sent over
  250. the warming-up IP, over a period of roughly 30 days. The rest of your mail will
  251. be sent over shared IPs or other dedicated IPs in the same pool.</p>
  252. </div>
  253. <div class="description detailed hidden">
  254. <p>Begins the warmup process for a dedicated IP. During the warmup process,
  255. Mandrill will gradually increase the percentage of your mail that is sent over
  256. the warming-up IP, over a period of roughly 30 days. The rest of your mail will
  257. be sent over shared IPs or other dedicated IPs in the same pool.</p>
  258. <h4>Parameters</h4>
  259. <div class="list"><dl>
  260. <dt><var>$ip</var></dt>
  261. <dd><code>string</code><br>$ip a dedicated ip address</dd>
  262. </dl></div>
  263. <h4>Returns</h4>
  264. <div class="list">
  265. <code>struct</code><br>Information about the dedicated IP - ip string the ip address - created_at
  266. string the date and time that the dedicated IP was created as a UTC string in
  267. YYYY-MM-DD HH:MM:SS format - pool string the name of the pool that this
  268. dedicated IP belongs to - domain string the domain name (reverse dns) of this
  269. dedicated IP - custom_dns struct information about the ip's custom dns, if it
  270. has been configured - enabled boolean a boolean indicating whether custom dns
  271. has been configured for this ip - valid boolean whether the ip's custom dns is
  272. currently valid - error string if the ip's custom dns is invalid, this will
  273. include details about the error - warmup struct information about the ip's
  274. warmup status - warming_up boolean whether the ip is currently in warmup mode -
  275. start_at string the start time for the warmup process as a UTC string in
  276. YYYY-MM-DD HH:MM:SS format - end_at string the end date and time for the warmup
  277. process as a UTC string in YYYY-MM-DD HH:MM:SS format<br />
  278. </div>
  279. </div>
  280. </div></td>
  281. </tr>
  282. <tr data-order="cancelWarmup" id="_cancelWarmup">
  283. <td class="attributes"><code>
  284. public
  285. struct
  286. </code>
  287. </td>
  288. <td class="name"><div>
  289. <a class="anchor" href="#_cancelWarmup">#</a>
  290. <code><a href="source-class-Mandrill_Ips.html#91-111" title="Go to source code">cancelWarmup</a>( <span>string <var>$ip</var></span> )</code>
  291. <div class="description short">
  292. <p>Cancels the warmup process for a dedicated IP.</p>
  293. </div>
  294. <div class="description detailed hidden">
  295. <p>Cancels the warmup process for a dedicated IP.</p>
  296. <h4>Parameters</h4>
  297. <div class="list"><dl>
  298. <dt><var>$ip</var></dt>
  299. <dd><code>string</code><br>$ip a dedicated ip address</dd>
  300. </dl></div>
  301. <h4>Returns</h4>
  302. <div class="list">
  303. <code>struct</code><br>Information about the dedicated IP - ip string the ip address - created_at
  304. string the date and time that the dedicated IP was created as a UTC string in
  305. YYYY-MM-DD HH:MM:SS format - pool string the name of the pool that this
  306. dedicated IP belongs to - domain string the domain name (reverse dns) of this
  307. dedicated IP - custom_dns struct information about the ip's custom dns, if it
  308. has been configured - enabled boolean a boolean indicating whether custom dns
  309. has been configured for this ip - valid boolean whether the ip's custom dns is
  310. currently valid - error string if the ip's custom dns is invalid, this will
  311. include details about the error - warmup struct information about the ip's
  312. warmup status - warming_up boolean whether the ip is currently in warmup mode -
  313. start_at string the start time for the warmup process as a UTC string in
  314. YYYY-MM-DD HH:MM:SS format - end_at string the end date and time for the warmup
  315. process as a UTC string in YYYY-MM-DD HH:MM:SS format<br />
  316. </div>
  317. </div>
  318. </div></td>
  319. </tr>
  320. <tr data-order="setPool" id="_setPool">
  321. <td class="attributes"><code>
  322. public
  323. struct
  324. </code>
  325. </td>
  326. <td class="name"><div>
  327. <a class="anchor" href="#_setPool">#</a>
  328. <code><a href="source-class-Mandrill_Ips.html#113-135" title="Go to source code">setPool</a>( <span>string <var>$ip</var></span>, <span>string <var>$pool</var></span>, <span>boolean <var>$create_pool</var> = <span class="php-keyword1">false</span></span> )</code>
  329. <div class="description short">
  330. <p>Moves a dedicated IP to a different pool.</p>
  331. </div>
  332. <div class="description detailed hidden">
  333. <p>Moves a dedicated IP to a different pool.</p>
  334. <h4>Parameters</h4>
  335. <div class="list"><dl>
  336. <dt><var>$ip</var></dt>
  337. <dd><code>string</code><br>$ip a dedicated ip address</dd>
  338. <dt><var>$pool</var></dt>
  339. <dd><code>string</code><br>$pool the name of the new pool to add the dedicated ip to</dd>
  340. <dt><var>$create_pool</var></dt>
  341. <dd><code>boolean</code><br>$create_pool whether to create the pool if it does not exist; if false and the
  342. pool does not exist, an Unknown_Pool will be thrown.</dd>
  343. </dl></div>
  344. <h4>Returns</h4>
  345. <div class="list">
  346. <code>struct</code><br>Information about the updated state of the dedicated IP - ip string the ip
  347. address - created_at string the date and time that the dedicated IP was created
  348. as a UTC string in YYYY-MM-DD HH:MM:SS format - pool string the name of the pool
  349. that this dedicated IP belongs to - domain string the domain name (reverse dns)
  350. of this dedicated IP - custom_dns struct information about the ip's custom dns,
  351. if it has been configured - enabled boolean a boolean indicating whether custom
  352. dns has been configured for this ip - valid boolean whether the ip's custom dns
  353. is currently valid - error string if the ip's custom dns is invalid, this will
  354. include details about the error - warmup struct information about the ip's
  355. warmup status - warming_up boolean whether the ip is currently in warmup mode -
  356. start_at string the start time for the warmup process as a UTC string in
  357. YYYY-MM-DD HH:MM:SS format - end_at string the end date and time for the warmup
  358. process as a UTC string in YYYY-MM-DD HH:MM:SS format<br />
  359. </div>
  360. </div>
  361. </div></td>
  362. </tr>
  363. <tr data-order="delete" id="_delete">
  364. <td class="attributes"><code>
  365. public
  366. struct
  367. </code>
  368. </td>
  369. <td class="name"><div>
  370. <a class="anchor" href="#_delete">#</a>
  371. <code><a href="source-class-Mandrill_Ips.html#137-147" title="Go to source code">delete</a>( <span>string <var>$ip</var></span> )</code>
  372. <div class="description short">
  373. <p>Deletes a dedicated IP. This is permanent and cannot be undone.</p>
  374. </div>
  375. <div class="description detailed hidden">
  376. <p>Deletes a dedicated IP. This is permanent and cannot be undone.</p>
  377. <h4>Parameters</h4>
  378. <div class="list"><dl>
  379. <dt><var>$ip</var></dt>
  380. <dd><code>string</code><br>$ip the dedicated ip to remove from your account</dd>
  381. </dl></div>
  382. <h4>Returns</h4>
  383. <div class="list">
  384. <code>struct</code><br>a description of the ip that was removed from your account. - ip string the ip
  385. address - deleted string a boolean indicating whether the ip was successfully
  386. deleted<br />
  387. </div>
  388. </div>
  389. </div></td>
  390. </tr>
  391. <tr data-order="listPools" id="_listPools">
  392. <td class="attributes"><code>
  393. public
  394. array
  395. </code>
  396. </td>
  397. <td class="name"><div>
  398. <a class="anchor" href="#_listPools">#</a>
  399. <code><a href="source-class-Mandrill_Ips.html#149-173" title="Go to source code">listPools</a>( )</code>
  400. <div class="description short">
  401. <p>Lists your dedicated IP pools.</p>
  402. </div>
  403. <div class="description detailed hidden">
  404. <p>Lists your dedicated IP pools.</p>
  405. <h4>Returns</h4>
  406. <div class="list">
  407. <code>array</code><br>the dedicated IP pools for your account, up to a maximum of 1,000 - return[]
  408. struct information about each dedicated IP pool - name string this pool's name -
  409. created_at string the date and time that this pool was created as a UTC
  410. timestamp in YYYY-MM-DD HH:MM:SS format - ips array the dedicated IPs in this
  411. pool - ips[] struct information about each dedicated IP - ip string the ip
  412. address - created_at string the date and time that the dedicated IP was created
  413. as a UTC string in YYYY-MM-DD HH:MM:SS format - pool string the name of the pool
  414. that this dedicated IP belongs to - domain string the domain name (reverse dns)
  415. of this dedicated IP - custom_dns struct information about the ip's custom dns,
  416. if it has been configured - enabled boolean a boolean indicating whether custom
  417. dns has been configured for this ip - valid boolean whether the ip's custom dns
  418. is currently valid - error string if the ip's custom dns is invalid, this will
  419. include details about the error - warmup struct information about the ip's
  420. warmup status - warming_up boolean whether the ip is currently in warmup mode -
  421. start_at string the start time for the warmup process as a UTC string in
  422. YYYY-MM-DD HH:MM:SS format - end_at string the end date and time for the warmup
  423. process as a UTC string in YYYY-MM-DD HH:MM:SS format<br />
  424. </div>
  425. </div>
  426. </div></td>
  427. </tr>
  428. <tr data-order="poolInfo" id="_poolInfo">
  429. <td class="attributes"><code>
  430. public
  431. struct
  432. </code>
  433. </td>
  434. <td class="name"><div>
  435. <a class="anchor" href="#_poolInfo">#</a>
  436. <code><a href="source-class-Mandrill_Ips.html#175-199" title="Go to source code">poolInfo</a>( <span>string <var>$pool</var></span> )</code>
  437. <div class="description short">
  438. <p>Describes a single dedicated IP pool.</p>
  439. </div>
  440. <div class="description detailed hidden">
  441. <p>Describes a single dedicated IP pool.</p>
  442. <h4>Parameters</h4>
  443. <div class="list"><dl>
  444. <dt><var>$pool</var></dt>
  445. <dd><code>string</code><br>$pool a pool name</dd>
  446. </dl></div>
  447. <h4>Returns</h4>
  448. <div class="list">
  449. <code>struct</code><br>Information about the dedicated ip pool - name string this pool's name -
  450. created_at string the date and time that this pool was created as a UTC
  451. timestamp in YYYY-MM-DD HH:MM:SS format - ips array the dedicated IPs in this
  452. pool - ips[] struct information about each dedicated IP - ip string the ip
  453. address - created_at string the date and time that the dedicated IP was created
  454. as a UTC string in YYYY-MM-DD HH:MM:SS format - pool string the name of the pool
  455. that this dedicated IP belongs to - domain string the domain name (reverse dns)
  456. of this dedicated IP - custom_dns struct information about the ip's custom dns,
  457. if it has been configured - enabled boolean a boolean indicating whether custom
  458. dns has been configured for this ip - valid boolean whether the ip's custom dns
  459. is currently valid - error string if the ip's custom dns is invalid, this will
  460. include details about the error - warmup struct information about the ip's
  461. warmup status - warming_up boolean whether the ip is currently in warmup mode -
  462. start_at string the start time for the warmup process as a UTC string in
  463. YYYY-MM-DD HH:MM:SS format - end_at string the end date and time for the warmup
  464. process as a UTC string in YYYY-MM-DD HH:MM:SS format<br />
  465. </div>
  466. </div>
  467. </div></td>
  468. </tr>
  469. <tr data-order="createPool" id="_createPool">
  470. <td class="attributes"><code>
  471. public
  472. struct
  473. </code>
  474. </td>
  475. <td class="name"><div>
  476. <a class="anchor" href="#_createPool">#</a>
  477. <code><a href="source-class-Mandrill_Ips.html#201-226" title="Go to source code">createPool</a>( <span>string <var>$pool</var></span> )</code>
  478. <div class="description short">
  479. <p>Creates a pool and returns it. If a pool already exists with this name, no
  480. action will be performed.</p>
  481. </div>
  482. <div class="description detailed hidden">
  483. <p>Creates a pool and returns it. If a pool already exists with this name, no
  484. action will be performed.</p>
  485. <h4>Parameters</h4>
  486. <div class="list"><dl>
  487. <dt><var>$pool</var></dt>
  488. <dd><code>string</code><br>$pool the name of a pool to create</dd>
  489. </dl></div>
  490. <h4>Returns</h4>
  491. <div class="list">
  492. <code>struct</code><br>Information about the dedicated ip pool - name string this pool's name -
  493. created_at string the date and time that this pool was created as a UTC
  494. timestamp in YYYY-MM-DD HH:MM:SS format - ips array the dedicated IPs in this
  495. pool - ips[] struct information about each dedicated IP - ip string the ip
  496. address - created_at string the date and time that the dedicated IP was created
  497. as a UTC string in YYYY-MM-DD HH:MM:SS format - pool string the name of the pool
  498. that this dedicated IP belongs to - domain string the domain name (reverse dns)
  499. of this dedicated IP - custom_dns struct information about the ip's custom dns,
  500. if it has been configured - enabled boolean a boolean indicating whether custom
  501. dns has been configured for this ip - valid boolean whether the ip's custom dns
  502. is currently valid - error string if the ip's custom dns is invalid, this will
  503. include details about the error - warmup struct information about the ip's
  504. warmup status - warming_up boolean whether the ip is currently in warmup mode -
  505. start_at string the start time for the warmup process as a UTC string in
  506. YYYY-MM-DD HH:MM:SS format - end_at string the end date and time for the warmup
  507. process as a UTC string in YYYY-MM-DD HH:MM:SS format<br />
  508. </div>
  509. </div>
  510. </div></td>
  511. </tr>
  512. <tr data-order="deletePool" id="_deletePool">
  513. <td class="attributes"><code>
  514. public
  515. struct
  516. </code>
  517. </td>
  518. <td class="name"><div>
  519. <a class="anchor" href="#_deletePool">#</a>
  520. <code><a href="source-class-Mandrill_Ips.html#228-238" title="Go to source code">deletePool</a>( <span>string <var>$pool</var></span> )</code>
  521. <div class="description short">
  522. <p>Deletes a pool. A pool must be empty before you can delete it, and you cannot
  523. delete your default pool.</p>
  524. </div>
  525. <div class="description detailed hidden">
  526. <p>Deletes a pool. A pool must be empty before you can delete it, and you cannot
  527. delete your default pool.</p>
  528. <h4>Parameters</h4>
  529. <div class="list"><dl>
  530. <dt><var>$pool</var></dt>
  531. <dd><code>string</code><br>$pool the name of the pool to delete</dd>
  532. </dl></div>
  533. <h4>Returns</h4>
  534. <div class="list">
  535. <code>struct</code><br>information about the status of the pool that was deleted - pool string the name
  536. of the pool - deleted boolean whether the pool was deleted<br />
  537. </div>
  538. </div>
  539. </div></td>
  540. </tr>
  541. <tr data-order="checkCustomDns" id="_checkCustomDns">
  542. <td class="attributes"><code>
  543. public
  544. struct
  545. </code>
  546. </td>
  547. <td class="name"><div>
  548. <a class="anchor" href="#_checkCustomDns">#</a>
  549. <code><a href="source-class-Mandrill_Ips.html#240-252" title="Go to source code">checkCustomDns</a>( <span>string <var>$ip</var></span>, <span>string <var>$domain</var></span> )</code>
  550. <div class="description short">
  551. <p>Tests whether a domain name is valid for use as the custom reverse DNS for a
  552. dedicated IP.</p>
  553. </div>
  554. <div class="description detailed hidden">
  555. <p>Tests whether a domain name is valid for use as the custom reverse DNS for a
  556. dedicated IP.</p>
  557. <h4>Parameters</h4>
  558. <div class="list"><dl>
  559. <dt><var>$ip</var></dt>
  560. <dd><code>string</code><br>$ip a dedicated ip address</dd>
  561. <dt><var>$domain</var></dt>
  562. <dd><code>string</code><br>$domain the domain name to test</dd>
  563. </dl></div>
  564. <h4>Returns</h4>
  565. <div class="list">
  566. <code>struct</code><br>validation results for the domain - valid string whether the domain name has a
  567. correctly-configured A record pointing to the ip address - error string if valid
  568. is false, this will contain details about why the domain's A record is incorrect<br />
  569. </div>
  570. </div>
  571. </div></td>
  572. </tr>
  573. <tr data-order="setCustomDns" id="_setCustomDns">
  574. <td class="attributes"><code>
  575. public
  576. struct
  577. </code>
  578. </td>
  579. <td class="name"><div>
  580. <a class="anchor" href="#_setCustomDns">#</a>
  581. <code><a href="source-class-Mandrill_Ips.html#254-275" title="Go to source code">setCustomDns</a>( <span>string <var>$ip</var></span>, <span>string <var>$domain</var></span> )</code>
  582. <div class="description short">
  583. <p>Configures the custom DNS name for a dedicated IP.</p>
  584. </div>
  585. <div class="description detailed hidden">
  586. <p>Configures the custom DNS name for a dedicated IP.</p>
  587. <h4>Parameters</h4>
  588. <div class="list"><dl>
  589. <dt><var>$ip</var></dt>
  590. <dd><code>string</code><br>$ip a dedicated ip address</dd>
  591. <dt><var>$domain</var></dt>
  592. <dd><code>string</code><br>$domain a domain name to set as the dedicated IP's custom dns name.</dd>
  593. </dl></div>
  594. <h4>Returns</h4>
  595. <div class="list">
  596. <code>struct</code><br>information about the dedicated IP's new configuration - ip string the ip
  597. address - created_at string the date and time that the dedicated IP was created
  598. as a UTC string in YYYY-MM-DD HH:MM:SS format - pool string the name of the pool
  599. that this dedicated IP belongs to - domain string the domain name (reverse dns)
  600. of this dedicated IP - custom_dns struct information about the ip's custom dns,
  601. if it has been configured - enabled boolean a boolean indicating whether custom
  602. dns has been configured for this ip - valid boolean whether the ip's custom dns
  603. is currently valid - error string if the ip's custom dns is invalid, this will
  604. include details about the error - warmup struct information about the ip's
  605. warmup status - warming_up boolean whether the ip is currently in warmup mode -
  606. start_at string the start time for the warmup process as a UTC string in
  607. YYYY-MM-DD HH:MM:SS format - end_at string the end date and time for the warmup
  608. process as a UTC string in YYYY-MM-DD HH:MM:SS format<br />
  609. </div>
  610. </div>
  611. </div></td>
  612. </tr>
  613. </table>
  614. </div>
  615. <div id="footer">
  616. API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
  617. </div>
  618. </div>
  619. </div>
  620. </body>
  621. </html>