Table of Contents

Class ProfileManagerHelper

Namespace
Skyline.DataMiner.Net.Profiles
Assembly
SLNetTypes.dll

Represents a helper for interacting with Profile Manager.

[Serializable]
[Obsolete("Please use the new ProfileHelper instead.")]
public class ProfileManagerHelper
Inheritance
ProfileManagerHelper
Extension Methods

Remarks

This class has become obsolete with the introduction of the ProfileHelper class in DataMiner 10.0.8 (RN 25515). Please use the new ProfileHelper class instead.

Constructors

ProfileManagerHelper()

Initializes a new instance of the ProfileManagerHelper class.

ProfileManagerHelper(bool)
ProfileManagerHelper(Dictionary<Guid, Parameter>, Dictionary<Guid, ProfileDefinition>, Dictionary<Guid, ProfileInstance>)
ProfileManagerHelper(EventHandler<IManagerRequestResponseEventArgs>)

Initializes a new instance of the ProfileManagerHelper class using the specified event handler.

ProfileManagerHelper(Func<DMSMessage[], DMSMessage[]>)

Initializes a new instance of the ProfileManagerHelper class using the specified message callback.

Properties

Config

Gets the Profile Manager configuration CRUD helper.

HandleEventsAsync
HandleEventsInBackgroundThread
MediationSnippets

Gets the mediation snippet CRUD helper.

ServiceProfileDefinitions

Gets the service profile definitions CRUD helper.

ServiceProfileInstances

Gets the service profile definitions CRUD helper.

UseCaching

Gets or sets a value indicating whether to use caching.

Methods

AddOrUpdateParameter(Parameter)

Adds or updates the specified profile parameter.

AddOrUpdateParameters(params Parameter[])

Adds or updates the specified profile parameters.

AddOrUpdateProfileDefinition(ProfileDefinition)

Adds or updates the specified profile definition.

AddOrUpdateProfileDefinitions(params ProfileDefinition[])

Adds or updates the specified profile definitions.

AddOrUpdateProfileInstance(ProfileInstance)

Adds or updates the specified profile instance.

AddOrUpdateProfileInstances(params ProfileInstance[])

Adds or updates the specified profile instances.

Export(List<Guid>)

Exports the Parameters with the given ids together with any MediationSnippet these parameters are linked to.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

GetParameter(Guid)

Retrieves the parameter with the specified ID.

GetParameters(GetProfileManagerParameterMessage, object)

Retrieves parameters using the message.

GetParameters(params Parameter[])

Retrieves the profile parameters matching any of the specified filters.

GetParametersFromServer(FilterElement<Parameter>)

Retrieves the parameters from the server matching the specified filter.

GetParametersFromServer(params Parameter[])

Retrieves the parameters from the server matching the specified filters.

GetParametersWithFilter(FilterElement<Parameter>)

Retrieves the profile parameters matching the specified filter.

GetProfileDefinition(Guid)

Retrieves the profile definition with the specified ID.

GetProfileDefinitions(GetProfileDefinitionMessage, object)

Retrieves ProfileDefinition , using a Message as input.

GetProfileDefinitions(params ProfileDefinition[])

Retrieves the profile definitions matching any of the specified filters.

GetProfileDefinitionsFromServer(FilterElement<ProfileDefinition>)

Retrieves the profile definitions from the server matching the specified filters.

GetProfileDefinitionsFromServer(params ProfileDefinition[])

Retrieves the profile definitions from the server matching the specified filters.

GetProfileDefinitionsWithFilter(FilterElement<ProfileDefinition>)

Retrieves the profile definitions matching the specified filter.

GetProfileInstance(Guid)

Retrieves the profile instance with the specified ID.

GetProfileInstances(GetProfileInstanceMessage, object)

Retrieve ProfileInstances, using a Message as input

GetProfileInstances(params ProfileInstance[])

Retrieves the profile instances matching any of the specified filters.

GetProfileInstancesFromServer(FilterElement<ProfileInstance>)

Retrieves the profile instances form the server matching the specified filter.

GetProfileInstancesFromServer(params ProfileInstance[])

Retrieves the profile instances form the server matching the specified filters.

GetProfileInstancesWithFilter(FilterElement<ProfileInstance>)

Retrieves the profile instances matching the specified filter.

GetTraceDataLastCall()

Retrieves the trace data of the last call.

Import(byte[])

Imports the Parameter in the passed file.

InnerSetParameters(IEnumerable<Parameter>, ref bool, bool)
InnerSetProfileInstances(IEnumerable<ProfileInstance>, ref bool, bool)
IsInitialized()

Returns a value indicating whether this profile manager helper is initialized.

RemoveParameters(params Parameter[])

Removes the specified profile parameters.

RemoveParameters(out string, params Parameter[])

Removes the specified profile parameters.

RemoveProfileDefinitions(params ProfileDefinition[])

Removes the specified profile definitions.

RemoveProfileDefinitions(out string, params ProfileDefinition[])

Removes the specified profile definitions.

RemoveProfileInstances(params ProfileInstance[])

Removes the specified profile instances.

RemoveProfileInstances(out string, params ProfileInstance[])

Removes the specified profile instances.

SetParameters(SetProfileManagerParameterMessage)

Adds or edits the specified profile parameter.

SetParameters(IEnumerable<Parameter>, ref bool, bool)

Adds or edits the specified profile parameters.

SetParameters(out string, params Parameter[])

Adds or edits the specified profile parameters.

SetParametersOnServer(IEnumerable<Parameter>, ref bool, bool)
SetProfileDefinitions(SetProfileDefinitionMessage)

Adds or edits the specified profile definitions.

SetProfileDefinitions(IEnumerable<ProfileDefinition>, ref bool, bool)

Adds or edits the specified profile definitions.

SetProfileDefinitions(out string, params ProfileDefinition[])

Adds or edits the specified profile definitions.

SetProfileDefinitionsOnServer(IEnumerable<ProfileDefinition>, ref bool, bool, bool, object)

Adds or edits the specified profile definitions.

SetProfileInstances(SetProfileInstanceMessage)
SetProfileInstances(IEnumerable<ProfileInstance>, ref bool, bool)

Adds or edits the specified profile instances.

SetProfileInstances(out string, params ProfileInstance[])

Adds or edits the specified profile instances.

SetProfileInstancesOnServer(IEnumerable<ProfileInstance>, ref bool, bool, bool, bool)
UpdateAndApplyProfileInstance(ProfileInstance, bool)

If this call is used, the ByReference MultiResourceCapacityUsage and ResourceCapabilityUsage of the ReservationInstances will be updated with the values from the ProfileInstance. If there are conflicting changes in usage, other ReservationInstance will be quarantined if conflictsToQuarantine is set to true. If conflictsToQuarantine is set to false, then the reservationInstances that would be quarantined are returned instead.

Events

LoggingEvent

Occurs when an error or notification should get logged.

RequestResponseEvent

Occurs when the Helper wants to send a message to the server and expects a response.

SendEvent