Examples of StoragePoolList


Examples of com.emc.storageos.model.pools.StoragePoolList

     *
     * @return the list of all storage pool references.
     */
    @Override
    public List<NamedRelatedResourceRep> list() {
        StoragePoolList response = client.get(StoragePoolList.class, baseUrl);
        return defaultList(response.getPools());
    }
View Full Code Here

Examples of com.emc.storageos.model.pools.StoragePoolList

     * @param storageSystemId
     *        the ID of the storage system.
     * @return the list of storage pool references.
     */
    public List<NamedRelatedResourceRep> listByStorageSystem(URI storageSystemId) {
        StoragePoolList response = client.get(StoragePoolList.class, PathConstants.STORAGE_POOL_BY_STORAGE_SYSTEM_URL,
                storageSystemId);
        return ResourceUtils.defaultList(response.getPools());
    }
View Full Code Here

Examples of com.emc.storageos.model.pools.StoragePoolList

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

Examples of com.emc.storageos.model.pools.StoragePoolList

     * @param id
     *        the ID of the file virtual pool.
     * @return the list of storage pool references.
     */
    public List<NamedRelatedResourceRep> listStoragePools(URI id) {
        StoragePoolList response = client.get(StoragePoolList.class, getIdUrl() + "/storage-pools", id);
        return defaultList(response.getPools());
    }
View Full Code Here

Examples of com.emc.storageos.model.pools.StoragePoolList

     * @param input
     *        the file virtual pool configuration.
     * @return the list of matching storage pool references.
     */
    public List<NamedRelatedResourceRep> listMatchingStoragePools(FileVirtualPoolParam input) {
        StoragePoolList response = client.post(StoragePoolList.class, input, baseUrl + "/matching-pools");
        return defaultList(response.getPools());
    }
View Full Code Here

Examples of com.emc.storageos.model.pools.StoragePoolList

     * @param id
     *        the ID of the file virtual pool.
     * @return the list of currently matching storage pool references.
     */
    public List<NamedRelatedResourceRep> refreshMatchingStoragePools(URI id) {
        StoragePoolList response = client.get(StoragePoolList.class, getIdUrl() + "/refresh-matched-pools", id);
        return defaultList(response.getPools());
    }
View Full Code Here

Examples of com.emc.storageos.model.pools.StoragePoolList

     * @param id
     *        the ID of the block virtual pool.
     * @return the list of storage pool references.
     */
    public List<NamedRelatedResourceRep> listStoragePools(URI id) {
        StoragePoolList response = client.get(StoragePoolList.class, getIdUrl() + "/storage-pools", id);
        return defaultList(response.getPools());
    }
View Full Code Here

Examples of com.emc.storageos.model.pools.StoragePoolList

     * @param input
     *        the configuration for a potential block virtual pool.
     * @return the list of matching storage pool references.
     */
    public List<NamedRelatedResourceRep> listMatchingStoragePools(BlockVirtualPoolParam input) {
        StoragePoolList response = client.post(StoragePoolList.class, input, baseUrl + "/matching-pools");
        return defaultList(response.getPools());
    }
View Full Code Here

Examples of com.emc.storageos.model.pools.StoragePoolList

     * @param id
     *        the ID of the block virtual pool.
     * @return the list of currently matching storage pool references.
     */
    public List<NamedRelatedResourceRep> refreshMatchingStoragePools(URI id) {
        StoragePoolList response = client.get(StoragePoolList.class, getIdUrl() + "/refresh-matched-pools", id);
        return defaultList(response.getPools());
    }
View Full Code Here

Examples of com.emc.storageos.model.pools.StoragePoolList

     *
     * @return the list of all storage pool references.
     */
    @Override
    public List<NamedRelatedResourceRep> list() {
        StoragePoolList response = client.get(StoragePoolList.class, baseUrl);
        return defaultList(response.getPools());
    }
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.