Class: Azure::Network::Mgmt::V2016_12_01::Models::SecurityRuleAssociations
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2016_12_01::Models::SecurityRuleAssociations
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/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.
23 24 25 |
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb', line 23 def default_security_rules @default_security_rules end |
#effective_security_rules ⇒ Array<EffectiveNetworkSecurityRule>
security rules.
27 28 29 |
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb', line 27 def effective_security_rules @effective_security_rules end |
#network_interface_association ⇒ NetworkInterfaceAssociation
16 17 18 |
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb', line 16 def network_interface_association @network_interface_association end |
#subnet_association ⇒ SubnetAssociation
19 20 21 |
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb', line 19 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.
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 90 91 |
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb', line 34 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 |