Class: Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter

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

Overview

The Storage Account ManagementPolicies Rules, in JSON format. See more details in: docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#policyObject

Returns:

  • The Storage Account ManagementPolicies Rules, in JSON format.



20
21
22
# File 'lib/2018-03-01-preview/generated/azure_mgmt_storage/models/management_policies_rules_set_parameter.rb', line 20

def policy
  @policy
end

Class Method Details

.mapperObject

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



27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'lib/2018-03-01-preview/generated/azure_mgmt_storage/models/management_policies_rules_set_parameter.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagementPoliciesRulesSetParameter',
    type: {
      name: 'Composite',
      class_name: 'ManagementPoliciesRulesSetParameter',
      model_properties: {
        policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.policy',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end