Today, if you want to create a resource, but don't want it shown in the dashboard, you need to write the following:
return builder.AddResource(resource)
.WithInitialState(new()
{
ResourceType = nameof(SomeResource),
Properties = [],
IsHidden = true // hidden from the dashboard
});
We should consider making a public API that does this - similar to .ExcludeFromManifest(), but instead .ExcludeFromDashboard().