Share via


EventGridDomain.AutoDeleteTopicWithLastSubscription Property

Definition

This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource. In this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true. When this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope of the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer resources by the user.

public Azure.Provisioning.BicepValue<bool> AutoDeleteTopicWithLastSubscription { get; set; }
member this.AutoDeleteTopicWithLastSubscription : Azure.Provisioning.BicepValue<bool> with get, set
Public Property AutoDeleteTopicWithLastSubscription As BicepValue(Of Boolean)

Property Value

Applies to