@@ -178,7 +178,7 @@ type ScalewayVolumes struct {
178178 Volumes []ScalewayVolume `json:"volumes,omitempty"`
179179}
180180
181- // ScalewayVolumeDefinition represents a Scaleway C1 volume definition
181+ // ScalewayVolumeDefinition represents a Scaleway volume definition
182182type ScalewayVolumeDefinition struct {
183183 // Name is the user-defined name of the volume
184184 Name string `json:"name"`
@@ -193,7 +193,7 @@ type ScalewayVolumeDefinition struct {
193193 Organization string `json:"organization"`
194194}
195195
196- // ScalewayVolumePutDefinition represents a Scaleway C1 volume with nullable fields (for PUT)
196+ // ScalewayVolumePutDefinition represents a Scaleway volume with nullable fields (for PUT)
197197type ScalewayVolumePutDefinition struct {
198198 Identifier * string `json:"id,omitempty"`
199199 Size * uint64 `json:"size,omitempty"`
@@ -322,7 +322,7 @@ type ScalewayInitrd struct {
322322 Title string `json:"title,omitempty"`
323323}
324324
325- // ScalewayKernel represents a kernel used on C1 servers
325+ // ScalewayKernel represents a kernel used on servers
326326type ScalewayKernel struct {
327327 // Identifier is the unique identifier of the kernel
328328 Identifier string `json:"id,omitempty"`
@@ -497,7 +497,7 @@ type ScalewayNewSecurityGroup struct {
497497 Description string `json:"description"`
498498}
499499
500- // ScalewayServer represents a Scaleway C1 server
500+ // ScalewayServer represents a Scaleway server
501501type ScalewayServer struct {
502502 // Arch is the architecture target of the server
503503 Arch string `json:"arch,omitempty"`
@@ -550,7 +550,7 @@ type ScalewayServer struct {
550550 // Organization is the owner of the server
551551 Organization string `json:"organization,omitempty"`
552552
553- // CommercialType is the commercial type of the server (i.e: C1)
553+ // CommercialType is the commercial type of the server (i.e: C1, C2[SML], VC1 )
554554 CommercialType string `json:"commercial_type,omitempty"`
555555
556556 // Location of the server
@@ -564,7 +564,7 @@ type ScalewayServer struct {
564564 } `json:"location,omitempty"`
565565}
566566
567- // ScalewayServerPatchDefinition represents a Scaleway C1 server with nullable fields (for PATCH)
567+ // ScalewayServerPatchDefinition represents a Scaleway server with nullable fields (for PATCH)
568568type ScalewayServerPatchDefinition struct {
569569 Arch * string `json:"arch,omitempty"`
570570 Name * string `json:"name,omitempty"`
@@ -584,7 +584,7 @@ type ScalewayServerPatchDefinition struct {
584584 Tags * []string `json:"tags,omitempty"`
585585}
586586
587- // ScalewayServerDefinition represents a Scaleway C1 server with image definition
587+ // ScalewayServerDefinition represents a Scaleway server with image definition
588588type ScalewayServerDefinition struct {
589589 // Name is the user-defined name of the server
590590 Name string `json:"name"`
@@ -607,7 +607,7 @@ type ScalewayServerDefinition struct {
607607 // Organization is the owner of the server
608608 Organization string `json:"organization"`
609609
610- // CommercialType is the commercial type of the server (i.e: C1)
610+ // CommercialType is the commercial type of the server (i.e: C1, C2[SML], VC1 )
611611 CommercialType string `json:"commercial_type"`
612612
613613 PublicIP string `json:"public_ip,omitempty"`
@@ -618,13 +618,13 @@ type ScalewayOneServer struct {
618618 Server ScalewayServer `json:"server,omitempty"`
619619}
620620
621- // ScalewayServers represents a group of Scaleway C1 servers
621+ // ScalewayServers represents a group of Scaleway servers
622622type ScalewayServers struct {
623623 // Servers holds scaleway servers of the response
624624 Servers []ScalewayServer `json:"servers,omitempty"`
625625}
626626
627- // ScalewayServerAction represents an action to perform on a Scaleway C1 server
627+ // ScalewayServerAction represents an action to perform on a Scaleway server
628628type ScalewayServerAction struct {
629629 // Action is the name of the action to trigger
630630 Action string `json:"action,omitempty"`
0 commit comments