class Azure::NetApp::Mgmt::V2020_11_01::Models::VolumeRevert
revert a volume to the snapshot
Attributes
snapshot_id[RW]
@return [String] Resource id of the snapshot
Private Class Methods
mapper()
click to toggle source
Mapper for VolumeRevert
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_revert.rb, line 23 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'volumeRevert', type: { name: 'Composite', class_name: 'VolumeRevert', model_properties: { snapshot_id: { client_side_validation: true, required: false, serialized_name: 'snapshotId', type: { name: 'String' } } } } } end