Skip to content

Instantly share code, notes, and snippets.

@beachside-project
Created February 26, 2021 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beachside-project/3ef4e8d31efc350d84984abef5154859 to your computer and use it in GitHub Desktop.
Save beachside-project/3ef4e8d31efc350d84984abef5154859 to your computer and use it in GitHub Desktop.
Cognitive Search client factory sample - options
using System;
namespace SerializerCustomizeSamples
{
public class CognitiveSearchOptions
{
public Uri SearchEndpointUri => new Uri(SearchEndpoint);
public string SearchEndpoint { get; set; }
public string AdminApiKey { get; set; }
public string IndexName { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment