Class: Azure::Storage::Mgmt::V2018_11_01::Models::ManagementPolicyAction

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_action.rb

Overview

Actions are applied to the filtered blobs when the execution condition is met.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#base_blobManagementPolicyBaseBlob

base blob

Returns:



18
19
20
# File 'lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_action.rb', line 18

def base_blob
  @base_blob
end

#snapshotManagementPolicySnapShot

snapshot

Returns:



22
23
24
# File 'lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_action.rb', line 22

def snapshot
  @snapshot
end

Class Method Details

.mapperObject

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



29
30
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
# File 'lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_action.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagementPolicyAction',
    type: {
      name: 'Composite',
      class_name: 'ManagementPolicyAction',
      model_properties: {
        base_blob: {
          client_side_validation: true,
          required: false,
          serialized_name: 'baseBlob',
          type: {
            name: 'Composite',
            class_name: 'ManagementPolicyBaseBlob'
          }
        },
        snapshot: {
          client_side_validation: true,
          required: false,
          serialized_name: 'snapshot',
          type: {
            name: 'Composite',
            class_name: 'ManagementPolicySnapShot'
          }
        }
      }
    }
  }
end