Class: Azure::ARM::Network::Models::EffectiveNetworkSecurityRule
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::EffectiveNetworkSecurityRule
- Includes:
- MsRest::JSONable, 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_address_prefixes ⇒ Array<String>
values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).
-
#destination_port_range ⇒ String
The destination port or range.
-
#destination_port_ranges ⇒ Array<String>
include a single integer between 0 and 65535, a range using ‘-’ as seperator (e.g. 100-400), or an asterix (*).
-
#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 ⇒ EffectiveSecurityRuleProtocol
applies to.
-
#source_address_prefix ⇒ String
The source address prefix.
-
#source_address_prefixes ⇒ Array<String>
include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).
-
#source_port_range ⇒ String
The source port or range.
-
#source_port_ranges ⇒ Array<String>
a single integer between 0 and 65535, a range using ‘-’ as seperator (e.g. 100-400), or an asterix (*).
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’
66 67 68 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 66 def access @access end |
#destination_address_prefix ⇒ String
Returns The destination address prefix.
45 46 47 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 45 def destination_address_prefix @destination_address_prefix end |
#destination_address_prefixes ⇒ Array<String>
values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).
55 56 57 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 55 def destination_address_prefixes @destination_address_prefixes end |
#destination_port_range ⇒ String
Returns The destination port or range.
29 30 31 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 29 def destination_port_range @destination_port_range end |
#destination_port_ranges ⇒ Array<String>
include a single integer between 0 and 65535, a range using ‘-’ as seperator (e.g. 100-400), or an asterix (*)
39 40 41 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 39 def destination_port_ranges @destination_port_ranges end |
#direction ⇒ SecurityRuleDirection
values are: ‘Inbound and Outbound’. Possible values include: ‘Inbound’, ‘Outbound’
74 75 76 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 74 def direction @direction end |
#expanded_destination_address_prefix ⇒ Array<String>
Returns Expanded destination address prefix.
61 62 63 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 61 def @expanded_destination_address_prefix end |
#expanded_source_address_prefix ⇒ Array<String>
Returns The expanded source address prefix.
58 59 60 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 58 def @expanded_source_address_prefix end |
#name ⇒ String
(if created by the user).
18 19 20 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 18 def name @name end |
#priority ⇒ Integer
Returns The priority of the rule.
69 70 71 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 69 def priority @priority end |
#protocol ⇒ EffectiveSecurityRuleProtocol
applies to. Possible values are: ‘Tcp’, ‘Udp’, and ‘All’. Possible values include: ‘Tcp’, ‘Udp’, ‘All’
23 24 25 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 23 def protocol @protocol end |
#source_address_prefix ⇒ String
Returns The source address prefix.
42 43 44 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 42 def source_address_prefix @source_address_prefix end |
#source_address_prefixes ⇒ Array<String>
include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).
50 51 52 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 50 def source_address_prefixes @source_address_prefixes end |
#source_port_range ⇒ String
Returns The source port or range.
26 27 28 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 26 def source_port_range @source_port_range end |
#source_port_ranges ⇒ Array<String>
a single integer between 0 and 65535, a range using ‘-’ as seperator (e.g. 100-400), or an asterix (*)
34 35 36 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 34 def source_port_ranges @source_port_ranges end |
Class Method Details
.mapper ⇒ Object
Mapper for EffectiveNetworkSecurityRule class as Ruby Hash. This will be used for serialization/deserialization.
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 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb', line 81 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_port_ranges: { required: false, serialized_name: 'sourcePortRanges', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, destination_port_ranges: { required: false, serialized_name: 'destinationPortRanges', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', 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' } }, source_address_prefixes: { required: false, serialized_name: 'sourceAddressPrefixes', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, destination_address_prefixes: { required: false, serialized_name: 'destinationAddressPrefixes', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', 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 |