Ip Pool Manager Destroy Ip Pool
Destroys an IP pool on the given datacenter.
Looks up the pool on the datacenter by ID and deletes it. If the pool is in use, the method throws InvalidState unless the force flag is true.
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case IpPoolManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"dc": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"id": 0,
"force": false
}
The unique ID of the pool
If true, the pool will be destroyed even if it is in use
No Content
InvalidState: if the pool is in use and the force flag is false
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}