Skip to content

Commit 66fc403

Browse files
committed
consistency pass
1 parent ca00ffe commit 66fc403

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ Although you can call the Management REST API directly, it's easier to use the A
3838
3939
## 1 - Retrieve connection information
4040

41-
Retrieve the FQDN of the managed instance, including the DNS zone. The DNS zone is part of the domain name of the SQL Managed Instance. For example, if the FQDN of the SQL Managed Instance is `my-sql-managed-instance.00000000000.database.windows.net`, the DNS zone is `00000000000`.
41+
In this section, get the DNS zone from the host name and a connection string.
4242

4343
1. In Azure portal, find the SQL managed instance object.
4444

45-
1. On the **Overview** tab, locate the Host property. Copy the DNS zone portion of the FQDN for the next step.
45+
1. On the **Overview** tab, locate the Host property. Copy the *DNS zone* portion of the FQDN for the next step. The DNS zone is part of the domain name of the SQL Managed Instance. For example, if the FQDN of the SQL Managed Instance is `my-sql-managed-instance.a1b22c333d44.database.windows.net`, the DNS zone is `a1b22c333d44`.
4646

4747
1. On the **Connection strings** tab, copy the ADO.NET connection string for a later step. It's needed for the data source connection when testing the private connection.
4848

@@ -64,11 +64,11 @@ For more information about connection properties, see [Create an Azure SQL Manag
6464
}
6565
```
6666

67-
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.
67+
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 "dnsZonePrefix" that you retrieved in an earlier step.
69+
Paste in the DNS zone name in "dnsZonePrefix" that you retrieved in an earlier step.
7070

71-
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.
71+
Edit the "privateLinkResourceId", substitute valid for values for the placeholders. Provide a valid subscription ID, resource group name, and managed instance name.
7272

7373
1. Save the file locally as *create-pe.json* (or use another name, remembering to update the Azure CLI syntax in the next step).
7474

@@ -84,7 +84,7 @@ For more information about connection properties, see [Create an Azure SQL Manag
8484

8585
1. Call the `az rest` command to use the [Management REST API](/rest/api/searchmanagement) of Azure AI Search.
8686

87-
Because shared private link support for SQL managed instances is still in preview, you need a preview version of the REST API. Use `2021-04-01-preview` or a later preview API version for this step. We recommend using the latest preview API version.
87+
Because shared private link support for SQL managed instances is still in preview, you need a preview version of the management REST API. Use `2021-04-01-preview` or a later preview API version for this step. We recommend using the latest preview API version.
8888

8989
```azurecli
9090
az rest --method put --uri https://management.azure.com/subscriptions/{{search-service-subscription-ID}}/resourceGroups/{{search service-resource-group}}/providers/Microsoft.Search/searchServices/{{search-service-name}}/sharedPrivateLinkResources/{{shared-private-link-name}}?api-version=2024-06-01-preview --body @create-pe.json
@@ -124,7 +124,7 @@ You can now configure an indexer and its data source to use an outbound private
124124

125125
This article assumes a [REST client](search-get-started-rest.md) and uses the REST APIs.
126126

127-
1. [Create the data source definition](search-how-to-index-sql-database.md) as you would normally for Azure SQL. A managed instance listens on port 3342, but other properties are similar to Azure SQL database.
127+
1. [Create the data source definition](search-how-to-index-sql-database.md) as you would normally for Azure SQL. By default, a managed instance listens on port 3342, but on a virtual network it listens on 1433.
128128

129129
Provide the connection string that you copied earlier with an Initial Catalog specified.
130130

@@ -137,7 +137,7 @@ This article assumes a [REST client](search-get-started-rest.md) and uses the RE
137137
"description" : "A database for testing Azure AI Search indexes.",
138138
"type" : "azuresql",
139139
"credentials" : {
140-
"connectionString" : "Server=tcp:contoso.0000000000.database.windows.net,3342;Persist Security Info=false; User ID=<your user name>; Password=<your password>;MultipleActiveResultsSets=False; Encrypt=True;Connection Timeout=30;Initial Catalog=<your database name>"
140+
"connectionString" : "Server=tcp:contoso.a1b22c333d44.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>"
141141
},
142142
"container" : {
143143
"name" : "Name of table or view to index",
@@ -180,7 +180,7 @@ You can use [**Search explorer**](search-explorer.md) in Azure portal to check t
180180
181181
If you ran the indexer in the previous step and successfully indexed content from your managed instance, then the test was successful. However, if the indexer fails or there's no content in the index, you can modify your objects and repeat testing by choosing any client that can invoke an outbound request from an indexer.
182182
183-
An easy choice is [running an indexer](search-howto-run-reset-indexers.md) in Azure portal, but you can also try a [REST client](search-get-started-rest.md) and REST APIs for more precision. Assuming that your search service isn't also configured for a private connection, the REST client connection to Search can be over the public internet.
183+
An easy choice is [running an indexer](search-howto-run-reset-indexers.md) in Azure portal, but you can also try a [REST client](search-get-started-rest.md) and REST APIs for more precision. Assuming that your search service isn't also configured for a private connection, the REST client connection to Azure AI Search can be over the public internet.
184184
185185
Here are some reminders for testing:
186186

0 commit comments

Comments
 (0)