Class: Azure::ARM::Network::Models::EffectiveNetworkSecurityRule
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::EffectiveNetworkSecurityRule
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb
Overview
Effective network security rules.
Instance Attribute Summary collapse
-
#access ⇒ SecurityRuleAccess
denied.
-
#destination_address_prefix ⇒ String
The destination address prefix.
-
#destination_port_range ⇒ String
The destination port or range.
-
#direction ⇒ SecurityRuleDirection
values are: ‘Inbound and Outbound’.
-
#expanded_destination_address_prefix ⇒ Array<String>
Expanded destination address prefix.
-
#expanded_source_address_prefix ⇒ Array<String>
The expanded source address prefix.
-
#name ⇒ String
(if created by the user).
-
#priority ⇒ Integer
The priority of the rule.
-
#protocol ⇒ SecurityRuleProtocol
to.
-
#source_address_prefix ⇒ String
The source address prefix.
-
#source_port_range ⇒ String
The source port or range.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EffectiveNetworkSecurityRule class as Ruby Hash.
Instance Attribute Details
#access ⇒ SecurityRuleAccess
denied. Possible values are: ‘Allow’ and ‘Deny’. Possible values include: ‘Allow’, ‘Deny’
45 46 47 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 45 def access @access end |
#destination_address_prefix ⇒ String
Returns The destination address prefix.
34 35 36 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 34 def destination_address_prefix @destination_address_prefix end |
#destination_port_range ⇒ String
Returns The destination port or range.
28 29 30 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 28 def destination_port_range @destination_port_range end |
#direction ⇒ SecurityRuleDirection
values are: ‘Inbound and Outbound’. Possible values include: ‘Inbound’, ‘Outbound’
53 54 55 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 53 def direction @direction end |
#expanded_destination_address_prefix ⇒ Array<String>
Returns Expanded destination address prefix.
40 41 42 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 40 def end |
#expanded_source_address_prefix ⇒ Array<String>
Returns The expanded source address prefix.
37 38 39 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 37 def end |
#name ⇒ String
(if created by the user).
17 18 19 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 17 def name @name end |
#priority ⇒ Integer
Returns The priority of the rule.
48 49 50 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 48 def priority @priority end |
#protocol ⇒ SecurityRuleProtocol
to. Possible values are: ‘Tcp’, ‘Udp’, and ‘*’. Possible values include: ‘Tcp’, ‘Udp’, ‘*’
22 23 24 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 22 def protocol @protocol end |
#source_address_prefix ⇒ String
Returns The source address prefix.
31 32 33 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 31 def source_address_prefix @source_address_prefix end |
#source_port_range ⇒ String
Returns The source port or range.
25 26 27 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 25 def source_port_range @source_port_range end |
Class Method Details
.mapper ⇒ Object
Mapper for EffectiveNetworkSecurityRule class as Ruby Hash. This will be used for serialization/deserialization.
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 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 60 def self.mapper() { required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { name: 'Composite', class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { required: false, serialized_name: 'name', type: { name: 'String' } }, protocol: { required: false, serialized_name: 'protocol', type: { name: 'String' } }, source_port_range: { required: false, serialized_name: 'sourcePortRange', type: { name: 'String' } }, destination_port_range: { required: false, serialized_name: 'destinationPortRange', type: { name: 'String' } }, source_address_prefix: { required: false, serialized_name: 'sourceAddressPrefix', type: { name: 'String' } }, destination_address_prefix: { required: false, serialized_name: 'destinationAddressPrefix', type: { name: 'String' } }, expanded_source_address_prefix: { required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, expanded_destination_address_prefix: { required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, access: { required: false, serialized_name: 'access', type: { name: 'String' } }, priority: { required: false, serialized_name: 'priority', type: { name: 'Number' } }, direction: { required: false, serialized_name: 'direction', type: { name: 'String' } } } } } end |