Class: Azure::Storage::Mgmt::V2018_02_01::Models::UpdateHistoryProperty
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2018_02_01::Models::UpdateHistoryProperty
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-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
-
#immutability_period_since_creation_in_days ⇒ Integer
container since the policy creation, in days.
-
#object_identifier ⇒ String
ImmutabilityPolicy.
-
#tenant_id ⇒ String
user who updated the ImmutabilityPolicy.
-
#timestamp ⇒ DateTime
updated.
-
#update ⇒ ImmutabilityPolicyUpdateType
type of a blob container, possible values include: put, lock and extend.
-
#upn ⇒ String
updated the ImmutabilityPolicy.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UpdateHistoryProperty class as Ruby Hash.
Instance Attribute Details
#immutability_period_since_creation_in_days ⇒ Integer
container since the policy creation, in days.
22 23 24 |
# File 'lib/2018-02-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_identifier ⇒ String
ImmutabilityPolicy.
30 31 32 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb', line 30 def object_identifier @object_identifier end |
#tenant_id ⇒ String
user who updated the ImmutabilityPolicy.
34 35 36 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb', line 34 def tenant_id @tenant_id end |
#timestamp ⇒ DateTime
updated.
26 27 28 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb', line 26 def @timestamp end |
#update ⇒ ImmutabilityPolicyUpdateType
type of a blob container, possible values include: put, lock and extend. Possible values include: ‘put’, ‘lock’, ‘extend’
18 19 20 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb', line 18 def update @update end |
#upn ⇒ String
updated the ImmutabilityPolicy.
38 39 40 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb', line 38 def upn @upn end |
Class Method Details
.mapper ⇒ Object
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/2018-02-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 |