Skip to content

Commit b442506

Browse files
Addressed issues with Azure SQL MI indexer docs
1 parent e138f3b commit b442506

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

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

Lines changed: 5 additions & 6 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

@@ -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; Initial Catalog=;Persist Security Info=false; User ID=<your user name>; Password=<your password>;MultipleActiveResultsSets=False; Encrypt=True;Connection Timeout=30;"
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)