class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties

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

Attributes

database[RW]

@return [String] The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.

password[RW]

@return [String] The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.

server[RW]

@return [String] The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests.

table[RW]

@return [String] The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.

user[RW]

@return [String] The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.

Private Class Methods

mapper() click to toggle source

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

# 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