@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api SqlManagementClient
@base https://management.azure.com
@version 2018-06-01-preview
@auth OAuth2
@common_fields {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., databaseName: any # The name of the database., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}
@endpoints 6
@toc subscriptions(6)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns
@desc List database columns
@required {schemaName: any # The name of the schema., tableName: any # The name of the table.}
@optional {$filter: any # An OData filter expression that filters elements in the collection.}
@returns(200) Successfully retrieved database columns.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}
@desc Get database column
@required {schemaName: any # The name of the schema., tableName: any # The name of the table., columnName: any # The name of the column.}
@returns(200) Successfully retrieved database column.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas
@desc List database schemas
@optional {$filter: any # An OData filter expression that filters elements in the collection.}
@returns(200) Successfully retrieved database schemas.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}
@desc Get database schema
@required {schemaName: any # The name of the schema.}
@returns(200) Successfully retrieved database schema.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables
@desc List database tables
@required {schemaName: any # The name of the schema.}
@optional {$filter: any # An OData filter expression that filters elements in the collection.}
@returns(200) Successfully retrieved database tables.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}
@desc Get database table
@required {schemaName: any # The name of the schema., tableName: any # The name of the table.}
@returns(200) Successfully retrieved database table.

@end
