Class: Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::BackupFileInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_file_info.rb

Overview

Information of the backup file

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#family_sequence_numberInteger

Returns Sequence number of the backup file in the backup set.

Returns:

  • (Integer)

    Sequence number of the backup file in the backup set



19
20
21
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_file_info.rb', line 19

def family_sequence_number
  @family_sequence_number
end

#file_locationString

Returns Location of the backup file in shared folder.

Returns:

  • (String)

    Location of the backup file in shared folder



16
17
18
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_file_info.rb', line 16

def file_location
  @file_location
end

#statusBackupFileStatus

Possible values include: ‘Arrived’, ‘Queued’, ‘Uploading’, ‘Uploaded’, ‘Restoring’, ‘Restored’, ‘Cancelled’

Returns:



24
25
26
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_file_info.rb', line 24

def status
  @status
end

Class Method Details

.mapperObject

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



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_file_info.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BackupFileInfo',
    type: {
      name: 'Composite',
      class_name: 'BackupFileInfo',
      model_properties: {
        file_location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fileLocation',
          type: {
            name: 'String'
          }
        },
        family_sequence_number: {
          client_side_validation: true,
          required: false,
          serialized_name: 'familySequenceNumber',
          type: {
            name: 'Number'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end