Class: Azure::Storage::Mgmt::V2021_01_01::Models::UpdateHistoryProperty

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2021-01-01/generated/azure_mgmt_storage/models/update_history_property.rb

Overview

An update history of the ImmutabilityPolicy of a blob container.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#immutability_period_since_creation_in_daysInteger

container since the policy creation, in days.

Returns:

  • (Integer)

    The immutability period for the blobs in the



22
23
24
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/update_history_property.rb', line 22

def immutability_period_since_creation_in_days
  @immutability_period_since_creation_in_days
end

#object_identifierString

ImmutabilityPolicy.

Returns:

  • (String)

    Returns the Object ID of the user who updated the



30
31
32
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/update_history_property.rb', line 30

def object_identifier
  @object_identifier
end

#tenant_idString

user who updated the ImmutabilityPolicy.

Returns:

  • (String)

    Returns the Tenant ID that issued the token for the



34
35
36
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/update_history_property.rb', line 34

def tenant_id
  @tenant_id
end

#timestampDateTime

updated.

Returns:

  • (DateTime)

    Returns the date and time the ImmutabilityPolicy was



26
27
28
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/update_history_property.rb', line 26

def timestamp
  @timestamp
end

#updateImmutabilityPolicyUpdateType

type of a blob container, possible values include: put, lock and extend. Possible values include: ‘put’, ‘lock’, ‘extend’

Returns:



18
19
20
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/update_history_property.rb', line 18

def update
  @update
end

#upnString

updated the ImmutabilityPolicy.

Returns:

  • (String)

    Returns the User Principal Name of the user who



38
39
40
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/update_history_property.rb', line 38

def upn
  @upn
end

Class Method Details

.mapperObject

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



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/update_history_property.rb', line 45

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