/// <summary>
 /// Lists all of the applications in the specified account.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage <Application> ListNext(this IApplicationOperations operations, string nextPageLink)
 {
     return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult());
 }
Пример #2
0
 /// <summary>
 /// Lists all of the applications available in the specified account.
 /// </summary>
 /// <remarks>
 /// This operation returns only applications and versions that are available
 /// for use on compute nodes; that is, that can be used in an application
 /// package reference. For administrator information about applications and
 /// versions that are not yet available to compute nodes, use the Azure portal
 /// or the Azure Resource Manager API.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 /// <param name='applicationListNextOptions'>
 /// Additional parameters for the operation
 /// </param>
 public static IPage <ApplicationSummary> ListNext(this IApplicationOperations operations, string nextPageLink, ApplicationListNextOptions applicationListNextOptions = default(ApplicationListNextOptions))
 {
     return(operations.ListNextAsync(nextPageLink, applicationListNextOptions).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Lists all of the applications in the specified account.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Batch.IApplicationOperations.
 /// </param>
 /// <param name='nextLink'>
 /// Required. A nextLink URL from a previous List response.
 /// </param>
 /// <returns>
 /// Response to an ApplicationOperations.ListApplications request.
 /// </returns>
 public static Task <ListApplicationsResponse> ListNextAsync(this IApplicationOperations operations, string nextLink)
 {
     return(operations.ListNextAsync(nextLink, CancellationToken.None));
 }