Sha256: 5a09db83e7b6a9851196e6377fbc05211da6222f99e065b1b42c5a0fd7ec024d
Contents?: true
Size: 1.71 KB
Versions: 1
Compression:
Stored size: 1.71 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Storage::Mgmt::V2021_01_01 module Models # # The service properties for soft delete. # class DeleteRetentionPolicy include MsRestAzure # @return [Boolean] Indicates whether DeleteRetentionPolicy is enabled. attr_accessor :enabled # @return [Integer] Indicates the number of days that the deleted item # should be retained. The minimum specified value can be 1 and the # maximum value can be 365. attr_accessor :days # # Mapper for DeleteRetentionPolicy class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeleteRetentionPolicy', type: { name: 'Composite', class_name: 'DeleteRetentionPolicy', model_properties: { enabled: { client_side_validation: true, required: false, serialized_name: 'enabled', type: { name: 'Boolean' } }, days: { client_side_validation: true, required: false, serialized_name: 'days', constraints: { InclusiveMaximum: 365, InclusiveMinimum: 1 }, type: { name: 'Number' } } } } } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_storage-0.23.0 | lib/2021-01-01/generated/azure_mgmt_storage/models/delete_retention_policy.rb |