共用方式為


ScheduledQueryRuleData.TargetResourceTypes Property

Definition

List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert.

public System.Collections.Generic.IList<string> TargetResourceTypes { get; }
member this.TargetResourceTypes : System.Collections.Generic.IList<string>
Public ReadOnly Property TargetResourceTypes As IList(Of String)

Property Value

Applies to