Muistiinpano
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoa.
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoa.
A namespace in Azure Event Grid is a logical container for one or more topics, clients, client groups, topic spaces, and permission bindings. A namespace gives you a unique, addressable space so that you can have multiple resources in the same Azure region and manage related resources as a single unit in your Azure subscription.
This article shows you how to use the Azure portal to create, view, and manage an Azure Event Grid namespace.
Prerequisites
- An Azure account with an active subscription. If you don't have one, create a free account.
Create an Event Grid namespace
Use the following steps to create an Event Grid namespace in the Azure portal.
Sign in to the Azure portal.
In the search box, enter Event Grid Namespaces and select Event Grid Namespaces from the results.
On the Event Grid Namespaces page, select + Create on the toolbar.
On the Basics page, follow these steps.
Select the Azure subscription in which you want to create the namespace.
Select an existing resource group or create a resource group.
Enter a name for the namespace.
Select the region or location where you want to create the namespace.
If the selected region supports availability zones, enable or disable the Availability zones checkbox. The checkbox is selected by default if the region supports availability zones. However, you can uncheck and disable availability zones if needed. You can't change the selection once the namespace is created.
Use the slider or text box to specify the number of throughput units for the namespace. Throughput units (TUs) define the ingress and egress event rate capacity in namespaces.
Select Next: Networking at the bottom of the page.
Follow steps from Configure IP firewall or Configure private endpoints to configure IP firewall or private endpoints for the namespace, and then select Next: Security at the bottom of the page.
On the Security page, create a managed identity by following instructions from Enable managed identity for a namespace, and then select Next: Tags at the bottom of the page.
On the Tags tab, add tags if you need them. Then, select Next: Review + create at the bottom of the page.
On the Review + create tab, review your settings, and then select Create.
On the Deployment succeeded page, select Go to resource to go to your namespace.
View an Event Grid namespace
Use the following steps to open an existing Event Grid namespace.
Sign in to the Azure portal.
In the search box, enter Event Grid Namespaces and select Event Grid Namespaces from the results.
On the Event Grid Namespaces page, select your namespace.
The Event Grid Namespace page for your namespace appears.
Enable MQTT on an Event Grid namespace
To enable the MQTT capabilities in the Azure Event Grid namespace, select Configuration and check the option Enable MQTT.
Note
After you enable MQTT, you can't disable it.
Configure throughput units (TUs) for a namespace
You can configure throughput units (TUs) for a namespace either manually or by enabling autoscale:
- To manually set the number of TUs for a namespace, see Configure manual scale for an Azure Event Grid namespace.
- To let Event Grid automatically adjust TUs based on workload demand, see Enable autoscale for an Event Grid namespace.
Delete an Event Grid namespace
When you no longer need a namespace, delete it to remove the namespace and all its nested resources.
Follow the steps in the View an Event Grid namespace section to list all the namespaces, and then select the namespace that you want to delete.
On the Overview page, select Delete on the toolbar.
On the confirmation page, enter the name of the resource, and then select Delete to confirm the deletion. This action deletes the namespace and all the nested topics, subscriptions, and MQTT resources.