Interface Domain.DefinitionStages.WithAutoCreateTopicWithFirstSubscription

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

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

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

    • withAutoCreateTopicWithFirstSubscription

      Domain.DefinitionStages.WithCreate withAutoCreateTopicWithFirstSubscription(Boolean autoCreateTopicWithFirstSubscription)
      Specifies the autoCreateTopicWithFirstSubscription property: This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource. In this context, creation 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 null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the domain topic on demand if needed..
      Parameters:
      autoCreateTopicWithFirstSubscription - This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource. In this context, creation 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 null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the domain topic on demand if needed.
      Returns:
      the next definition stage.