class Azure::Storage::Mgmt::V2018_02_01::Models::UpdateHistoryProperty

An update history of the ImmutabilityPolicy of a blob container.

Attributes

immutability_period_since_creation_in_days[RW]

@return [Integer] The immutability period for the blobs in the container since the policy creation, in days.

object_identifier[RW]

@return [String] Returns the Object ID of the user who updated the ImmutabilityPolicy.

tenant_id[RW]

@return [String] Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.

timestamp[RW]

@return [DateTime] Returns the date and time the ImmutabilityPolicy was updated.

update[RW]

@return [ImmutabilityPolicyUpdateType] The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. Possible values include: 'put', 'lock', 'extend'

upn[RW]

@return [String] Returns the User Principal Name of the user who updated the ImmutabilityPolicy.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb, line 44
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UpdateHistoryProperty',
    type: {
      name: 'Composite',
      class_name: 'UpdateHistoryProperty',
      model_properties: {
        update: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'update',
          type: {
            name: 'String'
          }
        },
        immutability_period_since_creation_in_days: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'immutabilityPeriodSinceCreationInDays',
          type: {
            name: 'Number'
          }
        },
        timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'timestamp',
          type: {
            name: 'DateTime'
          }
        },
        object_identifier: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'objectIdentifier',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        upn: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'upn',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end