/// <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.</param> /// <param name="filter">Information about the filter for the event /// subscription.</param> /// <param name="labels">List of user defined labels.</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 DeadLetter destination of /// the event subscription.</param> public EventSubscriptionUpdateParameters(EventSubscriptionDestination destination = default(EventSubscriptionDestination), EventSubscriptionFilter filter = default(EventSubscriptionFilter), IList <string> labels = default(IList <string>), RetryPolicy retryPolicy = default(RetryPolicy), DeadLetterDestination deadLetterDestination = default(DeadLetterDestination)) { Destination = destination; Filter = filter; Labels = labels; RetryPolicy = retryPolicy; DeadLetterDestination = deadLetterDestination; CustomInit(); }
/// <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.</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', /// 'CloudEventV01Schema', 'CustomInputSchema'</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 DeadLetter destination of /// the event subscription.</param> public EventSubscriptionUpdateParameters(EventSubscriptionDestination destination = default(EventSubscriptionDestination), 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)) { Destination = destination; Filter = filter; Labels = labels; ExpirationTimeUtc = expirationTimeUtc; EventDeliverySchema = eventDeliverySchema; RetryPolicy = retryPolicy; DeadLetterDestination = deadLetterDestination; CustomInit(); }
/// <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.</param> /// <param name="filter">Information about the filter for the event /// subscription.</param> /// <param name="labels">List of user defined labels.</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 DeadLetter destination of /// the event subscription.</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), EventSubscriptionFilter filter = default(EventSubscriptionFilter), IList <string> labels = default(IList <string>), RetryPolicy retryPolicy = default(RetryPolicy), DeadLetterDestination deadLetterDestination = default(DeadLetterDestination)) : base(id, name, type) { Topic = topic; ProvisioningState = provisioningState; Destination = destination; Filter = filter; Labels = labels; RetryPolicy = retryPolicy; DeadLetterDestination = deadLetterDestination; CustomInit(); }
/// <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.</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', /// 'CloudEventV01Schema', 'CustomInputSchema'</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 DeadLetter destination of /// the event subscription.</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), 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)) : base(id, name, type) { Topic = topic; ProvisioningState = provisioningState; Destination = destination; Filter = filter; Labels = labels; ExpirationTimeUtc = expirationTimeUtc; EventDeliverySchema = eventDeliverySchema; RetryPolicy = retryPolicy; DeadLetterDestination = deadLetterDestination; CustomInit(); }