Sha256: 7b62a8d56dec381cd360294f165ab182de3f0f304f6a2c812a2d10ade4383b2f

Contents?: true

Size: 1.4 KB

Versions: 4

Compression:

Stored size: 1.4 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Web
  module Models
    #
    # Represents an ip security restriction on a web app.
    #
    class IpSecurityRestriction

      include MsRestAzure

      # @return [String] IP address the security restriction is valid for
      attr_accessor :ip_address

      # @return [String] Subnet mask for the range of IP addresses the
      # restriction is valid for
      attr_accessor :subnet_mask


      #
      # Mapper for IpSecurityRestriction class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_web-0.7.0 lib/generated/azure_mgmt_web/models/ip_security_restriction.rb
azure_mgmt_web-0.6.0 lib/generated/azure_mgmt_web/models/ip_security_restriction.rb
azure_mgmt_web-0.5.0 lib/generated/azure_mgmt_web/models/ip_security_restriction.rb
azure_mgmt_web-0.4.0 lib/generated/azure_mgmt_web/models/ip_security_restriction.rb