Class: Azure::ARM::Web::Models::IpSecurityRestriction
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::IpSecurityRestriction
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_web/models/ip_security_restriction.rb
Overview
Represents an ip security restriction on a web app.
Instance Attribute Summary collapse
-
#ip_address ⇒ String
IP address the security restriction is valid for.
-
#subnet_mask ⇒ String
restriction is valid for.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IpSecurityRestriction class as Ruby Hash.
Instance Attribute Details
#ip_address ⇒ String
Returns IP address the security restriction is valid for.
16 17 18 |
# File 'lib/generated/azure_mgmt_web/models/ip_security_restriction.rb', line 16 def ip_address @ip_address end |
#subnet_mask ⇒ String
restriction is valid for
20 21 22 |
# File 'lib/generated/azure_mgmt_web/models/ip_security_restriction.rb', line 20 def subnet_mask @subnet_mask end |
Class Method Details
.mapper ⇒ Object
Mapper for IpSecurityRestriction class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/generated/azure_mgmt_web/models/ip_security_restriction.rb', line 27 def self.mapper() { required: false, serialized_name: 'IpSecurityRestriction', type: { name: 'Composite', class_name: 'IpSecurityRestriction', model_properties: { ip_address: { required: false, serialized_name: 'ipAddress', type: { name: 'String' } }, subnet_mask: { required: false, serialized_name: 'subnetMask', type: { name: 'String' } } } } } end |