public AppDeploymentConfig AddClusterId(string clusterId)
{
if (TargetClusters.Contains(clusterId))
{
throw new InvalidOperationException();
}
var clusterIds = new HashSet<string>(TargetClusters) {clusterId};
return new AppDeploymentConfig(AppIdentity, clusterIds, Properties);
}