Highlighted
tbriet Super Contributor.
Super Contributor.
138 views

OBM Is it possible to modify policy parameter with an API

Hi,

we need to change AWS Key each 3 months and we want to automate that.

Is there an API to do that

BR

Thomas

 

 

Labels (1)
0 Likes
1 Reply
Outstanding Contributor.. andreask Outstanding Contributor..
Outstanding Contributor..

Re: OBM Is it possible to modify policy parameter with an API

Check this:

https://docs.microfocus.com/itom/Operations_Bridge_Manager:2019.05/CliMaWorkflow

  1. opr-assign -get_draft_assignment_for_aspect -ci_id <myNodeID> -name myAspect -output <XMLdraftFile> -format xml
  2. Edit the <XMLdraftFile>, for example by changing parameter values.    <<<<<<<<<Thats what you looking for
  3. opr-assign -create_assignment -input <XMLdraftFile>

If you make more complex changes to the parameter value settings, use the steps above individually. More complex changes are, for example, setting a dependent parameter value of an instance parameter, or adding a complete instance to an instance parameter.

 

Good Luck!

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.