Method ToCITypeJson
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
ToCITypeJson(IElementConnection, int)
Converts the connection into the JSON Structure expected by IDP's Configuration Item type (CIType).
public static string ToCITypeJson(this IElementConnection connection, int connectionIndex)
Parameters
connectionIElementConnectionThe connection which needs to be converted to a Configuration Item Type.
connectionIndexintZero-based index of the connection in an element.
Returns
- string
JSON string to match CIType.
ToCITypeJson(IVirtualConnection)
Converts the connection into the JSON Structure expected by IDP's Configuration Item type (CIType).
public static string ToCITypeJson(this IVirtualConnection connection)
Parameters
connectionIVirtualConnectionThe connection which needs to be converted to a Configuration Item Type.
Returns
- string
JSON string to match CIType.