# ResourceCommandState

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `enum`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

The state of a resource command.

## Definition

```go
type ResourceCommandState string

const (
    ResourceCommandStateEnabled  ResourceCommandState = "Enabled"
    ResourceCommandStateDisabled ResourceCommandState = "Disabled"
    ResourceCommandStateHidden   ResourceCommandState = "Hidden"
)
```

## Values

- `ResourceCommandStateEnabled` = `"Enabled"` -- Command is visible and enabled for use.
- `ResourceCommandStateDisabled` = `"Disabled"` -- Command is visible and disabled for use.
- `ResourceCommandStateHidden` = `"Hidden"` -- Command is hidden.
