# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::DataLakeStore module Models # # Data Lake Store firewall rule information # class FirewallRule include MsRestAzure # @return [String] the firewall rule's name. attr_accessor :name # @return [String] the namespace and type of the firewall Rule. attr_accessor :type # @return [String] the firewall rule's subscription ID. attr_accessor :id # @return [String] the firewall rule's regional location. attr_accessor :location # @return [FirewallRuleProperties] the properties of the firewall rule. attr_accessor :properties # # Mapper for FirewallRule class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'FirewallRule', type: { name: 'Composite', class_name: 'FirewallRule', model_properties: { name: { required: false, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, id: { required: false, serialized_name: 'id', type: { name: 'String' } }, location: { required: false, serialized_name: 'location', type: { name: 'String' } }, properties: { required: false, serialized_name: 'properties', type: { name: 'Composite', class_name: 'FirewallRuleProperties' } } } } } end end end end