Sha256: fdab8b87f2c2344629bd716b9a048a1bc4880e0f1d80a183837c4a1f11851f9b

Contents?: true

Size: 1.87 KB

Versions: 1

Compression:

Stored size: 1.87 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# 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] Possible values include: 'Permit',
      # 'Deny'
      attr_accessor :action

      # @return [String]
      attr_accessor :description

      # @return [Integer]
      attr_accessor :order

      # @return [String]
      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.8.0 lib/generated/azure_mgmt_web/models/network_access_control_entry.rb