你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IActivityLogAlertResource.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=false, 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=false, SerializedName="scopes")>]
member this.Scope : string[] with get, set
Public Property Scope As String()

Property Value

String[]
Attributes

Applies to