Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::StartMigrationScenarioServerRoleResult
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_04_19::Models::StartMigrationScenarioServerRoleResult
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb
Overview
Server role migration result
Instance Attribute Summary collapse
-
#exceptions_and_warnings ⇒ Array<ReportableException>
Migration exceptions and warnings.
-
#name ⇒ String
Name of server role.
-
#state ⇒ MigrationState
include: ‘None’, ‘InProgress’, ‘Failed’, ‘Warning’, ‘Completed’, ‘Skipped’, ‘Stopped’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StartMigrationScenarioServerRoleResult class as Ruby Hash.
Instance Attribute Details
#exceptions_and_warnings ⇒ Array<ReportableException>
Returns Migration exceptions and warnings.
24 25 26 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb', line 24 def exceptions_and_warnings @exceptions_and_warnings end |
#name ⇒ String
Returns Name of server role.
16 17 18 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb', line 16 def name @name end |
#state ⇒ MigrationState
include: ‘None’, ‘InProgress’, ‘Failed’, ‘Warning’, ‘Completed’, ‘Skipped’, ‘Stopped’
21 22 23 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb', line 21 def state @state end |
Class Method Details
.mapper ⇒ Object
Mapper for StartMigrationScenarioServerRoleResult class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 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 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StartMigrationScenarioServerRoleResult', type: { name: 'Composite', class_name: 'StartMigrationScenarioServerRoleResult', model_properties: { name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'state', type: { name: 'String' } }, exceptions_and_warnings: { client_side_validation: true, required: false, read_only: true, serialized_name: 'exceptionsAndWarnings', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ReportableExceptionElementType', type: { name: 'Composite', class_name: 'ReportableException' } } } } } } } end |