/// <summary> /// List database tables /// </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='serverName'> /// The name of the server. /// </param> /// <param name='databaseName'> /// The name of the database. /// </param> /// <param name='schemaName'> /// The name of the schema. /// </param> /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <DatabaseTable> > ListBySchemaAsync(this IDatabaseTablesOperations operations, string resourceGroupName, string serverName, string databaseName, string schemaName, ODataQuery <DatabaseTable> odataQuery = default(ODataQuery <DatabaseTable>), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListBySchemaWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, schemaName, odataQuery, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// List database tables /// </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 <DatabaseTable> > ListBySchemaNextAsync(this IDatabaseTablesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListBySchemaNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Get database table /// </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='serverName'> /// The name of the server. /// </param> /// <param name='databaseName'> /// The name of the database. /// </param> /// <param name='schemaName'> /// The name of the schema. /// </param> /// <param name='tableName'> /// The name of the table. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <DatabaseTable> GetAsync(this IDatabaseTablesOperations operations, string resourceGroupName, string serverName, string databaseName, string schemaName, string tableName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, schemaName, tableName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// List database tables /// </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='serverName'> /// The name of the server. /// </param> /// <param name='databaseName'> /// The name of the database. /// </param> /// <param name='schemaName'> /// The name of the schema. /// </param> /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> public static IPage <DatabaseTable> ListBySchema(this IDatabaseTablesOperations operations, string resourceGroupName, string serverName, string databaseName, string schemaName, ODataQuery <DatabaseTable> odataQuery = default(ODataQuery <DatabaseTable>)) { return(operations.ListBySchemaAsync(resourceGroupName, serverName, databaseName, schemaName, odataQuery).GetAwaiter().GetResult()); }
/// <summary> /// List database tables /// </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 <DatabaseTable> ListBySchemaNext(this IDatabaseTablesOperations operations, string nextPageLink) { return(operations.ListBySchemaNextAsync(nextPageLink).GetAwaiter().GetResult()); }
/// <summary> /// Get database table /// </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='serverName'> /// The name of the server. /// </param> /// <param name='databaseName'> /// The name of the database. /// </param> /// <param name='schemaName'> /// The name of the schema. /// </param> /// <param name='tableName'> /// The name of the table. /// </param> public static DatabaseTable Get(this IDatabaseTablesOperations operations, string resourceGroupName, string serverName, string databaseName, string schemaName, string tableName) { return(operations.GetAsync(resourceGroupName, serverName, databaseName, schemaName, tableName).GetAwaiter().GetResult()); }