/// <summary> /// List database columns /// </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='schema'> /// </param> /// <param name='table'> /// </param> /// <param name='column'> /// </param> /// <param name='orderBy'> /// </param> /// <param name='skiptoken'> /// An opaque token that identifies a starting point in the collection. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <DatabaseColumn> > ListByDatabaseAsync(this IDatabaseColumnsOperations operations, string resourceGroupName, string serverName, string databaseName, IList <string> schema = default(IList <string>), IList <string> table = default(IList <string>), IList <string> column = default(IList <string>), IList <string> orderBy = default(IList <string>), string skiptoken = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListByDatabaseWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, schema, table, column, orderBy, skiptoken, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// List database columns /// </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 <DatabaseColumn> > ListByTableNextAsync(this IDatabaseColumnsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListByTableNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Get database column /// </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='columnName'> /// The name of the column. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <DatabaseColumn> GetAsync(this IDatabaseColumnsOperations operations, string resourceGroupName, string serverName, string databaseName, string schemaName, string tableName, string columnName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, schemaName, tableName, columnName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// List database columns /// </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='odataQuery'> /// OData parameters to apply to the operation. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <DatabaseColumn> > ListByTableAsync(this IDatabaseColumnsOperations operations, string resourceGroupName, string serverName, string databaseName, string schemaName, string tableName, ODataQuery <DatabaseColumn> odataQuery = default(ODataQuery <DatabaseColumn>), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListByTableWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, schemaName, tableName, odataQuery, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// List database columns /// </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='schema'> /// </param> /// <param name='table'> /// </param> /// <param name='column'> /// </param> /// <param name='orderBy'> /// </param> /// <param name='skiptoken'> /// An opaque token that identifies a starting point in the collection. /// </param> public static IPage <DatabaseColumn> ListByDatabase(this IDatabaseColumnsOperations operations, string resourceGroupName, string serverName, string databaseName, IList <string> schema = default(IList <string>), IList <string> table = default(IList <string>), IList <string> column = default(IList <string>), IList <string> orderBy = default(IList <string>), string skiptoken = default(string)) { return(operations.ListByDatabaseAsync(resourceGroupName, serverName, databaseName, schema, table, column, orderBy, skiptoken).GetAwaiter().GetResult()); }
/// <summary> /// List database columns /// </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 <DatabaseColumn> ListByTableNext(this IDatabaseColumnsOperations operations, string nextPageLink) { return(operations.ListByTableNextAsync(nextPageLink).GetAwaiter().GetResult()); }
/// <summary> /// Get database column /// </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='columnName'> /// The name of the column. /// </param> public static DatabaseColumn Get(this IDatabaseColumnsOperations operations, string resourceGroupName, string serverName, string databaseName, string schemaName, string tableName, string columnName) { return(operations.GetAsync(resourceGroupName, serverName, databaseName, schemaName, tableName, columnName).GetAwaiter().GetResult()); }
/// <summary> /// List database columns /// </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='odataQuery'> /// OData parameters to apply to the operation. /// </param> public static IPage <DatabaseColumn> ListByTable(this IDatabaseColumnsOperations operations, string resourceGroupName, string serverName, string databaseName, string schemaName, string tableName, ODataQuery <DatabaseColumn> odataQuery = default(ODataQuery <DatabaseColumn>)) { return(operations.ListByTableAsync(resourceGroupName, serverName, databaseName, schemaName, tableName, odataQuery).GetAwaiter().GetResult()); }