/// <summary>
 /// Initializes a new instance of the DeadLetterWithResourceIdentity
 /// class.
 /// </summary>
 /// <param name="identity">The identity to use when dead-lettering
 /// events.</param>
 /// <param name="deadLetterDestination">Information about the
 /// destination where events have to be delivered for the event
 /// subscription.
 /// Uses the managed identity setup on the parent resource (namely,
 /// topic or domain) to acquire the authentication tokens being used
 /// during delivery / dead-lettering.</param>
 public DeadLetterWithResourceIdentity(EventSubscriptionIdentity identity = default(EventSubscriptionIdentity), DeadLetterDestination deadLetterDestination = default(DeadLetterDestination))
 {
     Identity = identity;
     DeadLetterDestination = deadLetterDestination;
     CustomInit();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the DeliveryWithResourceIdentity
 /// class.
 /// </summary>
 /// <param name="identity">The identity to use when delivering
 /// events.</param>
 /// <param name="destination">Information about the destination where
 /// events have to be delivered for the event subscription.
 /// Uses Azure Event Grid's identity to acquire the authentication
 /// tokens being used during delivery / dead-lettering.</param>
 public DeliveryWithResourceIdentity(EventSubscriptionIdentity identity = default(EventSubscriptionIdentity), EventSubscriptionDestination destination = default(EventSubscriptionDestination))
 {
     Identity    = identity;
     Destination = destination;
     CustomInit();
 }