Class: Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityIssue

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_issue.rb

Overview

Information about an issue encountered in the process of checking for connectivity.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#contextArray<Hash{String => String}>

the issue.

Returns:

  • (Array<Hash{String => String}>)

    Provides additional context on


32
33
34
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_issue.rb', line 32

def context
  @context
end

#originOrigin

'Local', 'Inbound', 'Outbound'

Returns:

  • (Origin)

    The origin of the issue. Possible values include:


18
19
20
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_issue.rb', line 18

def origin
  @origin
end

#severitySeverity

'Error', 'Warning'

Returns:

  • (Severity)

    The severity of the issue. Possible values include:


22
23
24
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_issue.rb', line 22

def severity
  @severity
end

#typeIssueType

'Unknown', 'AgentStopped', 'GuestFirewall', 'DnsResolution', 'SocketBind', 'NetworkSecurityRule', 'UserDefinedRoute', 'PortThrottled', 'Platform'

Returns:

  • (IssueType)

    The type of issue. Possible values include:


28
29
30
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_issue.rb', line 28

def type
  @type
end

Class Method Details

.mapperObject

Mapper for ConnectivityIssue 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
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_issue.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectivityIssue',
    type: {
      name: 'Composite',
      class_name: 'ConnectivityIssue',
      model_properties: {
        origin: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'origin',
          type: {
            name: 'String'
          }
        },
        severity: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'severity',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        context: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'context',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HashElementType',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
            }
          }
        }
      }
    }
  }
end