Delen via


EventHub Class

Definition

Properties related to EventHub.

public class EventHub : Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsEndpointResourceProperties
type EventHub = class
    inherit DigitalTwinsEndpointResourceProperties
Public Class EventHub
Inherits DigitalTwinsEndpointResourceProperties
Inheritance

Constructors

EventHub()

Initializes a new instance of the EventHub class.

EventHub(String, Nullable<DateTime>, String, String, String, String, String, String, String)

Initializes a new instance of the EventHub class.

Properties

AuthenticationType

Gets or sets specifies the authentication type being used for connecting to the endpoint. Defaults to 'KeyBased'. If 'KeyBased' is selected, a connection string must be specified (at least the primary connection string). If 'IdentityBased' is select, the endpointUri and entityPath properties must be specified. Possible values include: 'KeyBased', 'IdentityBased'

(Inherited from DigitalTwinsEndpointResourceProperties)
ConnectionStringPrimaryKey

Gets or sets primaryConnectionString of the endpoint for key-based authentication. Will be obfuscated during read.

ConnectionStringSecondaryKey

Gets or sets secondaryConnectionString of the endpoint for key-based authentication. Will be obfuscated during read.

CreatedTime

Gets time when the Endpoint was added to DigitalTwinsInstance.

(Inherited from DigitalTwinsEndpointResourceProperties)
DeadLetterSecret

Gets or sets dead letter storage secret for key-based authentication. Will be obfuscated during read.

(Inherited from DigitalTwinsEndpointResourceProperties)
DeadLetterUri

Gets or sets dead letter storage URL for identity-based authentication.

(Inherited from DigitalTwinsEndpointResourceProperties)
EndpointUri

Gets or sets the URL of the EventHub namespace for identity-based authentication. It must include the protocol 'sb://'.

EntityPath

Gets or sets the EventHub name in the EventHub namespace for identity-based authentication.

ProvisioningState

Gets the provisioning state. Possible values include: 'Provisioning', 'Deleting', 'Updating', 'Succeeded', 'Failed', 'Canceled', 'Deleted', 'Warning', 'Suspending', 'Restoring', 'Moving', 'Disabled'

(Inherited from DigitalTwinsEndpointResourceProperties)

Applies to