Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBase
- Inherits:
-
Object
- Object
- Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBase
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb
Overview
The base backup engine class. All workload specific backup engines derive from this class.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#azure_backup_agent_version ⇒ String
Backup agent version.
-
#backup_engine_id ⇒ String
ID of the backup engine.
-
#backup_engine_state ⇒ String
Vault.
-
#backup_management_type ⇒ BackupManagementType
engine.
-
#backupEngineType ⇒ Object
Returns the value of attribute backupEngineType.
-
#can_re_register ⇒ Boolean
once already registered.
-
#dpm_version ⇒ String
Backup engine version.
-
#extended_info ⇒ BackupEngineExtendedInfo
Extended info of the backupengine.
-
#friendly_name ⇒ String
Friendly name of the backup engine.
-
#health_status ⇒ String
Backup status of the backup engine.
-
#is_azure_backup_agent_upgrade_available ⇒ Boolean
To check if backup agent upgrade available.
-
#is_dpm_upgrade_available ⇒ Boolean
To check if backup engine upgrade available.
-
#registration_status ⇒ String
Recovery Services Vault.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BackupEngineBase class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ BackupEngineBase
constructor
A new instance of BackupEngineBase.
Constructor Details
#initialize ⇒ BackupEngineBase
24 25 26 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 24 def initialize @backupEngineType = "BackupEngineBase" end |
Instance Attribute Details
#azure_backup_agent_version ⇒ String
61 62 63 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 61 def azure_backup_agent_version @azure_backup_agent_version end |
#backup_engine_id ⇒ String
55 56 57 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 55 def backup_engine_id @backup_engine_id end |
#backup_engine_state ⇒ String
Vault. = Active/Deleting/DeleteFailed
45 46 47 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 45 def backup_engine_state @backup_engine_state end |
#backup_management_type ⇒ BackupManagementType
engine. Possible values include: ‘Invalid’, ‘AzureIaasVM’, ‘MAB’, ‘DPM’, ‘AzureBackupServer’, ‘AzureSql’, ‘AzureStorage’, ‘AzureWorkload’, ‘DefaultBackup’
37 38 39 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 37 def backup_management_type @backup_management_type end |
#backupEngineType ⇒ Object
Returns the value of attribute backupEngineType.
28 29 30 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 28 def backupEngineType @backupEngineType end |
#can_re_register ⇒ Boolean
once already registered.
52 53 54 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 52 def can_re_register @can_re_register end |
#dpm_version ⇒ String
58 59 60 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 58 def dpm_version @dpm_version end |
#extended_info ⇒ BackupEngineExtendedInfo
70 71 72 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 70 def extended_info @extended_info end |
#friendly_name ⇒ String
31 32 33 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 31 def friendly_name @friendly_name end |
#health_status ⇒ String
48 49 50 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 48 def health_status @health_status end |
#is_azure_backup_agent_upgrade_available ⇒ Boolean
64 65 66 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 64 def is_azure_backup_agent_upgrade_available @is_azure_backup_agent_upgrade_available end |
#is_dpm_upgrade_available ⇒ Boolean
67 68 69 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 67 def is_dpm_upgrade_available @is_dpm_upgrade_available end |
#registration_status ⇒ String
Recovery Services Vault.
41 42 43 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 41 def registration_status @registration_status end |
Class Method Details
.mapper ⇒ Object
Mapper for BackupEngineBase class as Ruby Hash. This will be used for serialization/deserialization.
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 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb', line 77 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BackupEngineBase', type: { name: 'Composite', polymorphic_discriminator: 'backupEngineType', uber_parent: 'BackupEngineBase', class_name: 'BackupEngineBase', model_properties: { friendly_name: { client_side_validation: true, required: false, serialized_name: 'friendlyName', type: { name: 'String' } }, backup_management_type: { client_side_validation: true, required: false, serialized_name: 'backupManagementType', type: { name: 'String' } }, registration_status: { client_side_validation: true, required: false, serialized_name: 'registrationStatus', type: { name: 'String' } }, backup_engine_state: { client_side_validation: true, required: false, serialized_name: 'backupEngineState', type: { name: 'String' } }, health_status: { client_side_validation: true, required: false, serialized_name: 'healthStatus', type: { name: 'String' } }, can_re_register: { client_side_validation: true, required: false, serialized_name: 'canReRegister', type: { name: 'Boolean' } }, backup_engine_id: { client_side_validation: true, required: false, serialized_name: 'backupEngineId', type: { name: 'String' } }, dpm_version: { client_side_validation: true, required: false, serialized_name: 'dpmVersion', type: { name: 'String' } }, azure_backup_agent_version: { client_side_validation: true, required: false, serialized_name: 'azureBackupAgentVersion', type: { name: 'String' } }, is_azure_backup_agent_upgrade_available: { client_side_validation: true, required: false, serialized_name: 'isAzureBackupAgentUpgradeAvailable', type: { name: 'Boolean' } }, is_dpm_upgrade_available: { client_side_validation: true, required: false, serialized_name: 'isDpmUpgradeAvailable', type: { name: 'Boolean' } }, extended_info: { client_side_validation: true, required: false, serialized_name: 'extendedInfo', type: { name: 'Composite', class_name: 'BackupEngineExtendedInfo' } } } } } end |