# 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::V2020_09_01 module Models # # The IP Addresses and Ports that require inbound network access to and # within the subnet of the App Service Environment. # class InboundEnvironmentEndpoint include MsRestAzure # @return [String] Short text describing the purpose of the network # traffic. attr_accessor :description # @return [Array] The IP addresses that network traffic will # originate from in cidr notation. attr_accessor :endpoints # @return [Array] The ports that network traffic will arrive to # the App Service Environment at. attr_accessor :ports # # Mapper for InboundEnvironmentEndpoint class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'InboundEnvironmentEndpoint', type: { name: 'Composite', class_name: 'InboundEnvironmentEndpoint', model_properties: { description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } }, endpoints: { client_side_validation: true, required: false, serialized_name: 'endpoints', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, ports: { client_side_validation: true, required: false, serialized_name: 'ports', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end