rad resource list CLI reference

Details on the rad resource list Radius CLI command

rad resource list

Lists resources

Synopsis

List all resources of specified type

rad resource list [resourceType] [flags]

Examples


sample list of resourceType: Applications.Core/containers, Applications.Core/gateways, Applications.Dapr/daprPubSubBrokers, Applications.Core/extenders, Applications.Datastores/mongoDatabases, Applications.Messaging/rabbitMQMessageQueues, Applications.Datastores/redisCaches, Applications.Datastores/sqlDatabases, Applications.Dapr/daprStateStores, Applications.Dapr/daprSecretStores

# list all resources of a specified type in the default environment

rad resource list Applications.Core/containers
rad resource list Applications.Core/gateways

# list all resources of a specified type in an application
rad resource list Applications.Core/containers --application icecream-store

# list all resources of a specified type in an application (shorthand flag)
rad resource list Applications.Core/containers -a icecream-store

Options

  -a, --application string   The application name
  -g, --group string         The resource group name
  -h, --help                 help for list
  -o, --output string        output format (supported formats are json, table) (default "table")
  -w, --workspace string     The workspace name

Options inherited from parent commands

      --config string   config file (default "$HOME/.rad/config.yaml")

SEE ALSO