Skip to content

Commit f2c9146

Browse files
committed
updates
1 parent f409ddd commit f2c9146

File tree

4 files changed

+31
-16
lines changed

4 files changed

+31
-16
lines changed

articles/event-grid/.openpublishing.redirection.event-grid.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "scripts/event-grid-powershell-create-custom-topic.md",
5+
"redirect_url": "/azure/event-grid/scripts/powershell-create-custom-topic",
6+
"redirect_document_id": false
7+
},
8+
{
9+
"source_path": "scripts/event-grid-powershell-blob.md",
10+
"redirect_url": "/azure/event-grid/scripts/powershell-blob",
11+
"redirect_document_id": false
12+
},
13+
{
14+
"source_path": "scripts/event-grid-powershell-azure-subscription.md",
15+
"redirect_url": "/azure/event-grid/scripts/powershell-azure-subscription",
16+
"redirect_document_id": false
17+
},
318
{
419
"source_path": "scripts/event-grid-cli-subscribe-custom-topic.md",
520
"redirect_url": "/azure/event-grid/scripts/cli-subscribe-custom-topic",

articles/event-grid/custom-event-quickstart-portal.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ In this article, you use the Azure portal to do the following tasks:
2323
[!INCLUDE [event-grid-register-provider-portal.md](../../includes/event-grid-register-provider-portal.md)]
2424

2525
## Create a custom topic
26-
An event grid topic provides a user-defined endpoint that you post your events to.
26+
An Event Grid topic provides a user-defined endpoint that you post your events to.
2727

2828
1. Sign in to [Azure portal](https://portal.azure.com/).
2929
2. In the search bar at the topic, type **Event Grid Topics**, and then select **Event Grid Topics** from the drop-down list.
3030

31-
:::image type="content" source="./media/custom-event-quickstart-portal/select-event-grid-topics.png" alt-text="Screenshot showing the Azure port search bar to search for Event Grid Topics.":::
31+
:::image type="content" source="./media/custom-event-quickstart-portal/select-event-grid-topics.png" alt-text="Screenshot showing the Azure port search bar to search for Event Grid topics.":::
3232
3. On the **Event Grid Topics** page, select **+ Create** on the toolbar.
3333

34-
:::image type="content" source="./media/custom-event-quickstart-portal/create-topic-button.png" alt-text="Screenshot showing the Create Topic button on Event Grid Topics page.":::
34+
:::image type="content" source="./media/custom-event-quickstart-portal/create-topic-button.png" alt-text="Screenshot showing the Create Topic button on Event Grid topics page.":::
3535
1. On the **Create Topic** page, follow these steps:
3636
1. Select your Azure **subscription**.
3737
2. Select an existing resource group or select **Create new**, and enter a **name** for the **resource group**.
3838
3. Provide a unique **name** for the custom topic. The topic name must be unique because it's represented by a DNS entry. Don't use the name shown in the image. Instead, create your own name - it must be between 3-50 characters and contain only values a-z, A-Z, 0-9, and "-".
39-
4. Select a **location** for the event grid topic.
39+
4. Select a **location** for the Event Grid topic.
4040
5. Select **Review + create** at the bottom of the page.
4141

4242
:::image type="content" source="./media/custom-event-quickstart-portal/create-custom-topic.png" alt-text="Create Topic page":::
@@ -45,19 +45,19 @@ An event grid topic provides a user-defined endpoint that you post your events t
4545
:::image type="content" source="./media/custom-event-quickstart-portal/review-create-page.png" alt-text="Review settings and create":::
4646
5. After the deployment succeeds, select **Go to resource** to navigate to the **Event Grid Topic** page for your topic. Keep this page open. You use it later in the quickstart.
4747

48-
:::image type="content" source="./media/custom-event-quickstart-portal/event-grid-topic-home-page.png" alt-text="Screenshot showing the Event Grid Topic home page.":::
48+
:::image type="content" source="./media/custom-event-quickstart-portal/event-grid-topic-home-page.png" alt-text="Screenshot showing the Event Grid topic home page.":::
4949

5050
> [!NOTE]
5151
> To keep the quickstart simple, you'll be using only the **Basics** page to create a topic. For detailed steps about configuring network, security, and data residency settings on other pages of the wizard, see [Create a custom topic](create-custom-topic.md).
5252
5353
## Create a message endpoint
54-
Before you create a subscription for the custom topic, create an endpoint for the event message. Typically, the endpoint takes actions based on the event data. To simplify this quickstart, you deploy a [pre-built web app](https://github.com/Azure-Samples/azure-event-grid-viewer) that displays the event messages. The deployed solution includes an App Service plan, an App Service web app, and source code from GitHub.
54+
Before you create a subscription for the custom topic, create an endpoint for the event message. Typically, the endpoint takes actions based on the event data. To simplify this quickstart, you deploy a [prebuilt web app](https://github.com/Azure-Samples/azure-event-grid-viewer) that displays the event messages. The deployed solution includes an App Service plan, an App Service web app, and source code from GitHub.
5555

5656
1. In the article page, select **Deploy to Azure** to deploy the solution to your subscription. In the Azure portal, provide values for the parameters.
5757

5858
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure-Samples%2Fazure-event-grid-viewer%2Fmaster%2Fazuredeploy.json" target="_blank"><img src="../media/template-deployments/deploy-to-azure.svg" alt="Button to deploy to Azure."></a>
5959
2. On the **Custom deployment** page, do the following steps:
60-
1. For **Resource group**, select the resource group that you created when creating the storage account. It will be easier for you to clean up after you are done with the tutorial by deleting the resource group.
60+
1. For **Resource group**, select the resource group that you created when creating the storage account. It will be easier for you to clean up after you're done with the tutorial by deleting the resource group.
6161
2. For **Site Name**, enter a name for the web app.
6262
3. For **Hosting plan name**, enter a name for the App Service plan to use for hosting the web app.
6363
5. Select **Review + create**.
@@ -80,7 +80,7 @@ Before you create a subscription for the custom topic, create an endpoint for th
8080

8181
## Subscribe to custom topic
8282

83-
You subscribe to an event grid topic to tell Event Grid which events you want to track, and where to send the events.
83+
You subscribe to an Event Grid topic to tell Event Grid which events you want to track, and where to send the events.
8484

8585
1. Now, on the **Event Grid Topic** page for your custom topic, select **+ Event Subscription** on the toolbar.
8686

@@ -114,12 +114,12 @@ The first example uses Azure CLI. It gets the URL and key for the custom topic,
114114
1. Select **Bash** in the top-left corner of the Cloud Shell window.
115115

116116
![Cloud Shell - Bash](./media/custom-event-quickstart-portal/cloud-shell-bash.png)
117-
1. Run the following command to get the **endpoint** for the topic: After you copy and paste the command, update the **topic name** and **resource group name** before you run the command. You'll publish sample events to this topic endpoint.
117+
1. Run the following command to get the **endpoint** for the topic: After you copy and paste the command, update the **topic name** and **resource group name** before you run the command. You publish sample events to this topic endpoint.
118118

119119
```azurecli
120120
endpoint=$(az eventgrid topic show --name <topic name> -g <resource group name> --query "endpoint" --output tsv)
121121
```
122-
2. Run the following command to get the **key** for the custom topic: After you copy and paste the command, update the **topic name** and **resource group** name before you run the command. It's the primary key of the event grid topic. To get this key from the Azure portal, switch to the **Access keys** tab of the **Event Grid Topic** page. To be able post an event to a custom topic, you need the access key.
122+
2. Run the following command to get the **key** for the custom topic: After you copy and paste the command, update the **topic name** and **resource group** name before you run the command. It's the primary key of the Event Grid topic. To get this key from the Azure portal, switch to the **Access keys** tab of the **Event Grid Topic** page. To be able post an event to a custom topic, you need the access key.
123123
124124
```azurecli
125125
key=$(az eventgrid topic key list --name <topic name> -g <resource group name> --query "key1" --output tsv)

articles/event-grid/custom-event-quickstart-powershell.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ When you're finished, you see that the event data has been sent to the web app.
1818

1919
[!INCLUDE [quickstarts-free-trial-note.md](../../includes/quickstarts-free-trial-note.md)]
2020

21-
This article requires that you are running the latest version of Azure PowerShell. If you need to install or upgrade, see [Install and configure Azure PowerShell](/powershell/azure/install-Az-ps).
21+
This article requires that you're running the latest version of Azure PowerShell. If you need to install or upgrade, see [Install and configure Azure PowerShell](/powershell/azure/install-Az-ps).
2222

2323
## Create a resource group
2424

@@ -36,7 +36,7 @@ New-AzResourceGroup -Name gridResourceGroup -Location westus2
3636

3737
## Create a custom topic
3838

39-
An event grid topic provides a user-defined endpoint that you post your events to. The following example creates the custom topic in your resource group. Replace `<your-topic-name>` with a unique name for your topic. The topic name must be unique because it's part of the DNS entry. Additionally, it must be between 3-50 characters and contain only values a-z, A-Z, 0-9, and "-"
39+
An Event Grid topic provides a user-defined endpoint that you post your events to. The following example creates the custom topic in your resource group. Replace `<your-topic-name>` with a unique name for your topic. The topic name must be unique because it's part of the DNS entry. Additionally, it must be between 3-50 characters and contain only values a-z, A-Z, 0-9, and "-"
4040

4141
```powershell-interactive
4242
$topicname="<your-topic-name>"
@@ -46,7 +46,7 @@ New-AzEventGridTopic -ResourceGroupName gridResourceGroup -Location westus2 -Nam
4646

4747
## Create a message endpoint
4848

49-
Before subscribing to the topic, let's create the endpoint for the event message. Typically, the endpoint takes actions based on the event data. To simplify this quickstart, you deploy a [pre-built web app](https://github.com/Azure-Samples/azure-event-grid-viewer) that displays the event messages. The deployed solution includes an App Service plan, an App Service web app, and source code from GitHub.
49+
Before subscribing to the topic, let's create the endpoint for the event message. Typically, the endpoint takes actions based on the event data. To simplify this quickstart, you deploy a [prebuilt web app](https://github.com/Azure-Samples/azure-event-grid-viewer) that displays the event messages. The deployed solution includes an App Service plan, an App Service web app, and source code from GitHub.
5050

5151
Replace `<your-site-name>` with a unique name for your web app. The web app name must be unique because it's part of the DNS entry.
5252

articles/event-grid/custom-event-to-hybrid-connection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ az group create --name gridResourceGroup --location westus2
3232

3333
## Create a custom topic
3434

35-
An event grid topic provides a user-defined endpoint that you post your events to. The following example creates the custom topic in your resource group. Replace `<topic_name>` with a unique name for your custom topic. The event grid topic name must be unique because it's represented by a DNS entry.
35+
An Event Grid topic provides a user-defined endpoint that you post your events to. The following example creates the custom topic in your resource group. Replace `<topic_name>` with a unique name for your custom topic. The Event Grid topic name must be unique because it's represented by a DNS entry.
3636

3737
```azurecli-interactive
3838
az eventgrid topic create --name <topic_name> -l westus2 -g gridResourceGroup
3939
```
4040

4141
## Subscribe to a custom topic
4242

43-
You subscribe to an event grid topic to tell Event Grid which events you want to track. The following example subscribes to the custom topic you created, and passes the resource ID of the hybrid connection for the endpoint. The hybrid connection ID is in the format:
43+
You subscribe to an Event Grid topic to tell Event Grid which events you want to track. The following example subscribes to the custom topic you created, and passes the resource ID of the hybrid connection for the endpoint. The hybrid connection ID is in the format:
4444

4545
`/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.Relay/namespaces/<relay-namespace>/hybridConnections/<hybrid-connection-name>`
4646

47-
The following script gets the resource ID of the relay namespace. It constructs the ID for the hybrid connection, and subscribes to an event grid topic. The script sets the endpoint type to `hybridconnection` and uses the hybrid connection ID for the endpoint.
47+
The following script gets the resource ID of the relay namespace. It constructs the ID for the hybrid connection, and subscribes to an Event Grid topic. The script sets the endpoint type to `hybridconnection` and uses the hybrid connection ID for the endpoint.
4848

4949
```azurecli-interactive
5050
relayname=<namespace-name>

0 commit comments

Comments
 (0)