/// <summary> /// This method creates new Data source /// </summary> /// <param name="resourceGroupName">Resource group name.</param> /// <param name="resourceName">Resource name.</param> /// <param name="dataSourceInput">Data source input</param> /// <param name="dataSourceName">data source name</param> internal bool CreateDataSource(string resourceGroupName, string resourceName, DataSourceInput dataSourceInput, string dataSourceName, out string message) { // Create a payload to make the call to create data source. string json = JsonConvert.SerializeObject(dataSourceInput); return(_serviceHelper.CreateDataStore(resourceGroupName, resourceName, json, dataSourceName, out message)); }