Skip to content

Commit 47b5c59

Browse files
committed
Fixed acrolinx warnings and errors
1 parent 442bb50 commit 47b5c59

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

articles/search/search-index-azure-sql-managed-instance-with-managed-identity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Before learning more about this feature, it is recommended that you have an unde
3131

3232
To assign read permissions on SQL Managed Instance, you must be an Azure Global Admin with a SQL Managed Instance. See [Configure and manage Azure AD authentication with SQL Managed Instance](/azure/azure-sql/database/authentication-aad-configure) and follow the steps to provision an Azure AD admin (SQL Managed Instance).
3333

34-
* [Configure a public endpoint and network security group in SQL Managed Instance](search-howto-connecting-azure-sql-mi-to-azure-search-using-indexers.md) to allow connections from Azure Cognitive Search. If your Azure SQL Managed Instance is configured for private connections, [create a shared private link](search-indexer-howto-access-private.md#create-a-shared-private-link-for-a-sql-managed-instance) in Cognitive Search to allow the connection.
34+
* [Configure a public endpoint and network security group in SQL Managed Instance](search-howto-connecting-azure-sql-mi-to-azure-search-using-indexers.md) to allow connections from Azure Cognitive Search. If your Azure SQL Managed Instance is configured for private connections, [create a shared private link](search-indexer-how-to-access-private-endpoint-sql-mi.md) in Cognitive Search to allow the connection.
3535

3636
## 1 - Assign permissions to read the database
3737

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

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ On a private connection to a SQL Managed Instance, the fully qualified domain na
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.
2020

21-
> [!NOTE] This article relies on Azure portal for obtaining properties and confirming steps. However, when creating the shared private link for SQL Managed Instance, be sure to use the REST API. Although the Networking tab lists `Microsoft.Sql/managedInstances` as an option, the portal doesn't currently support the extended URL format used by SQL Managed Instance.
21+
> [!NOTE]
22+
> This article relies on Azure portal for obtaining properties and confirming steps. However, when creating the shared private link for SQL Managed Instance, be sure to use the REST API. Although the Networking tab lists `Microsoft.Sql/managedInstances` as an option, the portal doesn't currently support the extended URL format used by SQL Managed Instance.
2223
2324
## Prerequisites
2425

25-
+ [Azure CLI](/azure/install-azure-cli)
26+
+ [Azure CLI](/cli/azure/install-azure-cli)
2627

2728
+ Azure Cognitive Search, Basic tier or higher. If you're using [AI enrichment](cognitive-search-concept-intro.md) and skillsets, the tier must be Standard 2 (S2) or higher. See [Service limits](search-limits-quotas-capacity.md#shared-private-link-resource-limits) for details.
2829

@@ -50,7 +51,7 @@ Retrieve the FQDN of the managed instance, including the DNS zone. The DNS zone
5051

5152
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.
5253

53-
For more information about connection properties, see [Create an Azure SQL Managed Instance](/azure/azure-sql/managed-instance/instance-create-quickstart?view=azuresql#retrieve-connection-details-to-sql-managed-instance).
54+
For more information about connection properties, see [Create an Azure SQL Managed Instance](/azure/azure-sql/managed-instance/instance-create-quickstart?view=azuresql#retrieve-connection-details-to-sql-managed-instance&preserve-view=true).
5455

5556
## 3 - Create the body of the request
5657

@@ -94,11 +95,11 @@ For more information about connection properties, see [Create an Azure SQL Manag
9495
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=2021-04-01-preview --body @create-pe.json
9596
```
9697

97-
Provide the subscription ID, resource group name, and service name of your Cognitive Search resource.
98+
Provide the subscription ID, resource group name, and service name of your Cognitive Search resource.
9899

99-
Provide the same shared private link name that you specified in the JSON body.
100+
Provide the same shared private link name that you specified in the JSON body.
100101

101-
Provide a path to the create-pe.json file if you've navigated away from the file location. You can type `dir` at the command line to confirm the file is in the current directory.
102+
Provide a path to the create-pe.json file if you've navigated away from the file location. You can type `dir` at the command line to confirm the file is in the current directory.
102103

103104
1. Press Enter to run the command.
104105

@@ -130,6 +131,8 @@ You can use the portal for this step, or any client that you would normally use
130131

131132
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. There are no properties in any of these definitions that vary when using a shared private endpoint.
132133

134+
Provide the connection string that you copied earlier.
135+
133136
```http
134137
POST https://myservice.search.windows.net/datasources?api-version=2020-06-30
135138
Content-Type: application/json
@@ -150,7 +153,7 @@ You can use the portal for this step, or any client that you would normally use
150153
}
151154
```
152155
153-
1. [Create the indexer definition](search-howto-create-indexers.md),
156+
1. [Create the indexer definition](search-howto-create-indexers.md), setting the indexer execution environment to "private".
154157
155158
[Indexer execution](search-indexer-securing-resources.md#indexer-execution-environment) occurs in either a private environment that's specific to the search service, or a multi-tenant environment that's used internally to offload expensive skillset processing for multiple customers. **When connecting over a private endpoint, indexer execution must be private.**
156159
@@ -220,6 +223,6 @@ Assuming that your search service isn't also configured for a private connection
220223

221224
+ [Make outbound connections through a private endpoint](search-indexer-howto-access-private.md)
222225
+ [Indexer connections to Azure SQL Managed Instance through a public endpoint](search-howto-connecting-azure-sql-mi-to-azure-search-using-indexers.md)
223-
+ [Index data from Azure SQL](search-howto-connecting-azure-sql-database-to-azure-search-using-indexers)
226+
+ [Index data from Azure SQL](search-howto-connecting-azure-sql-database-to-azure-search-using-indexers.md)
224227
+ [Management REST API](/rest/api/searchmanagement/)
225228
+ [Search REST API](/rest/api/searchservice/)

articles/search/search-indexer-howto-access-private.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ A `202 Accepted` response is returned on success. The process of creating an out
268268

269269
## 2 - Approve the private endpoint connection
270270

271-
The resource owner must approve the connection request you created. This section assumes the portal for this step, but you can also use the REST APIs of the Azure PaaS resource. [Private Endpoint Connections (Storage Resource Provider)](/rest/api/storagerp/privateendpointconnections) and [Private Endpoint Connections (Cosmos DB Resource Provider)](/rest/api/cosmos-db-resource-provider/2022-05-15/private-endpoint-connections) are two examples.
271+
The resource owner must approve the connection request you created. This section assumes the portal for this step, but you can also use the REST APIs of the Azure PaaS resource. [Private Endpoint Connections (Storage Resource Provider)](/rest/api/storagerp/privateendpointconnections) and [Private Endpoint Connections (Cosmos DB Resource Provider)](/rest/api/cosmos-db-resource-provider/2022-11-15/private-endpoint-connections) are two examples.
272272

273273
1. In the Azure portal, open the **Networking** page of the Azure PaaS resource.
274274

0 commit comments

Comments
 (0)