Search in sources :

Example 1 with VcenterClusterParam

use of com.emc.storageos.model.compute.VcenterClusterParam in project coprhd-controller by CoprHD.

the class CreateVcenterCluster method doExecute.

@Override
public Task<VcenterDataCenterRestRep> doExecute() throws Exception {
    VcenterClusterParam clusterParam = new VcenterClusterParam(cluster);
    Task<VcenterDataCenterRestRep> task = getClient().vcenterDataCenters().createVcenterCluster(datacenter, clusterParam);
    return task;
}
Also used : VcenterDataCenterRestRep(com.emc.storageos.model.host.vcenter.VcenterDataCenterRestRep) VcenterClusterParam(com.emc.storageos.model.compute.VcenterClusterParam)

Example 2 with VcenterClusterParam

use of com.emc.storageos.model.compute.VcenterClusterParam in project coprhd-controller by CoprHD.

the class UpdateVcenterCluster method doExecute.

@Override
public Task<VcenterDataCenterRestRep> doExecute() throws Exception {
    VcenterClusterParam clusterParam = new VcenterClusterParam(cluster);
    Task<VcenterDataCenterRestRep> task = getClient().vcenterDataCenters().updateVcenterCluster(datacenter, clusterParam);
    return task;
}
Also used : VcenterDataCenterRestRep(com.emc.storageos.model.host.vcenter.VcenterDataCenterRestRep) VcenterClusterParam(com.emc.storageos.model.compute.VcenterClusterParam)

Aggregations

VcenterClusterParam (com.emc.storageos.model.compute.VcenterClusterParam)2 VcenterDataCenterRestRep (com.emc.storageos.model.host.vcenter.VcenterDataCenterRestRep)2