Skip to content
DocsTry Aspire
DocsTry

ResourceCommandVisibility

Enumnet8.0
📦 Aspire.Hosting v13.4.0
Describes where a resource command is visible.
namespace Aspire.Hosting.ApplicationModel;
public enum ResourceCommandVisibility

[Flags] Values can be combined with bitwise OR.

None= 0
The command is not visible to any clients.
UI= 10x1
The command is displayed in UI clients.
Api= 20x2
The command is exposed through resource command API discovery.