Class: Azure::ARM::Network::Models::EffectiveNetworkSecurityRules
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::EffectiveNetworkSecurityRules
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb
Overview
Effective NetworkSecurityRules
Instance Attribute Summary collapse
-
#access ⇒ SecurityRuleAccess
denied.
-
#destination_address_prefix ⇒ String
Gets destination address prefix.
-
#destination_port_range ⇒ String
Gets destination port or range.
-
#direction ⇒ SecurityRuleDirection
Possible values include: ‘Inbound’, ‘Outbound’.
-
#expanded_destination_address_prefix ⇒ Array<String>
Gets expanded destination address prefix.
-
#expanded_source_address_prefix ⇒ Array<String>
Gets expanded source address prefix.
-
#name ⇒ String
user (if created by the user).
-
#priority ⇒ Integer
Gets the priority of the rule.
-
#protocol ⇒ SecurityRuleProtocol
to.
-
#source_address_prefix ⇒ String
Gets source address prefix.
-
#source_port_range ⇒ String
Gets source port or range.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EffectiveNetworkSecurityRules class as Ruby Hash.
Instance Attribute Details
#access ⇒ SecurityRuleAccess
denied. Possible values include: ‘Allow’, ‘Deny’
43 44 45 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb', line 43 def access @access end |
#destination_address_prefix ⇒ String
Returns Gets destination address prefix.
33 34 35 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb', line 33 def destination_address_prefix @destination_address_prefix end |
#destination_port_range ⇒ String
Returns Gets destination port or range.
27 28 29 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb', line 27 def destination_port_range @destination_port_range end |
#direction ⇒ SecurityRuleDirection
Possible values include: ‘Inbound’, ‘Outbound’
50 51 52 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb', line 50 def direction @direction end |
#expanded_destination_address_prefix ⇒ Array<String>
Returns Gets expanded destination address prefix.
39 40 41 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb', line 39 def @expanded_destination_address_prefix end |
#expanded_source_address_prefix ⇒ Array<String>
Returns Gets expanded source address prefix.
36 37 38 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb', line 36 def @expanded_source_address_prefix end |
#name ⇒ String
user (if created by the user)
17 18 19 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb', line 17 def name @name end |
#priority ⇒ Integer
Returns Gets the priority of the rule.
46 47 48 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb', line 46 def priority @priority end |
#protocol ⇒ SecurityRuleProtocol
to. Possible values include: ‘Tcp’, ‘Udp’, ‘*’
21 22 23 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb', line 21 def protocol @protocol end |
#source_address_prefix ⇒ String
Returns Gets source address prefix.
30 31 32 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb', line 30 def source_address_prefix @source_address_prefix end |
#source_port_range ⇒ String
Returns Gets source port or range.
24 25 26 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb', line 24 def source_port_range @source_port_range end |
Class Method Details
.mapper ⇒ Object
Mapper for EffectiveNetworkSecurityRules class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb', line 57 def self.mapper() { required: false, serialized_name: 'EffectiveNetworkSecurityRules', type: { name: 'Composite', class_name: 'EffectiveNetworkSecurityRules', 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 |