/// <summary> /// Get the private link resources that need to be created for a SignalR /// resource. /// </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> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <PrivateLinkResource> > ListNextAsync(this ISignalRPrivateLinkResourcesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Get the private link resources that need to be created for a SignalR /// resource. /// </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 <PrivateLinkResource> ListNext(this ISignalRPrivateLinkResourcesOperations operations, string nextPageLink) { return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult()); }
/// <summary> /// Get the private link resources that need to be created for a SignalR /// resource. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the resource. You can obtain /// this value from the Azure Resource Manager API or the portal. /// </param> /// <param name='resourceName'> /// The name of the SignalR resource. /// </param> public static IPage <PrivateLinkResource> List(this ISignalRPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName) { return(operations.ListAsync(resourceGroupName, resourceName).GetAwaiter().GetResult()); }