class Azure::Network::Mgmt::V2019_04_01::Models::TroubleshootingResult

Troubleshooting information gained from specified resource.

Attributes

code[RW]

@return [String] The result code of the troubleshooting.

end_time[RW]

@return [DateTime] The end time of the troubleshooting.

results[RW]

@return [Array<TroubleshootingDetails>] Information from troubleshooting.

start_time[RW]

@return [DateTime] The start time of the troubleshooting.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-04-01/generated/azure_mgmt_network/models/troubleshooting_result.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TroubleshootingResult',
    type: {
      name: 'Composite',
      class_name: 'TroubleshootingResult',
      model_properties: {
        start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'endTime',
          type: {
            name: 'DateTime'
          }
        },
        code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        },
        results: {
          client_side_validation: true,
          required: false,
          serialized_name: 'results',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'TroubleshootingDetailsElementType',
                type: {
                  name: 'Composite',
                  class_name: 'TroubleshootingDetails'
                }
            }
          }
        }
      }
    }
  }
end