Usage
monid resources list [-p <provider>] [-t <resource-type>] [-s <state>] [-l <limit>] [--cursor <cursor>] [--json]
Flags
| Flag | Type | Required | Description |
|---|---|---|---|
-p, --provider <provider> | string | No | Filter by provider slug |
-t, --resource-type <resourceType> | string | No | Filter by resource type (requires —provider) |
-s, --state <state> | string | No | Filter by lifecycle state |
-l, --limit <limit> | number | No | Maximum number of resources to list |
--cursor <cursor> | string | No | Pagination cursor |
-j, --json | boolean | No | Output as JSON |
Examples
# List all resources
monid resources list
# Filter by provider
monid resources list -p pdl
# Filter by provider and resource type
monid resources list -p pdl -t enrichment
# Filter by state
monid resources list -s active
# Paginate with a limit
monid resources list -l 10