Azure Resource Providers, Types and Actions

Alberto De Natale
3 min readDec 14, 2019

--

A recurring concept when working with Azure is Resource Providers.

Have you ever seen Microsoft.EventHub or Microsoft.KeyVault?

If not no problem, in this article I will get you started on what resource providers are.

Resource Providers

In order to uniquely identify and organise things, Azure adopts a hierarchical naming convention.

The first level of this tree would be the subscription id. At a level just down below we have Resource Providers like Microsoft.EventHub

To see an entire list of the resource providers available in Azure see:

Each subscription has the capability to register for a resource provider.

That may be done in the portal, in the subscription section.

Once a provider gets registered a subscription may be able to use the resources that it provides.

Resource Types

One might then ask, what’s next?

There are Resource types.

Resource types identify Azure Products.

Depending on the products, there may be different levels. For example, Azure Event Hubs Namespaces are containers for Azure Event Hubs.

Actions

Each resource type may allow for different actions on it.

To check an entire list of actions available for a given resource, look at:

A write action would then be identified with the following URI:

“Microsoft.EventHub/namespaces/eventhubs/write”

Instances

The hierarchy used to organise resource types and actions may be used also to organise instances created in a subscription.

EventHubA would be identified by the following URI:

“subscriptionId/Microsoft.EventHub/namespaces/eventhubs/EventHubA”

Resource Explorer

There is a dedicated resource in Azure that allows to explore the different resource providers and types.

If you are interested, go and check it out at the following link:

REST APIs

Each resource provider exposes a REST API.

More details may be found at:

Summary

Resource Providers and Types play a key role in Azure in order to keep resources organised and easy their search.

--

--

Alberto De Natale

Alberto De Natale is a passionate tech-enthusiast software developer.