Hi everyone,
i'am looling to mask an EPM object from a c# automation script similar to the UI option that masks the object so that all related alarms (including new ones from the object itself and the children) are masked. The idea is to provide the EPM object by its System Type and System Name, a duration and the masking option.
Can you help me with that ?
Thanks a lot!
Hi Alexandre,
This can be done using the internal MaskLinkedDMAObjectRefTreesThroughTopology SLNet call. I don't have a detailed code example, but this should help you on your way:
MaskLinkedDMAObjectRefTreesThroughTopology(maskInfo, "SystemType", "SystemName")
In the mask info object, you can define the type of masking you want to use, e.g., masking for a specific amount of time.
Note that this is an internal call and we do not recommend using this, as it is not officially supported and we cannot guarantee that it will still work in the future. As a rule, you should avoid using SLNet calls, as these are subject to change without notice. We recommend to instead always use the correct UI or automation options provided in DataMiner Automation or through our web API.