/// <summary> /// Lists all enabled features for a workspace /// </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 <AmlUserFeature> > ListNextAsync(this IWorkspaceFeaturesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Lists all enabled features for a workspace /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group in which workspace is located. /// </param> /// <param name='workspaceName'> /// Name of Azure Machine Learning workspace. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <AmlUserFeature> > ListAsync(this IWorkspaceFeaturesOperations operations, string resourceGroupName, string workspaceName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, workspaceName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Lists all enabled features for a workspace /// </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 <AmlUserFeature> ListNext(this IWorkspaceFeaturesOperations operations, string nextPageLink) { return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult()); }
/// <summary> /// Lists all enabled features for a workspace /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group in which workspace is located. /// </param> /// <param name='workspaceName'> /// Name of Azure Machine Learning workspace. /// </param> public static IPage <AmlUserFeature> List(this IWorkspaceFeaturesOperations operations, string resourceGroupName, string workspaceName) { return(operations.ListAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult()); }