Previous page

Next page

Locate page in Contents

Print this page

remove_resource

Summary:

Removes a resource from resource pool.

Request specification:

Name

Min/Max

Type

Description

remove_resource

1..1

 

 

{

 

 

 

resource_pool

1..[]

resource_poolType

Resource to remove from a pool. Use the appropriate subtype of resource_poolType to remove a resource from the desired pool.

}

 

 

 

Returns:

OK/Error

Description:

The call removes a resource from a pool. It does not check if the resource is in use. You can remove a single value or a range of resource values.

Example:

Removing a single IP address from the range that was previously added using the add_resource request.

<packet xmlns:ns2="http://www.swsoft.com/webservices/vzl/4.0.0/resourcem" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4.0.0">

<target>resourcem</target>

<data>

<resourcem>

<remove_resource>

<resource_pool xsi:type="ns2:resource_ip_poolType">

<type>resource_ip</type>

<ip_range>

<start_ip>10.17.3.125</start_ip>

<end_ip>10.17.3.127</end_ip>

</ip_range>

</resource_pool>

</remove_resource>

</resourcem>

</data>

</packet>

Please send us your feedback on this help page