共用方式為


FirewallRulesOperationsExtensions.ListByRedisResourceAsync 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.Fluent.Models.RedisFirewallRuleInner>> ListByRedisResourceAsync (this Microsoft.Azure.Management.Redis.Fluent.IFirewallRulesOperations operations, string resourceGroupName, string cacheName, System.Threading.CancellationToken cancellationToken = default);
static member ListByRedisResourceAsync : Microsoft.Azure.Management.Redis.Fluent.IFirewallRulesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Redis.Fluent.Models.RedisFirewallRuleInner>>
<Extension()>
Public Function ListByRedisResourceAsync (operations As IFirewallRulesOperations, resourceGroupName As String, cacheName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of RedisFirewallRuleInner))

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