EventHubEventSourceResource Class
An event source that receives its data from an Azure EventHub.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.timeseriesinsights.models._models_py3.EventSourceResourceEventHubEventSourceResource
Constructor
EventHubEventSourceResource(*, location: str, event_source_resource_id: str, service_bus_namespace: str, event_hub_name: str, consumer_group_name: str, key_name: str, tags: Optional[Dict[str, str]] = None, timestamp_property_name: Optional[str] = None, **kwargs)
Parameters
- kind
- str or EventSourceResourceKind
Required. The kind of the event source.Constant filled by server. Possible values include: "Microsoft.EventHub", "Microsoft.IoTHub".
- timestamp_property_name
- str
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.
- event_source_resource_id
- str
Required. The resource id of the event source in Azure Resource Manager.
- service_bus_namespace
- str
Required. The name of the service bus that contains the event hub.
- consumer_group_name
- str
Required. The name of the event hub's consumer group that holds the partitions from which events will be read.
- key_name
- str
Required. The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub.
Variables
- id
- str
Resource Id.
- name
- str
Resource name.
- type
- str
Resource type.
- provisioning_state
- str or ProvisioningState
Provisioning state of the resource. Possible values include: "Accepted", "Creating", "Updating", "Succeeded", "Failed", "Deleting".
- creation_time
- datetime
The time the resource was created.
Feedback
Submit and view feedback for