Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::ConnectToSourceSqlServerTaskOutputLoginLevel
- Inherits:
-
ConnectToSourceSqlServerTaskOutput
- Object
- ConnectToSourceSqlServerTaskOutput
- Azure::DataMigration::Mgmt::V2018_04_19::Models::ConnectToSourceSqlServerTaskOutputLoginLevel
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb
Overview
Login level output for the task that validates connection to SQL Server and also validates source server requirements
Instance Attribute Summary collapse
-
#default_database ⇒ String
The default database for the login.
-
#is_enabled ⇒ Boolean
The state of the login.
-
#login_type ⇒ LoginType
‘WindowsUser’, ‘WindowsGroup’, ‘SqlLogin’, ‘Certificate’, ‘AsymmetricKey’, ‘ExternalUser’, ‘ExternalGroup’.
-
#migration_eligibility ⇒ MigrationEligibilityInfo
login for migration.
-
#name ⇒ String
Login name.
-
#resultType ⇒ Object
Returns the value of attribute resultType.
Attributes inherited from ConnectToSourceSqlServerTaskOutput
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnectToSourceSqlServerTaskOutputLoginLevel class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ConnectToSourceSqlServerTaskOutputLoginLevel
constructor
A new instance of ConnectToSourceSqlServerTaskOutputLoginLevel.
Constructor Details
#initialize ⇒ ConnectToSourceSqlServerTaskOutputLoginLevel
Returns a new instance of ConnectToSourceSqlServerTaskOutputLoginLevel.
17 18 19 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb', line 17 def initialize @resultType = "LoginLevelOutput" end |
Instance Attribute Details
#default_database ⇒ String
Returns The default database for the login.
32 33 34 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb', line 32 def default_database @default_database end |
#is_enabled ⇒ Boolean
Returns The state of the login.
35 36 37 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb', line 35 def is_enabled @is_enabled end |
#login_type ⇒ LoginType
‘WindowsUser’, ‘WindowsGroup’, ‘SqlLogin’, ‘Certificate’, ‘AsymmetricKey’, ‘ExternalUser’, ‘ExternalGroup’
29 30 31 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb', line 29 def login_type @login_type end |
#migration_eligibility ⇒ MigrationEligibilityInfo
login for migration.
39 40 41 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb', line 39 def migration_eligibility @migration_eligibility end |
#name ⇒ String
Returns Login name.
24 25 26 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb', line 24 def name @name end |
#resultType ⇒ Object
Returns the value of attribute resultType.
21 22 23 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb', line 21 def resultType @resultType end |
Class Method Details
.mapper ⇒ Object
Mapper for ConnectToSourceSqlServerTaskOutputLoginLevel 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 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb', line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LoginLevelOutput', type: { name: 'Composite', class_name: 'ConnectToSourceSqlServerTaskOutputLoginLevel', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, resultType: { client_side_validation: true, required: true, serialized_name: 'resultType', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, login_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'loginType', type: { name: 'String' } }, default_database: { client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultDatabase', type: { name: 'String' } }, is_enabled: { client_side_validation: true, required: false, read_only: true, serialized_name: 'isEnabled', type: { name: 'Boolean' } }, migration_eligibility: { client_side_validation: true, required: false, read_only: true, serialized_name: 'migrationEligibility', type: { name: 'Composite', class_name: 'MigrationEligibilityInfo' } } } } } end |