Share via


EventSubscription Class

Definition

Event Subscription

[Microsoft.Rest.Serialization.JsonTransformation]
public class EventSubscription : Microsoft.Azure.Management.EventGrid.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type EventSubscription = class
    inherit Resource
Public Class EventSubscription
Inherits Resource
Inheritance
EventSubscription
Attributes

Constructors

EventSubscription()

Initializes a new instance of the EventSubscription class.

EventSubscription(String, String, String, String, String, EventSubscriptionDestination, DeliveryWithResourceIdentity, EventSubscriptionFilter, IList<String>, Nullable<DateTime>, String, RetryPolicy, DeadLetterDestination, DeadLetterWithResourceIdentity, SystemData)

Initializes a new instance of the EventSubscription class.

Properties

DeadLetterDestination

Gets or sets 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.

DeadLetterWithResourceIdentity

Gets or sets 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.

DeliveryWithResourceIdentity

Gets or sets 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.

Destination

Gets or sets 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.

EventDeliverySchema

Gets or sets the event delivery schema for the event subscription. Possible values include: 'EventGridSchema', 'CustomInputSchema', 'CloudEventSchemaV1_0'

ExpirationTimeUtc

Gets or sets expiration time of the event subscription.

Filter

Gets or sets information about the filter for the event subscription.

Id

Gets fully qualified identifier of the resource.

(Inherited from Resource)
Labels

Gets or sets list of user defined labels.

Name

Gets name of the resource.

(Inherited from Resource)
ProvisioningState

Gets provisioning state of the event subscription. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed', 'AwaitingManualAction'

RetryPolicy

Gets or sets the retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.

SystemData

Gets the system metadata relating to Event Subscription resource.

Topic

Gets name of the topic of the event subscription.

Type

Gets type of the resource.

(Inherited from Resource)

Applies to