Share via


RedisResource.GetUpgradeNotificationsAsync(Double, CancellationToken) Method

Definition

Gets any upgrade notifications for a Redis cache.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/listUpgradeNotifications
  • Operation Id: Redis_ListUpgradeNotifications
  • Default Api Version: 2023-08-01
  • Resource: RedisResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Redis.Models.RedisUpgradeNotification> GetUpgradeNotificationsAsync (double history, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUpgradeNotificationsAsync : double * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Redis.Models.RedisUpgradeNotification>
override this.GetUpgradeNotificationsAsync : double * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Redis.Models.RedisUpgradeNotification>
Public Overridable Function GetUpgradeNotificationsAsync (history As Double, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RedisUpgradeNotification)

Parameters

history
Double

how many minutes in past to look for upgrade notifications.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of RedisUpgradeNotification that may take multiple service requests to iterate over.

Applies to