共用方式為


ArmDigitalTwinsModelFactory.DigitalTwinsEventGridProperties Method

Definition

Initializes a new instance of DigitalTwinsEventGridProperties.

public static Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsEventGridProperties DigitalTwinsEventGridProperties (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 topicEndpoint = default, string accessKey1 = default, string accessKey2 = default);
static member DigitalTwinsEventGridProperties : Nullable<Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsEndpointProvisioningState> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsAuthenticationType> * string * Uri * Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsManagedIdentityReference * string * string * string -> Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsEventGridProperties
Public Shared Function DigitalTwinsEventGridProperties (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 topicEndpoint As String = Nothing, Optional accessKey1 As String = Nothing, Optional accessKey2 As String = Nothing) As DigitalTwinsEventGridProperties

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.

topicEndpoint
String

EventGrid Topic Endpoint.

accessKey1
String

EventGrid secondary accesskey. Will be obfuscated during read.

accessKey2
String

EventGrid secondary accesskey. Will be obfuscated during read.

Returns

A new DigitalTwinsEventGridProperties instance for mocking.

Applies to