Skip to content

Commit 1a5ea48

Browse files
committed
feat: update generated APIs
1 parent 1aa1097 commit 1a5ea48

File tree

52 files changed

+132
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+132
-129
lines changed

cmd/scw/testdata/test-all-usage-iam-api-key-create-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ ARGS:
99
[application-id] ID of the application
1010
[user-id] ID of the user
1111
[expires-at] Expiration date of the API key
12-
[default-project-id] The default Project ID to use with Object Storage
13-
[description] The description of the API key (max length is 200 characters)
12+
[default-project-id] Default Project ID to use with Object Storage
13+
[description] Description of the API key (max length is 200 characters)
1414

1515
FLAGS:
1616
-h, --help help for create

cmd/scw/testdata/test-all-usage-iam-api-key-list-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ USAGE:
77

88
ARGS:
99
[order-by=created_at_asc] Criteria for sorting results (created_at_asc | created_at_desc | updated_at_asc | updated_at_desc | expires_at_asc | expires_at_desc | access_key_asc | access_key_desc)
10-
[editable] Whether to filter out editable API keys or not
11-
[expired] Whether to filter out expired API keys or not
10+
[editable] Defines whether to filter out editable API keys or not
11+
[expired] Defines whether to filter out expired API keys or not
1212
[access-key] Filter by access key
1313
[description] Filter by description
1414
[bearer-id] Filter by bearer ID

cmd/scw/testdata/test-all-usage-iam-api-key-update-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ USAGE:
77

88
ARGS:
99
access-key Access key to update
10-
[default-project-id] The new default Project ID to set
11-
[description] The new description to update
10+
[default-project-id] New default Project ID to set
11+
[description] New description to update
1212

1313
FLAGS:
1414
-h, --help help for update

cmd/scw/testdata/test-all-usage-iam-application-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ USAGE:
88
ARGS:
99
[order-by=created_at_asc] Criteria for sorting results (created_at_asc | created_at_desc | updated_at_asc | updated_at_desc | name_asc | name_desc)
1010
[name] Name of the application to filter
11-
[editable] Whether to filter out editable applications or not
11+
[editable] Defines whether to filter out editable applications or not
1212
[application-ids.{index}] Filter by list of IDs
1313
organization-id=<retrieved from config> ID of the Organization to filter
1414

cmd/scw/testdata/test-all-usage-iam-policy-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ARGS:
1818
[user-id] ID of user attributed to the policy
1919
[group-id] ID of group attributed to the policy
2020
[application-id] ID of application attributed to the policy
21-
[no-principal] Whether or not a policy is attributed to a principal
21+
[no-principal] Defines whether or not a policy is attributed to a principal
2222
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
2323

2424
FLAGS:

cmd/scw/testdata/test-all-usage-iam-policy-list-usage.golden

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ USAGE:
77

88
ARGS:
99
[order-by=created_at_asc] Criteria for sorting results (policy_name_asc | policy_name_desc | created_at_asc | created_at_desc)
10-
[editable] Whether or not filter out editable policies
11-
[user-ids.{index}] Whether or not to filter by list of user IDs
12-
[group-ids.{index}] Whether or not to filter by list of group IDs
10+
[editable] Defines whether or not filter out editable policies
11+
[user-ids.{index}] Defines whether or not to filter by list of user IDs
12+
[group-ids.{index}] Defines whether or not to filter by list of group IDs
1313
[application-ids.{index}] Filter by a list of application IDs
14-
[no-principal] Whether or not the policy is attributed to a principal
14+
[no-principal] Defines whether or not the policy is attributed to a principal
1515
[policy-name] Name of the policy to fetch
1616
organization-id=<retrieved from config> ID of the Organization to filter
1717

cmd/scw/testdata/test-all-usage-iam-policy-update-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ARGS:
1212
[user-id] New ID of user attributed to the policy
1313
[group-id] New ID of group attributed to the policy
1414
[application-id] New ID of application attributed to the policy
15-
[no-principal] Whether or not the policy is attributed to a principal
15+
[no-principal] Defines whether or not the policy is attributed to a principal
1616

1717
FLAGS:
1818
-h, --help help for update

cmd/scw/testdata/test-all-usage-iam-ssh-key-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ EXAMPLES:
1010
scw iam ssh-key create name=foobar public-key="$(cat <path/to/your/public/key>)"
1111

1212
ARGS:
13-
name=<generated> The name of the SSH key. Max length is 1000
13+
name=<generated> Name of the SSH key. Max length is 1000
1414
public-key SSH public key. Currently only the ssh-rsa, ssh-dss (DSA), ssh-ed25519 and ecdsa keys with NIST curves are supported. Max length is 65000
1515
[project-id] Project ID to use. If none is passed the default project ID will be used
1616

cmd/scw/testdata/test-all-usage-iam-ssh-key-get-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ USAGE:
66
scw iam ssh-key get <ssh-key-id ...> [arg=value ...]
77

88
ARGS:
9-
ssh-key-id The ID of the SSH key
9+
ssh-key-id ID of the SSH key
1010

1111
FLAGS:
1212
-h, --help help for get

cmd/scw/testdata/test-all-usage-iam-ssh-key-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARGS:
99
[order-by=created_at_asc] Sort order of the SSH keys (created_at_asc | created_at_desc | updated_at_asc | updated_at_desc | name_asc | name_desc)
1010
[name] Name of group to find
1111
[project-id] Filter by Project ID
12-
[disabled] Whether to include disabled SSH keys or not
12+
[disabled] Defines whether to include disabled SSH keys or not
1313
[organization-id=<retrieved from config>] Filter by Organization ID
1414

1515
FLAGS:

0 commit comments

Comments
 (0)