Dela via


CacheOperationsExtensions.ListByServiceAsync Method

Definition

Lists a collection of all external Caches in the specified service instance.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.CacheContract>> ListByServiceAsync (this Microsoft.Azure.Management.ApiManagement.ICacheOperations operations, string resourceGroupName, string serviceName, int? top = default, int? skip = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByServiceAsync : Microsoft.Azure.Management.ApiManagement.ICacheOperations * string * string * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.CacheContract>>
<Extension()>
Public Function ListByServiceAsync (operations As ICacheOperations, resourceGroupName As String, serviceName As String, Optional top As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of CacheContract))

Parameters

operations
ICacheOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

top
Nullable<Int32>

Number of records to return.

skip
Nullable<Int32>

Number of records to skip.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to