{
“apiVersion”: “2015-08-19”,
“name”: “[variables(‘searchServiceName’)]”,
“type”: “Microsoft.Search/searchServices”,
“location”: “[resourceGroup().location]”,
“sku”: {
“name”: “[toLower(parameters(‘searchSku’))]”
},
“properties”: {
“replicaCount”: “[parameters(‘searchReplicaCount’)]”,
“partitionCount”: “[parameters(‘searchPartitionCount’)]”,
“hostingMode”: “[parameters(‘searchHostingMode’)]”
}
}

 

Syntax to get Admin Key for search service:

[listAdminKeys(resourceId(‘Microsoft.Search/searchServices’, variables(‘SearchServiceName’)), ‘2015-08-19’).primaryKey]

Advertisements