Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainer
- Inherits:
-
Object
- Object
- Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainer
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb
Overview
Base class for container with backup items. Containers with specific workloads are derived from this class.
Direct Known Subclasses
AzureBackupServerContainer, AzureSqlContainer, AzureStorageContainer, AzureWorkloadContainer, DpmContainer, GenericContainer, IaaSVMContainer, MabContainer
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#backup_management_type ⇒ BackupManagementType
container.
-
#containerType ⇒ Object
Returns the value of attribute containerType.
-
#friendly_name ⇒ String
Friendly name of the container.
-
#health_status ⇒ String
Status of health of the container.
-
#registration_status ⇒ String
Recovery Services Vault.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProtectionContainer class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ProtectionContainer
constructor
A new instance of ProtectionContainer.
Constructor Details
#initialize ⇒ ProtectionContainer
Returns a new instance of ProtectionContainer.
34 35 36 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb', line 34 def initialize @containerType = "ProtectionContainer" end |
Instance Attribute Details
#backup_management_type ⇒ BackupManagementType
container. Possible values include: ‘Invalid’, ‘AzureIaasVM’, ‘MAB’, ‘DPM’, ‘AzureBackupServer’, ‘AzureSql’, ‘AzureStorage’, ‘AzureWorkload’, ‘DefaultBackup’
47 48 49 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb', line 47 def backup_management_type @backup_management_type end |
#containerType ⇒ Object
Returns the value of attribute containerType.
38 39 40 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb', line 38 def containerType @containerType end |
#friendly_name ⇒ String
Returns Friendly name of the container.
41 42 43 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb', line 41 def friendly_name @friendly_name end |
#health_status ⇒ String
Returns Status of health of the container.
54 55 56 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb', line 54 def health_status @health_status end |
#registration_status ⇒ String
Recovery Services Vault.
51 52 53 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb', line 51 def registration_status @registration_status end |
Class Method Details
.mapper ⇒ Object
Mapper for ProtectionContainer class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb', line 61 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ProtectionContainer', type: { name: 'Composite', polymorphic_discriminator: 'containerType', uber_parent: 'ProtectionContainer', class_name: 'ProtectionContainer', 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' } } } } } end |