FirewallRulesOperationsExtensions.ListAsync Method

Definition

Gets all firewall rules in the specified redis cache.

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

Parameters

operations
IFirewallRulesOperations

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