Skip to content

Commit 01f7bea

Browse files
Merge pull request #803 from KatieMacalintal/sql-mi-indexer
Updated Azure SQL MI Indexer Documentation
2 parents 790eb4e + 436cf70 commit 01f7bea

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

articles/search/search-indexer-how-to-access-private-sql.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.date: 05/23/2024
1414

1515
This article explains how to configure an indexer in Azure AI Search for a private connection to a SQL managed instance that runs within a virtual network. The private connection is through a [shared private link](search-indexer-howto-access-private.md) and Azure Private Link.
1616

17-
On a private connection to a managed instance, the fully qualified domain name (FQDN) of the instance must include the [DNS Zone](/azure/azure-sql/managed-instance/connectivity-architecture-overview#virtual-cluster-connectivity-architecture). Currently, only the Azure AI Search Management REST API provides a `resourceRegion` parameter for accepting the DNS zone specification.
17+
On a private connection to a managed instance, the fully qualified domain name (FQDN) of the instance must include the [DNS Zone](/azure/azure-sql/managed-instance/connectivity-architecture-overview#virtual-cluster-connectivity-architecture). Currently, only the Azure AI Search Management REST API provides a `dnsZonePrefix` parameter for accepting the DNS zone specification.
1818

1919
Although you can call the Management REST API directly, it's easier to use the Azure CLI `az rest` module to send Management REST API calls from a command line. This article uses the Azure CLI with REST to set up the private link.
2020

@@ -57,7 +57,7 @@ For more information about connection properties, see [Create an Azure SQL Manag
5757
"name": "{{shared-private-link-name}}",
5858
"properties": {
5959
"privateLinkResourceId": "/subscriptions/{{target-resource-subscription-ID}}/resourceGroups/{{target-resource-rg}}/providers/Microsoft.Sql/managedInstances/{{target-resource-name}}",
60-
"resourceRegion": "a1b22c333d44",
60+
"dnsZonePrefix": "a1b22c333d44",
6161
"groupId": "managedInstance",
6262
"requestMessage": "please approve",
6363
}
@@ -66,7 +66,7 @@ For more information about connection properties, see [Create an Azure SQL Manag
6666

6767
1. Provide a meaningful name for the shared private link. The shared private link appears alongside other private endpoints. A name like "shared-private-link-for-search" can remind you how it's used.
6868

69-
1. Paste in the DNS zone name in "resourceRegion" that you retrieved in an earlier step.
69+
1. Paste in the DNS zone name in "dnsZonePrefix" that you retrieved in an earlier step.
7070

7171
1. Edit the "privateLinkResourceId" to reflect the private endpoint of your managed instance. Provide the subscription ID, resource group name, and object name of the managed instance.
7272

@@ -128,7 +128,7 @@ This article assumes a [REST client](search-get-started-rest.md) and uses the RE
128128

129129
1. [Create the data source definition](search-howto-connecting-azure-sql-database-to-azure-search-using-indexers.md) as you would normally for Azure SQL. The format of the connection string is slightly different for a managed instance, but other properties are the same as if you were configuring a data source connection to Azure SQL database.
130130

131-
Provide the connection string that you copied earlier.
131+
Provide the connection string that you copied earlier with an Initial Catalog specified.
132132

133133
```http
134134
POST https://myservice.search.windows.net/datasources?api-version=2024-07-01
@@ -139,16 +139,15 @@ This article assumes a [REST client](search-get-started-rest.md) and uses the RE
139139
"description" : "A database for testing Azure AI Search indexes.",
140140
"type" : "azuresql",
141141
"credentials" : {
142-
"connectionString" : "Server=tcp:contoso.public.0000000000.database.windows.net,1433; Persist Security Info=false; User ID=<your user name>; Password=<your password>;MultipleActiveResultsSets=False; Encrypt=True;Connection Timeout=30;"
142+
"connectionString" : "Server=tcp:contoso.public.0000000000.database.windows.net,1433;Persist Security Info=false; User ID=<your user name>; Password=<your password>;MultipleActiveResultsSets=False; Encrypt=True;Connection Timeout=30;Initial Catalog=<your database name>"
143143
},
144144
"container" : {
145145
"name" : "Name of table or view to index",
146146
"query" : null (not supported in the Azure SQL indexer)
147147
},
148148
"dataChangeDetectionPolicy": null,
149149
"dataDeletionDetectionPolicy": null,
150-
"encryptionKey": null,
151-
"identity": null
150+
"encryptionKey": null
152151
}
153152
```
154153

0 commit comments

Comments
 (0)