Create an Environment with an Event Hub Event Source

Sist oppdatert: 01.12.2017

This template enables you to deploy a Time Series Insights environment that is configured to consume events from an Event Hub.

Denne Azure Resource Manager (ARM)-malen ble opprettet av et medlem av fellesskapet og ikke av Microsoft. Hver ARM-mal er lisensiert til deg i henhold til en lisensavtale med eieren, ikke med Microsoft. Microsoft er ikke ansvarlig for ARM-maler som leveres og lisensieres av medlemmer og siler dem ikke ut med tanke på sikkerhet, kompatibilitet eller ytelse. Fellesskapets ARM-maler støttes ikke av noe Microsoft-støtteprogram eller -tjeneste, og er gjort tilgjengelig SOM DE ER, uten noen form for garanti.

Parametere

Parameternavn Beskrivelse
eventHubNamespaceName The namespace of the source event hub.
eventHubName The name of the source event hub.
consumerGroupName The name of the consumer group that the Time Series Insights service will use to read the data from the event hub. NOTE: To avoid resource contention, this consumer group must be dedicated to the Time Series Insights service and not shared with other readers.
existingEventHubResourceId An optional resource id of an existing Event Hub that will be connected to the Time Series Insights environment through the event source. NOTE: The user deploying the template must have privliges to perform the listkeys operation on the Event Hub. If no value is passed, a new event hub will be created by the template.
environmentName Name of the environment. The name cannot include: '<', '>', '%', '&', ':', '\', '?', '/' and any control characters. All other characters are allowed.
environmentDisplayName An optional friendly name to show in tooling or user interfaces instead of the environment name.
environmentSkuName The name of the sku. For more information, see https://azure.microsoft.com/pricing/details/time-series-insights/
environmentSkuCapacity The unit capacity of the Sku. For more information, see https://azure.microsoft.com/pricing/details/time-series-insights/
environmentDataRetentionTime The minimum timespan the environment’s events will be available for query. The value must be specified in the ISO 8601 format, e.g. "P30D" for a retention policy of 30 days.
eventSourceName Name of the event source child resource. The name cannot include: '<', '>', '%', '&', ':', '\', '?', '/' and any control characters. All other characters are allowed.
eventSourceDisplayName An optional friendly name to show in tooling or user interfaces instead of the event source name.
eventSourceTimestampPropertyName The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
eventSourceKeyName The name of the shared access key that the Time Series Insights service will use to connect to the event hub.
accessPolicyReaderObjectIds A list of object ids of the users or applications in AAD that should have Reader access to the environment. The service principal objectId can be obtained by calling the Get-AzureRMADUser or the Get-AzureRMADServicePrincipal cmdlets. Creating an access policy for AAD groups is not yet supported.
accessPolicyContributorObjectIds A list of object ids of the users or applications in AAD that should have Contributor access to the environment. The service principal objectId can be obtained by calling the Get-AzureRMADUser or the Get-AzureRMADServicePrincipal cmdlets. Creating an access policy for AAD groups is not yet supported.

Bruke malen

PowerShell

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-timeseriesinsights-environment-with-eventhub/azuredeploy.json
Installere og konfigurere Azure PowerShell

Kommandolinje

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-timeseriesinsights-environment-with-eventhub/azuredeploy.json
Installer og konfigurer Azures kommandolinjegrensesnitt for alle plattformer