Sha256: e162de09d8caa3db70b8abc2c49450a83bedd87b8943ce292a2c9674f44d7fab

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 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::Storage::Mgmt::V2021_01_01
  module Models
    #
    # The blob service properties for change feed events.
    #
    class ChangeFeed

      include MsRestAzure

      # @return [Boolean] Indicates whether change feed event logging is
      # enabled for the Blob service.
      attr_accessor :enabled

      # @return [Integer] Indicates the duration of changeFeed retention in
      # days. Minimum value is 1 day and maximum value is 146000 days (400
      # years). A null value indicates an infinite retention of the change
      # feed.
      attr_accessor :retention_in_days


      #
      # Mapper for ChangeFeed class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ChangeFeed',
          type: {
            name: 'Composite',
            class_name: 'ChangeFeed',
            model_properties: {
              enabled: {
                client_side_validation: true,
                required: false,
                serialized_name: 'enabled',
                type: {
                  name: 'Boolean'
                }
              },
              retention_in_days: {
                client_side_validation: true,
                required: false,
                serialized_name: 'retentionInDays',
                constraints: {
                  InclusiveMaximum: 146000,
                  InclusiveMinimum: 1
                },
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2021-01-01/generated/azure_mgmt_storage/models/change_feed.rb