class Azure::NetApp::Mgmt::V2020_09_01::Models::VolumeRevert

revert a volume to the snapshot

Attributes

snapshot_id[RW]

@return [String] Resource id of the snapshot

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-09-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