public class IpInterfaces extends AbstractCoreBulkResources<IpInterfaceRestRep>
Base URL: /compute/ip-interfaces
| Constructor and Description | 
|---|
IpInterfaces(ViPRCoreClient parent,
            RestClient client)  | 
| Modifier and Type | Method and Description | 
|---|---|
IpInterfaceRestRep | 
create(java.net.URI hostId,
      IpInterfaceCreateParam input)
Creates an IP interface for the given host. 
 | 
void | 
deactivate(java.net.URI id)
Deactivates the given IP interface. 
 | 
IpInterfaceRestRep | 
deregister(java.net.URI id)
De-registers the given IP interface by ID. 
 | 
java.util.List<IpInterfaceRestRep> | 
getByHost(java.net.URI hostId)
Gets the list of IP interfaces for the given host. 
 | 
java.util.List<IpInterfaceRestRep> | 
getByHost(java.net.URI hostId,
         ResourceFilter<IpInterfaceRestRep> filter)
Gets the list of IP interfaces for the given host, optionally filtering the results. 
 | 
java.util.List<IpInterfaceRestRep> | 
getByNetwork(java.net.URI networkId)
Gets the list of IP interfaces in the given network. 
 | 
java.util.List<IpInterfaceRestRep> | 
getByNetwork(java.net.URI networkId,
            ResourceFilter<IpInterfaceRestRep> filter)
Gets the list of IP interfaces in the given network, optionally filtering the results. 
 | 
java.util.List<NamedRelatedResourceRep> | 
listByHost(java.net.URI hostId)
Lists the IP interfaces for the given host. 
 | 
java.util.List<NamedRelatedResourceRep> | 
listByNetwork(java.net.URI networkId)
Lists the IP interfaces in the given network. 
 | 
IpInterfaceRestRep | 
register(java.net.URI id)
Registers the given IP interface by ID. 
 | 
IpInterfaceRestRep | 
update(java.net.URI id,
      IpInterfaceUpdateParam input)
Updates the given IP interface. 
 | 
IpInterfaces | 
withInactive(boolean inactive)
Configures the fetch operations to include inactive resources. 
 | 
IpInterfaces | 
withInternal(boolean internal)
Configures the fetch operations to include internal resources. 
 | 
getByIds, getByRefs, listBulkIdsaddTags, get, get, getByIds, getByRefs, getTags, performSearch, performSearchBy, removeTags, search, updateTagsequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetByIds, getByRefsaddTags, get, get, getTags, removeTags, search, updateTagspublic IpInterfaces(ViPRCoreClient parent, RestClient client)
public IpInterfaces withInactive(boolean inactive)
AbstractResourceswithInactive in class AbstractResources<IpInterfaceRestRep>inactive - whether to include inactive resources.public IpInterfaces withInternal(boolean internal)
AbstractResourceswithInternal in class AbstractResources<IpInterfaceRestRep>internal - whether to include internal resources.public IpInterfaceRestRep create(java.net.URI hostId, IpInterfaceCreateParam input)
API Call: POST /compute/hosts/{hostId}/ip-interfaces
hostId - the ID of the host.input - the create configuration.public IpInterfaceRestRep update(java.net.URI id, IpInterfaceUpdateParam input)
API Call: PUT /compute/ip-interfaces/{id}
id - the ID of the IP interface.input - the updated configuration.public void deactivate(java.net.URI id)
API Call: POST /compute/ip-interfaces/{id}
id - the ID of the IP interface.public java.util.List<NamedRelatedResourceRep> listByHost(java.net.URI hostId)
API Call: GET /compute/hosts/{hostId}/ip-interfaces
hostId - the ID of the host.public java.util.List<IpInterfaceRestRep> getByHost(java.net.URI hostId)
hostId - the ID of the host.public java.util.List<IpInterfaceRestRep> getByHost(java.net.URI hostId, ResourceFilter<IpInterfaceRestRep> filter)
hostId - the ID of the host.filter - the resource filter to apply to the results as they are returned (optional).public java.util.List<NamedRelatedResourceRep> listByNetwork(java.net.URI networkId)
API Call: GET /vdc/networks/{networkId}/ip-interfaces
networkId - the ID of the network.public java.util.List<IpInterfaceRestRep> getByNetwork(java.net.URI networkId)
networkId - the ID of the network.public java.util.List<IpInterfaceRestRep> getByNetwork(java.net.URI networkId, ResourceFilter<IpInterfaceRestRep> filter)
networkId - the ID of the network.filter - the resource filter to apply to the results as they are returned (optional).public IpInterfaceRestRep register(java.net.URI id)
API Call: POST /compute/ip-interfaces/{id}/register
id - the ID of the IP interface.public IpInterfaceRestRep deregister(java.net.URI id)
API Call: POST /computer/ip-interfaces/{id}/deregister
id - the ID of the IP interface.