class Azure::Web::Mgmt::V2015_08_01::Models::IpSecurityRestriction

IP security restriction on an app.

Attributes

ip_address[RW]

@return [String] IP address the security restriction is valid for.

subnet_mask[RW]

@return [String] Subnet mask for the range of IP addresses the restriction is valid for.

Public Class Methods

mapper() click to toggle source

Mapper for IpSecurityRestriction class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-08-01/generated/azure_mgmt_web/models/ip_security_restriction.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IpSecurityRestriction',
    type: {
      name: 'Composite',
      class_name: 'IpSecurityRestriction',
      model_properties: {
        ip_address: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ipAddress',
          type: {
            name: 'String'
          }
        },
        subnet_mask: {
          client_side_validation: true,
          required: false,
          serialized_name: 'subnetMask',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end