From 3b68ab7ae5f8d29d7a399d26f046f14e8e346e1e Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Wed, 26 Mar 2025 08:36:28 +0000 Subject: [PATCH] feat: update generated APIs --- ...t-all-usage-iam-user-update-password-usage.golden | 2 +- ...t-all-usage-iam-user-update-username-usage.golden | 2 +- .../testdata/test-all-usage-iam-user-usage.golden | 4 ++-- docs/commands/iam.md | 12 ++++++------ internal/namespaces/iam/v1alpha1/iam_cli.go | 8 ++++---- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-iam-user-update-password-usage.golden b/cmd/scw/testdata/test-all-usage-iam-user-update-password-usage.golden index 4e300e8871..670a9d5d6f 100644 --- a/cmd/scw/testdata/test-all-usage-iam-user-update-password-usage.golden +++ b/cmd/scw/testdata/test-all-usage-iam-user-update-password-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Update an user's password. Private Beta feature. +Update an user's password. USAGE: scw iam user update-password [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-iam-user-update-username-usage.golden b/cmd/scw/testdata/test-all-usage-iam-user-update-username-usage.golden index 9b017853c8..af351fab14 100644 --- a/cmd/scw/testdata/test-all-usage-iam-user-update-username-usage.golden +++ b/cmd/scw/testdata/test-all-usage-iam-user-update-username-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Update an user's username. Private Beta feature. +Update an user's username. USAGE: scw iam user update-username [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-iam-user-usage.golden b/cmd/scw/testdata/test-all-usage-iam-user-usage.golden index ccd5b251b2..e48a99fe41 100644 --- a/cmd/scw/testdata/test-all-usage-iam-user-usage.golden +++ b/cmd/scw/testdata/test-all-usage-iam-user-usage.golden @@ -11,8 +11,8 @@ AVAILABLE COMMANDS: get Get a given user list List users of an Organization update Update a user - update-password Update an user's password. Private Beta feature. - update-username Update an user's username. Private Beta feature. + update-password Update an user's password. + update-username Update an user's username. FLAGS: -h, --help help for user diff --git a/docs/commands/iam.md b/docs/commands/iam.md index d205c2a42d..6551af92ed 100644 --- a/docs/commands/iam.md +++ b/docs/commands/iam.md @@ -58,8 +58,8 @@ This API allows you to manage Identity and Access Management (IAM) across your S - [Get a given user](#get-a-given-user) - [List users of an Organization](#list-users-of-an-organization) - [Update a user](#update-a-user) - - [Update an user's password. Private Beta feature.](#update-an-user's-password.-private-beta-feature.) - - [Update an user's username. Private Beta feature.](#update-an-user's-username.-private-beta-feature.) + - [Update an user's password.](#update-an-user's-password.) + - [Update an user's username.](#update-an-user's-username.) ## API keys management commands @@ -1160,9 +1160,9 @@ scw iam user update [arg=value ...] -### Update an user's password. Private Beta feature. +### Update an user's password. -Update an user's password. Private Beta feature. +Update an user's password. **Usage:** @@ -1180,9 +1180,9 @@ scw iam user update-password [arg=value ...] -### Update an user's username. Private Beta feature. +### Update an user's username. -Update an user's username. Private Beta feature. +Update an user's username. **Usage:** diff --git a/internal/namespaces/iam/v1alpha1/iam_cli.go b/internal/namespaces/iam/v1alpha1/iam_cli.go index 8a7e042445..2e7d99f115 100644 --- a/internal/namespaces/iam/v1alpha1/iam_cli.go +++ b/internal/namespaces/iam/v1alpha1/iam_cli.go @@ -735,8 +735,8 @@ func iamUserCreate() *core.Command { func iamUserUpdateUsername() *core.Command { return &core.Command{ - Short: `Update an user's username. Private Beta feature.`, - Long: `Update an user's username. Private Beta feature.`, + Short: `Update an user's username.`, + Long: `Update an user's username.`, Namespace: "iam", Resource: "user", Verb: "update-username", @@ -770,8 +770,8 @@ func iamUserUpdateUsername() *core.Command { func iamUserUpdatePassword() *core.Command { return &core.Command{ - Short: `Update an user's password. Private Beta feature.`, - Long: `Update an user's password. Private Beta feature.`, + Short: `Update an user's password.`, + Long: `Update an user's password.`, Namespace: "iam", Resource: "user", Verb: "update-password",