Share via


NewRelic.MonitorsGetMetricRulesWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IMetricRules> MonitorsGetMetricRulesWithResult (string subscriptionId, string resourceGroupName, string monitorName, Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IMetricsRequest body, Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.MonitorsGetMetricRulesWithResult : string * string * string * Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IMetricsRequest * Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IMetricRules>
Public Function MonitorsGetMetricRulesWithResult (subscriptionId As String, resourceGroupName As String, monitorName As String, body As IMetricsRequest, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IMetricRules)

Parameters

subscriptionId
String
resourceGroupName
String
monitorName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to