Interface Domain.DefinitionStages.WithAutoDeleteTopicWithLastSubscription

All Known Subinterfaces:
Domain.Definition, Domain.DefinitionStages.WithCreate
Enclosing interface:
Domain.DefinitionStages

public static interface Domain.DefinitionStages.WithAutoDeleteTopicWithLastSubscription
The stage of the Domain definition allowing to specify autoDeleteTopicWithLastSubscription.
  • Method Summary

    Modifier and Type
    Method
    Description
    withAutoDeleteTopicWithLastSubscription(Boolean autoDeleteTopicWithLastSubscription)
    Specifies the autoDeleteTopicWithLastSubscription property: This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
  • Method Details

    • withAutoDeleteTopicWithLastSubscription

      Domain.DefinitionStages.WithCreate withAutoDeleteTopicWithLastSubscription(Boolean autoDeleteTopicWithLastSubscription)
      Specifies the autoDeleteTopicWithLastSubscription property: 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..
      Parameters:
      autoDeleteTopicWithLastSubscription - 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.
      Returns:
      the next definition stage.