Examples of VirtualPoolList


Examples of com.emc.storageos.model.vpool.VirtualPoolList

     * @param id
     *        the ID of the storage pool.
     * @return the list of virtual pool references.
     */
    public List<NamedRelatedVirtualPoolRep> listMatchedVirtualPools(URI id) {
        VirtualPoolList response = client.get(VirtualPoolList.class, getIdUrl() + "/matched-vpools", id);
        return defaultList(response.getVirtualPool());
    }
View Full Code Here

Examples of com.emc.storageos.model.vpool.VirtualPoolList

     * @param args
     *        the URL arguments.
     * @return the list of virtual pool references.
     */
    protected List<NamedRelatedVirtualPoolRep> getList(String url, Object... args) {
        VirtualPoolList response = client.get(VirtualPoolList.class, url, args);
        return ResourceUtils.defaultList(response.getVirtualPool());
    }
View Full Code Here

Examples of com.emc.storageos.model.vpool.VirtualPoolList

     * @return the list of virtual pool references in a virtual data center
     */
    public List<NamedRelatedVirtualPoolRep> listByVDC(String shortVdcId) {
        UriBuilder builder = client.uriBuilder(baseUrl);
        builder.queryParam(SearchConstants.VDC_ID_PARAM, shortVdcId);
        VirtualPoolList response =  client.getURI(VirtualPoolList.class, builder.build());
        return ResourceUtils.defaultList(response.getVirtualPool());
    }       
View Full Code Here

Examples of com.emc.storageos.model.vpool.VirtualPoolList

     * @param varrayId
     *        the ID of the virtual array.
     * @return the list of virtual pool references.
     */
    public List<NamedRelatedVirtualPoolRep> listByVirtualArray(URI varrayId) {
        VirtualPoolList response = client.get(VirtualPoolList.class, String.format(ID_URL_FORMAT, VARRAY_URL) + "/vpools", varrayId);
        return defaultList(response.getVirtualPool());
    }
View Full Code Here

Examples of com.emc.storageos.model.vpool.VirtualPoolList

     * @param id
     *        the ID of the storage pool.
     * @return the list of virtual pool references.
     */
    public List<NamedRelatedVirtualPoolRep> listMatchedVirtualPools(URI id) {
        VirtualPoolList response = client.get(VirtualPoolList.class, getIdUrl() + "/matched-vpools", id);
        return defaultList(response.getVirtualPool());
    }
View Full Code Here

Examples of com.emc.storageos.model.vpool.VirtualPoolList

     * @param args
     *        the URL arguments.
     * @return the list of virtual pool references.
     */
    protected List<NamedRelatedVirtualPoolRep> getList(String url, Object... args) {
        VirtualPoolList response = client.get(VirtualPoolList.class, url, args);
        return ResourceUtils.defaultList(response.getVirtualPool());
    }
View Full Code Here

Examples of com.emc.storageos.model.vpool.VirtualPoolList

     * @param varrayId
     *        the ID of the virtual array.
     * @return the list of virtual pool references.
     */
    public List<NamedRelatedVirtualPoolRep> listByVirtualArray(URI varrayId) {
        VirtualPoolList response = client.get(VirtualPoolList.class, String.format(ID_URL_FORMAT, VARRAY_URL) + "/vpools", varrayId);
        return defaultList(response.getVirtualPool());
    }
View Full Code Here

Examples of com.emc.storageos.model.vpool.VirtualPoolList

     * @param args
     *        the arguments for the URL.
     * @return the list of virtual pool references.
     */
    protected List<NamedRelatedVirtualPoolRep> getList(String url, Object... args) {
        VirtualPoolList response = client.get(VirtualPoolList.class, url, args);
        return ResourceUtils.defaultList(response.getVirtualPool());
    }
View Full Code Here

Examples of com.emc.storageos.model.vpool.VirtualPoolList

     * @return the list of virtual pool references in a virtual data center
     */
    public List<NamedRelatedVirtualPoolRep> listByVDC(String shortVdcId) {
        UriBuilder builder = client.uriBuilder(baseUrl);
        builder.queryParam(SearchConstants.VDC_ID_PARAM, shortVdcId);
        VirtualPoolList response =  client.getURI(VirtualPoolList.class, builder.build());
        return ResourceUtils.defaultList(response.getVirtualPool());
    }       
View Full Code Here

Examples of com.emc.storageos.model.vpool.VirtualPoolList

     * @param varrayId
     *        the ID of the virtual array.
     * @return the list of virtual pool references.
     */
    public List<NamedRelatedVirtualPoolRep> listByVirtualArray(URI varrayId) {
        VirtualPoolList response = client.get(VirtualPoolList.class, String.format(ID_URL_FORMAT, VARRAY_URL) + "/vpools", varrayId);
        return defaultList(response.getVirtualPool());
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.