# ResourceCommandVisibility

- Kind: `enum`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/ApplicationModel/ResourceCommandVisibility.cs)

Describes where a resource command is visible.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public enum ResourceCommandVisibility
```

## Enum Members

Values can be combined with bitwise OR.
| Name | Value | Description |
| --- | --- | --- |
| None | 0 | The command is not visible to any clients. |
| UI | 1 | The command is displayed in UI clients. |
| Api | 2 | The command is exposed through resource command API discovery. |
