Class: Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyBaseBlob

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb

Overview

Management policy action for base blob.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#deleteDateAfterModification

Returns The function to delete the blob.

Returns:



24
25
26
# File 'lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb', line 24

def delete
  @delete
end

#tier_to_archiveDateAfterModification

storage. Support blobs currently at Hot or Cool tier

Returns:



21
22
23
# File 'lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb', line 21

def tier_to_archive
  @tier_to_archive
end

#tier_to_coolDateAfterModification

storage. Support blobs currently at Hot tier

Returns:



17
18
19
# File 'lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb', line 17

def tier_to_cool
  @tier_to_cool
end

Class Method Details

.mapperObject

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



31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
# File 'lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagementPolicyBaseBlob',
    type: {
      name: 'Composite',
      class_name: 'ManagementPolicyBaseBlob',
      model_properties: {
        tier_to_cool: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tierToCool',
          type: {
            name: 'Composite',
            class_name: 'DateAfterModification'
          }
        },
        tier_to_archive: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tierToArchive',
          type: {
            name: 'Composite',
            class_name: 'DateAfterModification'
          }
        },
        delete: {
          client_side_validation: true,
          required: false,
          serialized_name: 'delete',
          type: {
            name: 'Composite',
            class_name: 'DateAfterModification'
          }
        }
      }
    }
  }
end