Interface IDmsService
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
DataMiner service interface.
public interface IDmsService : IDmsObject, IUpdateable
- Inherited Members
- Extension Methods
Properties
- AdvancedSettings
Gets the advanced settings of this service.
- AgentId
Gets the DataMiner Agent ID.
- Description
Gets or sets the service description.
- DmsServiceId
Gets the system-wide service ID of the service.
- Host
Gets the DataMiner Agent that hosts this service.
- Id
Gets the service ID.
- Name
Gets or sets the service name.
- ParameterSettings
Gets the parameter settings of this service.
- Properties
Gets the properties of this service.
- ReplicationSettings
Gets the replication settings.
- Views
Gets the views the service is part of.
Methods
- Delete()
Deletes the service.
- Duplicate(string, IDma)
Duplicates the service.
- GetState()
Gets the state of the service.
- StartAlarmLevelMonitor(string, Action<ServiceAlarmLevelChange>)
Starts monitoring alarm level changes for a specific service. Every change triggers the specified
onChangeaction.
- StartAlarmLevelMonitor(string, Action<ServiceAlarmLevelChange>, TimeSpan)
Starts monitoring alarm changes. Every change will perform the onChange action. Important: do not use SLProtocol in the provided action.
- StartStateMonitor(string, Action<ServiceStateChange>)
Starts monitoring service state changes using the default timeout.
- StartStateMonitor(string, Action<ServiceStateChange>, TimeSpan)
Starts monitoring state changes for a specific service. Every change triggers the specified
onChangeaction.
- StopAlarmLevelMonitor(string, bool)
Stops the specified monitor for a given service, using the default timeout.
- StopAlarmLevelMonitor(string, TimeSpan, bool)
Stops the specified monitor for a given service.
- StopStateMonitor(string, bool)
Stops the specified monitor for a given service, using the default timeout.
- StopStateMonitor(string, TimeSpan, bool)
Stops the specified monitor for a given service.