EventGridSubscriptionData Class

Definition

A class representing the EventGridSubscription data model. Event Subscription.

public class EventGridSubscriptionData : Azure.ResourceManager.Models.ResourceData
type EventGridSubscriptionData = class
    inherit ResourceData
Public Class EventGridSubscriptionData
Inherits ResourceData
Inheritance
EventGridSubscriptionData

Constructors

EventGridSubscriptionData()

Initializes a new instance of EventGridSubscriptionData.

Properties

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. Please note DeadLetterDestination is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include StorageBlobDeadLetterDestination.

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.

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.

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. Please note EventSubscriptionDestination is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureFunctionEventSubscriptionDestination, EventHubEventSubscriptionDestination, HybridConnectionEventSubscriptionDestination, MonitorAlertEventSubscriptionDestination, NamespaceTopicEventSubscriptionDestination, PartnerEventSubscriptionDestination, ServiceBusQueueEventSubscriptionDestination, ServiceBusTopicEventSubscriptionDestination, StorageQueueEventSubscriptionDestination and WebHookEventSubscriptionDestination.

EventDeliverySchema

The event delivery schema for the event subscription.

ExpireOn

Expiration time of the event subscription.

Filter

Information about the filter for the event subscription.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Labels

List of user defined labels.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

Provisioning state of the event subscription.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
RetryPolicy

The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Topic

Name of the topic of the event subscription.

Applies to