Sha256: a458526e40dbab8e3b5896571481325efcd76c2ccc5038f8c9d8aa96346cc4d6

Contents?: true

Size: 1.74 KB

Versions: 3

Compression:

Stored size: 1.74 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_5_0_36
  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

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/frequency_based_backup_schedule_description.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/frequency_based_backup_schedule_description.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/frequency_based_backup_schedule_description.rb