1 | <?php |
||
21 | class DomainApi extends BaseLinodeApi |
||
22 | { |
||
23 | /** |
||
24 | * Create a domain record. |
||
25 | * |
||
26 | * @param string $Domain [required] The zone's name |
||
27 | * @param string $Type [required] master or slave |
||
28 | * @param string $SOA_Email [optional] Required when type=master |
||
29 | * @param string $Description [optional] Currently undisplayed. |
||
30 | * @param int $Refresh_sec [optional] |
||
31 | * @param int $Retry_sec [optional] |
||
32 | * @param int $Expire_sec [optional] |
||
33 | * @param int $TTL_sec [optional] |
||
34 | * @param string $lpm_displayGroup [optional] Display group in the Domain list inside the Linode DNS Manager |
||
35 | * @param int $status [optional] 0, 1, or 2 (disabled, active, edit mode) |
||
36 | * @param string $master_ips [optional] When type=slave, the zone's master DNS servers list, semicolon separated |
||
37 | * @param string $axfr_ips [optional] IP addresses allowed to AXFR the entire zone, semicolon separated |
||
38 | * |
||
39 | * @return array |
||
40 | */ |
||
41 | 1 | public function create($Domain, $Type, $SOA_Email = null, $Description = null, $Refresh_sec = null, $Retry_sec = null, $Expire_sec = null, $TTL_sec = null, $lpm_displayGroup = null, $status = null, $master_ips = null, $axfr_ips = null) |
|
58 | |||
59 | /** |
||
60 | * @param int $DomainID [required] |
||
61 | * |
||
62 | * @return array |
||
63 | */ |
||
64 | 1 | public function delete($DomainID) |
|
70 | |||
71 | /** |
||
72 | * Lists domains you have access to. |
||
73 | * |
||
74 | * @param int $DomainID [optional] Limits the list to the specified DomainID |
||
75 | * |
||
76 | * @return array |
||
77 | */ |
||
78 | 1 | public function getList($DomainID = null) |
|
84 | |||
85 | /** |
||
86 | * Update a domain record. |
||
87 | * |
||
88 | * @param int $DomainID [required] |
||
89 | * @param string $Domain [optional] The zone's name |
||
90 | * @param string $Type [optional] master or slave |
||
91 | * @param string $SOA_Email [optional] Required when type=master |
||
92 | * @param string $Description [optional] Currently undisplayed. |
||
93 | * @param int $Refresh_sec [optional] |
||
94 | * @param int $Retry_sec [optional] |
||
95 | * @param int $Expire_sec [optional] |
||
96 | * @param int $TTL_sec [optional] |
||
97 | * @param string $lpm_displayGroup [optional] Display group in the Domain list inside the Linode DNS Manager |
||
98 | * @param int $status [optional] 0, 1, or 2 (disabled, active, edit mode) |
||
99 | * @param string $master_ips [optional] When type=slave, the zone's master DNS servers list, semicolon separated |
||
100 | * @param string $axfr_ips [optional] IP addresses allowed to AXFR the entire zone, semicolon separated |
||
101 | * |
||
102 | * @return array |
||
103 | */ |
||
104 | 1 | public function update($DomainID, $Domain = null, $Type = null, $SOA_Email = null, $Description = null, $Refresh_sec = null, $Retry_sec = null, $Expire_sec = null, $TTL_sec = null, $lpm_displayGroup = null, $status = null, $master_ips = null, $axfr_ips = null) |
|
122 | } |
||
123 |