EventHub Class

properties related to 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.digitaltwins.v2020_03_01_preview.models._models_py3.DigitalTwinsEndpointResourceProperties
EventHub

Constructor

EventHub(*, connection_string_primary_key: str, connection_string_secondary_key: str, tags: Optional[Dict[str, str]] = None, **kwargs)

Variables

endpoint_type
str or EndpointType

Required. The type of Digital Twins endpoint.Constant filled by server. Possible values include: "EventHub", "EventGrid", "ServiceBus".

provisioning_state
str or EndpointProvisioningState

The provisioning state. Possible values include: "Provisioning", "Deleting", "Succeeded", "Failed", "Canceled".

created_time
datetime

Time when the Endpoint was added to DigitalTwinsInstance.

tags
dict[str, str]

A set of tags. The resource tags.

connection_string_primary_key
str

Required. PrimaryConnectionString of the endpoint. Will be obfuscated during read.

connection_string_secondary_key
str

Required. SecondaryConnectionString of the endpoint. Will be obfuscated during read.