Sha256: 185112806abac32443c0c4ff34f7518d2bfe25a2719a3cee1cfe5adac822cc98

Contents?: true

Size: 1.42 KB

Versions: 2

Compression:

Stored size: 1.42 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::MediaServices::Mgmt::V2020_05_01
  module Models
    #
    # The IP access control.
    #
    class IPAccessControl

      include MsRestAzure

      # @return [Array<IPRange>] The IP allow list.
      attr_accessor :allow


      #
      # Mapper for IPAccessControl class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'IPAccessControl',
          type: {
            name: 'Composite',
            class_name: 'IPAccessControl',
            model_properties: {
              allow: {
                client_side_validation: true,
                required: false,
                serialized_name: 'allow',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'IPRangeElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'IPRange'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2020-05-01/generated/azure_mgmt_media_services/models/ipaccess_control.rb
azure_mgmt_media_services-0.21.0 lib/2020-05-01/generated/azure_mgmt_media_services/models/ipaccess_control.rb