public UserPermission GetFirstUserPermission()
 {
     return(EnvironmentResourceGroup
            .Concat(Batch)
            .Concat(Storage)
            .Concat(KeyVault)
            .Concat(ApplicationInsights)
            .Concat(VNet)
            .FirstOrDefault());
 }
 public IEnumerable <string> GetUserObjectIds()
 {
     return(EnvironmentResourceGroup
            .Concat(Batch)
            .Concat(Storage)
            .Concat(KeyVault)
            .Concat(ApplicationInsights)
            .Concat(VNet)
            .Select(p => p.ObjectId)
            .ToHashSet());
 }