/// <summary> /// Gets a list of operations performed on the SQL pool /// </summary> /// <remarks> /// Gets a list of operations performed on the SQL pool. /// </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='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <SqlPoolOperation> > ListNextAsync(this ISqlPoolOperations 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 operations performed on the SQL pool /// </summary> /// <remarks> /// Gets a list of operations performed on the SQL pool. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='sqlPoolName'> /// SQL pool name /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <SqlPoolOperation> > ListAsync(this ISqlPoolOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Gets a list of operations performed on the SQL pool /// </summary> /// <remarks> /// Gets a list of operations performed on the SQL pool. /// </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> public static IPage <SqlPoolOperation> ListNext(this ISqlPoolOperations operations, string nextPageLink) { return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult()); }
/// <summary> /// Gets a list of operations performed on the SQL pool /// </summary> /// <remarks> /// Gets a list of operations performed on the SQL pool. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='workspaceName'> /// The name of the workspace /// </param> /// <param name='sqlPoolName'> /// SQL pool name /// </param> public static IPage <SqlPoolOperation> List(this ISqlPoolOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName) { return(operations.ListAsync(resourceGroupName, workspaceName, sqlPoolName).GetAwaiter().GetResult()); }
/// <summary> /// Gets a list of operations performed on the SQL pool /// </summary> /// <remarks> /// Gets a list of operations performed on the SQL pool. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='workspaceName'> /// The name of the workspace /// </param> /// <param name='sqlPoolName'> /// SQL pool name /// </param> public static SqlPoolBlobAuditingPolicySqlPoolOperationListResult List(this ISqlPoolOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName) { return(operations.ListAsync(resourceGroupName, workspaceName, sqlPoolName).GetAwaiter().GetResult()); }