次の方法で共有


ScheduledQueryRulesOperationsExtensions.ListBySubscriptionAsync メソッド

定義

サブスクリプション グループ内のログ検索ルールを一覧表示します。

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

パラメーター

operations
IScheduledQueryRulesOperations

この拡張メソッドの操作グループ。

odataQuery
ODataQuery<LogSearchRuleResource>

操作に適用する OData パラメーター。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象