ArmDigitalTwinsModelFactory.DigitalTwinsServiceBusProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DigitalTwinsServiceBusProperties.
public static Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsServiceBusProperties DigitalTwinsServiceBusProperties (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 primaryConnectionString = default, string secondaryConnectionString = default, Uri endpointUri = default, string entityPath = default);
static member DigitalTwinsServiceBusProperties : 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.DigitalTwinsServiceBusProperties
Public Shared Function DigitalTwinsServiceBusProperties (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 primaryConnectionString As String = Nothing, Optional secondaryConnectionString As String = Nothing, Optional endpointUri As Uri = Nothing, Optional entityPath As String = Nothing) As DigitalTwinsServiceBusProperties
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.
- primaryConnectionString
- String
PrimaryConnectionString of the endpoint for key-based authentication. Will be obfuscated during read.
- secondaryConnectionString
- String
SecondaryConnectionString of the endpoint for key-based authentication. Will be obfuscated during read.
- endpointUri
- Uri
The URL of the ServiceBus namespace for identity-based authentication. It must include the protocol 'sb://'.
- entityPath
- String
The ServiceBus Topic name for identity-based authentication.
Returns
A new DigitalTwinsServiceBusProperties instance for mocking.