次の方法で共有


RedisExtensions.GetAllRedisAsync メソッド

定義

指定したサブスクリプション内のすべての Redis キャッシュを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Cache/redis
  • 操作IdRedis_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.Redis.RedisResource> GetAllRedisAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAllRedisAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Redis.RedisResource>
<Extension()>
Public Function GetAllRedisAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RedisResource)

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行するインスタンス。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の RedisResource サービス要求を受け取る可能性がある の非同期コレクション。

適用対象