LinkedServerOperationsExtensions.ListAsync(ILinkedServerOperations, String, String, CancellationToken) Method

Definition

Gets the list of linked servers associated with this redis cache (requires Premium SKU).

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

Parameters

operations
ILinkedServerOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

name
System.String

The name of the redis cache.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<RedisLinkedServerWithPropertiesInner>>

Applies to