RedisResource.GetUpgradeNotificationsAsync(Double, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET