You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/search/cognitive-search-attach-cognitive-services.md
+18-13Lines changed: 18 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,11 @@ You can use a key on the connection, or implement a keyless approach that's curr
29
29
> [!TIP]
30
30
> Azure provides infrastructure for you to monitor billing and budgets. For more information about monitoring Azure AI services, see [Plan and manage costs for Azure AI services](/azure/ai-services/plan-manage-costs).
31
31
32
-
## Billing through a keyless connection to Azure AI multi-service
Using the Azure portal or newer preview REST APIs and beta SDK packages, you can attach a multi-service resource using a managed identity and permissions. The advantage of this approach is that billing is keyless and has no dependency on regions.
36
+
Using the Azure portal or newer preview REST APIs and beta SDK packages, you can attach an Azure AI multi-service multi-service resource using a managed identity and permissions. The advantage of this approach is that billing is keyless and has no dependency on regions.
37
37
38
38
1.[Configure Azure AI Search to use a managed identity](search-howto-managed-identities-data-sources.md).
39
39
@@ -42,10 +42,10 @@ Using the Azure portal or newer preview REST APIs and beta SDK packages, you can
42
42
1. Using the Azure portal, or the [Skillset 2024-11-01-preview REST API](/rest/api/searchservice/skillsets/create-or-update?view=rest-searchservice-2024-11-01-preview&preserve-view=true), or an Azure SDK beta package that provides the syntax, configure a skillset to use an identity:
43
43
44
44
+ The managed identity used on the connection belongs to the search service.
45
-
+It can be either a system managed identity (identity=null) or a user managed identity.
46
-
+ The managed identity must have **Cognitive Services User** permissions on the Azure AI multiservice account.
47
-
+The `@odata.type` is always `#Microsoft.Azure.Search.AIServicesByIdentity`.
48
-
+the `subdomainUrl` is the endpoint of your Azure AI multi-service account and it can be in [any region that's jointly supported](search-region-support.md#azure-public-regions) by Azure AI Search and Azure AI services.
45
+
+The identity can be a system managed or a user assigned.
46
+
+ The identity must have **Cognitive Services User** permissions on the Azure AI resource.
47
+
+`@odata.type` is always `#Microsoft.Azure.Search.AIServicesByIdentity`.
48
+
+`subdomainUrl` is the endpoint of your Azure AI multi-service resoruce. It can be in [any region that's jointly supported](search-region-support.md#azure-public-regions) by Azure AI Search and Azure AI services.
49
49
50
50
As with keys, the details you provide about the Azure AI Services resource are used for billing, not connections. All API requests made by Azure AI Search to Azure AI services for built-in skills processing continue to be internal and managed by Microsoft.
51
51
@@ -66,14 +66,16 @@ POST https://[service-name].search.windows.net/skillsets/[skillset-name]?api-ver
Identity is set to the resource ID of the user-assigned managed identity.
76
+
Identity is set to the resource ID of the user-assigned managed identity. To find an existing user-assigned managed identity, see [Manage user-assigned managed identities](/entra/identity/managed-identities-azure-resources/how-manage-user-assigned-managed-identities).
77
+
78
+
For a a user-assigned managed identity, set the `@odata.type` and the `userAssignedIdentity` properties.
77
79
78
80
```http
79
81
POST https://[service-name].search.windows.net/skillsets/[skillset-name]?api-version=2024-11-01-Preview
@@ -88,16 +90,19 @@ POST https://[service-name].search.windows.net/skillsets/[skillset-name]?api-ver
## Billing through an Azure AI multi-service resources key
101
+
## Bill through a resource key
97
102
98
-
This approach is the default and is generally available. You can use the Azure portal, REST API, or an Azure SDK to add the key to a skillset.
103
+
Azure AI Search can also charge for transaction using the Azure AI multi-service resource key. This approach is the default and is generally available. You can use the Azure portal, REST API, or an Azure SDK to add the key to a skillset.
99
104
100
-
If you leave the property unspecified, your search service attempts to use the free enrichments available to your indexer on a daily basis. Execution of billable skills stops at 20 transactions per indexer invocation and a "Time Out" message appears in indexer execution history.
105
+
You only need to add the key, not the subdomain or endpoint. If you leave the`cognitiveServices` property unspecified, your search service attempts to use the free enrichments available to your indexer on a daily basis. Execution of billable skills stops at 20 transactions per indexer invocation and a "Time Out" message appears in indexer execution history.
0 commit comments