Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainer
- Inherits:
-
Object
- Object
- Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainer
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container.rb
Overview
Protectable Container Class.
Direct Known Subclasses
AzureStorageProtectableContainer, AzureVMAppContainerProtectableContainer
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#backup_management_type ⇒ BackupManagementType
container.
-
#container_id ⇒ String
Fabric Id of the container such as ARM Id.
-
#friendly_name ⇒ String
Friendly name of the container.
-
#health_status ⇒ String
Status of health of the container.
-
#protectableContainerType ⇒ Object
Returns the value of attribute protectableContainerType.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProtectableContainer class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ProtectableContainer
constructor
A new instance of ProtectableContainer.
Constructor Details
#initialize ⇒ ProtectableContainer
Returns a new instance of ProtectableContainer.
23 24 25 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container.rb', line 23 def initialize @protectableContainerType = "ProtectableContainer" end |
Instance Attribute Details
#backup_management_type ⇒ BackupManagementType
container. Possible values include: ‘Invalid’, ‘AzureIaasVM’, ‘MAB’, ‘DPM’, ‘AzureBackupServer’, ‘AzureSql’, ‘AzureStorage’, ‘AzureWorkload’, ‘DefaultBackup’
36 37 38 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container.rb', line 36 def backup_management_type @backup_management_type end |
#container_id ⇒ String
Returns Fabric Id of the container such as ARM Id.
42 43 44 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container.rb', line 42 def container_id @container_id end |
#friendly_name ⇒ String
Returns Friendly name of the container.
30 31 32 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container.rb', line 30 def friendly_name @friendly_name end |
#health_status ⇒ String
Returns Status of health of the container.
39 40 41 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container.rb', line 39 def health_status @health_status end |
#protectableContainerType ⇒ Object
Returns the value of attribute protectableContainerType.
27 28 29 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container.rb', line 27 def protectableContainerType @protectableContainerType end |
Class Method Details
.mapper ⇒ Object
Mapper for ProtectableContainer class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container.rb', line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ProtectableContainer', type: { name: 'Composite', polymorphic_discriminator: 'protectableContainerType', uber_parent: 'ProtectableContainer', class_name: 'ProtectableContainer', 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' } }, health_status: { client_side_validation: true, required: false, serialized_name: 'healthStatus', type: { name: 'String' } }, container_id: { client_side_validation: true, required: false, serialized_name: 'containerId', type: { name: 'String' } } } } } end |