Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.4

cache get

cache get

retrieves data from the DAS cache

Synopsis

cache get returns data from the DAS cache matching the provided model and ID using the specified database (DB). If no DB is specified, FCM_default is used. The --model and --id flags are mandatory and the user must specify them.

cache get [flags]

Options

      --db string      The name of the DB to connect to. Must be prefixed with fcm_ for vdom dbs
      --format         Prints the response json in pretty format
  -h, --help           help for get
      --id string      The ID of the object to retrieve from the DAS cache
      --model string   The name of the DAS model (generic, fct, users, devices) to query

See also

  • cache - for querying the contents of the DAS cache

cache get

cache get

retrieves data from the DAS cache

Synopsis

cache get returns data from the DAS cache matching the provided model and ID using the specified database (DB). If no DB is specified, FCM_default is used. The --model and --id flags are mandatory and the user must specify them.

cache get [flags]

Options

      --db string      The name of the DB to connect to. Must be prefixed with fcm_ for vdom dbs
      --format         Prints the response json in pretty format
  -h, --help           help for get
      --id string      The ID of the object to retrieve from the DAS cache
      --model string   The name of the DAS model (generic, fct, users, devices) to query

See also

  • cache - for querying the contents of the DAS cache