Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBase

Inherits:
Object
  • Object
show all
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

AzureBackupServerEngine, DpmBackupEngine

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBackupEngineBase



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_versionString



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_idString



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_stateString

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_typeBackupManagementType

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

#backupEngineTypeObject

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_registerBoolean

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_versionString



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_infoBackupEngineExtendedInfo



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_nameString



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_statusString



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_availableBoolean



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_availableBoolean



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_statusString

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

.mapperObject

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