Class: Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse
- Inherits:
-
Object
- Object
- Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb
Overview
BackupStatus response.
Instance Attribute Summary collapse
-
#container_name ⇒ String
iaasvmcontainer;iaasvmcontainer;csname;vmname.
-
#error_code ⇒ String
ErrorCode in case of intent failed.
-
#error_message ⇒ String
ErrorMessage in case of intent failed.
-
#fabric_name ⇒ FabricName
values include: ‘Invalid’, ‘Azure’.
-
#policy_name ⇒ String
Specifies the policy name which is used for protection.
-
#protected_item_name ⇒ String
vm;iaasvmcontainer;csname;vmname.
-
#protection_status ⇒ ProtectionStatus
registered or not.
-
#registration_status ⇒ String
Container registration status.
-
#vault_id ⇒ String
Specifies the arm resource id of the vault.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BackupStatusResponse class as Ruby Hash.
Instance Attribute Details
#container_name ⇒ String
iaasvmcontainer;iaasvmcontainer;csname;vmname.
33 34 35 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 33 def container_name @container_name end |
#error_code ⇒ String
Returns ErrorCode in case of intent failed.
40 41 42 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 40 def error_code @error_code end |
#error_message ⇒ String
Returns ErrorMessage in case of intent failed.
43 44 45 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 43 def @error_message end |
#fabric_name ⇒ FabricName
values include: ‘Invalid’, ‘Azure’
29 30 31 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 29 def fabric_name @fabric_name end |
#policy_name ⇒ String
Returns Specifies the policy name which is used for protection.
46 47 48 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 46 def policy_name @policy_name end |
#protected_item_name ⇒ String
vm;iaasvmcontainer;csname;vmname.
37 38 39 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 37 def protected_item_name @protected_item_name end |
#protection_status ⇒ ProtectionStatus
registered or not. Possible values include: ‘Invalid’, ‘NotProtected’, ‘Protecting’, ‘Protected’, ‘ProtectionFailed’
22 23 24 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 22 def protection_status @protection_status end |
#registration_status ⇒ String
Returns Container registration status.
49 50 51 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 49 def registration_status @registration_status end |
#vault_id ⇒ String
Returns Specifies the arm resource id of the vault.
25 26 27 |
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 25 def vault_id @vault_id end |
Class Method Details
.mapper ⇒ Object
Mapper for BackupStatusResponse class as Ruby Hash. This will be used for serialization/deserialization.
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/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 56 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BackupStatusResponse', type: { name: 'Composite', class_name: 'BackupStatusResponse', model_properties: { protection_status: { client_side_validation: true, required: false, serialized_name: 'protectionStatus', type: { name: 'String' } }, vault_id: { client_side_validation: true, required: false, serialized_name: 'vaultId', type: { name: 'String' } }, fabric_name: { client_side_validation: true, required: false, serialized_name: 'fabricName', type: { name: 'String' } }, container_name: { client_side_validation: true, required: false, serialized_name: 'containerName', type: { name: 'String' } }, protected_item_name: { client_side_validation: true, required: false, serialized_name: 'protectedItemName', type: { name: 'String' } }, error_code: { client_side_validation: true, required: false, serialized_name: 'errorCode', type: { name: 'String' } }, error_message: { client_side_validation: true, required: false, serialized_name: 'errorMessage', type: { name: 'String' } }, policy_name: { client_side_validation: true, required: false, serialized_name: 'policyName', type: { name: 'String' } }, registration_status: { client_side_validation: true, required: false, serialized_name: 'registrationStatus', type: { name: 'String' } } } } } end |