1 | <?php |
||
18 | class ReservedIp extends AbstractApi |
||
19 | { |
||
20 | /** |
||
21 | * List all the active reserved IPs on this account. |
||
22 | * |
||
23 | * @return ReservedIpEntity[] |
||
24 | */ |
||
25 | public function list() |
||
37 | |||
38 | /** |
||
39 | * Create a new reserved IP. |
||
40 | * |
||
41 | * Reserved IPs can only be used within the same datacenter for which |
||
42 | * they were created. |
||
43 | * |
||
44 | * @param int $dcId |
||
45 | * @param string $ipType |
||
46 | * @param string $label |
||
47 | * |
||
48 | * @throws HttpException |
||
49 | * |
||
50 | * @return FloatingIpEntity |
||
51 | */ |
||
52 | public function create($dcId, $ipType, $label = null) |
||
65 | |||
66 | /** |
||
67 | * Remove a reserved IP from your account. |
||
68 | * |
||
69 | * After making this call, you will not be able to recover the IP address. |
||
70 | * |
||
71 | * @param int $ipAddressipAddress |
||
72 | * |
||
73 | * @throws HttpException |
||
74 | */ |
||
75 | public function delete($ipAddressipAddress) |
||
79 | |||
80 | /** |
||
81 | * Convert an existing IP on a subscription to a reserved IP. |
||
82 | * |
||
83 | * @param int $serverId SUBID of the server that currently has the IP address |
||
84 | * @param string $ipAddress IP address you want to convert |
||
85 | * @param string $paramname Label for this reserved IP |
||
86 | * |
||
87 | * @throws HttpException |
||
88 | */ |
||
89 | public function convert($serverIdd, $ipAddress, $label = null) |
||
100 | |||
101 | /** |
||
102 | * Attach a reserved IP to an existing subscription. |
||
103 | * |
||
104 | * @param int $ipAddress Reserved IP to attach to your account |
||
105 | * @param int $serverId Server to attach the reserved IP to |
||
106 | * |
||
107 | * @throws HttpException |
||
108 | * |
||
109 | * @return ActionEntity |
||
110 | */ |
||
111 | public function attach($ipAddress, $serverId) |
||
115 | |||
116 | /** |
||
117 | * @param int $ipAddress |
||
118 | * @param int $serverId |
||
119 | * |
||
120 | * @throws HttpException |
||
121 | */ |
||
122 | public function detach($ipAddress, $serverId) |
||
126 | |||
127 | /** |
||
128 | * Detach a reserved IP from an existing subscription. |
||
129 | * |
||
130 | * @param string $ipAddress |
||
131 | * @param int $serverId |
||
132 | * @param string $action |
||
133 | * |
||
134 | * @throws HttpException |
||
135 | */ |
||
136 | private function executeAction($ipAddress, $serverId, $action) |
||
140 | } |
||
141 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.