Udostępnij za pośrednictwem


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
String

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

createdTime
Nullable<DateTime>

Time when the Endpoint was added to DigitalTwinsInstance.

authenticationType
String

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'

deadLetterSecret
String

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

deadLetterUri
String

Dead letter storage URL for identity-based authentication.

connectionStringPrimaryKey
String

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

connectionStringSecondaryKey
String

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

endpointUri
String

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

entityPath
String

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

Applies to