Package com.emc.storageos.model.block

Examples of com.emc.storageos.model.block.RelatedStoragePool


     * @param volumeId
     *        the ID of the volume.
     * @return the storage pool for the volume.
     */
    public StoragePoolRestRep getByVolume(URI volumeId) {
        RelatedStoragePool response = client.get(RelatedStoragePool.class, PathConstants.BLOCK_VOLUMES_URL
                + "/{volumeId}/storage-pool", volumeId);
        if (response.getStoragePool() != null) {
            return get(response.getStoragePool());
        }
        else {
            return null;
        }
    }
View Full Code Here


     * @param volumeId
     *        the ID of the volume.
     * @return the storage pool for the volume.
     */
    public StoragePoolRestRep getByVolume(URI volumeId) {
        RelatedStoragePool response = client.get(RelatedStoragePool.class, PathConstants.BLOCK_VOLUMES_URL
                + "/{volumeId}/storage-pool", volumeId);
        if (response.getStoragePool() != null) {
            return get(response.getStoragePool());
        }
        else {
            return null;
        }
    }
View Full Code Here

TOP

Related Classes of com.emc.storageos.model.block.RelatedStoragePool

Copyright © 2018 www.massapicom. 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.