Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::ConnectToSourceSqlServerTaskOutputDatabaseLevel
- Inherits:
-
ConnectToSourceSqlServerTaskOutput
- Object
- ConnectToSourceSqlServerTaskOutput
- Azure::DataMigration::Mgmt::V2018_04_19::Models::ConnectToSourceSqlServerTaskOutputDatabaseLevel
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb
Overview
Database level output for the task that validates connection to SQL Server and also validates source server requirements
Instance Attribute Summary collapse
-
#compatibility_level ⇒ DatabaseCompatLevel
database.
-
#database_files ⇒ Array<DatabaseFileInfo>
The list of database files.
-
#database_state ⇒ DatabaseState
‘Online’, ‘Restoring’, ‘Recovering’, ‘RecoveryPending’, ‘Suspect’, ‘Emergency’, ‘Offline’, ‘Copying’, ‘OfflineSecondary’.
-
#name ⇒ String
Database name.
-
#resultType ⇒ Object
Returns the value of attribute resultType.
-
#size_mb ⇒ Float
Size of the file in megabytes.
Attributes inherited from ConnectToSourceSqlServerTaskOutput
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnectToSourceSqlServerTaskOutputDatabaseLevel class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ConnectToSourceSqlServerTaskOutputDatabaseLevel
constructor
A new instance of ConnectToSourceSqlServerTaskOutputDatabaseLevel.
Constructor Details
#initialize ⇒ ConnectToSourceSqlServerTaskOutputDatabaseLevel
Returns a new instance of ConnectToSourceSqlServerTaskOutputDatabaseLevel.
17 18 19 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb', line 17 def initialize @resultType = "DatabaseLevelOutput" end |
Instance Attribute Details
#compatibility_level ⇒ DatabaseCompatLevel
database. Possible values include: ‘CompatLevel80’, ‘CompatLevel90’, ‘CompatLevel100’, ‘CompatLevel110’, ‘CompatLevel120’, ‘CompatLevel130’, ‘CompatLevel140’
36 37 38 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb', line 36 def compatibility_level @compatibility_level end |
#database_files ⇒ Array<DatabaseFileInfo>
Returns The list of database files.
30 31 32 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb', line 30 def database_files @database_files end |
#database_state ⇒ DatabaseState
‘Online’, ‘Restoring’, ‘Recovering’, ‘RecoveryPending’, ‘Suspect’, ‘Emergency’, ‘Offline’, ‘Copying’, ‘OfflineSecondary’
41 42 43 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb', line 41 def database_state @database_state end |
#name ⇒ String
Returns Database name.
24 25 26 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_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_database_level.rb', line 21 def resultType @resultType end |
#size_mb ⇒ Float
Returns Size of the file in megabytes.
27 28 29 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb', line 27 def size_mb @size_mb end |
Class Method Details
.mapper ⇒ Object
Mapper for ConnectToSourceSqlServerTaskOutputDatabaseLevel class as Ruby Hash. This will be used for serialization/deserialization.
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 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb', line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DatabaseLevelOutput', type: { name: 'Composite', class_name: 'ConnectToSourceSqlServerTaskOutputDatabaseLevel', 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' } }, size_mb: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sizeMB', type: { name: 'Double' } }, database_files: { client_side_validation: true, required: false, read_only: true, serialized_name: 'databaseFiles', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DatabaseFileInfoElementType', type: { name: 'Composite', class_name: 'DatabaseFileInfo' } } } }, compatibility_level: { client_side_validation: true, required: false, read_only: true, serialized_name: 'compatibilityLevel', type: { name: 'String' } }, database_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'databaseState', type: { name: 'String' } } } } } end |