ScheduledQueryRulesOperationsExtensions.ListBySubscription Method

Definition

List the Log Search rules within a subscription group.

public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Monitor.Models.LogSearchRuleResource> ListBySubscription (this Microsoft.Azure.Management.Monitor.IScheduledQueryRulesOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Monitor.Models.LogSearchRuleResource> odataQuery = default);
static member ListBySubscription : Microsoft.Azure.Management.Monitor.IScheduledQueryRulesOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Monitor.Models.LogSearchRuleResource> -> seq<Microsoft.Azure.Management.Monitor.Models.LogSearchRuleResource>
<Extension()>
Public Function ListBySubscription (operations As IScheduledQueryRulesOperations, Optional odataQuery As ODataQuery(Of LogSearchRuleResource) = Nothing) As IEnumerable(Of LogSearchRuleResource)

Parameters

operations
IScheduledQueryRulesOperations

The operations group for this extension method.

odataQuery
ODataQuery<LogSearchRuleResource>

OData parameters to apply to the operation.

Returns

Applies to