Class: Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityGroup

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/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:


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

def association
  @association
end

#effective_security_rulesArray<EffectiveNetworkSecurityRule>

security rules.

Returns:


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

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.


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

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


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

def tag_map
  @tag_map
end

Class Method Details

.mapperObject

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


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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/effective_network_security_group.rb', line 35

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