Microsoft.Devices IotHubs/eventHubEndpoints/ConsumerGroups 2020-04-01

The IotHubs/eventHubEndpoints/ConsumerGroups resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.Devices/IotHubs/eventHubEndpoints/ConsumerGroups resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Devices/IotHubs/eventHubEndpoints/ConsumerGroups@2020-04-01' = {
  name: 'string'
  parent: parentSymbolicName
}

Property values

IotHubs/eventHubEndpoints/ConsumerGroups

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Devices/IotHubs/eventHubEndpoints/ConsumerGroups'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2020-04-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
parentSymbolicName

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create an IoT Hub and a Device to Cloud Consumer Group

Deploy to Azure
This template enables you to deploy an IoT Hub instance with device to cloud and cloud to device messaging configurations and a device to cloud consumer group.
Create Device Update for IoT Hub account, instance, IoT Hub.

Deploy to Azure
This template creates an account, and an instance and a hub to link the instance with. It configures the hub with the necessary access polices, routes, and consumer group.
Create a Pay As You Go (PAYG) Environment with an IoT Hub

Deploy to Azure
This template enables you to deploy a Pay As You Go (PAYG) Time Series Insights environment that is configured to consume events from an IoT Hub.