Class: Azure::NetApp::Mgmt::V2020_11_01::Models::VolumePropertiesDataProtection
- Inherits:
-
Object
- Object
- Azure::NetApp::Mgmt::V2020_11_01::Models::VolumePropertiesDataProtection
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb
Overview
DataProtection type volumes include an object containing details of the replication
Instance Attribute Summary collapse
-
#backup ⇒ VolumeBackupProperties
Backup.
-
#replication ⇒ ReplicationObject
Replication.
-
#snapshot ⇒ VolumeSnapshotProperties
Snapshot.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VolumePropertiesDataProtection class as Ruby Hash.
Instance Attribute Details
#backup ⇒ VolumeBackupProperties
Returns Backup. Backup Properties.
19 20 21 |
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb', line 19 def backup @backup end |
#replication ⇒ ReplicationObject
Returns Replication. Replication properties.
22 23 24 |
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb', line 22 def replication @replication end |
#snapshot ⇒ VolumeSnapshotProperties
Returns Snapshot. Snapshot properties.
25 26 27 |
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb', line 25 def snapshot @snapshot end |
Class Method Details
.mapper ⇒ Object
Mapper for VolumePropertiesDataProtection class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'volumeProperties_dataProtection', type: { name: 'Composite', class_name: 'VolumePropertiesDataProtection', model_properties: { backup: { client_side_validation: true, required: false, serialized_name: 'backup', type: { name: 'Composite', class_name: 'VolumeBackupProperties' } }, replication: { client_side_validation: true, required: false, serialized_name: 'replication', type: { name: 'Composite', class_name: 'ReplicationObject' } }, snapshot: { client_side_validation: true, required: false, serialized_name: 'snapshot', type: { name: 'Composite', class_name: 'VolumeSnapshotProperties' } } } } } end |