Skip to content

iectl iehub library copy-product

Copies a product from the IE Hub to a dedicated IEM.

iectl iehub library copy-product [flags]

Synopsis

This command copies products (applications) available in IE Hub library to IEM.

Options

      --product-id string      id of the product to copy [optional]
                               use --product-id instead of --product-name (in case of multiple products using same name --product-name argument will fail to provide a valid response)
      --product-name string    name of the product to copy [optional]
                               not required if --product-id is provided
  -h, --help                   help for copy-product
      --iem-name string        name of the IEM to copy to

Options inherited from parent commands

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

Example

  • copy product to iem using app-id

    iectl iehub library copy-product --app-id "SampleAppID" --iem-name "iemInstanceName"
    
  • copy product to iem using app-name

bash iectl iehub library copy-product --app-name "SampleAppName" --iem-name "iemInstanceName"

SEE ALSO