Skip to main content

apic rules:list

List information about the specified Rule of a Ruleset

Synopsis

To list a Rule belonging to a global ruleset you must be logged in as Admin organisation owner. To list a Rule belonging to a custom ruleset, you must be logged in as a Provider organisation owner.

apic rules:list --mode governance [flags]

Possible Usages

      apic rules:list --mode governance [flags] RULE_NAME

Options

      --fields string            List of field names to return
--format string Output format. One of [json yaml octet-stream go-template=... go-template-file=...], defaults to yaml.
--limit int32 Maximum number of items to return
--offset int32 Offset item number from list to begin return
-o, --org string Organization name or id (required)
--output string Write file(s) to directory, instead of STDOUT (default "-")
--ruleset string Ruleset name or id (required)
--ruleset_version string Specify an explicit Ruleset version
-s, --server string management server endpoint (required)

Options inherited from parent commands

      --accept-license        Accept the license for API Connect
--debug Enable debug output
--debug-output string Write debug output to file
--live-help Enable or disable tracking of limited usage information
-m, --mode string Toolkit operation mode (default "apim")