ScheduledQueryRulesOperations.ListBySubscriptionAsync Method

Definition

List the Log Search rules within a subscription group.

public virtual Azure.AsyncPageable<Azure.ResourceManager.Insights.Models.LogSearchRuleResource> ListBySubscriptionAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListBySubscriptionAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Insights.Models.LogSearchRuleResource>
override this.ListBySubscriptionAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Insights.Models.LogSearchRuleResource>
Public Overridable Function ListBySubscriptionAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of LogSearchRuleResource)

Parameters

filter
System.String

The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

AsyncPageable<LogSearchRuleResource>

Applies to