/// <summary> /// Gets a list of integration service environment Skus. /// </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 <IntegrationServiceEnvironmentSkuDefinition> ListNext(this IIntegrationServiceEnvironmentSkusOperations operations, string nextPageLink) { return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult()); }
/// <summary> /// Gets a list of integration service environment Skus. /// </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 <IntegrationServiceEnvironmentSkuDefinition> > ListNextAsync(this IIntegrationServiceEnvironmentSkusOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Gets a list of integration service environment Skus. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroup'> /// The resource group. /// </param> /// <param name='integrationServiceEnvironmentName'> /// The integration service environment name. /// </param> public static IPage <IntegrationServiceEnvironmentSkuDefinition> List(this IIntegrationServiceEnvironmentSkusOperations operations, string resourceGroup, string integrationServiceEnvironmentName) { return(operations.ListAsync(resourceGroup, integrationServiceEnvironmentName).GetAwaiter().GetResult()); }