Search code examples
azureazure-cognitive-searchazure-search-.net-sdk

Is it possible to create a new Azure Search Service with Azure Search SDK?


I am writing a admin back end to manage our Azure search stuff and I was wondering if there is a way to use Azure Search SDK to create a new Azure Search Service on Azure portal? I don't see anything in the examples on the official Azure search site.


Solution

  • It is possible to programmatically create Azure Search services in a few different ways:

    1. Azure Search Management SDK
    2. PowerShell
    3. Management REST API
    4. Azure Resource Manager Templates (example)

    Documentation coverage for these is somewhat patchy currently. There are samples for the REST API and .NET Fluent SDK and reference documentation for some of the above.