class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource

Describes an Azure SQL database output 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.

type[RW]
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 AzureSqlDatabaseOutputDataSource 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_output_data_source.rb, line 47
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Microsoft.Sql/Server/Database',
    type: {
      name: 'Composite',
      class_name: 'AzureSqlDatabaseOutputDataSource',
      model_properties: {
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        server: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.server',
          type: {
            name: 'String'
          }
        },
        database: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.database',
          type: {
            name: 'String'
          }
        },
        user: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.user',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.password',
          type: {
            name: 'String'
          }
        },
        table: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.table',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb, line 16
def initialize
  @type = "Microsoft.Sql/Server/Database"
end