Skip to content

Commit 505e0ee

Browse files
authored
Merge pull request #108043 from mumian/0317-eventhub
Make the article compliant with the new ARM quickstart guidance
2 parents 43eb501 + d29175e commit 505e0ee

File tree

2 files changed

+41
-27
lines changed

2 files changed

+41
-27
lines changed

articles/event-hubs/TOC.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
href: event-hubs-quickstart-cli.md
2222
- name: Azure PowerShell
2323
href: event-hubs-quickstart-powershell.md
24-
- name: Azure Resource Manager template
25-
displayName: ARM
24+
- name: ARM template
25+
displayName: Resource Manager
2626
href: event-hubs-resource-manager-namespace-event-hub.md
2727
- name: Send and receive events
2828
items:
@@ -39,16 +39,16 @@
3939
- name: C (send only)
4040
href: event-hubs-c-getstarted-send.md
4141
- name: Apache Storm (receive only)
42-
href: event-hubs-storm-getstarted-receive.md
42+
href: event-hubs-storm-getstarted-receive.md
4343
- name: Send and receive events (old versions/packages)
4444
items:
4545
- name: .NET Core (Microsoft.Azure.EventHubs)
4646
href: event-hubs-dotnet-standard-getstarted-send.md
4747
- name: Java (azure-eventhubs)
48-
href: event-hubs-java-get-started-send.md
48+
href: event-hubs-java-get-started-send.md
4949
- name: Python (azure-eventhub version 1)
5050
href: event-hubs-python-get-started-send.md
51-
- name: JavaScript (azure/event-hubs version 2)
51+
- name: JavaScript (azure/event-hubs version 2)
5252
href: event-hubs-node-get-started-send.md
5353
- name: .NET Framework (Microsoft.ServiceBus)
5454
href: event-hubs-dotnet-framework-getstarted-send.md
@@ -86,29 +86,29 @@
8686
- name: Event processor host (legacy SDK)
8787
href: event-hubs-event-processor-host.md
8888
- name: Event processor (latest SDK)
89-
href: event-processor-balance-partition-load.md
89+
href: event-processor-balance-partition-load.md
9090
- name: Availability and consistency
9191
href: event-hubs-availability-and-consistency.md
9292
- name: Scalability
9393
href: event-hubs-scalability.md
9494
- name: Geo-disaster recovery
9595
items:
9696
- name: Geo-disaster recovery and Geo-replication
97-
href: event-hubs-geo-dr.md
97+
href: event-hubs-geo-dr.md
9898
- name: Security
9999
items:
100100
- name: Authorization
101101
items:
102-
- name: Authorize access to Azure Event Hubs
103-
href: authorize-access-event-hubs.md
102+
- name: Authorize access to Azure Event Hubs
103+
href: authorize-access-event-hubs.md
104104
- name: Authorize access with Azure Active Directory
105105
href: authorize-access-azure-active-directory.md
106106
- name: Authorize access with a shared access signature
107107
href: authorize-access-shared-access-signature.md
108108
- name: Authentication
109109
items:
110110
- name: Authenticate with Azure Active Directory
111-
items:
111+
items:
112112
- name: Authenticate with a managed identity
113113
href: authenticate-managed-identity.md
114114
- name: Authenticate from an application
@@ -125,8 +125,8 @@
125125
- name: How-to guides
126126
items:
127127
- name: Migrate from Azure Service Manager (classic) APIs to Resource Manager APIs
128-
href: ../service-bus-messaging/deprecate-service-bus-management.md?toc=%2fazure%2fevent-hubs%2ftoc.json
129-
- name: Develop
128+
href: ../service-bus-messaging/deprecate-service-bus-management.md?toc=%2fazure%2fevent-hubs%2ftoc.json
129+
- name: Develop
130130
items:
131131
- name: Get Event Hubs connection string
132132
href: event-hubs-get-connection-string.md
@@ -135,9 +135,9 @@
135135
- name: Programming guides
136136
items:
137137
- name: .NET (Azure.Messaging.EventHubs)
138-
href: https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/eventhub/Azure.Messaging.EventHubs/README.md
138+
href: https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/eventhub/Azure.Messaging.EventHubs/README.md
139139
- name: Java (azure-messaging-eventhubs)
140-
href: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/eventhubs/azure-messaging-eventhubs/README.md
140+
href: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/eventhubs/azure-messaging-eventhubs/README.md
141141
- name: Python (azure-eventhub version 5)
142142
href: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/eventhub/azure-eventhub/README.md
143143
- name: JavaScript (azure/event-hubs version 5)
@@ -146,17 +146,17 @@
146146
href: event-hubs-programming-guide.md
147147
- name: Process data
148148
items:
149-
- name: Process data using Azure Stream Analytics
149+
- name: Process data using Azure Stream Analytics
150150
href: process-data-azure-stream-analytics.md
151151
- name: Integrate with Spring framework
152152
items:
153153
- name: Create a Spring Cloud Stream Binder app
154154
href: /java/azure/spring-framework/configure-spring-cloud-stream-binder-java-app-azure-event-hub
155-
maintainContext: true
155+
maintainContext: true
156156
- name: Use the Spring Boot Starter for Apache Kafka
157157
href: /java/azure/spring-framework/configure-spring-cloud-stream-binder-java-app-kafka-azure-event-hub
158-
maintainContext: true
159-
- name: Integrate with Apache Kafka
158+
maintainContext: true
159+
- name: Integrate with Apache Kafka
160160
items:
161161
- name: Create Apache Kafka-enabled event hubs
162162
href: event-hubs-create-kafka-enabled.md
@@ -182,7 +182,7 @@
182182
href: event-hubs-auto-inflate.md
183183
- name: Event Hubs management libraries
184184
href: event-hubs-management-libraries.md
185-
- name: Secure
185+
- name: Secure
186186
items:
187187
- name: Configure IP firewall
188188
href: event-hubs-ip-filtering.md
@@ -239,7 +239,7 @@
239239
- name: Management library
240240
href: /python/api/overview/azure/event-hub?view=azure-python
241241
- name: JavaScript
242-
items:
242+
items:
243243
- name: Migrate from azure/eventhubs version 2 to version 5
244244
href: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/migrationguide.md
245245
- name: Client library

articles/event-hubs/event-hubs-resource-manager-namespace-event-hub.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,42 @@ ms.tgt_pltfrm: dotnet
1414
ms.workload: na
1515
ms.date: 02/11/2020
1616
ms.author: spelluru
17+
ms.custom: subject-armqs
1718

1819
---
1920

2021
# Quickstart: Create an event hub by using an Azure Resource Manager template
2122

22-
Azure Event Hubs is a Big Data streaming platform and event ingestion service, capable of receiving and processing millions of events per second. Event Hubs can process and store events, data, or telemetry produced by distributed software and devices. Data sent to an event hub can be transformed and stored using any real-time analytics provider or batching/storage adapters. For detailed overview of Event Hubs, see [Event Hubs overview](event-hubs-about.md) and [Event Hubs features](event-hubs-features.md).
23+
Azure Event Hubs is a Big Data streaming platform and event ingestion service, capable of receiving and processing millions of events per second. Event Hubs can process and store events, data, or telemetry produced by distributed software and devices. Data sent to an event hub can be transformed and stored using any real-time analytics provider or batching/storage adapters. For detailed overview of Event Hubs, see [Event Hubs overview](event-hubs-about.md) and [Event Hubs features](event-hubs-features.md). In this quickstart, you create an event hub by using an [Azure Resource Manager template](../azure-resource-manager/management/overview.md). You deploy an Azure Resource Manager template to create a namespace of type [Event Hubs](event-hubs-what-is-event-hubs.md), with one event hub.
2324

24-
In this quickstart, you create an event hub by using an [Azure Resource Manager template](../azure-resource-manager/management/overview.md). You deploy an Azure Resource Manager template to create a namespace of type [Event Hubs](event-hubs-what-is-event-hubs.md), with one event hub. The article shows how to define which resources are deployed and how to define parameters that are specified when the deployment is executed. You can use this template for your own deployments, or customize it to meet your requirements. For information about creating templates, see [Authoring Azure Resource Manager templates][Authoring Azure Resource Manager templates]. For the JSON syntax and properties to use in a template, see [Microsoft.EventHub resource types](/azure/templates/microsoft.eventhub/allversions).
25+
[!INCLUDE [About Azure Resource Manager](../../includes/resource-manager-quickstart-introduction.md)]
2526

2627
If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/) before you begin.
2728

29+
## Prerequisites
30+
31+
None.
32+
2833
## Create an event hub
2934

30-
In this quickstart, you use an [existing quickstart template](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-eventhubs-create-namespace-and-eventhub/azuredeploy.json):
35+
### Review the template
36+
37+
The template used in this quickstart is from [Azure Quickstart templates](https://azure.microsoft.com/resources/templates/101-eventhubs-create-namespace-and-eventhub/).
3138

32-
[!code-json[create-azure-event-hub-namespace](~/quickstart-templates/101-eventhubs-create-namespace-and-eventhub/azuredeploy.json)]
39+
:::code language="json" source="~/quickstart-templates/101-eventhubs-create-namespace-and-eventhub/azuredeploy.json" range="1-61" highlight="32-59":::
40+
41+
The resources defined in the template include:
42+
43+
- [**Microsoft.EventHub/namespaces**](/azure/templates/microsoft.eventhub/namespaces)
44+
- [**Microsoft.EventHub/namespaces/eventhubs**](/azure/templates/microsoft.eventhub/namespaces/eventhubs)
3345

3446
To find more template samples, see [Azure Quickstart Templates](https://azure.microsoft.com/resources/templates/?term=eventhub&pageNumber=1&sort=Popular).
3547

48+
### Deploy the template
49+
3650
To deploy the template:
3751

38-
1. Select **Try it** from the following code block, and then follow the instructions to sign in to the Azure Cloud shell.
52+
1. Select **Try it** from the following code block, and then follow the instructions to sign in to the Azure Cloud Shell.
3953

4054
```azurepowershell-interactive
4155
$projectName = Read-Host -Prompt "Enter a project name that is used for generating resource names"
@@ -56,7 +70,7 @@ To deploy the template:
5670

5771
## Verify the deployment
5872

59-
To verify the deployment, you can either open the resource group from the [Azure portal](https://portal.azure.com), or use the following Azure PowerShell script. If the Cloud shell is still open, you don't need to copy/run the first line (Read-Host).
73+
To verify the deployment, you can either open the resource group from the [Azure portal](https://portal.azure.com), or use the following Azure PowerShell script. If the Cloud Shell is still open, you don't need to copy/run the first line (Read-Host).
6074

6175
```azurepowershell-interactive
6276
$projectName = Read-Host -Prompt "Enter the same project name that you used in the last procedure"
@@ -70,7 +84,7 @@ Write-Host "Press [ENTER] to continue ..."
7084

7185
## Clean up resources
7286

73-
When the Azure resources are no longer needed, clean up the resources you deployed by deleting the resource group. If the Cloud shell is still open, you don't need to copy/run the first line (Read-Host).
87+
When the Azure resources are no longer needed, clean up the resources you deployed by deleting the resource group. If the Cloud Shell is still open, you don't need to copy/run the first line (Read-Host).
7488

7589
```azurepowershell-interactive
7690
$projectName = Read-Host -Prompt "Enter the same project name that you used in the last procedure"

0 commit comments

Comments
 (0)