Class: Azure::Network::Mgmt::V2018_08_01::Models::EvaluatedNetworkSecurityGroup

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

Overview

Results of network security group evaluation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#applied_toString

group is applied.

Returns:

  • (String)

    Resource ID of nic or subnet to which network security


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

def applied_to
  @applied_to
end

#matched_ruleMatchedRule

Returns:


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

def matched_rule
  @matched_rule
end

#network_security_group_idString

Returns Network security group ID.

Returns:

  • (String)

    Network security group ID.


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

def network_security_group_id
  @network_security_group_id
end

#rules_evaluation_resultArray<NetworkSecurityRulesEvaluationResult>

security rules evaluation results.

Returns:


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

def rules_evaluation_result
  @rules_evaluation_result
end

Class Method Details

.mapperObject

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


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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/evaluated_network_security_group.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EvaluatedNetworkSecurityGroup',
    type: {
      name: 'Composite',
      class_name: 'EvaluatedNetworkSecurityGroup',
      model_properties: {
        network_security_group_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'networkSecurityGroupId',
          type: {
            name: 'String'
          }
        },
        applied_to: {
          client_side_validation: true,
          required: false,
          serialized_name: 'appliedTo',
          type: {
            name: 'String'
          }
        },
        matched_rule: {
          client_side_validation: true,
          required: false,
          serialized_name: 'matchedRule',
          type: {
            name: 'Composite',
            class_name: 'MatchedRule'
          }
        },
        rules_evaluation_result: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'rulesEvaluationResult',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NetworkSecurityRulesEvaluationResultElementType',
                type: {
                  name: 'Composite',
                  class_name: 'NetworkSecurityRulesEvaluationResult'
                }
            }
          }
        }
      }
    }
  }
end