コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the EventSubscriptionUpdateParameters
 /// class.
 /// </summary>
 /// <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>
 /// <param name="deliveryWithResourceIdentity">Information about the
 /// destination where events have to be delivered for the event
 /// subscription.
 /// Uses the managed identity setup on the parent resource (topic /
 /// domain) to acquire the authentication tokens being used during
 /// delivery / dead-lettering.</param>
 /// <param name="filter">Information about the filter for the event
 /// subscription.</param>
 /// <param name="labels">List of user defined labels.</param>
 /// <param name="expirationTimeUtc">Information about the expiration
 /// time for the event subscription.</param>
 /// <param name="eventDeliverySchema">The event delivery schema for the
 /// event subscription. Possible values include: 'EventGridSchema',
 /// 'CustomInputSchema', 'CloudEventSchemaV1_0'</param>
 /// <param name="retryPolicy">The retry policy for events. This can be
 /// used to configure maximum number of delivery attempts and time to
 /// live for events.</param>
 /// <param name="deadLetterDestination">The dead letter destination of
 /// the event subscription. Any event that cannot be delivered to its'
 /// destination is sent to the dead letter destination.
 /// Uses Azure Event Grid's identity to acquire the authentication
 /// tokens being used during delivery / dead-lettering.</param>
 /// <param name="deadLetterWithResourceIdentity">The dead letter
 /// destination of the event subscription. Any event that cannot be
 /// delivered to its' destination is sent to the dead letter
 /// destination.
 /// Uses the managed identity setup on the parent resource (topic /
 /// domain) to acquire the authentication tokens being used during
 /// delivery / dead-lettering.</param>
 public EventSubscriptionUpdateParameters(EventSubscriptionDestination destination = default(EventSubscriptionDestination), DeliveryWithResourceIdentity deliveryWithResourceIdentity = default(DeliveryWithResourceIdentity), EventSubscriptionFilter filter = default(EventSubscriptionFilter), IList <string> labels = default(IList <string>), System.DateTime?expirationTimeUtc = default(System.DateTime?), string eventDeliverySchema = default(string), RetryPolicy retryPolicy = default(RetryPolicy), DeadLetterDestination deadLetterDestination = default(DeadLetterDestination), DeadLetterWithResourceIdentity deadLetterWithResourceIdentity = default(DeadLetterWithResourceIdentity))
 {
     Destination = destination;
     DeliveryWithResourceIdentity = deliveryWithResourceIdentity;
     Filter                         = filter;
     Labels                         = labels;
     ExpirationTimeUtc              = expirationTimeUtc;
     EventDeliverySchema            = eventDeliverySchema;
     RetryPolicy                    = retryPolicy;
     DeadLetterDestination          = deadLetterDestination;
     DeadLetterWithResourceIdentity = deadLetterWithResourceIdentity;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the EventSubscription class.
 /// </summary>
 /// <param name="id">Fully qualified identifier of the
 /// resource.</param>
 /// <param name="name">Name of the resource</param>
 /// <param name="type">Type of the resource</param>
 /// <param name="topic">Name of the topic of the event
 /// subscription.</param>
 /// <param name="provisioningState">Provisioning state of the event
 /// subscription. Possible values include: 'Creating', 'Updating',
 /// 'Deleting', 'Succeeded', 'Canceled', 'Failed',
 /// 'AwaitingManualAction'</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>
 /// <param name="deliveryWithResourceIdentity">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>
 /// <param name="filter">Information about the filter for the event
 /// subscription.</param>
 /// <param name="labels">List of user defined labels.</param>
 /// <param name="expirationTimeUtc">Expiration time of the event
 /// subscription.</param>
 /// <param name="eventDeliverySchema">The event delivery schema for the
 /// event subscription. Possible values include: 'EventGridSchema',
 /// 'CustomInputSchema', 'CloudEventSchemaV1_0'</param>
 /// <param name="retryPolicy">The retry policy for events. This can be
 /// used to configure maximum number of delivery attempts and time to
 /// live for events.</param>
 /// <param name="deadLetterDestination">The dead letter destination of
 /// the event subscription. Any event that cannot be delivered to its'
 /// destination is sent to the dead letter destination.
 /// Uses Azure Event Grid's identity to acquire the authentication
 /// tokens being used during delivery / dead-lettering.</param>
 /// <param name="deadLetterWithResourceIdentity">The dead letter
 /// destination of the event subscription. Any event that cannot be
 /// delivered to its' destination is sent to the dead letter
 /// destination.
 /// 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 EventSubscription(string id = default(string), string name = default(string), string type = default(string), string topic = default(string), string provisioningState = default(string), EventSubscriptionDestination destination = default(EventSubscriptionDestination), DeliveryWithResourceIdentity deliveryWithResourceIdentity = default(DeliveryWithResourceIdentity), EventSubscriptionFilter filter = default(EventSubscriptionFilter), IList <string> labels = default(IList <string>), System.DateTime?expirationTimeUtc = default(System.DateTime?), string eventDeliverySchema = default(string), RetryPolicy retryPolicy = default(RetryPolicy), DeadLetterDestination deadLetterDestination = default(DeadLetterDestination), DeadLetterWithResourceIdentity deadLetterWithResourceIdentity = default(DeadLetterWithResourceIdentity))
     : base(id, name, type)
 {
     Topic                          = topic;
     ProvisioningState              = provisioningState;
     Destination                    = destination;
     DeliveryWithResourceIdentity   = deliveryWithResourceIdentity;
     Filter                         = filter;
     Labels                         = labels;
     ExpirationTimeUtc              = expirationTimeUtc;
     EventDeliverySchema            = eventDeliverySchema;
     RetryPolicy                    = retryPolicy;
     DeadLetterDestination          = deadLetterDestination;
     DeadLetterWithResourceIdentity = deadLetterWithResourceIdentity;
     CustomInit();
 }