Interface ActivityLogAlert.DefinitionStages.WithScopes

    • Method Detail

      • withTargetResource

        ActivityLogAlert.DefinitionStages.WithDescription withTargetResource​(String resourceId)
        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​(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.