/// <summary> /// Lists the collection of subscriptions to the specified product. /// </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 <SubscriptionContract> ListNext(this IProductSubscriptionsOperations operations, string nextPageLink) { return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult()); }
/// <summary> /// List all Product APIs. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.ApiManagement.IProductSubscriptionsOperations. /// </param> /// <param name='nextLink'> /// Required. NextLink from the previous successful call to List /// operation. /// </param> /// <returns> /// List Subscriptions operation response details. /// </returns> public static Task <SubscriptionListResponse> ListNextAsync(this IProductSubscriptionsOperations operations, string nextLink) { return(operations.ListNextAsync(nextLink, CancellationToken.None)); }