Class: Azure::DataMigration::Mgmt::V2018_03_31_preview::Models::ExecutionStatistics

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb

Overview

Description about the errors happen while performing migration validation

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#cpu_time_msFloat



19
20
21
# File 'lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb', line 19

def cpu_time_ms
  @cpu_time_ms
end

#elapsed_time_msFloat



22
23
24
# File 'lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb', line 22

def elapsed_time_ms
  @elapsed_time_ms
end

#execution_countInteger



16
17
18
# File 'lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb', line 16

def execution_count
  @execution_count
end

#has_errorsBoolean



29
30
31
# File 'lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb', line 29

def has_errors
  @has_errors
end

#sql_errorsArray<String>



32
33
34
# File 'lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb', line 32

def sql_errors
  @sql_errors
end

#wait_statsHash{String => WaitStatistics}

execution wait types and the respective statistics



26
27
28
# File 'lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb', line 26

def wait_stats
  @wait_stats
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExecutionStatistics',
    type: {
      name: 'Composite',
      class_name: 'ExecutionStatistics',
      model_properties: {
        execution_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'executionCount',
          type: {
            name: 'Number'
          }
        },
        cpu_time_ms: {
          client_side_validation: true,
          required: false,
          serialized_name: 'cpuTimeMs',
          type: {
            name: 'Double'
          }
        },
        elapsed_time_ms: {
          client_side_validation: true,
          required: false,
          serialized_name: 'elapsedTimeMs',
          type: {
            name: 'Double'
          }
        },
        wait_stats: {
          client_side_validation: true,
          required: false,
          serialized_name: 'waitStats',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'WaitStatisticsElementType',
                type: {
                  name: 'Composite',
                  class_name: 'WaitStatistics'
                }
            }
          }
        },
        has_errors: {
          client_side_validation: true,
          required: false,
          serialized_name: 'hasErrors',
          type: {
            name: 'Boolean'
          }
        },
        sql_errors: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sqlErrors',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end