Sha256: 7f060ebc46d9631ca5024416adb6388ef54cfc07dd8e106af4d2aa999a5911e2

Contents?: true

Size: 1.52 KB

Versions: 10

Compression:

Stored size: 1.52 KB

Contents

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

module Azure::Web::Mgmt::V2015_04_01
  module Models
    #
    # IP security restriction on an 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()
        {
          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
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
azure_mgmt_web-0.18.0 lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
azure_mgmt_web-0.17.6 lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
azure_mgmt_web-0.17.5 lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
azure_mgmt_web-0.17.4 lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
azure_mgmt_web-0.17.3 lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
azure_mgmt_web-0.17.2 lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
azure_mgmt_web-0.17.1 lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
azure_mgmt_web-0.17.0 lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
azure_mgmt_web-0.16.0 lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb