Class: Azure::Storage::Mgmt::V2018_11_01::Models::ManagementPolicySchema
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2018_11_01::Models::ManagementPolicySchema
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb
Overview
The Storage Account ManagementPolicies Rules. See more details in: docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
Instance Attribute Summary collapse
-
#rules ⇒ Array<ManagementPolicyRule>
ManagementPolicies Rules.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ManagementPolicySchema class as Ruby Hash.
Instance Attribute Details
#rules ⇒ Array<ManagementPolicyRule>
ManagementPolicies Rules. See more details in: docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
19 20 21 |
# File 'lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb', line 19 def rules @rules end |
Class Method Details
.mapper ⇒ Object
Mapper for ManagementPolicySchema class as Ruby Hash. This will be used for serialization/deserialization.
26 27 28 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 |
# File 'lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagementPolicySchema', type: { name: 'Composite', class_name: 'ManagementPolicySchema', model_properties: { rules: { client_side_validation: true, required: true, serialized_name: 'rules', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ManagementPolicyRuleElementType', type: { name: 'Composite', class_name: 'ManagementPolicyRule' } } } } } } } end |