Sha256: 5abe30aabf9359cedcfc253a04e0b925eb585325edd397d716736d74e6bf2991
Contents?: true
Size: 1.61 KB
Versions: 24
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_11_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
24 entries across 24 versions & 2 rubygems