Microsoft.Devices IotHubs/eventHubEndpoints/ConsumerGroups 2020-08-31-preview

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-08-31-preview' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    name: 'string'

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)

Character limit: 1-50

Valid characters:
Alphanumerics, hyphens, periods, and underscores.
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.
Symbolic name for resource of type: eventHubEndpoints
properties The EventHub consumer group name. EventHubConsumerGroupName


Name Description Value
name EventHub consumer group name string

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.