Interface NetworkService.RemoveRequest

  • All Superinterfaces:
    Request<NetworkService.RemoveRequest,​NetworkService.RemoveResponse>
    Enclosing interface:
    NetworkService

    public static interface NetworkService.RemoveRequest
    extends Request<NetworkService.RemoveRequest,​NetworkService.RemoveResponse>
    Removes a logical network, or the association of a logical network to a data center. For example, to remove the logical network `123` send a request like this: [source] ---- DELETE /ovirt-engine/api/networks/123 ---- Each network is bound exactly to one data center. So if we disassociate network with data center it has the same result as if we would just remove that network. However it might be more specific to say we're removing network `456` of data center `123`. For example, to remove the association of network `456` to data center `123` send a request like this: [source] ---- DELETE /ovirt-engine/api/datacenters/123/networks/456 ---- NOTE: To remove an external logical network, the network has to be removed directly from its provider by https://developer.openstack.org/api-ref/network[OpenStack Networking API]. The entity representing the external network inside {product-name} is removed automatically, if <> is enabled for the provider, otherwise the entity has to be removed using this method.