共用方式為


ArmDigitalTwinsModelFactory.DigitalTwinsEndpointResourceProperties Method

Definition

Initializes a new instance of DigitalTwinsEndpointResourceProperties.

public static Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsEndpointResourceProperties DigitalTwinsEndpointResourceProperties (string endpointType = "Unknown", 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);
static member DigitalTwinsEndpointResourceProperties : string * Nullable<Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsEndpointProvisioningState> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsAuthenticationType> * string * Uri * Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsManagedIdentityReference -> Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsEndpointResourceProperties
Public Shared Function DigitalTwinsEndpointResourceProperties (Optional endpointType As String = "Unknown", 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) As DigitalTwinsEndpointResourceProperties

Parameters

endpointType
String

The type of Digital Twins endpoint.

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.

Returns

A new DigitalTwinsEndpointResourceProperties instance for mocking.

Applies to