Udostępnij za pośrednictwem


PatchSchedulesOperationsExtensions.ListByRedisResourceAsync Method

Definition

Gets all patch schedules in the specified redis cache (there is only one).

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Redis.Models.RedisPatchSchedule>> ListByRedisResourceAsync (this Microsoft.Azure.Management.Redis.IPatchSchedulesOperations operations, string resourceGroupName, string cacheName, System.Threading.CancellationToken cancellationToken = default);
static member ListByRedisResourceAsync : Microsoft.Azure.Management.Redis.IPatchSchedulesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Redis.Models.RedisPatchSchedule>>
<Extension()>
Public Function ListByRedisResourceAsync (operations As IPatchSchedulesOperations, resourceGroupName As String, cacheName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of RedisPatchSchedule))

Parameters

operations
IPatchSchedulesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

cacheName
String

The name of the Redis cache.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to