Class: Azure::Network::Mgmt::V2017_09_01::Models::TroubleshootingResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb

Overview

Troubleshooting information gained from specified resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#codeString

Returns The result code of the troubleshooting.

Returns:

  • (String)

    The result code of the troubleshooting.



22
23
24
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb', line 22

def code
  @code
end

#end_timeDateTime

Returns The end time of the troubleshooting.

Returns:

  • (DateTime)

    The end time of the troubleshooting.



19
20
21
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb', line 19

def end_time
  @end_time
end

#resultsArray<TroubleshootingDetails>

troubleshooting.

Returns:



26
27
28
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb', line 26

def results
  @results
end

#start_timeDateTime

Returns The start time of the troubleshooting.

Returns:

  • (DateTime)

    The start time of the troubleshooting.



16
17
18
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb', line 16

def start_time
  @start_time
end

Class Method Details

.mapperObject

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



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
80
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb', line 33

def self.mapper()
  {
    required: false,
    serialized_name: 'TroubleshootingResult',
    type: {
      name: 'Composite',
      class_name: 'TroubleshootingResult',
      model_properties: {
        start_time: {
          required: false,
          serialized_name: 'startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          required: false,
          serialized_name: 'endTime',
          type: {
            name: 'DateTime'
          }
        },
        code: {
          required: false,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        },
        results: {
          required: false,
          serialized_name: 'results',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'TroubleshootingDetailsElementType',
                type: {
                  name: 'Composite',
                  class_name: 'TroubleshootingDetails'
                }
            }
          }
        }
      }
    }
  }
end