Skip to content

Commit

Permalink
feat(instance): add new sbs_volume and scratch volumes types (#1832)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Sep 14, 2023
1 parent ac7d570 commit 25d7129
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions api/instance/v1/instance_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -783,8 +783,10 @@ func (enum *VolumeServerState) UnmarshalJSON(data []byte) error {
type VolumeServerVolumeType string

const (
VolumeServerVolumeTypeLSSD = VolumeServerVolumeType("l_ssd")
VolumeServerVolumeTypeBSSD = VolumeServerVolumeType("b_ssd")
VolumeServerVolumeTypeLSSD = VolumeServerVolumeType("l_ssd")
VolumeServerVolumeTypeBSSD = VolumeServerVolumeType("b_ssd")
VolumeServerVolumeTypeSbsVolume = VolumeServerVolumeType("sbs_volume")
VolumeServerVolumeTypeScratch = VolumeServerVolumeType("scratch")
)

func (enum VolumeServerVolumeType) String() string {
Expand Down Expand Up @@ -848,10 +850,11 @@ func (enum *VolumeState) UnmarshalJSON(data []byte) error {
type VolumeVolumeType string

const (
VolumeVolumeTypeLSSD = VolumeVolumeType("l_ssd")
VolumeVolumeTypeBSSD = VolumeVolumeType("b_ssd")
VolumeVolumeTypeUnified = VolumeVolumeType("unified")
VolumeVolumeTypeScratch = VolumeVolumeType("scratch")
VolumeVolumeTypeLSSD = VolumeVolumeType("l_ssd")
VolumeVolumeTypeBSSD = VolumeVolumeType("b_ssd")
VolumeVolumeTypeUnified = VolumeVolumeType("unified")
VolumeVolumeTypeScratch = VolumeVolumeType("scratch")
VolumeVolumeTypeSbsVolume = VolumeVolumeType("sbs_volume")
)

func (enum VolumeVolumeType) String() string {
Expand Down

0 comments on commit 25d7129

Please sign in to comment.