public class VirtualNasServers extends AbstractCoreBulkResources<VirtualNASRestRep> implements TopLevelResources<VirtualNASRestRep>
Base URL: /vdc/vnasservers/
Constructor and Description |
---|
VirtualNasServers(ViPRCoreClient parent,
RestClient client) |
Modifier and Type | Method and Description |
---|---|
void |
assignVnasServers(java.net.URI projectId,
VirtualNasParam vNasParam)
This method assign vNas Servers to a project.
|
java.util.List<VirtualNASRestRep> |
getAll()
Gets a list of all vNAS Servers.
|
java.util.List<VirtualNASRestRep> |
getAll(ResourceFilter<VirtualNASRestRep> filter)
Gets a list of all vNAS Servers, optionally filtering the results.
|
java.util.List<VirtualNASRestRep> |
getByStorageSystem(java.net.URI storageSystemId)
Gets the list of vNAS servers for the given storage system by ID.
|
java.util.List<VirtualNASRestRep> |
getByStorageSystem(java.net.URI storageSystemId,
ResourceFilter<VirtualNASRestRep> filter)
Gets the list of vNAS servers for the given storage system by ID, optionally filtering the results.
|
java.util.List<VirtualNASRestRep> |
getByVirtualArray(java.net.URI virtualArrayId)
Gets the list of vNAS servers for the given virtual array by ID.
|
java.util.List<VirtualNASRestRep> |
getByVirtualArray(java.net.URI virtualArrayId,
ResourceFilter<VirtualNASRestRep> filter)
Gets the list of vNAS servers for the given virtual array by ID, optionally filtering the results.
|
java.util.List<NamedRelatedResourceRep> |
list()
Lists all vNAS Servers.
|
java.util.List<NamedRelatedResourceRep> |
listByStorageSystem(java.net.URI storageSystemId)
Lists the vNAS servers for the given storage system by ID.
|
java.util.List<NamedRelatedResourceRep> |
listByVirtualArray(java.net.URI virtualArrayId)
Lists the vNAS servers for the given virtual array by ID.
|
void |
unassignVnasServers(java.net.URI projectId,
VirtualNasParam vNasParam)
This method unassign vNas Servers from a project.
|
getByIds, getByRefs, listBulkIds
addTags, get, get, getByIds, getByRefs, getTags, performSearch, performSearchBy, removeTags, search, updateTags, withInactive, withInternal
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getByIds, getByRefs
addTags, get, get, getTags, removeTags, search, updateTags
public VirtualNasServers(ViPRCoreClient parent, RestClient client)
public java.util.List<NamedRelatedResourceRep> list()
API Call: GET /vdc/vnasservers
list
in interface TopLevelResources<VirtualNASRestRep>
public java.util.List<VirtualNASRestRep> getAll()
getAll
in interface TopLevelResources<VirtualNASRestRep>
TopLevelResources.list()
,
Resources.getByRefs(java.util.Collection)
public java.util.List<VirtualNASRestRep> getAll(ResourceFilter<VirtualNASRestRep> filter)
getAll
in interface TopLevelResources<VirtualNASRestRep>
filter
- the resource filter to apply to the results as they are returned (optional).TopLevelResources.list()
,
Resources.getByRefs(java.util.Collection, ResourceFilter)
public java.util.List<NamedRelatedResourceRep> listByStorageSystem(java.net.URI storageSystemId)
API Call: GET /vdc/storage-systems/{storage-system-id}/vnas-servers
storageSystemId
- the ID of the storage system.public java.util.List<VirtualNASRestRep> getByStorageSystem(java.net.URI storageSystemId)
storageSystemId
- the ID of the storage system.public java.util.List<VirtualNASRestRep> getByStorageSystem(java.net.URI storageSystemId, ResourceFilter<VirtualNASRestRep> filter)
storageSystemId
- the ID of the storage system.filter
- the resource filter to apply to the results as they are returned (optional).public java.util.List<NamedRelatedResourceRep> listByVirtualArray(java.net.URI virtualArrayId)
API Call: GET /vdc/vnasservers/varray/{varray-id}
virtualArrayId
- the ID of the virtual array.public java.util.List<VirtualNASRestRep> getByVirtualArray(java.net.URI virtualArrayId)
virtualArrayId
- the ID of the virtual array.public java.util.List<VirtualNASRestRep> getByVirtualArray(java.net.URI virtualArrayId, ResourceFilter<VirtualNASRestRep> filter)
virtualArrayId
- the ID of the virtual array.filter
- the resource filter to apply to the results as they are returned (optional).public void assignVnasServers(java.net.URI projectId, VirtualNasParam vNasParam)
projectId
- vNasParam
- public void unassignVnasServers(java.net.URI projectId, VirtualNasParam vNasParam)
projectId
- vNasParam
-