Interface ActivityLogAlert.DefinitionStages.WithScopes

All Known Subinterfaces:
ActivityLogAlert.Definition
Enclosing interface:
ActivityLogAlert.DefinitionStages

public static interface ActivityLogAlert.DefinitionStages.WithScopes
The stage of the definition which specifies target resource or subscription for activity log alert.
  • Method Details

    • withTargetResource

      Sets specified resource as a target to alert on activity log.
      Parameters:
      resourceId - resource Id string.
      Returns:
      the next stage of activity log alert definition.
    • withTargetResource

      ActivityLogAlert.DefinitionStages.WithDescription withTargetResource(com.azure.resourcemanager.resources.fluentcore.arm.models.HasId resource)
      Sets specified resource as a target to alert on activity log.
      Parameters:
      resource - resource type that is inherited from HasId interface
      Returns:
      the next stage of activity log alert definition.
    • withTargetSubscription

      ActivityLogAlert.DefinitionStages.WithDescription withTargetSubscription(String targetSubscriptionId)
      Sets specified subscription as a target to alert on activity log.
      Parameters:
      targetSubscriptionId - subscription Id.
      Returns:
      the next stage of activity log alert definition.