# 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::V2017_08_01_preview module Models # # Pricing tier will be applied for the scope based on the resource ID # class Pricing < Resource include MsRestAzure # @return [PricingTier] Pricing tier type. Possible values include: # 'Free', 'Standard' attr_accessor :pricing_tier # # Mapper for Pricing class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Pricing', type: { name: 'Composite', class_name: 'Pricing', 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' } }, pricing_tier: { client_side_validation: true, required: true, serialized_name: 'properties.pricingTier', type: { name: 'String' } } } } } end end end end