Sha256: 540258cf5aadab3fd4eec491405e26fd0a980ff9796ef48353fd0c47a15a3c03
Contents?: true
Size: 1.73 KB
Versions: 5
Compression:
Stored size: 1.73 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::ServiceFabric::V6_2_0_9 module Models # # Describes the frequency based backup schedule. # class FrequencyBasedBackupScheduleDescription < BackupScheduleDescription include MsRestAzure def initialize @ScheduleKind = "FrequencyBased" end attr_accessor :ScheduleKind # @return [Duration] Defines the interval with which backups are # periodically taken. It should be specified in ISO8601 format. Timespan # in seconds is not supported and will be ignored while creating the # policy. attr_accessor :interval # # Mapper for FrequencyBasedBackupScheduleDescription class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'FrequencyBased', type: { name: 'Composite', class_name: 'FrequencyBasedBackupScheduleDescription', model_properties: { ScheduleKind: { client_side_validation: true, required: true, serialized_name: 'ScheduleKind', type: { name: 'String' } }, interval: { client_side_validation: true, required: true, serialized_name: 'Interval', type: { name: 'TimeSpan' } } } } } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems