€cdocutils.nodes
document
q)�q}q(U	nametypesq}q(X   query a specific limitqNX   limitsqNX   absolute limitsqNX   list limit typesq	NX   list all limitsq
NX   setupqNuUsubstitution_defsq}qUparse_messagesq]qUcurrent_sourceqNU
decorationqNUautofootnote_startqKUnameidsq}q(hUquery-a-specific-limitqhUlimitsqhUabsolute-limitsqh	Ulist-limit-typesqh
Ulist-all-limitsqhUsetupquUchildrenq]qcdocutils.nodes
section
q)�q}q(U	rawsourceq U Uparentq!hUsourceq"XF   /Users/jamie/projects/php/php-opencloud/doc/services/dns/Limits.md.rstq#Utagnameq$Usectionq%U
attributesq&}q'(Udupnamesq(]Uclassesq)]Ubackrefsq*]Uidsq+]q,haUnamesq-]q.hauUlineq/KUdocumentq0hh]q1(cdocutils.nodes
title
q2)�q3}q4(h X   Limitsq5h!hh"h#h$Utitleq6h&}q7(h(]h)]h*]h+]h-]uh/Kh0hh]q8cdocutils.nodes
Text
q9X   Limitsq:…�q;}q<(h h5h!h3ubaubh)�q=}q>(h U h!hh"h#h$h%h&}q?(h(]h)]h*]h+]q@hah-]qAhauh/Kh0hh]qB(h2)�qC}qD(h X   SetupqEh!h=h"h#h$h6h&}qF(h(]h)]h*]h+]h-]uh/Kh0hh]qGh9X   SetupqH…�qI}qJ(h hEh!hCubaubcdocutils.nodes
paragraph
qK)�qL}qM(h X¬   Limit methods will be called on the DNS service, an instance of
``OpenCloud\DNS\Service``. Please see the `DNS service <Service.md>`__
documentation for setup instructions.h!h=h"h#h$U	paragraphqNh&}qO(h(]h)]h*]h+]h-]uh/Kh0hh]qP(h9X@   Limit methods will be called on the DNS service, an instance of
qQ…�qR}qS(h X@   Limit methods will be called on the DNS service, an instance of
h!hLubcdocutils.nodes
literal
qT)�qU}qV(h X   ``OpenCloud\DNS\Service``h&}qW(h(]h)]h*]h+]h-]uh!hLh]qXh9X   OpenCloud\DNS\ServiceqY…�qZ}q[(h U h!hUubah$Uliteralq\ubh9X   . Please see the q]…�q^}q_(h X   . Please see the h!hLubcdocutils.nodes
reference
q`)�qa}qb(h X   `DNS service <Service.md>`__h&}qc(UnameX   DNS serviceUrefuriqdX
   Service.mdh+]h*]h(]h)]h-]uh!hLh]qeh9X   DNS serviceqf…�qg}qh(h U h!haubah$U	referenceqiubh9X&   
documentation for setup instructions.qj…�qk}ql(h X&   
documentation for setup instructions.h!hLubeubeubh)�qm}qn(h U h!hh"h#h$h%h&}qo(h(]h)]h*]h+]qphah-]qqh
auh/Kh0hh]qr(h2)�qs}qt(h X   List all limitsquh!hmh"h#h$h6h&}qv(h(]h)]h*]h+]h-]uh/Kh0hh]qwh9X   List all limitsqx…�qy}qz(h huh!hsubaubhK)�q{}q|(h XM   This call provides a list of all applicable limits for the specified
account.q}h!hmh"h#h$hNh&}q~(h(]h)]h*]h+]h-]uh/Kh0hh]qh9XM   This call provides a list of all applicable limits for the specified
account.q€…�q�}q‚(h h}h!h{ubaubcdocutils.nodes
literal_block
qƒ)�q„}q…(h X   $limits = $service->limits();h!hmh"h#h$Uliteral_blockq†h&}q‡(U	xml:spaceqˆUpreserveq‰h+]h*]h(]h)]qŠ(Ucodeq‹X   phpqŒeh-]uh/Kh0hh]q�cdocutils.nodes
inline
qŽ)�q�}q�(h X   $limits = $service->limits();h&}q‘(h(]h)]q’Uotherq“ah*]h+]h-]uh!h„h]q”h9X   $limits = $service->limits();q•…�q–}q—(h U h!h�ubah$Uinlineq˜ubaubh)�q™}qš(h U h!hmh"h#h$h%h&}q›(h(]h)]h*]h+]qœhah-]q�hauh/Kh0hh]qž(h2)�qŸ}q (h X   Absolute limitsq¡h!h™h"h#h$h6h&}q¢(h(]h)]h*]h+]h-]uh/Kh0hh]q£h9X   Absolute limitsq¤…�q¥}q¦(h h¡h!hŸubaubhK)�q§}q¨(h X•   There are some absolute limits imposed on your account - such as how
many domains you can create and how many records you can create for each
domain:q©h!h™h"h#h$hNh&}qª(h(]h)]h*]h+]h-]uh/Kh0hh]q«h9X•   There are some absolute limits imposed on your account - such as how
many domains you can create and how many records you can create for each
domain:q¬…�q­}q®(h h©h!h§ubaubhƒ)�q¯}q°(h Xœ   $absoluteLimits = $limits->absolute;

# Domain limit
echo $absoluteLimits->domains;

# Record limit per domain
echo $absoluteLimits->{'records per domain'};h!h™h"h#h$h†h&}q±(hˆh‰h+]h*]h(]h)]q²(h‹X   phpq³eh-]uh/K%h0hh]q´hŽ)�qµ}q¶(h Xœ   $absoluteLimits = $limits->absolute;

# Domain limit
echo $absoluteLimits->domains;

# Record limit per domain
echo $absoluteLimits->{'records per domain'};h&}q·(h(]h)]q¸Uotherq¹ah*]h+]h-]uh!h¯h]qºh9Xœ   $absoluteLimits = $limits->absolute;

# Domain limit
echo $absoluteLimits->domains;

# Record limit per domain
echo $absoluteLimits->{'records per domain'};q»…�q¼}q½(h U h!hµubah$h˜ubaubeubeubh)�q¾}q¿(h U h!hh"h#h$h%h&}qÀ(h(]h)]h*]h+]qÁhah-]qÂh	auh/K'h0hh]qÃ(h2)�qÄ}qÅ(h X   List limit typesqÆh!h¾h"h#h$h6h&}qÇ(h(]h)]h*]h+]h-]uh/K'h0hh]qÈh9X   List limit typesqÉ…�qÊ}qË(h hÆh!hÄubaubhK)�qÌ}qÍ(h X9   To find out the different limit types you can query, run:qÎh!h¾h"h#h$hNh&}qÏ(h(]h)]h*]h+]h-]uh/K)h0hh]qÐh9X9   To find out the different limit types you can query, run:qÑ…�qÒ}qÓ(h hÎh!hÌubaubhƒ)�qÔ}qÕ(h X%   $limitTypes = $service->limitTypes();h!h¾h"h#h$h†h&}qÖ(hˆh‰h+]h*]h(]h)]q×(h‹X   phpqØeh-]uh/K.h0hh]qÙhŽ)�qÚ}qÛ(h X%   $limitTypes = $service->limitTypes();h&}qÜ(h(]h)]qÝUotherqÞah*]h+]h-]uh!hÔh]qßh9X%   $limitTypes = $service->limitTypes();qà…�qá}qâ(h U h!hÚubah$h˜ubaubhK)�qã}qä(h X   will return:qåh!h¾h"h#h$hNh&}qæ(h(]h)]h*]h+]h-]uh/K/h0hh]qçh9X   will return:qè…�qé}qê(h håh!hãubaubhƒ)�që}qì(h X€   array(3) {
  [0] =>
  string(10) "RATE_LIMIT"
  [1] =>
  string(12) "DOMAIN_LIMIT"
  [2] =>
  string(19) "DOMAIN_RECORD_LIMIT"
}h!h¾h"h#h$h†h&}qí(hˆh‰h+]h*]h(]h)]h-]uh/K3h0hh]qîh9X€   array(3) {
  [0] =>
  string(10) "RATE_LIMIT"
  [1] =>
  string(12) "DOMAIN_LIMIT"
  [2] =>
  string(19) "DOMAIN_RECORD_LIMIT"
}qï…�qð}qñ(h U h!hëubaubeubh)�qò}qó(h U h!hh"h#h$h%h&}qô(h(]h)]h*]h+]qõhah-]qöhauh/K=h0hh]q÷(h2)�qø}qù(h X   Query a specific limitqúh!hòh"h#h$h6h&}qû(h(]h)]h*]h+]h-]uh/K=h0hh]qüh9X   Query a specific limitqý…�qþ}qÿ(h húh!høubaubhƒ)�r   }r  (h XZ   $limit = $service->limits('DOMAIN_LIMIT');

echo $limit->absolute->limits->value;

>>> 500h!hòh"h#h$h†h&}r  (hˆh‰h+]h*]h(]h)]r  (h‹X   phpr  eh-]uh/KFh0hh]r  hŽ)�r  }r  (h XZ   $limit = $service->limits('DOMAIN_LIMIT');

echo $limit->absolute->limits->value;

>>> 500h&}r  (h(]h)]r	  Uotherr
  ah*]h+]h-]uh!j   h]r  h9XZ   $limit = $service->limits('DOMAIN_LIMIT');

echo $limit->absolute->limits->value;

>>> 500r  …�r  }r  (h U h!j  ubah$h˜ubaubeubeubah U Utransformerr  NUfootnote_refsr  }r  Urefnamesr  }r  Usymbol_footnotesr  ]r  Uautofootnote_refsr  ]r  Usymbol_footnote_refsr  ]r  U	citationsr  ]r  h0hUcurrent_liner  NUtransform_messagesr  ]r  Ureporterr  NUid_startr   KUautofootnotesr!  ]r"  Ucitation_refsr#  }r$  Uindirect_targetsr%  ]r&  Usettingsr'  (cdocutils.frontend
Values
r(  or)  }r*  (Ufootnote_backlinksr+  KUrecord_dependenciesr,  NUrfc_base_urlr-  Uhttp://tools.ietf.org/html/r.  U	tracebackr/  ˆUpep_referencesr0  NUstrip_commentsr1  NUtoc_backlinksr2  Uentryr3  Ulanguage_coder4  Uenr5  U	datestampr6  NUreport_levelr7  KU_destinationr8  NU
halt_levelr9  KUstrip_classesr:  Nh6NUerror_encoding_error_handlerr;  Ubackslashreplacer<  Udebugr=  NUembed_stylesheetr>  ‰Uoutput_encoding_error_handlerr?  Ustrictr@  Usectnum_xformrA  KUdump_transformsrB  NUdocinfo_xformrC  KUwarning_streamrD  NUpep_file_url_templaterE  Upep-%04drF  Uexit_status_levelrG  KUconfigrH  NUstrict_visitorrI  NUcloak_email_addressesrJ  ˆUtrim_footnote_reference_spacerK  ‰UenvrL  NUdump_pseudo_xmlrM  NUexpose_internalsrN  NUsectsubtitle_xformrO  ‰Usource_linkrP  NUrfc_referencesrQ  NUoutput_encodingrR  Uutf-8rS  U
source_urlrT  NUinput_encodingrU  U	utf-8-sigrV  U_disable_configrW  NU	id_prefixrX  U U	tab_widthrY  KUerror_encodingrZ  UUTF-8r[  U_sourcer\  h#Ugettext_compactr]  ˆU	generatorr^  NUdump_internalsr_  NUsmart_quotesr`  ‰Upep_base_urlra  Uhttp://www.python.org/dev/peps/rb  Usyntax_highlightrc  Ulongrd  Uinput_encoding_error_handlerre  j@  Uauto_id_prefixrf  Uidrg  Udoctitle_xformrh  ‰Ustrip_elements_with_classesri  NU_config_filesrj  ]Ufile_insertion_enabledrk  ˆUraw_enabledrl  KUdump_settingsrm  NubUsymbol_footnote_startrn  K Uidsro  }rp  (hhhhòhh=hh™hhmhh¾uUsubstitution_namesrq  }rr  h$h0h&}rs  (h(]h+]h*]Usourceh#h)]h-]uU	footnotesrt  ]ru  Urefidsrv  }rw  ub.