共用方式為


RedisResource.GetUpgradeNotifications(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: 2024-03-01
  • Resource: RedisResource
public virtual Azure.Pageable<Azure.ResourceManager.Redis.Models.RedisUpgradeNotification> GetUpgradeNotifications (double history, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUpgradeNotifications : double * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Redis.Models.RedisUpgradeNotification>
override this.GetUpgradeNotifications : double * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Redis.Models.RedisUpgradeNotification>
Public Overridable Function GetUpgradeNotifications (history As Double, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RedisUpgradeNotification)

Parameters

history
Double

how many minutes in past to look for upgrade notifications.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to