다음을 통해 공유


ServiceBus Constructors

Definition

Overloads

ServiceBus()

Initializes a new instance of the ServiceBus class.

ServiceBus(String, Nullable<DateTime>, String, String, String, String, String, String, String)

Initializes a new instance of the ServiceBus class.

ServiceBus()

Initializes a new instance of the ServiceBus class.

public ServiceBus ();
Public Sub New ()

Applies to

ServiceBus(String, Nullable<DateTime>, String, String, String, String, String, String, String)

Initializes a new instance of the ServiceBus class.

public ServiceBus (string provisioningState = default, DateTime? createdTime = default, string authenticationType = default, string deadLetterSecret = default, string deadLetterUri = default, string primaryConnectionString = default, string secondaryConnectionString = default, string endpointUri = default, string entityPath = default);
new Microsoft.Azure.Management.DigitalTwins.Models.ServiceBus : string * Nullable<DateTime> * string * string * string * string * string * string * string -> Microsoft.Azure.Management.DigitalTwins.Models.ServiceBus
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 primaryConnectionString As String = Nothing, Optional secondaryConnectionString 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.

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
String

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.

Applies to