From fa249067f5a89fcaaa6297742b70a9ee464f8b54 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 30 Jul 2024 14:08:34 +0000 Subject: [PATCH] feat: update generated APIs --- internal/namespaces/dedibox/v1/dedibox_cli.go | 86 +++++++++---------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/internal/namespaces/dedibox/v1/dedibox_cli.go b/internal/namespaces/dedibox/v1/dedibox_cli.go index e9682b411f..327c7c6999 100644 --- a/internal/namespaces/dedibox/v1/dedibox_cli.go +++ b/internal/namespaces/dedibox/v1/dedibox_cli.go @@ -353,7 +353,7 @@ func dediboxServerGet() *core.Command { Short: `ID of the server`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -383,7 +383,7 @@ func dediboxOptionList() *core.Command { Short: `Server ID of the subscribable server options`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.Zone(core.AllLocalities)), }, @@ -422,7 +422,7 @@ func dediboxOptionSubscribe() *core.Command { Short: `Server ID to subscribe server option`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "option-id", @@ -504,7 +504,7 @@ func dediboxOptionSubscribeStorage() *core.Command { Short: `Server ID of the storage options to subscribe`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "options-ids.{index}", @@ -541,7 +541,7 @@ func dediboxServerUpdate() *core.Command { Short: `Server ID to update`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "hostname", @@ -585,7 +585,7 @@ func dediboxServerReboot() *core.Command { Short: `Server ID to reboot`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -621,7 +621,7 @@ func dediboxServerStart() *core.Command { Short: `Server ID to start`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -657,7 +657,7 @@ func dediboxServerStop() *core.Command { Short: `Server ID to stop`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -693,7 +693,7 @@ func dediboxServerDelete() *core.Command { Short: `Server ID to delete`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -737,7 +737,7 @@ func dediboxServerListEvents() *core.Command { Short: `Server ID of the server events`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.Zone(core.AllLocalities)), }, @@ -784,7 +784,7 @@ func dediboxServerListDisks() *core.Command { Short: `Server ID of the server disks`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.Zone(core.AllLocalities)), }, @@ -823,7 +823,7 @@ func dediboxServiceGet() *core.Command { Short: `ID of the service`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -853,7 +853,7 @@ func dediboxServiceDelete() *core.Command { Short: `ID of the service`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -930,7 +930,7 @@ func dediboxServerInstall() *core.Command { Short: `Server ID to install`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "os-id", @@ -1060,7 +1060,7 @@ func dediboxServerGetInstall() *core.Command { Short: `Server ID of the server to install`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -1090,7 +1090,7 @@ func dediboxServerCancelInstall() *core.Command { Short: `Server ID of the server to cancel install`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -1126,7 +1126,7 @@ func dediboxServerGetPartitioning() *core.Command { Short: `ID of the server`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "os-id", @@ -1164,7 +1164,7 @@ The BMC (Baseboard Management Controller) access is available one hour after the Short: `ID of the server to start the BMC access`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "ip", @@ -1207,7 +1207,7 @@ func dediboxBmcGet() *core.Command { Short: `ID of the server to get BMC access`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -1237,7 +1237,7 @@ func dediboxBmcStop() *core.Command { Short: `ID of the server to stop BMC access`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -1370,7 +1370,7 @@ func dediboxOfferGet() *core.Command { Short: `ID of offer`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "project-id", @@ -1421,9 +1421,9 @@ func dediboxOsList() *core.Command { { Name: "server-id", Short: `Filter OS by compatible server ID`, - Required: false, + Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "project-id", @@ -1469,7 +1469,7 @@ func dediboxOsGet() *core.Command { Short: `ID of the OS`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "server-id", @@ -1513,7 +1513,7 @@ func dediboxReverseIPUpdate() *core.Command { Short: `ID of the IP`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "reverse", @@ -1839,7 +1839,7 @@ func dediboxFipGet() *core.Command { Short: `ID of the failover IP`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -1899,7 +1899,7 @@ func dediboxRaidGet() *core.Command { Short: `ID of the server`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -1929,7 +1929,7 @@ func dediboxRaidUpdate() *core.Command { Short: `ID of the server`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "raid-arrays.{index}.raid-level", @@ -1980,7 +1980,7 @@ func dediboxRescueStart() *core.Command { Short: `ID of the server to start rescue`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "os-id", @@ -2017,7 +2017,7 @@ func dediboxRescueGet() *core.Command { Short: `ID of the server to get rescue`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -2047,7 +2047,7 @@ func dediboxRescueStop() *core.Command { Short: `ID of the server to stop rescue`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), }, @@ -2955,7 +2955,7 @@ func dediboxRpnV1Get() *core.Command { Short: `Rpn v1 group ID`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { @@ -3028,7 +3028,7 @@ func dediboxRpnV1Delete() *core.Command { Short: `Rpn v1 group ID`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { @@ -3063,7 +3063,7 @@ func dediboxRpnV1Update() *core.Command { Short: `Rpn v1 group ID`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "name", @@ -3234,7 +3234,7 @@ func dediboxRpnV1AddMembers() *core.Command { Short: `The rpn v1 group ID`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "server-ids.{index}", @@ -3277,7 +3277,7 @@ func dediboxRpnV1DeleteMembers() *core.Command { Short: `The rpn v1 group ID`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "member-ids.{index}", @@ -3595,7 +3595,7 @@ func dediboxRpnV2Get() *core.Command { Short: `RPN V2 group ID`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { @@ -3669,7 +3669,7 @@ func dediboxRpnV2Delete() *core.Command { Short: `RPN V2 group ID`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { @@ -3704,7 +3704,7 @@ func dediboxRpnV2Update() *core.Command { Short: `RPN V2 group ID`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "name", @@ -3740,7 +3740,7 @@ func dediboxRpnV2AddMembers() *core.Command { Short: `RPN V2 group ID`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "servers.{index}", @@ -3782,7 +3782,7 @@ func dediboxRpnV2DeleteMembers() *core.Command { Short: `RPN V2 group ID`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "member-ids.{index}", @@ -3908,7 +3908,7 @@ func dediboxRpnV2UpdateVlanMembers() *core.Command { Short: `RPN V2 group ID`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "member-ids.{index}", @@ -3999,7 +3999,7 @@ func dediboxRpnV2DisableCompatibility() *core.Command { Short: `RPN V2 group ID`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {