Skip to content

Commit

Permalink
Added more information on volumes inspection (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Jun 6, 2015
1 parent 45d0768 commit ce43deb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,17 @@ type ScalewayVolume struct {
// ModificationDate is the date of the last modification of the volume
ModificationDate string `json:"modification_date,omitempty"`

// Organization is the organization owning the volume
Organization string `json:"organization,omitempty"`

// Name is the name of the volume
Name string `json:"name,omitempty"`

// Server is the server using this image
// Server ScalewayServer `json:"server,omitempty"`
Server *struct {
Identifier string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
} `json:"server,omitempty"`

// VolumeType is a Scaleway identifier for the kind of volume (default: l_ssd)
VolumeType string `json:"volume_type,omitempty"`
Expand Down

0 comments on commit ce43deb

Please sign in to comment.