Compartilhar via


MockableMonitorResourceGroupResource.GetAlertRules Method

Definition

Gets a collection of AlertRuleResources in the ResourceGroupResource.

public virtual Azure.ResourceManager.Monitor.AlertRuleCollection GetAlertRules ();
abstract member GetAlertRules : unit -> Azure.ResourceManager.Monitor.AlertRuleCollection
override this.GetAlertRules : unit -> Azure.ResourceManager.Monitor.AlertRuleCollection
Public Overridable Function GetAlertRules () As AlertRuleCollection

Returns

An object representing collection of AlertRuleResources and their operations over a AlertRuleResource.

Applies to