PagedCollection<IFluentResourceT,InnerResourceT>.LoadPage Method

Definition

Overloads

LoadPage(Func<CancellationToken,Task<IEnumerable<InnerResourceT>>>, Func<InnerResourceT,IFluentResourceT>, CancellationToken)
LoadPage(Func<CancellationToken,Task<IPage<InnerResourceT>>>, Func<String,CancellationToken,Task<IPage<InnerResourceT>>>, Func<InnerResourceT,IFluentResourceT>, Boolean, CancellationToken)

LoadPage(Func<CancellationToken,Task<IEnumerable<InnerResourceT>>>, Func<InnerResourceT,IFluentResourceT>, CancellationToken)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<IFluentResourceT>> LoadPage (Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<InnerResourceT>>> listInnerAsync, Func<InnerResourceT,IFluentResourceT> wrapModel, System.Threading.CancellationToken cancellationToken);
static member LoadPage : Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<seq<'InnerResourceT>>> * Func<'InnerResourceT, 'IFluentResourceT> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'IFluentResourceT>>

Parameters

listInnerAsync
System.Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<InnerResourceT>>>
wrapModel
System.Func<InnerResourceT,IFluentResourceT>
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IPagedCollection<IFluentResourceT>>

Applies to

LoadPage(Func<CancellationToken,Task<IPage<InnerResourceT>>>, Func<String,CancellationToken,Task<IPage<InnerResourceT>>>, Func<InnerResourceT,IFluentResourceT>, Boolean, CancellationToken)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<IFluentResourceT>> LoadPage (Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<InnerResourceT>>> listInnerAsync, Func<string,System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<InnerResourceT>>> listInnerNext, Func<InnerResourceT,IFluentResourceT> wrapModel, bool loadAllPages, System.Threading.CancellationToken cancellationToken);
static member LoadPage : Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<'InnerResourceT>>> * Func<string, System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<'InnerResourceT>>> * Func<'InnerResourceT, 'IFluentResourceT> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'IFluentResourceT>>

Parameters

listInnerAsync
System.Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<InnerResourceT>>>
listInnerNext
System.Func<System.String,System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<InnerResourceT>>>
wrapModel
System.Func<InnerResourceT,IFluentResourceT>
loadAllPages
System.Boolean
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IPagedCollection<IFluentResourceT>>

Applies to