Class: Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityRulesEvaluationResult

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

Overview

Network security rules evaluation result.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#destination_matchedBoolean

Returns Value indicating whether destination is matched.

Returns:

  • (Boolean)

    Value indicating whether destination is matched.


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

def destination_matched
  @destination_matched
end

#destination_port_matchedBoolean

Returns Value indicating whether destination port is matched.

Returns:

  • (Boolean)

    Value indicating whether destination port is matched.


31
32
33
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/network_security_rules_evaluation_result.rb', line 31

def destination_port_matched
  @destination_port_matched
end

#nameString

Returns Name of the network security rule.

Returns:

  • (String)

    Name of the network security rule.


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/network_security_rules_evaluation_result.rb', line 16

def name
  @name
end

#protocol_matchedBoolean

Returns Value indicating whether protocol is matched.

Returns:

  • (Boolean)

    Value indicating whether protocol is matched.


19
20
21
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/network_security_rules_evaluation_result.rb', line 19

def protocol_matched
  @protocol_matched
end

#source_matchedBoolean

Returns Value indicating whether source is matched.

Returns:

  • (Boolean)

    Value indicating whether source is matched.


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

def source_matched
  @source_matched
end

#source_port_matchedBoolean

Returns Value indicating whether source port is matched.

Returns:

  • (Boolean)

    Value indicating whether source port is matched.


25
26
27
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/network_security_rules_evaluation_result.rb', line 25

def source_port_matched
  @source_port_matched
end

Class Method Details

.mapperObject

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


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
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
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/network_security_rules_evaluation_result.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkSecurityRulesEvaluationResult',
    type: {
      name: 'Composite',
      class_name: 'NetworkSecurityRulesEvaluationResult',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        protocol_matched: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protocolMatched',
          type: {
            name: 'Boolean'
          }
        },
        source_matched: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sourceMatched',
          type: {
            name: 'Boolean'
          }
        },
        source_port_matched: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sourcePortMatched',
          type: {
            name: 'Boolean'
          }
        },
        destination_matched: {
          client_side_validation: true,
          required: false,
          serialized_name: 'destinationMatched',
          type: {
            name: 'Boolean'
          }
        },
        destination_port_matched: {
          client_side_validation: true,
          required: false,
          serialized_name: 'destinationPortMatched',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end