# 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::Security::Mgmt::V2015_06_01_preview module Models # # The resource whose properties describes the allowed traffic between Azure # resources # class AllowedConnectionsResource include MsRestAzure # @return [String] Resource Id attr_accessor :id # @return [String] Resource name attr_accessor :name # @return [String] Resource type attr_accessor :type # @return [String] Location where the resource is stored attr_accessor :location # @return [DateTime] The UTC time on which the allowed connections # resource was calculated attr_accessor :calculated_date_time # @return [Array] List of connectable resources attr_accessor :connectable_resources # # Mapper for AllowedConnectionsResource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AllowedConnectionsResource', type: { name: 'Composite', class_name: 'AllowedConnectionsResource', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, calculated_date_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.calculatedDateTime', type: { name: 'DateTime' } }, connectable_resources: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectableResources', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ConnectableResourceElementType', type: { name: 'Composite', class_name: 'ConnectableResource' } } } } } } } end end end end