Skip to content

iectl iem-v2 device create

Create a new Edge Device

Synopsis

This method creates an Edge Device on IEM with the given configuration. It returns a JSON string which can be used for onboarding the Edge Device.

iectl iem-v2 device create [flags]

Options

      --body string   The device configuration object including device type, network settings, credentials, and onboarding parameters required to create and register an Edge Device on IEM.
  -d, --data string   use this flag for passing data via json or as datafile with @filename
  -h, --help          help for create

Options inherited from parent commands

  -o, --output string   output format
  -q, --query string    query on result of object
  -v, --verbose         verbose output

Example

$ iectl iem-v2 device create --data @SampleFilename.json

SEE ALSO