EventGridSubscriptionData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing the EventGridSubscription data model. Event Subscription.
public class EventGridSubscriptionData : Azure.ResourceManager.Models.ResourceData
public class EventGridSubscriptionData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EventGrid.EventGridSubscriptionData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EventGrid.EventGridSubscriptionData>
type EventGridSubscriptionData = class
inherit ResourceData
type EventGridSubscriptionData = class
inherit ResourceData
interface IJsonModel<EventGridSubscriptionData>
interface IPersistableModel<EventGridSubscriptionData>
Public Class EventGridSubscriptionData
Inherits ResourceData
Public Class EventGridSubscriptionData
Inherits ResourceData
Implements IJsonModel(Of EventGridSubscriptionData), IPersistableModel(Of EventGridSubscriptionData)
- Inheritance
- Implements
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. |
Explicit Interface Implementations
IJsonModel<EventGridSubscriptionData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<EventGridSubscriptionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<EventGridSubscriptionData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<EventGridSubscriptionData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<EventGridSubscriptionData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET