Class: Azure::ARM::Network::Models::ConnectivityIssue
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::ConnectivityIssue
- 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
-
#context ⇒ Array<Hash{String => String}>
the issue.
-
#origin ⇒ Origin
‘Local’, ‘Inbound’, ‘Outbound’.
-
#severity ⇒ Severity
‘Error’, ‘Warning’.
-
#type ⇒ IssueType
‘Unknown’, ‘AgentStopped’, ‘GuestFirewall’, ‘DnsResolution’, ‘SocketBind’, ‘NetworkSecurityRule’, ‘UserDefinedRoute’, ‘PortThrottled’, ‘Platform’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnectivityIssue class as Ruby Hash.
Instance Attribute Details
#context ⇒ Array<Hash{String => String}>
the issue.
33 34 35 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_issue.rb', line 33 def context @context end |
#origin ⇒ Origin
‘Local’, ‘Inbound’, ‘Outbound’
19 20 21 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_issue.rb', line 19 def origin @origin end |
#severity ⇒ Severity
‘Error’, ‘Warning’
23 24 25 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_issue.rb', line 23 def severity @severity end |
#type ⇒ IssueType
‘Unknown’, ‘AgentStopped’, ‘GuestFirewall’, ‘DnsResolution’, ‘SocketBind’, ‘NetworkSecurityRule’, ‘UserDefinedRoute’, ‘PortThrottled’, ‘Platform’
29 30 31 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_issue.rb', line 29 def type @type end |
Class Method Details
.mapper ⇒ Object
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 |