EventHub Constructors

Definition

Overloads

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.

EventHub()

Initializes a new instance of the EventHub class.

public EventHub ();
Public Sub New ()

Applies to

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

Initializes a new instance of the EventHub class.

public EventHub (string provisioningState = default, DateTime? createdTime = default, string authenticationType = default, string deadLetterSecret = default, string deadLetterUri = default, string connectionStringPrimaryKey = default, string connectionStringSecondaryKey = default, string endpointUri = default, string entityPath = default);
new Microsoft.Azure.Management.DigitalTwins.Models.EventHub : string * Nullable<DateTime> * string * string * string * string * string * string * string -> Microsoft.Azure.Management.DigitalTwins.Models.EventHub
Public Sub New (Optional provisioningState As String = Nothing, Optional createdTime As Nullable(Of DateTime) = Nothing, Optional authenticationType As String = Nothing, Optional deadLetterSecret As String = Nothing, Optional deadLetterUri As String = Nothing, Optional connectionStringPrimaryKey As String = Nothing, Optional connectionStringSecondaryKey As String = Nothing, Optional endpointUri As String = Nothing, Optional entityPath As String = Nothing)

Parameters

provisioningState
System.String

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

createdTime
System.Nullable<System.DateTime>

Time when the Endpoint was added to DigitalTwinsInstance.

authenticationType
System.String

Specifies the authentication type being used for connecting to the endpoint. Possible values include: 'KeyBased', 'IdentityBased'

deadLetterSecret
System.String

Dead letter storage secret for key-based authentication. Will be obfuscated during read.

deadLetterUri
System.String

Dead letter storage URL for identity-based authentication.

connectionStringPrimaryKey
System.String

PrimaryConnectionString of the endpoint for key-based authentication. Will be obfuscated during read.

connectionStringSecondaryKey
System.String

SecondaryConnectionString of the endpoint for key-based authentication. Will be obfuscated during read.

endpointUri
System.String

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

entityPath
System.String

The EventHub name in the EventHub namespace for identity-based authentication.

Applies to