Back to Azure Resource templates index <–
![]()
Azure Search service
Template Locations
Infrastructure As Code Advisor (Beta)
WAF-compliance
The WAF-compliance advisor validates templates based on the Well Architected Framework practices. Every day a GitHub Action updates the templates compliance data and lists the recomendations.
Sustainbility Advisor
The sustainability advisor is based on the Sogeti Cloud Reference Architecture with sustainble practices. These sustainble practices cover application code, cloud infrastructures and data. The global Sogeti community is continously evolving the sustainble practices and every day new and tuned are added. For cloud infrastructures the sustainble practices are automatically validated and reported below.
note: when 100% it can be that there is no sustainble practices yet for this Cloud infrastructure.
Online documentation
Template reference
Service description
Requirements
- Resource group must been created with a valid name and location.
Input values
- tagBillingIdentifier: Cost Center.
- assSkuName: The SKU of the search service you want to create. E.g. free or standard
- assReplicaCount: Replicas distribute search workloads across the service. You need 2 or more to support high availability (applies to Basic and Standard only).
- assPartitionCount:Partitions allow for scaling of document count as well as faster indexing by sharding your index over multiple Azure Search units.
- assHostingMode:Applicable only for SKU set to standard3. You can set this property to enable a single, high density partition that allows up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU.
Output values
- assName
- assResourceId
- PrimaryKey
Additional information
Put the PrimaryKey in the keyvault for usages by applications.
Compliance Advisor details
Resource Health Result
| Message | ResourceType | Severity |
|---|---|---|
| Location for the resource should not be hardcoded, it should be parameterized and should refer from Resource Group's location i.e. [resourceGroup().location] | Microsoft.Search/searchServices | 2 |
| Your current API Version i.e.2020-03-13 for the resource Microsoft.Search/searchServices is outdatedconsider updating to new recent version available i.e. 2022-09-01 or 2021-06-06-Preview | Microsoft.Search/searchServices | 2 |
| It is recommended to use below property for your resource Microsoft.Search/searchServices { "publicNetworkAccess": "disabled" }Ensure Azure Cognitive Search disables public network access | Microsoft.Search/searchServices | 1 |
| To help other contributors understand the purpose of the resource, specify comments for each resource in the template | Microsoft.Search/searchServices | 1 |
| Diagnostic logs in Search services should be enabled | Microsoft.Search/searchServices | 1 |
TemplateParameterHealthResult
| Message | Severity |
|---|---|
| It is recommended to make your parameter as camel case, wherever possible for i.e. tagsRead More | 1 |
| Define default values for parameters that aren't sensitive. By specifying a default value, it's easier to deploy the template, and users of your template see an example of an appropriate value i.e. customNameRead More | 1 |
TemplateVariableHealthResult
| Message | Severity |
|---|---|
| It is recommended to make your variable as camel case, wherever possible for e.g. environmentRead More | 1 |
| It is recommended to make your variable as camel case, wherever possible for e.g. nameRead More | 1 |