update_mda_properties

Updates the specified property names with the provided values. Updates are performed only if the specified property name exists in the repository. If the property does not exist in the repository, the property will not be inserted.

Format

emcli update_mda_properties  [-props="<list of property names and values>"]   [-separator=props="separator_for_properties"]   [-subseparator='props="separator_between_name_value_pair_for_properties"]

[ ] indicates that the parameter is optional.

Options

  • props

    Provides a delimited list of property names and values. The default delimiter is ';'.

  • separator

    Provides the separator used for individual property and value pairs.

  • subseparator

    Provides the sub-separator used between the property and it's value.

Examples

Example 1

The following command updates multiple properties:

emcli update_mda_properties
   -props="prop1:val1;prop2:val2"

Example 2

The following command updates multiple properties with a custom separator and sub-separator:

emcli update_mda_properties
  -props="prop1=val1:prop2=val2"
  -separator='props=:'
  -subseparator='props=='