def create_snapshot(options = {})
      response = ProfitBricks.request(
        method: :post,
        path: "/datacenters/#{datacenterId}/volumes/#{id}/create-snapshot",
        headers: { 'Content-Type' => 'application/x-www-form-urlencoded' },
        expects: 202,
        body: URI.encode_www_form(options)
      )
      ProfitBricks::Snapshot.new(response)
    end
def create_snapshot(options = {})
      response = ProfitBricks.request(
        method: :post,
        path: "/datacenters/#{datacenterId}/volumes/#{id}/create-snapshot",
        headers: { 'Content-Type' => 'application/x-www-form-urlencoded' },
        expects: 202,
        body: URI.encode_www_form(options)
      )
      ProfitBricks::Snapshot.new(response)
    end
Create volume snapshot.

 ==== Parameters
 * +options+<Hash>:
   - +name+<String> - *Optional*, name of the snapshot
   - +description+<String> - *Optional*, description of the snapshot

 ==== Returns
 * +id+<String> - Universally unique identifer of resource
 * +type+<String> - Resource type
 * +href+<String> - Resource URL representation
 * +metadata+<Hash>:
   - +lastModifiedDate+
   - +lastModifiedBy+
   - +createdDate+
   - +createdBy+
   - +state+
   - +etag+
 * +properties+<Hash>:
   - +name+<Integer>
   - +description+<Array>
   - +location+<String>
   - +cpuHotPlug+<Boolean>
   - +cpuHotUnPlug+<Boolean>
   - +ramHotPlug+<Boolean>
   - +ramHotUnPlug+<Boolean>
   - +nicHotPlug+<Boolean>
   - +nicHotUnPlug+<Boolean>
   - +discVirtioHotPlug+<Boolean>
   - +discVirtioHotUnPlug+<Boolean>
   - +discScsiHotPlug+<Boolean>
   - +discScsiHotUnPlug+<Boolean>
   - +licenceType+<String>