DatabaseColumn Class
A database column resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.sql.models._models_py3.ProxyResourceDatabaseColumn
Constructor
DatabaseColumn(*, column_type: str | ColumnDataType | None = None, temporal_type: str | TableTemporalType | None = None, memory_optimized: bool | None = None, is_computed: bool | None = None, **kwargs)
Parameters
Name | Description |
---|---|
column_type
Required
|
The column data type. Possible values include: "image", "text", "uniqueidentifier", "date", "time", "datetime2", "datetimeoffset", "tinyint", "smallint", "int", "smalldatetime", "real", "money", "datetime", "float", "sql_variant", "ntext", "bit", "decimal", "numeric", "smallmoney", "bigint", "hierarchyid", "geometry", "geography", "varbinary", "varchar", "binary", "char", "timestamp", "nvarchar", "nchar", "xml", "sysname". |
temporal_type
Required
|
The table temporal type. Possible values include: "NonTemporalTable", "HistoryTable", "SystemVersionedTemporalTable". |
memory_optimized
Required
|
Whether or not the column belongs to a memory optimized table. |
is_computed
Required
|
Whether or not the column is computed. |
Keyword-Only Parameters
Name | Description |
---|---|
column_type
Required
|
|
temporal_type
Required
|
|
memory_optimized
Required
|
|
is_computed
Required
|
|
Variables
Name | Description |
---|---|
id
|
Resource ID. |
name
|
Resource name. |
type
|
Resource type. |
Azure SDK for Python