Interface ActivityLogAlert.DefinitionStages.WithScopes
-
- All Known Subinterfaces:
ActivityLogAlert.Definition
- Enclosing interface:
- ActivityLogAlert.DefinitionStages
public static interface ActivityLogAlert.DefinitionStages.WithScopesThe stage of the definition which specifies target resource or subscription for activity log alert.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityLogAlert.DefinitionStages.WithDescriptionwithTargetResource(HasId resource)Sets specified resource as a target to alert on activity log.ActivityLogAlert.DefinitionStages.WithDescriptionwithTargetResource(String resourceId)Sets specified resource as a target to alert on activity log.ActivityLogAlert.DefinitionStages.WithDescriptionwithTargetSubscription(String targetSubscriptionId)Sets specified subscription as a target to alert on activity log.
-
-
-
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 fromHasIdinterface- 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.
-
-