Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectableContainer

Inherits:
ProtectableContainer
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmapp_container_protectable_container.rb

Overview

Azure workload-specific container

Instance Attribute Summary collapse

Attributes inherited from ProtectableContainer

#backup_management_type, #container_id, #friendly_name, #health_status

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAzureVMAppContainerProtectableContainer

Returns a new instance of AzureVMAppContainerProtectableContainer.



20
21
22
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmapp_container_protectable_container.rb', line 20

def initialize
  @protectableContainerType = "VMAppContainer"
end

Instance Attribute Details

#protectableContainerTypeObject

Returns the value of attribute protectableContainerType.



24
25
26
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmapp_container_protectable_container.rb', line 24

def protectableContainerType
  @protectableContainerType
end

Class Method Details

.mapperObject

Mapper for AzureVMAppContainerProtectableContainer class as Ruby Hash. This will be used for serialization/deserialization.



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmapp_container_protectable_container.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VMAppContainer',
    type: {
      name: 'Composite',
      class_name: 'AzureVMAppContainerProtectableContainer',
      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'
          }
        },
        protectableContainerType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'protectableContainerType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end