Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::DatabaseBackupInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_backup_info.rb

Overview

Information about backup files when existing backup mode is used.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#backup_filesArray<String>

database.

Returns:

  • (Array<String>)

    The list of backup files for the current



25
26
27
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_backup_info.rb', line 25

def backup_files
  @backup_files
end

#backup_finish_dateDateTime

Returns Date and time when the backup operation finished.

Returns:

  • (DateTime)

    Date and time when the backup operation finished.



41
42
43
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_backup_info.rb', line 41

def backup_finish_date
  @backup_finish_date
end

#backup_typeBackupType

‘TransactionLog’, ‘File’, ‘DifferentialDatabase’, ‘DifferentialFile’, ‘Partial’, ‘DifferentialPartial’

Returns:

  • (BackupType)

    Backup Type. Possible values include: ‘Database’,



21
22
23
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_backup_info.rb', line 21

def backup_type
  @backup_type
end

#database_nameString

Returns Database name.

Returns:

  • (String)

    Database name.



16
17
18
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_backup_info.rb', line 16

def database_name
  @database_name
end

#family_countInteger

Returns Number of files in the backup set.

Returns:

  • (Integer)

    Number of files in the backup set.



38
39
40
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_backup_info.rb', line 38

def family_count
  @family_count
end

#is_compressedBoolean

Returns Whether the backup set is compressed.

Returns:

  • (Boolean)

    Whether the backup set is compressed



35
36
37
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_backup_info.rb', line 35

def is_compressed
  @is_compressed
end

#is_damagedBoolean

operation was requested to continue despite errors.

Returns:

  • (Boolean)

    Database was damaged when backed up, but the backup



32
33
34
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_backup_info.rb', line 32

def is_damaged
  @is_damaged
end

#positionInteger

Returns Position of current database backup in the file.

Returns:

  • (Integer)

    Position of current database backup in the file.



28
29
30
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_backup_info.rb', line 28

def position
  @position
end

Class Method Details

.mapperObject

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



48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_backup_info.rb', line 48

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DatabaseBackupInfo',
    type: {
      name: 'Composite',
      class_name: 'DatabaseBackupInfo',
      model_properties: {
        database_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'databaseName',
          type: {
            name: 'String'
          }
        },
        backup_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'backupType',
          type: {
            name: 'String'
          }
        },
        backup_files: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'backupFiles',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        position: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'position',
          type: {
            name: 'Number'
          }
        },
        is_damaged: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'isDamaged',
          type: {
            name: 'Boolean'
          }
        },
        is_compressed: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'isCompressed',
          type: {
            name: 'Boolean'
          }
        },
        family_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'familyCount',
          type: {
            name: 'Number'
          }
        },
        backup_finish_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'backupFinishDate',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end