Class: Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySnapShot

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

Overview

Management policy action for snapshot.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#deleteDateAfterCreation

Returns The function to delete the blob snapshot.

Returns:



16
17
18
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_snap_shot.rb', line 16

def delete
  @delete
end

Class Method Details

.mapperObject

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



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_snap_shot.rb', line 23

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagementPolicySnapShot',
    type: {
      name: 'Composite',
      class_name: 'ManagementPolicySnapShot',
      model_properties: {
        delete: {
          client_side_validation: true,
          required: false,
          serialized_name: 'delete',
          type: {
            name: 'Composite',
            class_name: 'DateAfterCreation'
          }
        }
      }
    }
  }
end