Microsoft.Search searchServices 2015-02-28

Bicep resource definition

The searchServices resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Search/searchServices resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Search/searchServices@2015-02-28' = {
  location: 'string'
  name: 'string'
  properties: {
    partitionCount: int
    replicaCount: int
    sku: {
      name: 'string'
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

Property values

Microsoft.Search/searchServices

Name Description Value
location The geographic location of the Search service. string
name The resource name string (required)
properties Properties of the Search service. SearchServiceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

SearchServiceCreateOrUpdateParametersTags

Name Description Value

SearchServiceProperties

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

Sku

Name Description Value
name The SKU of the Search service. 'free'
'standard'
'standard2'

Quickstart samples

The following quickstart samples deploy this resource type.

Bicep File Description
Azure AI Studio Network Restricted This set of templates demonstrates how to set up Azure AI Studio with private link and egress disabled, using Microsoft-managed keys for encryption and Microsoft-managed identity configuration for the AI resource.
Azure Cognitive Search service This template creates an Azure Cognitive Search service

ARM template resource definition

The searchServices resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

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

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

Property values

Microsoft.Search/searchServices

Name Description Value
apiVersion The api version '2015-02-28'
location The geographic location of the Search service. string
name The resource name string (required)
properties Properties of the Search service. SearchServiceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Search/searchServices'

SearchServiceCreateOrUpdateParametersTags

Name Description Value

SearchServiceProperties

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

Sku

Name Description Value
name The SKU of the Search service. 'free'
'standard'
'standard2'

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Azure AI Studio Network Restricted

Deploy to Azure
This set of templates demonstrates how to set up Azure AI Studio with private link and egress disabled, using Microsoft-managed keys for encryption and Microsoft-managed identity configuration for the AI resource.
Azure Cognitive Search service

Deploy to Azure
This template creates an Azure Cognitive Search service
Azure Cognitive Search service with private endpoint

Deploy to Azure
This template creates an Azure Cognitive Search service with a private endpoint.
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.

Terraform (AzAPI provider) resource definition

The searchServices resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Search/searchServices resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Search/searchServices@2015-02-28"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      partitionCount = int
      replicaCount = int
      sku = {
        name = "string"
      }
    }
  })
}

Property values

Microsoft.Search/searchServices

Name Description Value
location The geographic location of the Search service. string
name The resource name string (required)
properties Properties of the Search service. SearchServiceProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Search/searchServices@2015-02-28"

SearchServiceCreateOrUpdateParametersTags

Name Description Value

SearchServiceProperties

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

Sku

Name Description Value
name The SKU of the Search service. 'free'
'standard'
'standard2'