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/event-hubs/event-hubs-quickstart-cli.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,9 @@ In this quickstart, you will create an event hub using Azure CLI.
18
18
- This article requires version 2.0.4 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
19
19
20
20
## Create a resource group
21
-
A resource group is a logical collection of Azure resources. All resources are deployed and managed in a resource group. Run the following command to create a resource group. Select **Copy** to copy the command and paste it into the Cloud Shell, and run it.
21
+
Run the following command to create a resource group. A resource group is a logical collection of Azure resources. All resources are deployed and managed in a resource group.
22
+
23
+
Select **Copy** to copy the command and paste it into the Cloud Shell or CLI window, and run it. Update the resource group name and the region if you like.
22
24
23
25
```azurecli-interactive
24
26
rgName="contosorg$RANDOM"
@@ -43,7 +45,7 @@ You see the output similar to the following one. You see the resource group name
43
45
```
44
46
45
47
## Create an Event Hubs namespace
46
-
An Event Hubs namespace provides a unique scoping container, referenced by its fully qualified domain name, in which you create one or more event hubs. To create a namespace in your resource group, run the following command:
48
+
Run the following command to create an Event Hubs namespace. An Event Hubs namespace provides a unique scoping container, referenced by its fully qualified domain name, in which you create one or more event hubs. Update the name of the namespace if you like.
47
49
48
50
```azurecli-interactive
49
51
# Create an Event Hubs namespace. Specify a name for the Event Hubs namespace.
@@ -83,7 +85,7 @@ You see the output similar to the following one. You see the name of the namespa
83
85
```
84
86
85
87
## Create an event hub
86
-
Run the following command to create an event hub.
88
+
Run the following command to create an event hub. Update the name of the event hub if you like.
87
89
88
90
```azurecli-interactive
89
91
# Create an event hub. Specify a name for the event hub.
@@ -127,6 +129,12 @@ az group delete --name $rgName
127
129
128
130
## Next steps
129
131
130
-
> [!div class="nextstepaction"]
131
-
> See the **Send and receive events** tutorials: [.NET Core](event-hubs-dotnet-standard-getstarted-send.md), [Java](event-hubs-java-get-started-send.md), [Python](event-hubs-python-get-started-send.md), [JavaScript](event-hubs-node-get-started-send.md)
132
+
In this article, you created a resource group, an Event Hubs namespace, and an event hub. For step-by-step instructions to send events to (or) receive events from an event hub, see the **Send and receive events** tutorials:
0 commit comments