Cognitive Search

Overview

This example defines a Cognitive Search service

Cognitive Search Reference

KeyTypeDescription
name (required)stringThe name of the Search Service (see how to name)
sku (required)Search Sku DefinitionThe SKU name to use for this Search Service
replica_count (required)numberThe number of replicas to use (values depend on the sku see chart)
partition_count (required)numberThe number of partitions to use (values depend on the sku see chart)
keyvaultKeyvaultThe Key Vault configuration (defaults to no keyvault config)
@log_analytics_workspace_namestring (reference to a log workspace)The name of the workspace that you want to attach to (defaults to no log integration)
locationstringResource Location (defaults to the resource group location)
externalboolA reference to an existing Search Service (defaults to false)
resource_group_namestringThe name of the resource group where the resource is located, only with external resources (defaults to the resource group of the deployment)
tagsobjectAdditional tags for the resource (defaults to no additional tags)

Search Service Sku

ValueDescription
FreeDefines a Free service bus
BasicDefines a Basic service bus
StandardOneDefines a StandardOne service bus
StandardTwoDefines a StandardTwo service bus
StandardThreeDefines a StandardThree service bus
StorageOptimizedL1Defines a StorageOptimizedL1 service bus
StorageOptimizedL2Defines a StorageOptimizedL2 service bus

SKU limits

Valuereplicapartition
Free00
Basic30
StandardOne1212
StandardTwo1212
StandardThree (hosting_mode: Default)1212
StandardThree (hosting_mode: HighDensity)123
StorageOptimizedL11212
StorageOptimizedL21212

Keyvault Config

KeyTypeDescription
@key_vault_name (required)stringThe name of the Key Vault to use
endpointstringThe name to give to the secret of the service endpoint (defaults to SEARCH_SERVICE_NAME-endpoint)
query_keystringThe name to give to the secret of the Query Key (defaults to SEARCH_SERVICE_NAME-query-key)
admin_keystringThe name to give to the secret of the Admin Key (defaults to SEARCH_SERVICE_NAME-admin-key)