Class: Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::MabContainer
- Inherits:
-
ProtectionContainer
- Object
- ProtectionContainer
- Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::MabContainer
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb
Overview
The container associated with items backed up using Azure Backup Server.
Instance Attribute Summary collapse
-
#agent_version ⇒ String
The version of the agent used with this container.
-
#can_re_register ⇒ Boolean
The container can be registered one more time.
-
#container_id ⇒ Integer
The ID for the container.
-
#extended_info ⇒ MabContainerExtendedInfo
container.
-
#protectableObjectType ⇒ Object
Returns the value of attribute protectableObjectType.
-
#protected_item_count ⇒ Integer
The number of backup items in the container.
Attributes inherited from ProtectionContainer
#backup_management_type, #container_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-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 20 def initialize @protectableObjectType = "MABWindowsContainer" end |
Instance Attribute Details
#agent_version ⇒ String
Returns The version of the agent used with this container.
36 37 38 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 36 def agent_version @agent_version end |
#can_re_register ⇒ Boolean
Returns The container can be registered one more time.
27 28 29 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 27 def can_re_register @can_re_register end |
#container_id ⇒ Integer
Returns The ID for the container.
30 31 32 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 30 def container_id @container_id end |
#extended_info ⇒ MabContainerExtendedInfo
container.
40 41 42 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 40 def extended_info @extended_info end |
#protectableObjectType ⇒ Object
Returns the value of attribute protectableObjectType.
24 25 26 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 24 def protectableObjectType @protectableObjectType end |
#protected_item_count ⇒ Integer
Returns The number of backup items in the container.
33 34 35 |
# File 'lib/2016-06-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.
47 48 49 50 51 52 53 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 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb', line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MABWindowsContainer', 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: 'Enum', module: 'BackupManagementType' } }, 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' } }, container_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'containerType', type: { name: 'String' } }, protectableObjectType: { client_side_validation: true, required: true, serialized_name: 'protectableObjectType', 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' } } } } } end |