Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::MigrationValidationDatabaseSummaryResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb

Overview

Migration Validation Database level summary result

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#ended_onDateTime

Returns Validation end time.

Returns:

  • (DateTime)

    Validation end time



31
32
33
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb', line 31

def ended_on
  @ended_on
end

#idString

Returns Result identifier.

Returns:

  • (String)

    Result identifier



16
17
18
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb', line 16

def id
  @id
end

#migration_idString

Returns Migration Identifier.

Returns:

  • (String)

    Migration Identifier



19
20
21
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb', line 19

def migration_id
  @migration_id
end

#source_database_nameString

Returns Name of the source database.

Returns:

  • (String)

    Name of the source database



22
23
24
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb', line 22

def source_database_name
  @source_database_name
end

#started_onDateTime

Returns Validation start time.

Returns:

  • (DateTime)

    Validation start time



28
29
30
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb', line 28

def started_on
  @started_on
end

#statusValidationStatus

level. Possible values include: ‘Default’, ‘NotStarted’, ‘Initialized’, ‘InProgress’, ‘Completed’, ‘CompletedWithIssues’, ‘Failed’, ‘Stopped’

Returns:



36
37
38
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb', line 36

def status
  @status
end

#target_database_nameString

Returns Name of the target database.

Returns:

  • (String)

    Name of the target database



25
26
27
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb', line 25

def target_database_name
  @target_database_name
end

Class Method Details

.mapperObject

Mapper for MigrationValidationDatabaseSummaryResult class as Ruby Hash. This will be used for serialization/deserialization.



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
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
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MigrationValidationDatabaseSummaryResult',
    type: {
      name: 'Composite',
      class_name: 'MigrationValidationDatabaseSummaryResult',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        migration_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'migrationId',
          type: {
            name: 'String'
          }
        },
        source_database_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sourceDatabaseName',
          type: {
            name: 'String'
          }
        },
        target_database_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'targetDatabaseName',
          type: {
            name: 'String'
          }
        },
        started_on: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'startedOn',
          type: {
            name: 'DateTime'
          }
        },
        ended_on: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'endedOn',
          type: {
            name: 'DateTime'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end