Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSVMProtectedItem
- Inherits:
-
ProtectedItem
- Object
- ProtectedItem
- Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSVMProtectedItem
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb
Overview
IaaS VM workload-specific backup item.
Direct Known Subclasses
AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem
Instance Attribute Summary collapse
-
#extended_info ⇒ AzureIaaSVMProtectedItemExtendedInfo
for this backup item.
-
#friendly_name ⇒ String
item.
-
#health_details ⇒ Array<AzureIaaSVMHealthDetails>
item.
-
#health_status ⇒ HealthStatus
include: ‘Passed’, ‘ActionRequired’, ‘ActionSuggested’, ‘Invalid’.
-
#last_backup_status ⇒ String
Last backup operation status.
-
#last_backup_time ⇒ DateTime
backup item.
-
#protected_item_data_id ⇒ String
Data ID of the protected item.
-
#protectedItemType ⇒ Object
Returns the value of attribute protectedItemType.
-
#protection_state ⇒ ProtectionState
values include: ‘Invalid’, ‘IRPending’, ‘Protected’, ‘ProtectionError’, ‘ProtectionStopped’, ‘ProtectionPaused’.
-
#protection_status ⇒ String
Backup status of this backup item.
-
#virtual_machine_id ⇒ String
represented by this item.
Attributes inherited from ProtectedItem
#backup_management_type, #backup_set_name, #container_name, #create_mode, #last_recovery_point, #policy_id, #source_resource_id, #workload_type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureIaaSVMProtectedItem class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AzureIaaSVMProtectedItem
constructor
A new instance of AzureIaaSVMProtectedItem.
Constructor Details
permalink #initialize ⇒ AzureIaaSVMProtectedItem
Returns a new instance of AzureIaaSVMProtectedItem.
20 21 22 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 20 def initialize @protectedItemType = "AzureIaaSVMProtectedItem" end |
Instance Attribute Details
permalink #extended_info ⇒ AzureIaaSVMProtectedItemExtendedInfo
for this backup item.
62 63 64 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 62 def extended_info @extended_info end |
permalink #friendly_name ⇒ String
item.
28 29 30 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 28 def friendly_name @friendly_name end |
permalink #health_details ⇒ Array<AzureIaaSVMHealthDetails>
item.
48 49 50 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 48 def health_details @health_details end |
permalink #health_status ⇒ HealthStatus
include: ‘Passed’, ‘ActionRequired’, ‘ActionSuggested’, ‘Invalid’
44 45 46 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 44 def health_status @health_status end |
permalink #last_backup_status ⇒ String
Returns Last backup operation status.
51 52 53 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 51 def last_backup_status @last_backup_status end |
permalink #last_backup_time ⇒ DateTime
backup item.
55 56 57 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 55 def last_backup_time @last_backup_time end |
permalink #protected_item_data_id ⇒ String
Returns Data ID of the protected item.
58 59 60 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 58 def protected_item_data_id @protected_item_data_id end |
permalink #protectedItemType ⇒ Object
Returns the value of attribute protectedItemType.
24 25 26 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 24 def protectedItemType @protectedItemType end |
permalink #protection_state ⇒ ProtectionState
values include: ‘Invalid’, ‘IRPending’, ‘Protected’, ‘ProtectionError’, ‘ProtectionStopped’, ‘ProtectionPaused’
40 41 42 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 40 def protection_state @protection_state end |
permalink #protection_status ⇒ String
Returns Backup status of this backup item.
35 36 37 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 35 def protection_status @protection_status end |
permalink #virtual_machine_id ⇒ String
represented by this item.
32 33 34 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 32 def virtual_machine_id @virtual_machine_id end |
Class Method Details
permalink .mapper ⇒ Object
Mapper for AzureIaaSVMProtectedItem class as Ruby Hash. This will be used for serialization/deserialization.
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 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 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb', line 69 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AzureIaaSVMProtectedItem', type: { name: 'Composite', class_name: 'AzureIaaSVMProtectedItem', model_properties: { backup_management_type: { client_side_validation: true, required: false, serialized_name: 'backupManagementType', type: { name: 'String' } }, workload_type: { client_side_validation: true, required: false, serialized_name: 'workloadType', type: { name: 'String' } }, container_name: { client_side_validation: true, required: false, serialized_name: 'containerName', type: { name: 'String' } }, source_resource_id: { client_side_validation: true, required: false, serialized_name: 'sourceResourceId', type: { name: 'String' } }, policy_id: { client_side_validation: true, required: false, serialized_name: 'policyId', type: { name: 'String' } }, last_recovery_point: { client_side_validation: true, required: false, serialized_name: 'lastRecoveryPoint', type: { name: 'DateTime' } }, backup_set_name: { client_side_validation: true, required: false, serialized_name: 'backupSetName', type: { name: 'String' } }, create_mode: { client_side_validation: true, required: false, serialized_name: 'createMode', type: { name: 'String' } }, protectedItemType: { client_side_validation: true, required: true, serialized_name: 'protectedItemType', type: { name: 'String' } }, friendly_name: { client_side_validation: true, required: false, serialized_name: 'friendlyName', type: { name: 'String' } }, virtual_machine_id: { client_side_validation: true, required: false, serialized_name: 'virtualMachineId', type: { name: 'String' } }, protection_status: { client_side_validation: true, required: false, serialized_name: 'protectionStatus', type: { name: 'String' } }, protection_state: { client_side_validation: true, required: false, serialized_name: 'protectionState', type: { name: 'String' } }, health_status: { client_side_validation: true, required: false, serialized_name: 'healthStatus', type: { name: 'String' } }, health_details: { client_side_validation: true, required: false, serialized_name: 'healthDetails', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'AzureIaaSVMHealthDetailsElementType', type: { name: 'Composite', class_name: 'AzureIaaSVMHealthDetails' } } } }, last_backup_status: { client_side_validation: true, required: false, serialized_name: 'lastBackupStatus', type: { name: 'String' } }, last_backup_time: { client_side_validation: true, required: false, serialized_name: 'lastBackupTime', type: { name: 'DateTime' } }, protected_item_data_id: { client_side_validation: true, required: false, serialized_name: 'protectedItemDataId', type: { name: 'String' } }, extended_info: { client_side_validation: true, required: false, serialized_name: 'extendedInfo', type: { name: 'Composite', class_name: 'AzureIaaSVMProtectedItemExtendedInfo' } } } } } end |