IAlertRuleProperties.Scope Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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