ScheduledQueryRulesOperations.ListByResourceGroupAsync Method

Definition

List the Log Search rules within a resource group.

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

Parameters

resourceGroupName
System.String

The name of the resource group.

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>

Exceptions

System.ArgumentNullException

resourceGroupName is null.

Applies to