Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainer
- Inherits:
-
ProtectionContainer
- Object
- ProtectionContainer
- Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainer
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb
Overview
Container with items backed up using MAB backup engine.
Instance Attribute Summary collapse
-
#agent_version ⇒ String
Agent version of this container.
-
#can_re_register ⇒ Boolean
Can the container be registered one more time.
-
#container_health_state ⇒ String
Health state of mab container.
-
#container_id ⇒ Integer
ContainerID represents the container.
-
#containerType ⇒ Object
Returns the value of attribute containerType.
-
#extended_info ⇒ MabContainerExtendedInfo
container.
-
#mab_container_health_details ⇒ Array<MABContainerHealthDetails>
container.
-
#protected_item_count ⇒ Integer
Number of items backed up in this container.
Attributes inherited from ProtectionContainer
#backup_management_type, #friendly_name, #health_status, #registration_status
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MabContainer class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ MabContainer
constructor
A new instance of MabContainer.
Constructor Details
#initialize ⇒ MabContainer
Returns a new instance of MabContainer.
20 21 22 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 20 def initialize @containerType = "Windows" end |
Instance Attribute Details
#agent_version ⇒ String
Returns Agent version of this container.
36 37 38 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 36 def agent_version @agent_version end |
#can_re_register ⇒ Boolean
Returns Can the container be registered one more time.
27 28 29 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 27 def can_re_register @can_re_register end |
#container_health_state ⇒ String
Returns Health state of mab container.
47 48 49 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 47 def container_health_state @container_health_state end |
#container_id ⇒ Integer
Returns ContainerID represents the container.
30 31 32 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 30 def container_id @container_id end |
#containerType ⇒ Object
Returns the value of attribute containerType.
24 25 26 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 24 def containerType @containerType end |
#extended_info ⇒ MabContainerExtendedInfo
container
40 41 42 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 40 def extended_info @extended_info end |
#mab_container_health_details ⇒ Array<MABContainerHealthDetails>
container.
44 45 46 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 44 def mab_container_health_details @mab_container_health_details end |
#protected_item_count ⇒ Integer
Returns Number of items backed up in this container.
33 34 35 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 33 def protected_item_count @protected_item_count end |
Class Method Details
.mapper ⇒ Object
Mapper for MabContainer class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 54 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Windows', type: { name: 'Composite', class_name: 'MabContainer', 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' } }, health_status: { client_side_validation: true, required: false, serialized_name: 'healthStatus', type: { name: 'String' } }, containerType: { client_side_validation: true, required: true, serialized_name: 'containerType', type: { name: 'String' } }, can_re_register: { client_side_validation: true, required: false, serialized_name: 'canReRegister', type: { name: 'Boolean' } }, container_id: { client_side_validation: true, required: false, serialized_name: 'containerId', type: { name: 'Number' } }, protected_item_count: { client_side_validation: true, required: false, serialized_name: 'protectedItemCount', type: { name: 'Number' } }, agent_version: { client_side_validation: true, required: false, serialized_name: 'agentVersion', type: { name: 'String' } }, extended_info: { client_side_validation: true, required: false, serialized_name: 'extendedInfo', type: { name: 'Composite', class_name: 'MabContainerExtendedInfo' } }, mab_container_health_details: { client_side_validation: true, required: false, serialized_name: 'mabContainerHealthDetails', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'MABContainerHealthDetailsElementType', type: { name: 'Composite', class_name: 'MABContainerHealthDetails' } } } }, container_health_state: { client_side_validation: true, required: false, serialized_name: 'containerHealthState', type: { name: 'String' } } } } } end |