IAlertRuleProperties.Scope Property

Definition

A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item.

[Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Runtime.Info(Description="A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item.", PossibleTypes=new System.Type[] { typeof(System.String) }, ReadOnly=false, Required=true, SerializedName="scopes")]
public string[] Scope { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActivityLogAlert.Runtime.Info(Description="A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item.", PossibleTypes=new System.Type[] { typeof(System.String) }, ReadOnly=false, Required=true, SerializedName="scopes")>]
member this.Scope : string[] with get, set
Public Property Scope As String()

Property Value

String[]
Attributes

Applies to