Class: Azure::DataShare::Mgmt::V2019_11_01::Models::SqlDWTableDataSetMapping

Inherits:
DataSetMapping show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set_mapping.rb

Overview

A SQL DW Table data set mapping.

Instance Attribute Summary collapse

Attributes inherited from ProxyDto

#id, #name, #type

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSqlDWTableDataSetMapping

Returns a new instance of SqlDWTableDataSetMapping.



16
17
18
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set_mapping.rb', line 16

def initialize
  @kind = "SqlDWTable"
end

Instance Attribute Details

#data_set_idString

Returns The id of the source data set.

Returns:

  • (String)

    The id of the source data set.



23
24
25
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set_mapping.rb', line 23

def data_set_id
  @data_set_id
end

#data_set_mapping_statusDataSetMappingStatus

Possible values include: ‘Ok’, ‘Broken’

Returns:



27
28
29
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set_mapping.rb', line 27

def data_set_mapping_status
  @data_set_mapping_status
end

#data_warehouse_nameString

Returns DataWarehouse name of the source data set.

Returns:

  • (String)

    DataWarehouse name of the source data set



30
31
32
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set_mapping.rb', line 30

def data_warehouse_name
  @data_warehouse_name
end

#kindObject

Returns the value of attribute kind.



20
21
22
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set_mapping.rb', line 20

def kind
  @kind
end

#provisioning_stateProvisioningState

Possible values include: ‘Succeeded’, ‘Creating’, ‘Deleting’, ‘Moving’, ‘Failed’

Returns:



35
36
37
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set_mapping.rb', line 35

def provisioning_state
  @provisioning_state
end

#schema_nameString

Returns Schema of the table. Default value is dbo.

Returns:

  • (String)

    Schema of the table. Default value is dbo.



38
39
40
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set_mapping.rb', line 38

def schema_name
  @schema_name
end

#sql_server_resource_idString

Returns Resource id of SQL server.

Returns:

  • (String)

    Resource id of SQL server



41
42
43
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set_mapping.rb', line 41

def sql_server_resource_id
  @sql_server_resource_id
end

#table_nameString

Returns SQL DW table name.

Returns:

  • (String)

    SQL DW table name.



44
45
46
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set_mapping.rb', line 44

def table_name
  @table_name
end

Class Method Details

.mapperObject

Mapper for SqlDWTableDataSetMapping class as Ruby Hash. This will be used for serialization/deserialization.



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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/sql_dwtable_data_set_mapping.rb', line 51

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SqlDWTable',
    type: {
      name: 'Composite',
      class_name: 'SqlDWTableDataSetMapping',
      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'
          }
        },
        kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        data_set_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.dataSetId',
          type: {
            name: 'String'
          }
        },
        data_set_mapping_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.dataSetMappingStatus',
          type: {
            name: 'String'
          }
        },
        data_warehouse_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.dataWarehouseName',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        schema_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.schemaName',
          type: {
            name: 'String'
          }
        },
        sql_server_resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.sqlServerResourceId',
          type: {
            name: 'String'
          }
        },
        table_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.tableName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end