共用方式為


ArmDigitalTwinsModelFactory.DigitalTwinsEventHubProperties Method

Definition

Initializes a new instance of DigitalTwinsEventHubProperties.

public static Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsEventHubProperties DigitalTwinsEventHubProperties (Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsEndpointProvisioningState? provisioningState = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsAuthenticationType? authenticationType = default, string deadLetterSecret = default, Uri deadLetterUri = default, Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsManagedIdentityReference identity = default, string connectionStringPrimaryKey = default, string connectionStringSecondaryKey = default, Uri endpointUri = default, string entityPath = default);
static member DigitalTwinsEventHubProperties : Nullable<Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsEndpointProvisioningState> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsAuthenticationType> * string * Uri * Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsManagedIdentityReference * string * string * Uri * string -> Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsEventHubProperties
Public Shared Function DigitalTwinsEventHubProperties (Optional provisioningState As Nullable(Of DigitalTwinsEndpointProvisioningState) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional authenticationType As Nullable(Of DigitalTwinsAuthenticationType) = Nothing, Optional deadLetterSecret As String = Nothing, Optional deadLetterUri As Uri = Nothing, Optional identity As DigitalTwinsManagedIdentityReference = Nothing, Optional connectionStringPrimaryKey As String = Nothing, Optional connectionStringSecondaryKey As String = Nothing, Optional endpointUri As Uri = Nothing, Optional entityPath As String = Nothing) As DigitalTwinsEventHubProperties

Parameters

provisioningState
Nullable<DigitalTwinsEndpointProvisioningState>

The provisioning state.

createdOn
Nullable<DateTimeOffset>

Time when the Endpoint was added to DigitalTwinsInstance.

authenticationType
Nullable<DigitalTwinsAuthenticationType>

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.

deadLetterSecret
String

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

deadLetterUri
Uri

Dead letter storage URL for identity-based authentication.

identity
DigitalTwinsManagedIdentityReference

Managed identity properties for the endpoint.

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
Uri

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.

Returns

A new DigitalTwinsEventHubProperties instance for mocking.

Applies to