class Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicy
The Get Storage
Account ManagementPolicies
operation response.
Attributes
last_modified_time[RW]
@return [DateTime] Returns the date and time the ManagementPolicies
was last modified.
policy[RW]
@return [ManagementPolicySchema] The Storage
Account ManagementPolicy
, in JSON format. See more details in: docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
Public Class Methods
mapper()
click to toggle source
Mapper for ManagementPolicy
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagementPolicy', type: { name: 'Composite', class_name: 'ManagementPolicy', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, last_modified_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', type: { name: 'DateTime' } }, policy: { client_side_validation: true, required: true, serialized_name: 'properties.policy', type: { name: 'Composite', class_name: 'ManagementPolicySchema' } } } } } end