Class: Azure::ARM::Network::Models::EffectiveNetworkSecurityGroup

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_network/models/effective_network_security_group.rb

Overview

Effective network security group.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#associationEffectiveNetworkSecurityGroupAssociation

resources.

Returns:



21
22
23
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_group.rb', line 21

def association
  @association
end

#effective_security_rulesArray<EffectiveNetworkSecurityRule>

security rules.

Returns:



25
26
27
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_group.rb', line 25

def effective_security_rules
  @effective_security_rules
end

#network_security_groupSubResource

Returns The ID of network security group that is applied.

Returns:

  • (SubResource)

    The ID of network security group that is applied.



17
18
19
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_group.rb', line 17

def network_security_group
  @network_security_group
end

#tag_mapHash{String => Array<String>}

Addresses included within the tag.

Returns:

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

    Mapping of tags to list of IP



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

def tag_map
  @tag_map
end

Class Method Details

.mapperObject

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



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
90
91
92
93
94
95
96
97
98
99
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_group.rb', line 36

def self.mapper()
  {
    required: false,
    serialized_name: 'EffectiveNetworkSecurityGroup',
    type: {
      name: 'Composite',
      class_name: 'EffectiveNetworkSecurityGroup',
      model_properties: {
        network_security_group: {
          required: false,
          serialized_name: 'networkSecurityGroup',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        association: {
          required: false,
          serialized_name: 'association',
          type: {
            name: 'Composite',
            class_name: 'EffectiveNetworkSecurityGroupAssociation'
          }
        },
        effective_security_rules: {
          required: false,
          serialized_name: 'effectiveSecurityRules',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'EffectiveNetworkSecurityRuleElementType',
                type: {
                  name: 'Composite',
                  class_name: 'EffectiveNetworkSecurityRule'
                }
            }
          }
        },
        tag_map: {
          required: false,
          serialized_name: 'tagMap',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'ArrayElementType',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
            }
          }
        }
      }
    }
  }
end