Dela via


EventGridSubscriptionPatch Class

Definition

Properties of the Event Subscription update.

public class EventGridSubscriptionPatch
public class EventGridSubscriptionPatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EventGrid.Models.EventGridSubscriptionPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EventGrid.Models.EventGridSubscriptionPatch>
type EventGridSubscriptionPatch = class
type EventGridSubscriptionPatch = class
    interface IJsonModel<EventGridSubscriptionPatch>
    interface IPersistableModel<EventGridSubscriptionPatch>
Public Class EventGridSubscriptionPatch
Public Class EventGridSubscriptionPatch
Implements IJsonModel(Of EventGridSubscriptionPatch), IPersistableModel(Of EventGridSubscriptionPatch)
Inheritance
EventGridSubscriptionPatch
Implements

Constructors

EventGridSubscriptionPatch()

Initializes a new instance of EventGridSubscriptionPatch.

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 (topic / 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 (topic / 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

Information about the expiration time for the event subscription.

Filter

Information about the filter for the event subscription.

Labels

List of user defined labels.

RetryPolicy

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

Explicit Interface Implementations

IJsonModel<EventGridSubscriptionPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<EventGridSubscriptionPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventGridSubscriptionPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventGridSubscriptionPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<EventGridSubscriptionPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to