Class: Azure::ARM::StreamAnalytics::Models::AzureSqlDatabaseOutputDataSource
- Inherits:
-
OutputDataSource
- Object
- OutputDataSource
- Azure::ARM::StreamAnalytics::Models::AzureSqlDatabaseOutputDataSource
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/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.
17 18 19 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 17 def initialize @type = "Microsoft.Sql/Server/Database" end |
Instance Attribute Details
#database ⇒ String
(CreateOrReplace) requests.
29 30 31 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 29 def database @database end |
#password ⇒ String
SQL database. Required on PUT (CreateOrReplace) requests.
37 38 39 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 37 def password @password end |
#server ⇒ String
database. Required on PUT (CreateOrReplace) requests.
25 26 27 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 25 def server @server end |
#table ⇒ String
Required on PUT (CreateOrReplace) requests.
41 42 43 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 41 def table @table end |
#type ⇒ Object
Returns the value of attribute type.
21 22 23 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 21 def type @type end |
#user ⇒ String
Azure SQL database. Required on PUT (CreateOrReplace) requests.
33 34 35 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 33 def user @user end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureSqlDatabaseOutputDataSource class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb', line 48 def self.mapper() { required: false, serialized_name: 'Microsoft.Sql/Server/Database', type: { name: 'Composite', class_name: 'AzureSqlDatabaseOutputDataSource', model_properties: { type: { required: true, serialized_name: 'type', type: { name: 'String' } }, server: { required: false, serialized_name: 'properties.server', type: { name: 'String' } }, database: { required: false, serialized_name: 'properties.database', type: { name: 'String' } }, user: { required: false, serialized_name: 'properties.user', type: { name: 'String' } }, password: { required: false, serialized_name: 'properties.password', type: { name: 'String' } }, table: { required: false, serialized_name: 'properties.table', type: { name: 'String' } } } } } end |