Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmContainer
- Inherits:
-
ProtectionContainer
- Object
- ProtectionContainer
- Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmContainer
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb
Overview
DPM workload-specific protection container.
Instance Attribute Summary collapse
-
#can_re_register ⇒ Boolean
Specifies whether the container is re-registrable.
-
#container_id ⇒ String
ID of container.
-
#containerType ⇒ Object
Returns the value of attribute containerType.
-
#dpm_agent_version ⇒ String
Backup engine Agent version.
-
#dpm_servers ⇒ Array<String>
List of BackupEngines protecting the container.
-
#extended_info ⇒ DPMContainerExtendedInfo
Extended Info of the container.
-
#protected_item_count ⇒ Integer
Number of protected items in the BackupEngine.
-
#protection_status ⇒ String
Protection status of the container.
-
#upgrade_available ⇒ Boolean
To check if upgrade available.
Attributes inherited from ProtectionContainer
#backup_management_type, #friendly_name, #health_status, #registration_status
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DpmContainer class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DpmContainer
constructor
A new instance of DpmContainer.
Constructor Details
#initialize ⇒ DpmContainer
Returns a new instance of DpmContainer.
20 21 22 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb', line 20 def initialize @containerType = "DPMContainer" end |
Instance Attribute Details
#can_re_register ⇒ Boolean
Returns Specifies whether the container is re-registrable.
27 28 29 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb', line 27 def can_re_register @can_re_register end |
#container_id ⇒ String
Returns ID of container.
30 31 32 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_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/dpm_container.rb', line 24 def containerType @containerType end |
#dpm_agent_version ⇒ String
Returns Backup engine Agent version.
36 37 38 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb', line 36 def dpm_agent_version @dpm_agent_version end |
#dpm_servers ⇒ Array<String>
Returns List of BackupEngines protecting the container.
39 40 41 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb', line 39 def dpm_servers @dpm_servers end |
#extended_info ⇒ DPMContainerExtendedInfo
Returns Extended Info of the container.
48 49 50 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb', line 48 def extended_info @extended_info end |
#protected_item_count ⇒ Integer
Returns Number of protected items in the BackupEngine.
33 34 35 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb', line 33 def protected_item_count @protected_item_count end |
#protection_status ⇒ String
Returns Protection status of the container.
45 46 47 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb', line 45 def protection_status @protection_status end |
#upgrade_available ⇒ Boolean
Returns To check if upgrade available.
42 43 44 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb', line 42 def upgrade_available @upgrade_available end |
Class Method Details
.mapper ⇒ Object
Mapper for DpmContainer class as Ruby Hash. This will be used for serialization/deserialization.
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 173 174 175 176 177 178 179 180 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb', line 55 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DPMContainer', type: { name: 'Composite', class_name: 'DpmContainer', 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: 'String' } }, protected_item_count: { client_side_validation: true, required: false, serialized_name: 'protectedItemCount', type: { name: 'Number' } }, dpm_agent_version: { client_side_validation: true, required: false, serialized_name: 'dpmAgentVersion', type: { name: 'String' } }, dpm_servers: { client_side_validation: true, required: false, serialized_name: 'dpmServers', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, upgrade_available: { client_side_validation: true, required: false, serialized_name: 'upgradeAvailable', type: { name: 'Boolean' } }, protection_status: { client_side_validation: true, required: false, serialized_name: 'protectionStatus', type: { name: 'String' } }, extended_info: { client_side_validation: true, required: false, serialized_name: 'extendedInfo', type: { name: 'Composite', class_name: 'DPMContainerExtendedInfo' } } } } } end |