Class: Azure::NetApp::Mgmt::V2020_02_01::Models::VolumePropertiesDataProtection
- Inherits:
-
Object
- Object
- Azure::NetApp::Mgmt::V2020_02_01::Models::VolumePropertiesDataProtection
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-02-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
-
#replication ⇒ ReplicationObject
Replication.
-
#snapshot ⇒ VolumeSnapshotProperties
Snapshot.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VolumePropertiesDataProtection class as Ruby Hash.
Instance Attribute Details
#replication ⇒ ReplicationObject
19 20 21 |
# File 'lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb', line 19 def replication @replication end |
#snapshot ⇒ VolumeSnapshotProperties
22 23 24 |
# File 'lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb', line 22 def snapshot @snapshot end |
Class Method Details
.mapper ⇒ Object
Mapper for VolumePropertiesDataProtection class as Ruby Hash. This will be used for serialization/deserialization.
29 30 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 |
# File 'lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'volumeProperties_dataProtection', type: { name: 'Composite', class_name: 'VolumePropertiesDataProtection', model_properties: { 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 |