/// <summary>
        /// The following function takes the requested no. of endpoints and returns a
        /// list with corresponding no. of endpoints.
        ///
        /// The function uses the same hardwired endpoint for each entry in the list
        ///
        /// In reality you want to replace this with code that iterates and creates
        /// the required no. of endpoints programmaticaly.
        ///
        /// The relevant code for this can be found here:
        ///
        /// https://github.com/raymondlaghaeian/AML_EndpointMgmt/blob/master/Program.cs
        /// </summary>
        /// <param name="mlEndpoints">List of ML endpoints created</param>
        /// <param name="count">No. of ml endpoints to create</param>
        public static void CreateMLEndpoints(out IList <UpdateResourceEndpoint> mlEndpoints, int count)
        {
            mlEndpoints = new List <UpdateResourceEndpoint>();

            for (int i = 0; i < count; i++)
            {
                UpdateResourceEndpoint endpoint = new UpdateResourceEndpoint();
                endpoint.mlEndpoint = DataFactoryConfig.ScoringEndPoint;
                endpoint.apiKey     = DataFactoryConfig.ScoringApiKey;
                endpoint.updateResourceEndpointUrl = DataFactoryConfig.ScoringUpdateResourceEndPoint;
                ;
                mlEndpoints.Add(endpoint);
            }
        }
        /// <summary>
        /// The following function takes the requested no. of endpoints and returns a
        /// list with corresponding no. of endpoints.
        /// 
        /// The function uses the same hardwired endpoint for each entry in the list
        /// 
        /// In reality you want to replace this with code that iterates and creates
        /// the required no. of endpoints programmaticaly.
        /// 
        /// The relevant code for this can be found here:
        /// 
        /// https://github.com/raymondlaghaeian/AML_EndpointMgmt/blob/master/Program.cs
        /// </summary>
        /// <param name="mlEndpoints">List of ML endpoints created</param>
        /// <param name="count">No. of ml endpoints to create</param>
        public static void CreateMLEndpoints(out IList<UpdateResourceEndpoint> mlEndpoints, int count)
        {
            mlEndpoints = new List<UpdateResourceEndpoint>();

            for (int i = 0; i < count; i++)
            {
                UpdateResourceEndpoint endpoint = new UpdateResourceEndpoint();
                endpoint.mlEndpoint = DataFactoryConfig.ScoringEndPoint;
                endpoint.apiKey = DataFactoryConfig.ScoringApiKey;
                endpoint.updateResourceEndpointUrl = DataFactoryConfig.ScoringUpdateResourceEndPoint;
                ;
                mlEndpoints.Add(endpoint);
            }
        }