Summary:
Retrieves the list of resources from a resource pool.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
Use this element to specify the type of the resource to get the configuration for. If this element is omitted, returns the configurations of all available pools. |
|
|
|
|
|
Returns:
Name |
Min/Max |
Type |
Description |
|
|
A list of resources. The actual data type returned depends on the given resource pool type. See the subtypes of |
Example:
Retrieving the IP pool configuration.
Input
<packet version="4.0.0">
<target>resourcem</target>
<data>
<resourcem>
<get_pool>
<resource_pool>
<type>resource_ip</type>
</resource_pool>
</get_pool>
</resourcem>
</data>
</packet>
Output
<ns1:packet xmlns:ns2="http://www.swsoft.com/webservices/vzl/4.0.0/resourcem" xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="2dc45f980a0t1238r4e4" time="2007-03-12T17:08:02+0000" priority="0" version="4.0.0">
<ns1:origin>resourcem</ns1:origin>
<ns1:target>vzclient8</ns1:target>
<ns1:dst>
<ns1:director>gend</ns1:director>
</ns1:dst>
<ns1:data>
<ns2:resourcem>
<ns2:resource_pool xsi:type="ns2:resource_ip_poolType">
<ns2:type>resource_ip</ns2:type>
<ns2:ip_range>
<ns2:start_ip>10.17.3.125</ns2:start_ip>
<ns2:end_ip>10.17.3.127</ns2:end_ip>
</ns2:ip_range>
</ns2:resource_pool>
</ns2:resourcem>
</ns1:data>
<ns1:src>
<ns1:director>gend</ns1:director>
</ns1:src>
</ns1:packet>