Class: Azure::Web::Mgmt::V2018_02_01::Models::NetworkTrace

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_web/models/network_trace.rb

Overview

Network trace

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#messageString

error message in case of failure.

Returns:

  • (String)

    Detailed message of a network trace operation, e.g.



24
25
26
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/network_trace.rb', line 24

def message
  @message
end

#pathString

Returns Local file path for the captured network trace file.

Returns:

  • (String)

    Local file path for the captured network trace file.



16
17
18
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/network_trace.rb', line 16

def path
  @path
end

#statusString

Operation.Status (InProgress/Succeeded/Failed).

Returns:

  • (String)

    Current status of the network trace operation, same as



20
21
22
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/network_trace.rb', line 20

def status
  @status
end

Class Method Details

.mapperObject

Mapper for NetworkTrace 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
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/network_trace.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkTrace',
    type: {
      name: 'Composite',
      class_name: 'NetworkTrace',
      model_properties: {
        path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'path',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        message: {
          client_side_validation: true,
          required: false,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end