Class: Azure::ARM::Network::Models::SecurityRuleAssociations
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::SecurityRuleAssociations
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/security_rule_associations.rb
Overview
All security rules associated with the network interface.
Instance Attribute Summary collapse
-
#default_security_rules ⇒ Array<SecurityRule>
the network security group.
-
#effective_security_rules ⇒ Array<EffectiveNetworkSecurityRule>
security rules.
- #network_interface_association ⇒ NetworkInterfaceAssociation
- #subnet_association ⇒ SubnetAssociation
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SecurityRuleAssociations class as Ruby Hash.
Instance Attribute Details
#default_security_rules ⇒ Array<SecurityRule>
the network security group.
24 25 26 |
# File 'lib/generated/azure_mgmt_network/models/security_rule_associations.rb', line 24 def default_security_rules @default_security_rules end |
#effective_security_rules ⇒ Array<EffectiveNetworkSecurityRule>
security rules.
28 29 30 |
# File 'lib/generated/azure_mgmt_network/models/security_rule_associations.rb', line 28 def effective_security_rules @effective_security_rules end |
#network_interface_association ⇒ NetworkInterfaceAssociation
17 18 19 |
# File 'lib/generated/azure_mgmt_network/models/security_rule_associations.rb', line 17 def network_interface_association @network_interface_association end |
#subnet_association ⇒ SubnetAssociation
20 21 22 |
# File 'lib/generated/azure_mgmt_network/models/security_rule_associations.rb', line 20 def subnet_association @subnet_association end |
Class Method Details
.mapper ⇒ Object
Mapper for SecurityRuleAssociations 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 |
# File 'lib/generated/azure_mgmt_network/models/security_rule_associations.rb', line 35 def self.mapper() { required: false, serialized_name: 'SecurityRuleAssociations', type: { name: 'Composite', class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { required: false, serialized_name: 'networkInterfaceAssociation', type: { name: 'Composite', class_name: 'NetworkInterfaceAssociation' } }, subnet_association: { required: false, serialized_name: 'subnetAssociation', type: { name: 'Composite', class_name: 'SubnetAssociation' } }, default_security_rules: { required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { required: false, serialized_name: 'SecurityRuleElementType', type: { name: 'Composite', class_name: 'SecurityRule' } } } }, effective_security_rules: { required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { name: 'Composite', class_name: 'EffectiveNetworkSecurityRule' } } } } } } } end |