class Azure::Cosmosdb::Mgmt::V2021_01_15::Models::BackupPolicy
The object representing the policy for taking backups on an account.
Attributes
type[RW]
Private Class Methods
mapper()
click to toggle source
Mapper for BackupPolicy
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2021-01-15/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/2021-01-15/generated/azure_mgmt_cosmosdb/models/backup_policy.rb, line 19 def initialize @type = "BackupPolicy" end