Sha256: af96d37fb51a0f8dd41e22ad6865af9f69e0ec08354410537d152c95199b84c4
Contents?: true
Size: 1.61 KB
Versions: 29
Compression:
Stored size: 1.61 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::Network::Mgmt::V2018_08_01 module Models # # Parameters that define the retention policy for flow log. # class RetentionPolicyParameters include MsRestAzure # @return [Integer] Number of days to retain flow log records. Default # value: 0 . attr_accessor :days # @return [Boolean] Flag to enable/disable retention. Default value: # false . attr_accessor :enabled # # Mapper for RetentionPolicyParameters class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { name: 'Composite', class_name: 'RetentionPolicyParameters', model_properties: { days: { client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, type: { name: 'Number' } }, enabled: { client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, type: { name: 'Boolean' } } } } } end end end end
Version data entries
29 entries across 29 versions & 2 rubygems