Class: Azure::ServiceFabric::V6_5_0_36::Models::DisableBackupDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/disable_backup_description.rb

Overview

It describes the body parameters while disabling backup of a backup entity(Application/Service/Partition).

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#clean_backupBoolean

for deleting all the backups which were created for the backup entity that is getting disabled for backup.

Returns:

  • (Boolean)

    Boolean flag to delete backups. It can be set to true



19
20
21
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/disable_backup_description.rb', line 19

def clean_backup
  @clean_backup
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/disable_backup_description.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DisableBackupDescription',
    type: {
      name: 'Composite',
      class_name: 'DisableBackupDescription',
      model_properties: {
        clean_backup: {
          client_side_validation: true,
          required: true,
          serialized_name: 'CleanBackup',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end