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
connection
IElementConnectionThe connection which needs to be converted to a Configuration Item Type.
connectionIndex
intZero-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
connection
IVirtualConnectionThe connection which needs to be converted to a Configuration Item Type.
Returns
- string
JSON string to match CIType.