Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::DatabaseBackupInfo
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_04_19::Models::DatabaseBackupInfo
- 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
-
#backup_files ⇒ Array<String>
database.
-
#backup_finish_date ⇒ DateTime
Date and time when the backup operation finished.
-
#backup_type ⇒ BackupType
‘TransactionLog’, ‘File’, ‘DifferentialDatabase’, ‘DifferentialFile’, ‘Partial’, ‘DifferentialPartial’.
-
#database_name ⇒ String
Database name.
-
#family_count ⇒ Integer
Number of files in the backup set.
-
#is_compressed ⇒ Boolean
Whether the backup set is compressed.
-
#is_damaged ⇒ Boolean
operation was requested to continue despite errors.
-
#position ⇒ Integer
Position of current database backup in the file.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DatabaseBackupInfo class as Ruby Hash.
Instance Attribute Details
#backup_files ⇒ Array<String>
database.
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_date ⇒ DateTime
Returns 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_type ⇒ BackupType
‘TransactionLog’, ‘File’, ‘DifferentialDatabase’, ‘DifferentialFile’, ‘Partial’, ‘DifferentialPartial’
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_name ⇒ String
Returns 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_count ⇒ Integer
Returns 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_compressed ⇒ Boolean
Returns 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_damaged ⇒ Boolean
operation was requested to continue despite errors.
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 |
#position ⇒ Integer
Returns 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
.mapper ⇒ Object
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 |