class Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::BackupPolicy

The object representing the policy for taking backups on an account.

Attributes

type[RW]

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/backup_policy.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BackupPolicy',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'type',
      uber_parent: 'BackupPolicy',
      class_name: 'BackupPolicy',
      model_properties: {
      }
    }
  }
end
new() click to toggle source
# File lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/backup_policy.rb, line 19
def initialize
  @type = "BackupPolicy"
end