get_config_onetimecomparisons

Retrieves all one-time comparisons from the repository.

Format

emcli get_config_onetimecomparisons  
      [-name="<comparison_name>"] 
      [-template_name="<template_name>"] 
      [-ref_target_name="<target_name>"]

[ ]  indicates that the parameter is optional.

Options

  • name

    Name of the saved one-time comparison.

  • template_name

    Template name of the saved one-time comparison.

  • ref_target_name

    Reference target name of the saved one-time comparison.

Examples

Example 1

The following example retrieves all the saved one-time comparisons from the repository with template name "default template".

emcli get_config_onetimecomparisons 
      -template_name="default template"

Example 2

The following example retrieves all the saved one-time comparisons from the repository with the reference target name "host.example.com".

emcli get_config_onetimecomparisons 
      -ref_target_name="host.example.com"