Sha256: a4ceba8dbf2c0f6d98e42cc11f1c37b35fa74ceefe1890360fddade81f1fbf93
Contents?: true
Size: 1.61 KB
Versions: 32
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_04_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
32 entries across 32 versions & 2 rubygems