Sha256: 8bea5a261b36b5a56f2d356338b6186d806453b16f5b9fd7d591fb54bb5e095e

Contents?: true

Size: 1.93 KB

Versions: 1

Compression:

Stored size: 1.93 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::ARM::Web
  module Models
    #
    # Network access control entry.
    #
    class NetworkAccessControlEntry

      include MsRestAzure

      # @return [AccessControlEntryAction] Action object. Possible values
      # include: 'Permit', 'Deny'
      attr_accessor :action

      # @return [String] Description.
      attr_accessor :description

      # @return [Integer] Order of precedence.
      attr_accessor :order

      # @return [String] Remote subnet.
      attr_accessor :remote_subnet


      #
      # Mapper for NetworkAccessControlEntry class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'NetworkAccessControlEntry',
          type: {
            name: 'Composite',
            class_name: 'NetworkAccessControlEntry',
            model_properties: {
              action: {
                required: false,
                serialized_name: 'action',
                type: {
                  name: 'Enum',
                  module: 'AccessControlEntryAction'
                }
              },
              description: {
                required: false,
                serialized_name: 'description',
                type: {
                  name: 'String'
                }
              },
              order: {
                required: false,
                serialized_name: 'order',
                type: {
                  name: 'Number'
                }
              },
              remote_subnet: {
                required: false,
                serialized_name: 'remoteSubnet',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.14.0 lib/generated/azure_mgmt_web/models/network_access_control_entry.rb