DomainUpdateParameters.AutoDeleteTopicWithLastSubscription Property
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.
Gets or sets 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.
[Newtonsoft.Json.JsonProperty(PropertyName="properties.autoDeleteTopicWithLastSubscription")]
public bool? AutoDeleteTopicWithLastSubscription { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.autoDeleteTopicWithLastSubscription")>]
member this.AutoDeleteTopicWithLastSubscription : Nullable<bool> with get, set
Public Property AutoDeleteTopicWithLastSubscription As Nullable(Of Boolean)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute