Class: Azure::ARM::Network::Models::ConnectivityIssue

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/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



33
34
35
# File 'lib/generated/azure_mgmt_network/models/connectivity_issue.rb', line 33

def context
  @context
end

#originOrigin

‘Local’, ‘Inbound’, ‘Outbound’

Returns:

  • (Origin)

    The origin of the issue. Possible values include:



19
20
21
# File 'lib/generated/azure_mgmt_network/models/connectivity_issue.rb', line 19

def origin
  @origin
end

#severitySeverity

‘Error’, ‘Warning’

Returns:

  • (Severity)

    The severity of the issue. Possible values include:



23
24
25
# File 'lib/generated/azure_mgmt_network/models/connectivity_issue.rb', line 23

def severity
  @severity
end

#typeIssueType

‘Unknown’, ‘AgentStopped’, ‘GuestFirewall’, ‘DnsResolution’, ‘SocketBind’, ‘NetworkSecurityRule’, ‘UserDefinedRoute’, ‘PortThrottled’, ‘Platform’

Returns:

  • (IssueType)

    The type of issue. Possible values include:



29
30
31
# File 'lib/generated/azure_mgmt_network/models/connectivity_issue.rb', line 29

def type
  @type
end

Class Method Details

.mapperObject

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



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
# File 'lib/generated/azure_mgmt_network/models/connectivity_issue.rb', line 40

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