Search in sources :

Example 11 with VolumeGroupCopySetParam

use of com.emc.storageos.model.application.VolumeGroupCopySetParam in project coprhd-controller by CoprHD.

the class GetBlockSnapshotSessionList method executeTask.

@Override
public BlockSnapshotSessionList executeTask() throws Exception {
    VolumeGroupCopySetParam setParam = new VolumeGroupCopySetParam();
    setParam.setCopySetName(copySet);
    return getClient().application().getVolumeGroupSnapshotSessionsByCopySet(applicationId, setParam);
}
Also used : VolumeGroupCopySetParam(com.emc.storageos.model.application.VolumeGroupCopySetParam)

Example 12 with VolumeGroupCopySetParam

use of com.emc.storageos.model.application.VolumeGroupCopySetParam in project coprhd-controller by CoprHD.

the class GetFullCopyList method executeTask.

@Override
public NamedVolumesList executeTask() throws Exception {
    VolumeGroupCopySetParam setParam = new VolumeGroupCopySetParam();
    setParam.setCopySetName(copySet);
    return getClient().application().getVolumeGroupFullCopiesForSet(applicationId, setParam);
}
Also used : VolumeGroupCopySetParam(com.emc.storageos.model.application.VolumeGroupCopySetParam)

Example 13 with VolumeGroupCopySetParam

use of com.emc.storageos.model.application.VolumeGroupCopySetParam in project coprhd-controller by CoprHD.

the class AppSupportUtil method getVolumeGroupFullCopiesForSet.

public static List<NamedRelatedResourceRep> getVolumeGroupFullCopiesForSet(String id, String copySets) {
    VolumeGroupCopySetParam getSetsForCopies = new VolumeGroupCopySetParam();
    getSetsForCopies.setCopySetName(copySets);
    return BourneUtil.getViprClient().application().getVolumeGroupFullCopiesForSet(uri(id), getSetsForCopies).getVolumes();
}
Also used : VolumeGroupCopySetParam(com.emc.storageos.model.application.VolumeGroupCopySetParam)

Aggregations

VolumeGroupCopySetParam (com.emc.storageos.model.application.VolumeGroupCopySetParam)13 NamedRelatedResourceRep (com.emc.storageos.model.NamedRelatedResourceRep)5 BlockSnapshotRestRep (com.emc.storageos.model.block.BlockSnapshotRestRep)4 BlockSnapshotSessionList (com.emc.storageos.model.block.BlockSnapshotSessionList)4 BlockSnapshotSessionRestRep (com.emc.storageos.model.block.BlockSnapshotSessionRestRep)4 VolumeRestRep (com.emc.storageos.model.block.VolumeRestRep)4 NamedVolumesList (com.emc.storageos.model.block.NamedVolumesList)3 Asset (com.emc.sa.asset.annotation.Asset)2 AssetDependencies (com.emc.sa.asset.annotation.AssetDependencies)2 RelatedResourceRep (com.emc.storageos.model.RelatedResourceRep)2 SnapshotList (com.emc.storageos.model.SnapshotList)2 VirtualArrayRelatedResourceRep (com.emc.storageos.model.VirtualArrayRelatedResourceRep)2 ArrayList (java.util.ArrayList)2 HashSet (java.util.HashSet)2 ViPRCoreClient (com.emc.vipr.client.ViPRCoreClient)1