Share via


IDomainUpdateParameterProperties.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.

[Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.Info(Create=true, Description="This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.\r\n        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.\r\n        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\r\n        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\r\n        (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\r\n        control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer\r\n        resources by the user.", PossibleTypes=new System.Type[] { typeof(System.Boolean) }, Read=true, ReadOnly=false, Required=false, SerializedName="autoDeleteTopicWithLastSubscription", Update=true)]
public bool? AutoDeleteTopicWithLastSubscription { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.Info(Create=true, Description="This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.\r\n        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.\r\n        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\r\n        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\r\n        (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\r\n        control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer\r\n        resources by the user.", PossibleTypes=new System.Type[] { typeof(System.Boolean) }, Read=true, ReadOnly=false, Required=false, SerializedName="autoDeleteTopicWithLastSubscription", Update=true)>]
member this.AutoDeleteTopicWithLastSubscription : Nullable<bool> with get, set
Public Property AutoDeleteTopicWithLastSubscription As Nullable(Of Boolean)

Property Value

Attributes

Applies to