Search in sources :

Example 1 with CustomConfigCreateParam

use of com.emc.storageos.model.customconfig.CustomConfigCreateParam in project coprhd-controller by CoprHD.

the class CustomConfigUtils method createCustomConfig.

public static CustomConfigRestRep createCustomConfig(String configType, String scopeType, String scopeValue, String value) {
    ScopeParam scope = new ScopeParam();
    scope.setType(scopeType);
    scope.setValue(scopeValue);
    CustomConfigCreateParam param = new CustomConfigCreateParam();
    param.setConfigType(configType);
    param.setScope(scope);
    param.setValue(value);
    return getViprClient().customConfigs().createCustomConfig(param);
}
Also used : ScopeParam(com.emc.storageos.model.customconfig.ScopeParam) CustomConfigCreateParam(com.emc.storageos.model.customconfig.CustomConfigCreateParam)

Aggregations

CustomConfigCreateParam (com.emc.storageos.model.customconfig.CustomConfigCreateParam)1 ScopeParam (com.emc.storageos.model.customconfig.ScopeParam)1