Class: Azure::SQL::Mgmt::V2018_06_01_preview::Models::DatabaseColumn
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::SQL::Mgmt::V2018_06_01_preview::Models::DatabaseColumn
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_sql/models/database_column.rb
Overview
A database column resource.
Instance Attribute Summary collapse
-
#column_type ⇒ ColumnDataType
‘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’.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DatabaseColumn class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#column_type ⇒ ColumnDataType
‘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’
22 23 24 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_sql/models/database_column.rb', line 22 def column_type @column_type end |
Class Method Details
.mapper ⇒ Object
Mapper for DatabaseColumn class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_sql/models/database_column.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DatabaseColumn', type: { name: 'Composite', class_name: 'DatabaseColumn', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, column_type: { client_side_validation: true, required: false, serialized_name: 'properties.columnType', type: { name: 'String' } } } } } end |