Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource
- Inherits:
-
OutputDataSource
- Object
- OutputDataSource
- Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb
Overview
Describes an Azure SQL database output data source.
Instance Attribute Summary collapse
-
#database ⇒ String
(CreateOrReplace) requests.
-
#password ⇒ String
SQL database.
-
#server ⇒ String
database.
-
#table ⇒ String
Required on PUT (CreateOrReplace) requests.
-
#type ⇒ Object
Returns the value of attribute type.
-
#user ⇒ String
Azure SQL database.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureSqlDatabaseOutputDataSource class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AzureSqlDatabaseOutputDataSource
constructor
A new instance of AzureSqlDatabaseOutputDataSource.
Constructor Details
#initialize ⇒ AzureSqlDatabaseOutputDataSource
Returns a new instance of AzureSqlDatabaseOutputDataSource.
16 17 18 |
# 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 |
Instance Attribute Details
#database ⇒ String
(CreateOrReplace) requests.
28 29 30 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 28 def database @database end |
#password ⇒ String
SQL database. Required on PUT (CreateOrReplace) requests.
36 37 38 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 36 def password @password end |
#server ⇒ String
database. Required on PUT (CreateOrReplace) requests.
24 25 26 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 24 def server @server end |
#table ⇒ String
Required on PUT (CreateOrReplace) requests.
40 41 42 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 40 def table @table end |
#type ⇒ Object
Returns the value of attribute type.
20 21 22 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 20 def type @type end |
#user ⇒ String
Azure SQL database. Required on PUT (CreateOrReplace) requests.
32 33 34 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 32 def user @user end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureSqlDatabaseOutputDataSource class as Ruby Hash. This will be used for serialization/deserialization.
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 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# 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 |