class Azure::Storage::Mgmt::V2021_01_01::Models::LastAccessTimeTrackingPolicy

The blob service properties for Last access time based tracking policy.

Attributes

blob_type[RW]

@return [Array<String>] An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only

enable[RW]

@return [Boolean] When set to true last access time based tracking is enabled.

name[RW]

@return [Name] Name of the policy. The valid value is AccessTimeTracking. This field is currently read only. Possible values include: 'AccessTimeTracking'

tracking_granularity_in_days[RW]

@return [Integer] The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1

Private Class Methods

mapper() click to toggle source

Mapper for LastAccessTimeTrackingPolicy class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2021-01-01/generated/azure_mgmt_storage/models/last_access_time_tracking_policy.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LastAccessTimeTrackingPolicy',
    type: {
      name: 'Composite',
      class_name: 'LastAccessTimeTrackingPolicy',
      model_properties: {
        enable: {
          client_side_validation: true,
          required: true,
          serialized_name: 'enable',
          type: {
            name: 'Boolean'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        tracking_granularity_in_days: {
          client_side_validation: true,
          required: false,
          serialized_name: 'trackingGranularityInDays',
          type: {
            name: 'Number'
          }
        },
        blob_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'blobType',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end