Microsoft.Search searchServices template reference

Template format

To create a Microsoft.Search/searchServices resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Search/searchServices",
  "apiVersion": "2015-02-28",
  "location": "string",
  "tags": {},
  "properties": {
    "sku": {
      "name": "string"
    },
    "replicaCount": "integer",
    "partitionCount": "integer"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Search/searchServices object

Name Type Required Value
name string Yes The name of the Search service to create or update.
type enum Yes Microsoft.Search/searchServices
apiVersion enum Yes 2015-02-28
location string No The geographic location of the Search service.
tags object No Tags to help categorize the Search service in the Azure Portal.
properties object Yes Properties of the Search service. - SearchServiceProperties object

SearchServiceProperties object

Name Type Required Value
sku object No The SKU of the Search Service, which determines price tier and capacity limits. - Sku object
replicaCount integer No The number of replicas in the Search service. If specified, it must be a value between 1 and 6 inclusive.
partitionCount integer No The number of partitions in the Search service; if specified, it can be 1, 2, 3, 4, 6, or 12.

Sku object

Name Type Required Value
name enum No The SKU of the Search service. - free, standard, standard2

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Azure Cognitive Search service

Deploy to Azure
This template creates an Azure Cognitive Search service
Web App with a SQL Database, Azure Cosmos DB, Azure Search

Deploy to Azure
This template provisions a Web App, a SQL Database, Azure Cosmos DB, Azure Search and Application Insights.