Class: Azure::NetApp::Mgmt::V2020_11_01::Models::VolumePatchPropertiesDataProtection

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb

Overview

DataProtection type volumes include an object containing details of the replication

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#backupVolumeBackupProperties

Returns Backup. Backup Properties.

Returns:



19
20
21
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb', line 19

def backup
  @backup
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'volumePatchProperties_dataProtection',
    type: {
      name: 'Composite',
      class_name: 'VolumePatchPropertiesDataProtection',
      model_properties: {
        backup: {
          client_side_validation: true,
          required: false,
          serialized_name: 'backup',
          type: {
            name: 'Composite',
            class_name: 'VolumeBackupProperties'
          }
        }
      }
    }
  }
end