Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb

Overview

The properties that are associated with an Azure SQL database data source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#databaseString

(CreateOrReplace) requests.

Returns:

  • (String)

    The name of the Azure SQL database. Required on PUT



22
23
24
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb', line 22

def database
  @database
end

#passwordString

SQL database. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The password that will be used to connect to the Azure



30
31
32
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb', line 30

def password
  @password
end

#serverString

database. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The name of the SQL server containing the Azure SQL



18
19
20
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb', line 18

def server
  @server
end

#tableString

Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The name of the table in the Azure SQL database.



34
35
36
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb', line 34

def table
  @table
end

#userString

Azure SQL database. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The user name that will be used to connect to the



26
27
28
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb', line 26

def user
  @user
end

Class Method Details

.mapperObject

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



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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureSqlDatabaseDataSourceProperties',
    type: {
      name: 'Composite',
      class_name: 'AzureSqlDatabaseDataSourceProperties',
      model_properties: {
        server: {
          client_side_validation: true,
          required: false,
          serialized_name: 'server',
          type: {
            name: 'String'
          }
        },
        database: {
          client_side_validation: true,
          required: false,
          serialized_name: 'database',
          type: {
            name: 'String'
          }
        },
        user: {
          client_side_validation: true,
          required: false,
          serialized_name: 'user',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'password',
          type: {
            name: 'String'
          }
        },
        table: {
          client_side_validation: true,
          required: false,
          serialized_name: 'table',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end