Skip to content

Commit

Permalink
chore(instance): remove support for creating a volume from a volume (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot committed Nov 21, 2023
1 parent b767212 commit d77f011
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions api/instance/v1/instance_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -2182,15 +2182,11 @@ type CreateVolumeRequest struct {
VolumeType VolumeVolumeType `json:"volume_type,omitempty"`

// Size: volume disk size, must be a multiple of 512.
// Precisely one of Size, BaseVolume, BaseSnapshot must be set.
// Precisely one of Size, BaseSnapshot must be set.
Size *scw.Size `json:"size,omitempty"`

// Deprecated: BaseVolume: ID of the volume on which this volume will be based.
// Precisely one of Size, BaseVolume, BaseSnapshot must be set.
BaseVolume *string `json:"base_volume,omitempty"`

// BaseSnapshot: ID of the snapshot on which this volume will be based.
// Precisely one of Size, BaseVolume, BaseSnapshot must be set.
// Precisely one of Size, BaseSnapshot must be set.
BaseSnapshot *string `json:"base_snapshot,omitempty"`
}

Expand Down

0 comments on commit d77f011

Please sign in to comment.