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/active-directory/external-identities/tenant-restrictions-v2.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -368,6 +368,8 @@ Tenant restrictions v2 policies can't be directly enforced on non-Windows 10, Wi
368
368
369
369
### Migrate tenant restrictions v1 policies to v2
370
370
371
+
Migration of Tenant Restrictions from V1 to V2 is an one time operation. Once you have moved from TRv1 to TRv2 on proxy, no client side changes are required and any policy changes need to just happen on the cloud via Entra portal.
372
+
371
373
On your corporate proxy, you can move from tenant restrictions v1 to tenant restrictions v2 by changing this tenant restrictions v1 header:
description: This article shows you how to create an Azure AI Translator resource.
4
+
description: Learn how to create an Azure AI Translator resource and retrieve your API key and endpoint URL in the Azure portal.
5
5
services: cognitive-services
6
6
author: laujan
7
7
ms.author: lajanuar
@@ -13,45 +13,47 @@ ms.date: 09/06/2023
13
13
14
14
# Create a Translator resource
15
15
16
-
In this article, you learn how to create a Translator resource in the Azure portal. [Azure AI Translator](translator-overview.md) is a cloud-based machine translation service that is part of the [Azure AI services](../what-are-ai-services.md) family. Azure resources are instances of services that you create. All API requests to Azure AI services require an **endpoint** URL and a read-only **key** for authenticating access.
16
+
In this article, you learn how to create a Translator resource in the Azure portal. [Azure AI Translator](translator-overview.md) is a cloud-based machine translation service that is part of the [Azure AI services](../what-are-ai-services.md) family. Azure resources are instances of services that you create. All API requests to Azure AI services require an *endpoint* URL and a read-only *key* for authenticating access.
17
17
18
18
## Prerequisites
19
19
20
-
To get started, you need an active [**Azure account**](https://azure.microsoft.com/free/cognitive-services/). If you don't have one, you can [**create a free 12-month subscription**](https://azure.microsoft.com/free/).
20
+
To get started, you need an active [**Azure account**](https://azure.microsoft.com/free/cognitive-services/). If you don't have one, you can [**create a free 12-month subscription**](https://azure.microsoft.com/free/).
21
21
22
22
## Create your resource
23
23
24
-
The Translator service can be accessed through two different resource types:
24
+
With your Azure account, you can access the Translator service through two different resource types:
25
25
26
26
*[**Single-service**](https://portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation) resource types enable access to a single service API key and endpoint.
27
27
28
-
*[**Multi-service**](https://portal.azure.com/#create/Microsoft.CognitiveServicesAllInOne) resource types enable access to multiple Azure AI services using a single API key and endpoint.
28
+
*[**Multi-service**](https://portal.azure.com/#create/Microsoft.CognitiveServicesAllInOne) resource types enable access to multiple Azure AI services by using a single API key and endpoint.
29
29
30
30
## Complete your project and instance details
31
31
32
+
After you decide which resource type you want use to access the Translator service, you can enter the details for your project and instance.
33
+
32
34
1.**Subscription**. Select one of your available Azure subscriptions.
33
35
34
36
1.**Resource Group**. You can create a new resource group or add your resource to a pre-existing resource group that shares the same lifecycle, permissions, and policies.
35
37
36
38
1.**Resource Region**. Choose **Global** unless your business or application requires a specific region. If you're planning on using the Document Translation feature with [managed identity authorization](document-translation/how-to-guides/create-use-managed-identities.md), choose a geographic region such as **East US**.
37
39
38
-
1.**Name**. Enter the name you have chosen for your resource. The name you choose must be unique within Azure.
40
+
1.**Name**. Enter a name for your resource. The name you choose must be unique within Azure.
39
41
40
42
> [!NOTE]
41
-
> If you are using a Translator feature that requires a custom domain endpoint, such as Document Translation, the value that you enter in the Name field will be the custom domain name parameter for the endpoint.
43
+
> If you're using a Translator feature that requires a custom domain endpoint, such as Document Translation, the value that you enter in the Name field will be the custom domain name parameter for the endpoint.
42
44
43
45
1.**Pricing tier**. Select a [pricing tier](https://azure.microsoft.com/pricing/details/cognitive-services/translator) that meets your needs:
44
46
45
47
* Each subscription has a free tier.
46
48
* The free tier has the same features and functionality as the paid plans and doesn't expire.
47
-
* Only one free tier is available per subscription.
48
-
* Document Translation is supported in paid tiers. The Language Studio only supports the S1 or D3 instance tiers. We suggest you select the Standard S1 instance tier to try Document Translation.
49
+
* Only one free tier resource is available per subscription.
50
+
* Document Translation is supported in paid tiers. The Language Studio only supports the S1 or D3 instance tiers. If you just want to try Document Translation, select the Standard S1 instance tier.
49
51
50
-
1. If you've created a multi-service resource, you need to confirm more usage details via the check boxes.
52
+
1. If you've created a multi-service resource, the links at the bottom of the **Basics** tab provides technical documentation regarding the appropriate operation of the service.
51
53
52
54
1. Select **Review + Create**.
53
55
54
-
1. Review the service terms and select **Create** to deploy your resource.
56
+
1. Review the service terms, and select **Create** to deploy your resource.
55
57
56
58
1. After your resource has successfully deployed, select **Go to resource**.
57
59
@@ -61,15 +63,17 @@ All Azure AI services API requests require an endpoint URL and a read-only key f
61
63
62
64
***Authentication keys**. Your key is a unique string that is passed on every request to the Translation service. You can pass your key through a query-string parameter or by specifying it in the HTTP request header.
63
65
64
-
***Endpoint URL**. Use the Global endpoint in your API request unless you need a specific Azure region or custom endpoint. *See*[Base URLs](reference/v3-0-reference.md#base-urls). The Global endpoint URL is `api.cognitive.microsofttranslator.com`.
66
+
***Endpoint URL**. Use the Global endpoint in your API request unless you need a specific Azure region or custom endpoint. For more information, see[Base URLs](reference/v3-0-reference.md#base-urls). The Global endpoint URL is `api.cognitive.microsofttranslator.com`.
65
67
66
68
## Get your authentication keys and endpoint
67
69
68
-
1. After your new resource deploys, select **Go to resource** or navigate directly to your resource page.
69
-
1. In the left rail, under *Resource Management*, select **Keys and Endpoint**.
70
-
1. Copy and paste your keys and endpoint URL in a convenient location, such as *Microsoft Notepad*.
70
+
To authenitcate your connection to your Translator resource, you'll need to find its keys and endpoint.
71
+
72
+
1. After your new resource deploys, select **Go to resource** or go to your resource page.
73
+
1. In the left navigation pane, under **Resource Management**, select **Keys and Endpoint**.
74
+
1. Copy and paste your keys and endpoint URL in a convenient location, such as Notepad.
71
75
72
-
:::image type="content" source="media/keys-and-endpoint-resource.png" alt-text="Get key and endpoint.":::
76
+
:::image type="content" source="media/keys-and-endpoint-resource.png" alt-text="Screenshot of the Azure portal showing the Keys and Endpoint page of a Translator resource. The keys and endpoints are highlighted.":::
73
77
74
78
## Create a Text Translation client
75
79
@@ -95,31 +99,29 @@ Text Translation supports both [global and regional endpoints](#complete-your-pr
95
99
>
96
100
> Deleting a resource group also deletes all resources contained in the group.
97
101
98
-
To remove an Azure AI multi-service or Translator resource, you can **delete the resource** or **delete the resource group**.
99
-
100
102
To delete the resource:
101
103
102
-
1. Navigate to your Resource Groupin the Azure portal.
104
+
1. Search and select**Resourcegroups**in the Azure portal, and selectyour resource group.
103
105
1. Select the resources to be deleted by selecting the adjacent check box.
104
106
1. Select **Delete** from the top menu near the right edge.
105
-
1. Type *yes*in the **Deleted Resources** dialog box.
107
+
1. Enter *delete*in the **Delete Resources** dialog box.
106
108
1. Select **Delete**.
107
109
108
110
To delete the resource group:
109
111
110
-
1. Navigate to your Resource Group in the Azure portal.
111
-
1. Select the **Delete resource group** from the top menu bar near the left edge.
112
+
1. Go to your Resource Group in the Azure portal.
113
+
1. Select **Delete resource group** from the top menu bar.
112
114
1. Confirm the deletion request by entering the resource group name and selecting **Delete**.
113
115
114
-
## How to get started with Translator
116
+
## How to get started with Azure AI Translator REST APIs
115
117
116
118
In our quickstart, you learn how to use the Translator service with REST APIs.
117
119
118
120
> [!div class="nextstepaction"]
119
121
> [Get Started with Translator](quickstart-text-rest-api.md)
120
122
121
-
## More resources
123
+
## Next Steps
122
124
123
-
* [Microsoft Translator code samples](https://github.com/MicrosoftTranslator). Multi-language Translator code samples are available on GitHub.
125
+
* [Microsoft Translator code samples](https://github.com/MicrosoftTranslator). Multi-language Translator code samples are available on GitHub.
124
126
* [Microsoft Translator Support Forum](https://www.aka.ms/TranslatorForum)
125
127
* [Get Started with Azure (3-minute video)](https://azure.microsoft.com/get-started/?b=16.24)
Copy file name to clipboardExpand all lines: articles/event-grid/event-domains.md
+47-4Lines changed: 47 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,22 @@
2
2
title: Event Domains in Azure Event Grid
3
3
description: This article describes how to use event domains to manage the flow of custom events to your various business organizations, customers, or applications.
4
4
ms.topic: conceptual
5
-
ms.date: 11/17/2022
5
+
ms.date: 10/09/2023
6
6
---
7
7
8
8
# Understand event domains for managing Event Grid topics
9
-
An event domain is a management tool for large number of Event Grid topics related to the same application. You can think of it as a meta-topic that can have thousands of individual topics. It allows an event publisher to publish events to thousands of topics at the same time. Domains also give you authentication and authorization control over each topic so you can partition your tenants. This article describes how to use event domains to manage the flow of custom events to your various business organizations, customers, or applications. Use event domains to:
9
+
An event domain is a management tool for large number of Event Grid topics related to the same application. You can think of it as a meta-topic that can have thousands of individual topics. It provides one publishing endpoint for all the topics in the domain. When publishing an event, the publisher must specify the target topic in the domain to which it wants to publish. The publisher can send an array or a batch of events where events are sent to different topics in the domain. See the [Publishing events to an event domain](#publishing-to-an-event-domain) section for details.
10
+
11
+
Domains also give you authentication and authorization control over each topic so you can partition your tenants. This article describes how to use event domains to manage the flow of custom events to your various business organizations, customers, or applications. Use event domains to:
10
12
11
13
* Manage multitenant eventing architectures at scale.
12
14
* Manage your authentication and authorization.
13
15
* Partition your topics without managing each individually.
14
16
* Avoid individually publishing to each of your topic endpoints.
15
17
18
+
> [!NOTE]
19
+
> Event domain is not intended to support broadcast scenario where an event is sent to a domain and each topic in the domain receives a copy of the event. When publishing events, the publisher must specify the target topic in the domain to which it wants to publish. If the publisher wants to publish the same event payload to multiple topics in the domain, the publisher needs to duplicate the event payload, and change the topic name, and publish them to Event Grid using the domain endpoint, either individually or as a batch.
@@ -33,11 +38,15 @@ Subscribing to events for a topic within an event domain is the same as [creatin
33
38
34
39
### Domain scope subscriptions
35
40
36
-
Event domains also allow for domain-scope subscriptions. An event subscription on an event domain will receive all events sent to the domain regardless of the topic the events are sent to. Domain scope subscriptions can be useful for management and auditing purposes.
41
+
Event domains also allow for domain-scope subscriptions. An event subscription on an event domain receives all events sent to the domain regardless of the topic the events are sent to. Domain scope subscriptions can be useful for management and auditing purposes.
37
42
38
43
## Publishing to an event domain
39
44
40
-
When you create an event domain, you're given a publishing endpoint similar to if you had created a topic in Event Grid. To publish events to any topic in an event domain, push the events to the domain's endpoint the [same way you would for a custom topic](./post-to-custom-topic.md). The only difference is that you must specify the topic you'd like the event to be delivered to. For example, publishing the following array of events would send event with `"id": "1111"` to topic `foo` while the event with `"id": "2222"` would be sent to topic `bar`:
45
+
When you create an event domain, you're given a publishing endpoint similar to if you had created a topic in Event Grid. To publish events to any topic in an event domain, push the events to the domain's endpoint the [same way you would for a custom topic](./post-to-custom-topic.md). The only difference is that you must specify the topic you'd like the event to be delivered to. For example, publishing the following array of events would send event with `"id": "1111"` to topic `foo` while the event with `"id": "2222"` would be sent to topic `bar`.
When using the **Event Grid event schema**, specify the name of the Event Grid topic in the domain as a value for the `topic` property. In the following example, `topic` property is set to `foo` for the first event and to `bar` for the second event.
41
50
42
51
```json
43
52
[{
@@ -65,6 +74,40 @@ When you create an event domain, you're given a publishing endpoint similar to i
65
74
"dataVersion": "1.0"
66
75
}]
67
76
```
77
+
# [Cloud event schema](#tab/cloud-event-schema)
78
+
79
+
When using the **cloud event schema**, specify the name of the Event Grid topic in the domain as a value for the `source` property. In the following example, `source` property is set to `foo` for the first event and to `bar` for the second event.
80
+
81
+
If you want to use a different field to specify the intended topic in the domain, specify input schema mapping when creating the domain. For example, if you're using the REST API, use the [properties.inputSchemaMapping](/rest/api/eventgrid/controlplane-preview/domains/create-or-update#jsoninputschemamapping) property when to map that field to `properties.topic`. If you're using the .NET SDK, use [`EventGridJsonInputSchemaMapping `](/dotnet/api/azure.resourcemanager.eventgrid.models.eventgridjsoninputschemamapping). Other SDKs also support the schema mapping.
82
+
83
+
```json
84
+
[{
85
+
"source": "foo",
86
+
"id": "1111",
87
+
"type": "maintenanceRequested",
88
+
"subject": "myapp/vehicles/diggers",
89
+
"time": "2018-10-30T21:03:07+00:00",
90
+
"data": {
91
+
"make": "Contoso",
92
+
"model": "Small Digger"
93
+
},
94
+
"specversion": "1.0"
95
+
},
96
+
{
97
+
"source": "bar",
98
+
"id": "2222",
99
+
"type": "maintenanceCompleted",
100
+
"subject": "myapp/vehicles/tractors",
101
+
"time": "2018-10-30T21:04:12+00:00",
102
+
"data": {
103
+
"make": "Contoso",
104
+
"model": "Big Tractor"
105
+
},
106
+
"specversion": "1.0"
107
+
}]
108
+
```
109
+
110
+
---
68
111
69
112
Event domains handle publishing to topics for you. Instead of publishing events to each topic you manage individually, you can publish all of your events to the domain's endpoint. Event Grid makes sure each event is sent to the correct topic.
0 commit comments