共用方式為


EventGrid Constructors

Definition

Overloads

EventGrid()

Initializes a new instance of the EventGrid class.

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

Initializes a new instance of the EventGrid class.

EventGrid()

Initializes a new instance of the EventGrid class.

public EventGrid ();
Public Sub New ()

Applies to

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

Initializes a new instance of the EventGrid class.

public EventGrid (string topicEndpoint, string accessKey1, string provisioningState = default, DateTime? createdTime = default, string authenticationType = default, string deadLetterSecret = default, string deadLetterUri = default, string accessKey2 = default);
new Microsoft.Azure.Management.DigitalTwins.Models.EventGrid : string * string * string * Nullable<DateTime> * string * string * string * string -> Microsoft.Azure.Management.DigitalTwins.Models.EventGrid
Public Sub New (topicEndpoint As String, accessKey1 As String, 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 accessKey2 As String = Nothing)

Parameters

topicEndpoint
String

EventGrid Topic Endpoint.

accessKey1
String

EventGrid secondary accesskey. Will be obfuscated during read.

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.

accessKey2
String

EventGrid secondary accesskey. Will be obfuscated during read.

Applies to