Class: Azure::ARM::StreamAnalytics::Models::AzureSqlDatabaseDataSourceProperties

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/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



23
24
25
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb', line 23

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



31
32
33
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb', line 31

def password
  @password
end

#serverString

database. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The name of the SQL server containing the Azure SQL



19
20
21
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb', line 19

def server
  @server
end

#tableString

Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The name of the table in the Azure SQL database.



35
36
37
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb', line 35

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



27
28
29
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb', line 27

def user
  @user
end

Class Method Details

.mapperObject

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



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
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb', line 42

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