Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::SqlConnectionInfo
- Inherits:
-
ConnectionInfo
- Object
- ConnectionInfo
- Azure::DataMigration::Mgmt::V2018_04_19::Models::SqlConnectionInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb
Overview
Information for connecting to SQL database server
Instance Attribute Summary collapse
-
#additional_settings ⇒ String
Additional connection settings.
-
#authentication ⇒ AuthenticationType
Possible values include: ‘None’, ‘WindowsAuthentication’, ‘SqlAuthentication’, ‘ActiveDirectoryIntegrated’, ‘ActiveDirectoryPassword’.
-
#data_source ⇒ String
Protocol:MachineNameSQLServerInstanceName,PortNumber.
-
#encrypt_connection ⇒ Boolean
true .
-
#platform ⇒ SqlSourcePlatform
Possible values include: ‘SqlOnPrem’.
-
#trust_server_certificate ⇒ Boolean
value: false .
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from ConnectionInfo
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SqlConnectionInfo class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ SqlConnectionInfo
constructor
A new instance of SqlConnectionInfo.
Constructor Details
#initialize ⇒ SqlConnectionInfo
Returns a new instance of SqlConnectionInfo.
16 17 18 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb', line 16 def initialize @type = "SqlConnectionInfo" end |
Instance Attribute Details
#additional_settings ⇒ String
Returns Additional connection settings.
37 38 39 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb', line 37 def additional_settings @additional_settings end |
#authentication ⇒ AuthenticationType
Possible values include: ‘None’, ‘WindowsAuthentication’, ‘SqlAuthentication’, ‘ActiveDirectoryIntegrated’, ‘ActiveDirectoryPassword’
30 31 32 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb', line 30 def authentication @authentication end |
#data_source ⇒ String
Protocol:MachineNameSQLServerInstanceName,PortNumber
24 25 26 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb', line 24 def data_source @data_source end |
#encrypt_connection ⇒ Boolean
true .
34 35 36 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb', line 34 def encrypt_connection @encrypt_connection end |
#platform ⇒ SqlSourcePlatform
Possible values include: ‘SqlOnPrem’
45 46 47 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb', line 45 def platform @platform end |
#trust_server_certificate ⇒ Boolean
value: false .
41 42 43 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb', line 41 def trust_server_certificate @trust_server_certificate end |
#type ⇒ Object
Returns the value of attribute type.
20 21 22 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb', line 20 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for SqlConnectionInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb', line 52 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SqlConnectionInfo', type: { name: 'Composite', class_name: 'SqlConnectionInfo', model_properties: { user_name: { client_side_validation: true, required: false, serialized_name: 'userName', type: { name: 'String' } }, password: { client_side_validation: true, required: false, serialized_name: 'password', type: { name: 'String' } }, type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, data_source: { client_side_validation: true, required: true, serialized_name: 'dataSource', type: { name: 'String' } }, authentication: { client_side_validation: true, required: false, serialized_name: 'authentication', type: { name: 'String' } }, encrypt_connection: { client_side_validation: true, required: false, serialized_name: 'encryptConnection', default_value: true, type: { name: 'Boolean' } }, additional_settings: { client_side_validation: true, required: false, serialized_name: 'additionalSettings', type: { name: 'String' } }, trust_server_certificate: { client_side_validation: true, required: false, serialized_name: 'trustServerCertificate', default_value: false, type: { name: 'Boolean' } }, platform: { client_side_validation: true, required: false, serialized_name: 'platform', type: { name: 'String' } } } } } end |