class Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::PeriodicModeProperties

Configuration values for periodic mode backup

Attributes

backup_interval_in_minutes[RW]

@return [Integer] An integer representing the interval in minutes between two backups

backup_retention_interval_in_hours[RW]

@return [Integer] An integer representing the time (in hours) that each backup is retained

backup_storage_redundancy[RW]

@return [BackupStorageRedundancy] Enum to indicate type of backup residency. Possible values include: 'Geo', 'Local', 'Zone'

Public Class Methods

mapper() click to toggle source

Mapper for PeriodicModeProperties class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/periodic_mode_properties.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PeriodicModeProperties',
    type: {
      name: 'Composite',
      class_name: 'PeriodicModeProperties',
      model_properties: {
        backup_interval_in_minutes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'backupIntervalInMinutes',
          constraints: {
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        backup_retention_interval_in_hours: {
          client_side_validation: true,
          required: false,
          serialized_name: 'backupRetentionIntervalInHours',
          constraints: {
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        backup_storage_redundancy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'backupStorageRedundancy',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end