ibee-cli 0.6.0__tar.gz → 0.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ibee_cli-0.6.0/src/ibee_cli.egg-info → ibee_cli-0.7.0}/PKG-INFO +8 -3
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/README.md +6 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/pyproject.toml +2 -2
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/__init__.py +1 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/__init__.py +1 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/block_storage.py +1 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/buckets.py +26 -26
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/cdn.py +1 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/compute.py +2 -2
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/firewalls.py +3 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/gpus.py +38 -3
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/load_balancers.py +1 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/ops.py +1 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/registries.py +27 -27
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/reserved_ips.py +10 -2
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/secrets.py +1 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/vms.py +38 -3
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/commands/vpcs.py +9 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/context.py +6 -0
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/render.py +8 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0/src/ibee_cli.egg-info}/PKG-INFO +8 -3
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli.egg-info/requires.txt +1 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/tests/test_cli_core.py +31 -1
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/tests/test_contract_commands.py +5 -6
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/LICENSE +0 -0
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/setup.cfg +0 -0
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/billing_selection.py +0 -0
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/helpers.py +0 -0
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli/main.py +0 -0
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli.egg-info/SOURCES.txt +0 -0
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli.egg-info/dependency_links.txt +0 -0
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli.egg-info/entry_points.txt +0 -0
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/src/ibee_cli.egg-info/top_level.txt +0 -0
- {ibee_cli-0.6.0 → ibee_cli-0.7.0}/tests/test_command_behaviour.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ibee-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: Official command-line interface for the IBEE Solutions cloud platform
|
|
5
5
|
Author-email: IBEE Solutions <support@ibee.ai>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -13,7 +13,7 @@ Classifier: Environment :: Console
|
|
|
13
13
|
Requires-Python: >=3.10
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
License-File: LICENSE
|
|
16
|
-
Requires-Dist: ibee<0.
|
|
16
|
+
Requires-Dist: ibee<0.8,>=0.7.0
|
|
17
17
|
Requires-Dist: httpx>=0.27
|
|
18
18
|
Requires-Dist: typer>=0.12
|
|
19
19
|
Requires-Dist: click>=8.1
|
|
@@ -26,9 +26,14 @@ Dynamic: license-file
|
|
|
26
26
|
|
|
27
27
|
# IBEE Solutions CLI
|
|
28
28
|
|
|
29
|
+
Object Storage and Container Registry public management operations are temporarily paused.
|
|
30
|
+
Published methods and commands remain available for compatibility. An empty 404
|
|
31
|
+
from these routes reports the pause; it does not prove an existing resource was deleted.
|
|
32
|
+
CDN remains available.
|
|
33
|
+
|
|
29
34
|
Official command-line interface for the IBEE Solutions cloud platform, built on the
|
|
30
35
|
[`ibee` Python SDK](https://github.com/devs-ibee/ibee-python). It has one command per
|
|
31
|
-
operation of the IBEE public API (contract 0.
|
|
36
|
+
operation of the IBEE public API (contract 0.9.0, 229 operations): each command makes
|
|
32
37
|
that operation's one SDK call and prints the server's answer. The server decides
|
|
33
38
|
prices, eligibility, limits and states; the CLI checks nothing before sending.
|
|
34
39
|
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
# IBEE Solutions CLI
|
|
2
2
|
|
|
3
|
+
Object Storage and Container Registry public management operations are temporarily paused.
|
|
4
|
+
Published methods and commands remain available for compatibility. An empty 404
|
|
5
|
+
from these routes reports the pause; it does not prove an existing resource was deleted.
|
|
6
|
+
CDN remains available.
|
|
7
|
+
|
|
3
8
|
Official command-line interface for the IBEE Solutions cloud platform, built on the
|
|
4
9
|
[`ibee` Python SDK](https://github.com/devs-ibee/ibee-python). It has one command per
|
|
5
|
-
operation of the IBEE public API (contract 0.
|
|
10
|
+
operation of the IBEE public API (contract 0.9.0, 229 operations): each command makes
|
|
6
11
|
that operation's one SDK call and prints the server's answer. The server decides
|
|
7
12
|
prices, eligibility, limits and states; the CLI checks nothing before sending.
|
|
8
13
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ibee-cli"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.7.0"
|
|
8
8
|
description = "Official command-line interface for the IBEE Solutions cloud platform"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -18,7 +18,7 @@ classifiers = [
|
|
|
18
18
|
"Environment :: Console",
|
|
19
19
|
]
|
|
20
20
|
dependencies = [
|
|
21
|
-
"ibee>=0.
|
|
21
|
+
"ibee>=0.7.0,<0.8",
|
|
22
22
|
"httpx>=0.27",
|
|
23
23
|
"typer>=0.12",
|
|
24
24
|
"click>=8.1",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""The command groups, in `ibee --help` order."""
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee block-storage``: Block Storage volumes and plans (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee buckets``: Object Storage buckets, bucket settings and S3 credentials (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -26,7 +26,7 @@ credentials_app = typer.Typer(help='S3 access credentials', no_args_is_help=True
|
|
|
26
26
|
app.add_typer(credentials_app, name='credentials')
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
@app.command('list', help='List buckets.\n\
|
|
29
|
+
@app.command('list', help='List buckets.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Lists object storage buckets in a workspace. Requires scope: object-storage.read.\n\nAPI: GET /object-storage/buckets (listBuckets).', short_help='List buckets')
|
|
30
30
|
@handle_api_errors
|
|
31
31
|
def list_buckets(
|
|
32
32
|
ctx: typer.Context,
|
|
@@ -44,7 +44,7 @@ def list_buckets(
|
|
|
44
44
|
emit(result, collection='buckets', id_field='name')
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
@app.command('create', help='Create bucket.\n\
|
|
47
|
+
@app.command('create', help='Create bucket.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Creates an object storage bucket. `region` is required and must match an Object Storage region identifier configured for the target environment. Do not send a compute `site_id`. Requires scope: object-storage.write.\n\nAPI: POST /object-storage/buckets (createBucket).', short_help='Create bucket')
|
|
48
48
|
@handle_api_errors
|
|
49
49
|
def create_bucket(
|
|
50
50
|
ctx: typer.Context,
|
|
@@ -70,7 +70,7 @@ def create_bucket(
|
|
|
70
70
|
emit(result)
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
@app.command('get', help='Get bucket.\n\
|
|
73
|
+
@app.command('get', help='Get bucket.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns bucket configuration and usage statistics. Requires scope: object-storage.read.\n\nAPI: GET /object-storage/buckets/{bucket_name} (getBucket).', short_help='Get bucket')
|
|
74
74
|
@handle_api_errors
|
|
75
75
|
def get_bucket(
|
|
76
76
|
ctx: typer.Context,
|
|
@@ -81,7 +81,7 @@ def get_bucket(
|
|
|
81
81
|
emit(result)
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
@app.command('update', help='Update bucket settings.\n\
|
|
84
|
+
@app.command('update', help='Update bucket settings.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Updates mutable bucket settings. Requires scope: object-storage.write.\n\nAPI: PATCH /object-storage/buckets/{bucket_name} (updateBucket).', short_help='Update bucket settings')
|
|
85
85
|
@handle_api_errors
|
|
86
86
|
def update_bucket(
|
|
87
87
|
ctx: typer.Context,
|
|
@@ -99,7 +99,7 @@ def update_bucket(
|
|
|
99
99
|
emit(result)
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
@app.command('delete', help='Delete bucket.\n\
|
|
102
|
+
@app.command('delete', help='Delete bucket.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Deletes a bucket and all of its contents. Requires scope: object-storage.delete.\n\nAPI: DELETE /object-storage/buckets/{bucket_name} (deleteBucket).', short_help='Delete bucket')
|
|
103
103
|
@handle_api_errors
|
|
104
104
|
def delete_bucket(
|
|
105
105
|
ctx: typer.Context,
|
|
@@ -112,7 +112,7 @@ def delete_bucket(
|
|
|
112
112
|
emit(result)
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
@lifecycle_app.command('get', help="Get bucket lifecycle rules.\n\
|
|
115
|
+
@lifecycle_app.command('get', help="Get bucket lifecycle rules.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns the bucket's lifecycle rules, as the portal's Settings › Lifecycle tab shows them. Requires scope: object-storage.read.\n\nAPI: GET /object-storage/buckets/{bucket_name}/lifecycle (getBucketLifecycle).", short_help='Get bucket lifecycle rules')
|
|
116
116
|
@handle_api_errors
|
|
117
117
|
def get_bucket_lifecycle(
|
|
118
118
|
ctx: typer.Context,
|
|
@@ -123,7 +123,7 @@ def get_bucket_lifecycle(
|
|
|
123
123
|
emit(result)
|
|
124
124
|
|
|
125
125
|
|
|
126
|
-
@lifecycle_app.command('set', help='Set bucket lifecycle rules.\n\
|
|
126
|
+
@lifecycle_app.command('set', help='Set bucket lifecycle rules.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Replaces every lifecycle rule of the bucket. Each rule expires objects after a number of days or on a date, optionally only under a prefix. Requires scope: object-storage.write.\n\nAPI: PUT /object-storage/buckets/{bucket_name}/lifecycle (setBucketLifecycle).', short_help='Set bucket lifecycle rules')
|
|
127
127
|
@handle_api_errors
|
|
128
128
|
def set_bucket_lifecycle(
|
|
129
129
|
ctx: typer.Context,
|
|
@@ -141,7 +141,7 @@ def set_bucket_lifecycle(
|
|
|
141
141
|
emit(result)
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
@lifecycle_app.command('delete', help='Delete bucket lifecycle rules.\n\
|
|
144
|
+
@lifecycle_app.command('delete', help='Delete bucket lifecycle rules.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Removes every lifecycle rule from the bucket. Requires scope: object-storage.write.\n\nAPI: DELETE /object-storage/buckets/{bucket_name}/lifecycle (deleteBucketLifecycle).', short_help='Delete bucket lifecycle rules')
|
|
145
145
|
@handle_api_errors
|
|
146
146
|
def delete_bucket_lifecycle(
|
|
147
147
|
ctx: typer.Context,
|
|
@@ -154,7 +154,7 @@ def delete_bucket_lifecycle(
|
|
|
154
154
|
emit(result)
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
@cors_app.command('get', help="Get bucket CORS rules.\n\
|
|
157
|
+
@cors_app.command('get', help="Get bucket CORS rules.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns the bucket's CORS rules, as the portal's Settings › CORS tab shows them. Requires scope: object-storage.read.\n\nAPI: GET /object-storage/buckets/{bucket_name}/cors (getBucketCors).", short_help='Get bucket CORS rules')
|
|
158
158
|
@handle_api_errors
|
|
159
159
|
def get_bucket_cors(
|
|
160
160
|
ctx: typer.Context,
|
|
@@ -165,7 +165,7 @@ def get_bucket_cors(
|
|
|
165
165
|
emit(result)
|
|
166
166
|
|
|
167
167
|
|
|
168
|
-
@cors_app.command('set', help='Set bucket CORS rules.\n\
|
|
168
|
+
@cors_app.command('set', help='Set bucket CORS rules.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Replaces every CORS rule of the bucket. Requires scope: object-storage.write.\n\nAPI: PUT /object-storage/buckets/{bucket_name}/cors (setBucketCors).', short_help='Set bucket CORS rules')
|
|
169
169
|
@handle_api_errors
|
|
170
170
|
def set_bucket_cors(
|
|
171
171
|
ctx: typer.Context,
|
|
@@ -183,7 +183,7 @@ def set_bucket_cors(
|
|
|
183
183
|
emit(result)
|
|
184
184
|
|
|
185
185
|
|
|
186
|
-
@cors_app.command('delete', help='Delete bucket CORS rules.\n\
|
|
186
|
+
@cors_app.command('delete', help='Delete bucket CORS rules.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Removes every CORS rule from the bucket. Requires scope: object-storage.write.\n\nAPI: DELETE /object-storage/buckets/{bucket_name}/cors (deleteBucketCors).', short_help='Delete bucket CORS rules')
|
|
187
187
|
@handle_api_errors
|
|
188
188
|
def delete_bucket_cors(
|
|
189
189
|
ctx: typer.Context,
|
|
@@ -196,7 +196,7 @@ def delete_bucket_cors(
|
|
|
196
196
|
emit(result)
|
|
197
197
|
|
|
198
198
|
|
|
199
|
-
@object_lock_app.command('get', help="Get bucket object lock configuration.\n\
|
|
199
|
+
@object_lock_app.command('get', help="Get bucket object lock configuration.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns the default retention of a bucket created with object lock, as the portal's Settings › Lock tab shows it. Answers 404 when the bucket has no object lock. Requires scope: object-storage.read.\n\nAPI: GET /object-storage/buckets/{bucket_name}/object-lock (getBucketObjectLock).", short_help='Get bucket object lock configuration')
|
|
200
200
|
@handle_api_errors
|
|
201
201
|
def get_bucket_object_lock(
|
|
202
202
|
ctx: typer.Context,
|
|
@@ -207,7 +207,7 @@ def get_bucket_object_lock(
|
|
|
207
207
|
emit(result)
|
|
208
208
|
|
|
209
209
|
|
|
210
|
-
@object_lock_app.command('set', help='Set bucket default retention.\n\
|
|
210
|
+
@object_lock_app.command('set', help='Set bucket default retention.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Changes the default retention applied to new objects in a bucket that has object lock. Send `rule: null` to remove the default. Requires scope: object-storage.write.\n\nAPI: PUT /object-storage/buckets/{bucket_name}/object-lock (setBucketObjectLock).', short_help='Set bucket default retention')
|
|
211
211
|
@handle_api_errors
|
|
212
212
|
def set_bucket_object_lock(
|
|
213
213
|
ctx: typer.Context,
|
|
@@ -225,7 +225,7 @@ def set_bucket_object_lock(
|
|
|
225
225
|
emit(result)
|
|
226
226
|
|
|
227
227
|
|
|
228
|
-
@notifications_app.command('get', help="Get bucket event notifications.\n\
|
|
228
|
+
@notifications_app.command('get', help="Get bucket event notifications.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns the webhook notification rules of the bucket, as the portal's Settings › Event notifications tab shows them. Requires scope: object-storage.read.\n\nAPI: GET /object-storage/buckets/{bucket_name}/notifications (getBucketNotifications).", short_help='Get bucket event notifications')
|
|
229
229
|
@handle_api_errors
|
|
230
230
|
def get_bucket_notifications(
|
|
231
231
|
ctx: typer.Context,
|
|
@@ -236,7 +236,7 @@ def get_bucket_notifications(
|
|
|
236
236
|
emit(result)
|
|
237
237
|
|
|
238
238
|
|
|
239
|
-
@notifications_app.command('set', help='Set bucket event notifications.\n\
|
|
239
|
+
@notifications_app.command('set', help='Set bucket event notifications.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Replaces every notification rule of the bucket. Each rule posts `upload` or `delete` events, optionally filtered by prefix or suffix, to a webhook URL. Requires scope: object-storage.write.\n\nAPI: PUT /object-storage/buckets/{bucket_name}/notifications (setBucketNotifications).', short_help='Set bucket event notifications')
|
|
240
240
|
@handle_api_errors
|
|
241
241
|
def set_bucket_notifications(
|
|
242
242
|
ctx: typer.Context,
|
|
@@ -254,7 +254,7 @@ def set_bucket_notifications(
|
|
|
254
254
|
emit(result)
|
|
255
255
|
|
|
256
256
|
|
|
257
|
-
@notifications_app.command('delete', help='Delete bucket event notifications.\n\
|
|
257
|
+
@notifications_app.command('delete', help='Delete bucket event notifications.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Removes every notification rule from the bucket. Requires scope: object-storage.write.\n\nAPI: DELETE /object-storage/buckets/{bucket_name}/notifications (deleteBucketNotifications).', short_help='Delete bucket event notifications')
|
|
258
258
|
@handle_api_errors
|
|
259
259
|
def delete_bucket_notifications(
|
|
260
260
|
ctx: typer.Context,
|
|
@@ -272,7 +272,7 @@ def delete_bucket_notifications(
|
|
|
272
272
|
emit(result)
|
|
273
273
|
|
|
274
274
|
|
|
275
|
-
@domains_app.command('get', help="Get bucket custom domains.\n\
|
|
275
|
+
@domains_app.command('get', help="Get bucket custom domains.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns the bucket's custom domains with their status and the CNAME target to point them at, as the portal's Settings › Custom domains tab shows. Answers 404 when the bucket has no custom domain. Requires scope: object-storage.read.\n\nAPI: GET /object-storage/buckets/{bucket_name}/custom-domains (getBucketCustomDomains).", short_help='Get bucket custom domains')
|
|
276
276
|
@handle_api_errors
|
|
277
277
|
def get_bucket_custom_domains(
|
|
278
278
|
ctx: typer.Context,
|
|
@@ -283,7 +283,7 @@ def get_bucket_custom_domains(
|
|
|
283
283
|
emit(result)
|
|
284
284
|
|
|
285
285
|
|
|
286
|
-
@domains_app.command('add', help='Add a bucket custom domain.\n\
|
|
286
|
+
@domains_app.command('add', help='Add a bucket custom domain.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Adds a custom hostname that serves the bucket. Create the CNAME record shown in `cname_target`, then check `status` on the list. Requires scope: object-storage.write.\n\nAPI: POST /object-storage/buckets/{bucket_name}/custom-domains (addBucketCustomDomain).', short_help='Add a bucket custom domain')
|
|
287
287
|
@handle_api_errors
|
|
288
288
|
def add_bucket_custom_domain(
|
|
289
289
|
ctx: typer.Context,
|
|
@@ -301,7 +301,7 @@ def add_bucket_custom_domain(
|
|
|
301
301
|
emit(result)
|
|
302
302
|
|
|
303
303
|
|
|
304
|
-
@domains_app.command('remove', help='Remove a bucket custom domain.\n\
|
|
304
|
+
@domains_app.command('remove', help='Remove a bucket custom domain.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Removes a custom hostname from the bucket. Answers 400 when the bucket has no custom domain. Requires scope: object-storage.write.\n\nAPI: DELETE /object-storage/buckets/{bucket_name}/custom-domains/{domain} (removeBucketCustomDomain).', short_help='Remove a bucket custom domain')
|
|
305
305
|
@handle_api_errors
|
|
306
306
|
def remove_bucket_custom_domain(
|
|
307
307
|
ctx: typer.Context,
|
|
@@ -321,7 +321,7 @@ def remove_bucket_custom_domain(
|
|
|
321
321
|
emit(result)
|
|
322
322
|
|
|
323
323
|
|
|
324
|
-
@app.command('metrics', help="Get bucket metrics.\n\
|
|
324
|
+
@app.command('metrics', help="Get bucket metrics.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns request and storage metrics of the bucket for the last 24 hours or 7 days, as the portal's Metrics tab shows them. Requires scope: object-storage.read.\n\nAPI: GET /object-storage/buckets/{bucket_name}/metrics (getBucketMetrics).", short_help='Get bucket metrics')
|
|
325
325
|
@handle_api_errors
|
|
326
326
|
def get_bucket_metrics(
|
|
327
327
|
ctx: typer.Context,
|
|
@@ -339,7 +339,7 @@ def get_bucket_metrics(
|
|
|
339
339
|
emit(result)
|
|
340
340
|
|
|
341
341
|
|
|
342
|
-
@credentials_app.command('list', help='List S3 credentials.\n\
|
|
342
|
+
@credentials_app.command('list', help='List S3 credentials.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Lists S3-compatible credentials without secret keys. Requires scope: object-storage.read.\n\nAPI: GET /object-storage/credentials (listS3Credentials).', short_help='List S3 credentials')
|
|
343
343
|
@handle_api_errors
|
|
344
344
|
def list_s3credentials(
|
|
345
345
|
ctx: typer.Context,
|
|
@@ -349,7 +349,7 @@ def list_s3credentials(
|
|
|
349
349
|
emit(result, collection='credentials', id_field='access_key_id')
|
|
350
350
|
|
|
351
351
|
|
|
352
|
-
@credentials_app.command('create', help='Create S3 credential.\n\
|
|
352
|
+
@credentials_app.command('create', help='Create S3 credential.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Creates an access key pair. The secret is returned only once. Requires scope: object-storage.write.\n\nAPI: POST /object-storage/credentials (createS3Credential).', short_help='Create S3 credential')
|
|
353
353
|
@handle_api_errors
|
|
354
354
|
def create_s3credential(
|
|
355
355
|
ctx: typer.Context,
|
|
@@ -371,7 +371,7 @@ def create_s3credential(
|
|
|
371
371
|
emit(result)
|
|
372
372
|
|
|
373
373
|
|
|
374
|
-
@credentials_app.command('get', help='Get S3 credential.\n\
|
|
374
|
+
@credentials_app.command('get', help='Get S3 credential.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns credential metadata without the secret key. Requires scope: object-storage.read.\n\nAPI: GET /object-storage/credentials/{access_key_id} (getS3Credential).', short_help='Get S3 credential')
|
|
375
375
|
@handle_api_errors
|
|
376
376
|
def get_s3credential(
|
|
377
377
|
ctx: typer.Context,
|
|
@@ -382,7 +382,7 @@ def get_s3credential(
|
|
|
382
382
|
emit(result)
|
|
383
383
|
|
|
384
384
|
|
|
385
|
-
@credentials_app.command('delete', help='Delete S3 credential.\n\
|
|
385
|
+
@credentials_app.command('delete', help='Delete S3 credential.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Deletes a credential record permanently. Revoke it first with POST /object-storage/credentials/{access_key_id}/revoke; the portal deletes revoked credentials only. Requires scope: object-storage.write.\n\nAPI: DELETE /object-storage/credentials/{access_key_id} (deleteS3Credential).', short_help='Delete S3 credential')
|
|
386
386
|
@handle_api_errors
|
|
387
387
|
def delete_s3credential(
|
|
388
388
|
ctx: typer.Context,
|
|
@@ -395,7 +395,7 @@ def delete_s3credential(
|
|
|
395
395
|
emit(result)
|
|
396
396
|
|
|
397
397
|
|
|
398
|
-
@credentials_app.command('revoke', help='Revoke S3 credential.\n\
|
|
398
|
+
@credentials_app.command('revoke', help='Revoke S3 credential.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Revokes a credential so it can no longer authenticate S3 requests. The record stays listed as revoked, as in the portal; delete it afterwards with DELETE /object-storage/credentials/{access_key_id}. Requires scope: object-storage.write.\n\nAPI: POST /object-storage/credentials/{access_key_id}/revoke (revokeS3Credential).', short_help='Revoke S3 credential')
|
|
399
399
|
@handle_api_errors
|
|
400
400
|
def revoke_s3credential(
|
|
401
401
|
ctx: typer.Context,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee cdn``: CDN distributions, website configuration and custom domains (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee compute``: Compute catalog: sites, plans, images and recovery storage plans (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -32,7 +32,7 @@ def list_compute_plans(
|
|
|
32
32
|
site_id: Optional[str] = typer.Option(None, '--site-id', show_default=False, help='Optional exact placement filter. Copy `site_id` from `GET /compute/sites`.'),
|
|
33
33
|
currency: Optional[str] = typer.Option(None, '--currency', show_default=False, help='ISO 4217 code of the currency to quote prices in. Default `INR`.'),
|
|
34
34
|
billing_interval: Optional[str] = typer.Option(None, '--billing-interval', show_default=False, help='Billing period to quote prices for. - `HOURLY` - `MONTHLY` (default)'),
|
|
35
|
-
include_availability: Optional[bool] = typer.Option(None, '--include-availability/--no-include-availability', show_default=False, help='
|
|
35
|
+
include_availability: Optional[bool] = typer.Option(None, '--include-availability/--no-include-availability', show_default=False, help='Check advisory placement by default when site_id is supplied. Set false for pricing-only discovery. This does not reserve stock.'),
|
|
36
36
|
os_type: Optional[str] = typer.Option(None, '--os-type', show_default=False, help='OS pool to check when include_availability is true. One of: linux, windows.'),
|
|
37
37
|
requires_public_ip: Optional[bool] = typer.Option(None, '--requires-public-ip/--no-requires-public-ip', show_default=False, help='Include public IPv4 capacity in the advisory placement check.'),
|
|
38
38
|
) -> None:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee firewalls``: Firewall groups, rules and attachments (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -43,6 +43,7 @@ def create_firewall_group(
|
|
|
43
43
|
name: str = typer.Option(..., '--name', show_default=False, help='Display name of the group.'),
|
|
44
44
|
description: Optional[str] = typer.Option(None, '--description', show_default=False, help='Optional description.'),
|
|
45
45
|
is_default: Optional[bool] = typer.Option(None, '--is-default/--no-is-default', show_default=False, help="Mark the group as the workspace's default group. Default false."),
|
|
46
|
+
idempotency_key: Optional[str] = typer.Option(None, '--idempotency-key', show_default=False, help='Retry the identical networking create with the same key to receive its dispatched create outcome for 24 hours. The key is scoped to organization, workspace and path. Reusing a dispatched key with a different request returns 409. Admission or validation refusals before a create is dispatched may be retried after correcting them. A pending or uncertain first request returns 409 with Retry-After; keep using the same body and key while its outcome is checked.'),
|
|
46
47
|
) -> None:
|
|
47
48
|
client = sdk(ctx)
|
|
48
49
|
result = client.firewalls.create_firewall_group(
|
|
@@ -51,6 +52,7 @@ def create_firewall_group(
|
|
|
51
52
|
name=name,
|
|
52
53
|
description=description,
|
|
53
54
|
is_default=is_default,
|
|
55
|
+
idempotency_key=idempotency_key,
|
|
54
56
|
),
|
|
55
57
|
)
|
|
56
58
|
emit(result)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee gpus``: GPU VMs (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -45,7 +45,7 @@ def list_gpu_vms(
|
|
|
45
45
|
emit(result, id_field='id')
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
@app.command('create', help="Create a GPU VM.\n\nCreates a GPU VM. Returns an operation you can poll for status. Asynchronous: the response carries `operation_id`; poll `GET /compute/operations/{operation_id}` until `status` is `succeeded`, `failed`, `cancelled` or `timed_out`. If
|
|
48
|
+
@app.command('create', help="Create a GPU VM.\n\nCreates a GPU VM. Returns an operation you can poll for status. Asynchronous: the response carries `operation_id`; poll `GET /compute/operations/{operation_id}` until `status` is `succeeded`, `failed`, `cancelled` or `timed_out`. If you received an `operation_id`, poll its status. If the create response was lost, repeat the identical request body with the original `X-Idempotency-Key` to recover the same operation. Keep the same body and key while the outcome is uncertain; a new key starts a separate create. Requires scope: vm.write.\n\nbilling_catalog: pass --billing-catalog JSON, or --billing-interval HOURLY|MONTHLY to send the --plan-id plan's billing_catalog from GET /compute/plans with that billing_options entry merged in.\n\nAPI: POST /compute/gpu-vms (createGpuVm).", short_help='Create a GPU VM')
|
|
49
49
|
@handle_api_errors
|
|
50
50
|
def create_gpu_vm(
|
|
51
51
|
ctx: typer.Context,
|
|
@@ -629,6 +629,28 @@ def list_gpu_vm_backup_runs(
|
|
|
629
629
|
emit(result, collection='runs')
|
|
630
630
|
|
|
631
631
|
|
|
632
|
+
@backups_app.command('create', help="Start a GPU VM backup now.\n\nQueues a manual backup using the VM's enabled backup policy. When billing_catalog is omitted, the policy's stored catalog is used. Poll the returned run_id until the backup succeeds or fails. Requires scope: vm.write.\n\nAPI: POST /compute/gpu-vms/{vm_id}/backups/runs (createGpuVmBackupRun).", short_help='Start a GPU VM backup now')
|
|
633
|
+
@handle_api_errors
|
|
634
|
+
def create_gpu_vm_backup_run(
|
|
635
|
+
ctx: typer.Context,
|
|
636
|
+
vm_id: str = typer.Argument(..., metavar='VM_ID', show_default=False, help='Virtual machine ID.'),
|
|
637
|
+
requested_by: Optional[str] = typer.Option(None, '--requested-by', show_default=False),
|
|
638
|
+
reason: Optional[str] = typer.Option(None, '--reason', show_default=False),
|
|
639
|
+
billing_catalog: Optional[str] = typer.Option(None, '--billing-catalog', metavar='JSON', show_default=False, help="Optional override. When omitted, use the enabled policy's stored backup catalog. JSON (@FILE reads a file, @- stdin)."),
|
|
640
|
+
) -> None:
|
|
641
|
+
client = sdk(ctx)
|
|
642
|
+
result = client.gpu_vms.create_gpu_vm_backup_run(
|
|
643
|
+
vm_id,
|
|
644
|
+
**compact(
|
|
645
|
+
workspace_id=workspace(ctx),
|
|
646
|
+
requested_by=requested_by,
|
|
647
|
+
reason=reason,
|
|
648
|
+
billing_catalog=json_arg(billing_catalog, '--billing-catalog'),
|
|
649
|
+
),
|
|
650
|
+
)
|
|
651
|
+
emit(result)
|
|
652
|
+
|
|
653
|
+
|
|
632
654
|
@backups_app.command('restore', help='Restore a GPU VM backup.\n\nRestores a GPU VM backup recovery point by replacing the VM, creating a new GPU VM, or restoring a single volume. Asynchronous: the response carries `restore_id`; poll the restore status read until `status` is `succeeded`, `failed` or `cancelled`. If your client times out, read the status; never resubmit. Requires scope: vm.write.\n\nAPI: POST /compute/gpu-vms/{vm_id}/backups/actions/restore (restoreGpuVmBackup).', short_help='Restore a GPU VM backup')
|
|
633
655
|
@handle_api_errors
|
|
634
656
|
def restore_gpu_vm_backup(
|
|
@@ -678,7 +700,7 @@ def restore_gpu_vm_backup(
|
|
|
678
700
|
def list_all_gpu_vm_backup_runs(
|
|
679
701
|
ctx: typer.Context,
|
|
680
702
|
vm_id: Optional[str] = typer.Option(None, '--vm-id', show_default=False, help='Return only runs of this VM.'),
|
|
681
|
-
status: Optional[List[str]] = typer.Option(None, '--status', show_default=False, help='Return only runs in these states. Repeat the parameter for several states. One of: queued, running, succeeded, failed, cancelled.'),
|
|
703
|
+
status: Optional[List[str]] = typer.Option(None, '--status', show_default=False, help='Return only runs in these states. Repeat the parameter for several states. One of: queued, running, succeeded, failed, cancelled, deleting.'),
|
|
682
704
|
limit: Optional[int] = typer.Option(None, '--limit', show_default=False, help='Maximum number of records to return.'),
|
|
683
705
|
offset: Optional[int] = typer.Option(None, '--offset', show_default=False, help='Number of items to skip before the first returned item. Default 0.'),
|
|
684
706
|
search: Optional[str] = typer.Option(None, '--search', show_default=False, help='Return only backup runs whose fields contain this text.'),
|
|
@@ -730,3 +752,16 @@ def get_gpu_vm_backup_restore(
|
|
|
730
752
|
client = sdk(ctx)
|
|
731
753
|
result = client.gpu_vms.get_gpu_vm_backup_restore(restore_id, **compact(workspace_id=workspace(ctx)))
|
|
732
754
|
emit(result)
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
@backups_app.command('restore-cancel', help='Cancel a queued GPU VM backup restore.\n\nCancels a restore only while it is queued and has not started. A running restore is refused with 409. Repeating a successful cancellation returns the cancelled restore. Requires scope: vm.write.\n\nAPI: POST /compute/gpu-vm-backups/restores/{restore_id}/actions/cancel (cancelGpuVmBackupRestore).', short_help='Cancel a queued GPU VM backup restore')
|
|
758
|
+
@handle_api_errors
|
|
759
|
+
def cancel_gpu_vm_backup_restore(
|
|
760
|
+
ctx: typer.Context,
|
|
761
|
+
restore_id: str = typer.Argument(..., metavar='RESTORE_ID', show_default=False, help='Snapshot or backup restore operation ID.'),
|
|
762
|
+
yes: bool = typer.Option(False, '--yes', '-y', help='Do not ask for confirmation.'),
|
|
763
|
+
) -> None:
|
|
764
|
+
confirm(ctx, yes, f'Cancel a queued GPU VM backup restore {restore_id}?')
|
|
765
|
+
client = sdk(ctx)
|
|
766
|
+
result = client.gpu_vms.cancel_gpu_vm_backup_restore(restore_id, **compact(workspace_id=workspace(ctx)))
|
|
767
|
+
emit(result)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee load-balancers``: L4 and L7 load balancers (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee ops``: Async compute operations of cloud and GPU VMs (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee registries``: Container Registry (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@ sboms_app = typer.Typer(help='Software bills of materials', no_args_is_help=True
|
|
|
28
28
|
app.add_typer(sboms_app, name='sboms')
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
@app.command('name-check', help='Check registry name availability.\n\
|
|
31
|
+
@app.command('name-check', help='Check registry name availability.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Checks whether a registry name is free across IBEE. Names are global and never reassigned; unavailable names come with suggestions. Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registry-names/{registry_name}/availability (checkContainerRegistryNameAvailability).', short_help='Check registry name availability')
|
|
32
32
|
@handle_api_errors
|
|
33
33
|
def check_container_registry_name_availability(
|
|
34
34
|
ctx: typer.Context,
|
|
@@ -44,7 +44,7 @@ def check_container_registry_name_availability(
|
|
|
44
44
|
emit(result)
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
@app.command('list', help="List registries.\n\
|
|
47
|
+
@app.command('list', help="List registries.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Lists the workspace's registries, newest first. Paged with `page` and `page_size` (at most 100). Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries (listContainerRegistries).", short_help='List registries')
|
|
48
48
|
@handle_api_errors
|
|
49
49
|
def list_container_registries(
|
|
50
50
|
ctx: typer.Context,
|
|
@@ -62,7 +62,7 @@ def list_container_registries(
|
|
|
62
62
|
emit(result, collection='items', id_field='registry_id')
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
@app.command('create', help='Create registry.\n\
|
|
65
|
+
@app.command('create', help='Create registry.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Creates a registry with a storage plan (`billing_catalog.sku_code`). The registry service asks Billing whether the workspace may buy that plan and refuses with 403 `billing_resource_not_eligible` (and a `reason`) when it may not. Returns 201 when the registry is active, or 202 while provisioning finishes in the background; poll the registry until `observed_state` is `ACTIVE`. Requires scope: container-registry.write. Asynchronous: `observed_state` moves from `PROVISIONING` to `ACTIVE` or `ERROR`; poll `GET /container-registry/registries/{registry_id}`.\n\nAPI: POST /container-registry/registries (createContainerRegistry).', short_help='Create registry')
|
|
66
66
|
@handle_api_errors
|
|
67
67
|
def create_container_registry(
|
|
68
68
|
ctx: typer.Context,
|
|
@@ -88,7 +88,7 @@ def create_container_registry(
|
|
|
88
88
|
emit(result)
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
@app.command('get', help='Get registry.\n\
|
|
91
|
+
@app.command('get', help='Get registry.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns one registry, including its visibility, pull policy and provisioning state. A deleted registry is still returned, with `deleted_at` set. Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries/{registry_id} (getContainerRegistry).', short_help='Get registry')
|
|
92
92
|
@handle_api_errors
|
|
93
93
|
def get_container_registry(
|
|
94
94
|
ctx: typer.Context,
|
|
@@ -104,7 +104,7 @@ def get_container_registry(
|
|
|
104
104
|
emit(result)
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
@app.command('delete', help='Delete registry.\n\
|
|
107
|
+
@app.command('delete', help='Delete registry.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Starts deleting a registry; returns 202 with `observed_state: DELETING`. The registry must be empty: 409 with `detail.code: registry_not_empty` otherwise (see Empty registry). The name is never reused. Asynchronous: `observed_state` moves through `DELETING` to `DELETED`; poll `GET /container-registry/registries/{registry_id}` until it answers 404 or `DELETED`. Requires scope: container-registry.write.\n\nAPI: DELETE /container-registry/registries/{registry_id} (deleteContainerRegistry).', short_help='Delete registry')
|
|
108
108
|
@handle_api_errors
|
|
109
109
|
def delete_container_registry(
|
|
110
110
|
ctx: typer.Context,
|
|
@@ -124,7 +124,7 @@ def delete_container_registry(
|
|
|
124
124
|
emit(result)
|
|
125
125
|
|
|
126
126
|
|
|
127
|
-
@app.command('visibility', help='Change registry visibility.\n\
|
|
127
|
+
@app.command('visibility', help='Change registry visibility.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Makes a registry private or public. Public requires `acknowledge_public_egress_charges: true`, because anonymous pull bandwidth is billed to the workspace. Returns 202 while the change is applied. Requires scope: container-registry.write.\n\nAPI: PATCH /container-registry/registries/{registry_id}/visibility (updateContainerRegistryVisibility).', short_help='Change registry visibility')
|
|
128
128
|
@handle_api_errors
|
|
129
129
|
def update_container_registry_visibility(
|
|
130
130
|
ctx: typer.Context,
|
|
@@ -144,7 +144,7 @@ def update_container_registry_visibility(
|
|
|
144
144
|
emit(result)
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
@app.command('retry', help="Retry registry provisioning.\n\
|
|
147
|
+
@app.command('retry', help="Retry registry provisioning.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Queues the registry's pending change (create, update, upgrade or delete) to run again, for example after `observed_state: ERROR`. Requires scope: container-registry.write.\n\nAPI: POST /container-registry/registries/{registry_id}/reconcile (retryContainerRegistryProvisioning).", short_help='Retry registry provisioning')
|
|
148
148
|
@handle_api_errors
|
|
149
149
|
def retry_container_registry_provisioning(
|
|
150
150
|
ctx: typer.Context,
|
|
@@ -160,7 +160,7 @@ def retry_container_registry_provisioning(
|
|
|
160
160
|
emit(result)
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
@plan_app.command('get', help="Get registry storage plan.\n\
|
|
163
|
+
@plan_app.command('get', help="Get registry storage plan.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns the registry's current storage plan, a pending upgrade if there is one, and the status of the change being applied. Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries/{registry_id}/package (getContainerRegistryPackage).", short_help='Get registry storage plan')
|
|
164
164
|
@handle_api_errors
|
|
165
165
|
def get_container_registry_package(
|
|
166
166
|
ctx: typer.Context,
|
|
@@ -176,7 +176,7 @@ def get_container_registry_package(
|
|
|
176
176
|
emit(result)
|
|
177
177
|
|
|
178
178
|
|
|
179
|
-
@plan_app.command('upgrade', help='Upgrade registry storage plan.\n\
|
|
179
|
+
@plan_app.command('upgrade', help='Upgrade registry storage plan.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Moves an active registry to a larger storage plan. Only larger quotas are accepted and only one change can be pending (409 otherwise). The registry service asks Billing first and refuses with 403 `billing_resource_not_eligible` when the plan is not allowed. Send an `Idempotency-Key` header: a retry with the same key and plan returns the original operation (202 while pending, 200 once applied); the same key with a different plan returns 409. Requires scope: container-registry.write. Asynchronous: the package operation moves from `PENDING` to `APPLIED` or `CANCELLED`; read `GET /container-registry/registries/{registry_id}/package`.\n\nAPI: POST /container-registry/registries/{registry_id}/upgrade (upgradeContainerRegistryPackage).', short_help='Upgrade registry storage plan')
|
|
180
180
|
@handle_api_errors
|
|
181
181
|
def upgrade_container_registry_package(
|
|
182
182
|
ctx: typer.Context,
|
|
@@ -196,7 +196,7 @@ def upgrade_container_registry_package(
|
|
|
196
196
|
emit(result)
|
|
197
197
|
|
|
198
198
|
|
|
199
|
-
@tokens_app.command('list', help='List registry access tokens.\n\
|
|
199
|
+
@tokens_app.command('list', help='List registry access tokens.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Lists the access tokens that can use this registry, newest first. Secrets are never returned. Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries/{registry_id}/access-tokens (listContainerRegistryAccessTokens).', short_help='List registry access tokens')
|
|
200
200
|
@handle_api_errors
|
|
201
201
|
def list_container_registry_access_tokens(
|
|
202
202
|
ctx: typer.Context,
|
|
@@ -214,7 +214,7 @@ def list_container_registry_access_tokens(
|
|
|
214
214
|
emit(result)
|
|
215
215
|
|
|
216
216
|
|
|
217
|
-
@tokens_app.command('create', help='Create registry access token.\n\
|
|
217
|
+
@tokens_app.command('create', help='Create registry access token.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Creates a Docker login credential for the registry. The `username` and `secret` are returned once and cannot be read again. The registry must be active, and the registry service asks Billing whether the workspace may create credentials. Requires scope: container-registry.write.\n\nAPI: POST /container-registry/registries/{registry_id}/access-tokens (createContainerRegistryAccessToken).', short_help='Create registry access token')
|
|
218
218
|
@handle_api_errors
|
|
219
219
|
def create_container_registry_access_token(
|
|
220
220
|
ctx: typer.Context,
|
|
@@ -240,7 +240,7 @@ def create_container_registry_access_token(
|
|
|
240
240
|
emit(result)
|
|
241
241
|
|
|
242
242
|
|
|
243
|
-
@tokens_app.command('rotate', help='Rotate registry access token.\n\
|
|
243
|
+
@tokens_app.command('rotate', help='Rotate registry access token.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Issues a new secret for an active token; the old secret stops working immediately. The new secret is returned once. Revoked or expired tokens return 409. Requires scope: container-registry.write.\n\nAPI: POST /container-registry/registries/{registry_id}/access-tokens/{token_id}/rotate (rotateContainerRegistryAccessToken).', short_help='Rotate registry access token')
|
|
244
244
|
@handle_api_errors
|
|
245
245
|
def rotate_container_registry_access_token(
|
|
246
246
|
ctx: typer.Context,
|
|
@@ -258,7 +258,7 @@ def rotate_container_registry_access_token(
|
|
|
258
258
|
emit(result)
|
|
259
259
|
|
|
260
260
|
|
|
261
|
-
@tokens_app.command('revoke', help='Revoke registry access token.\n\
|
|
261
|
+
@tokens_app.command('revoke', help='Revoke registry access token.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Revokes a token immediately. Revoking an already revoked token succeeds. Requires scope: container-registry.write.\n\nAPI: DELETE /container-registry/registries/{registry_id}/access-tokens/{token_id} (revokeContainerRegistryAccessToken).', short_help='Revoke registry access token')
|
|
262
262
|
@handle_api_errors
|
|
263
263
|
def revoke_container_registry_access_token(
|
|
264
264
|
ctx: typer.Context,
|
|
@@ -278,7 +278,7 @@ def revoke_container_registry_access_token(
|
|
|
278
278
|
emit(result)
|
|
279
279
|
|
|
280
280
|
|
|
281
|
-
@repositories_app.command('list', help="List repositories.\n\
|
|
281
|
+
@repositories_app.command('list', help="List repositories.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Lists an active registry's repositories. Paged with `page` and `page_size` (at most 100). Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries/{registry_id}/repositories (listContainerRegistryRepositories).", short_help='List repositories')
|
|
282
282
|
@handle_api_errors
|
|
283
283
|
def list_container_registry_repositories(
|
|
284
284
|
ctx: typer.Context,
|
|
@@ -302,7 +302,7 @@ def list_container_registry_repositories(
|
|
|
302
302
|
emit(result, collection='items')
|
|
303
303
|
|
|
304
304
|
|
|
305
|
-
@repositories_app.command('delete', help='Delete repository.\n\
|
|
305
|
+
@repositories_app.command('delete', help='Delete repository.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Permanently deletes a repository and all of its images. Requires `confirm=true`. Deleting a repository that does not exist answers 200. Requires scope: container-registry.write.\n\nAPI: DELETE /container-registry/registries/{registry_id}/repositories/{repository_name} (deleteContainerRegistryRepository).', short_help='Delete repository')
|
|
306
306
|
@handle_api_errors
|
|
307
307
|
def delete_container_registry_repository(
|
|
308
308
|
ctx: typer.Context,
|
|
@@ -324,7 +324,7 @@ def delete_container_registry_repository(
|
|
|
324
324
|
emit(result)
|
|
325
325
|
|
|
326
326
|
|
|
327
|
-
@artifacts_app.command('list', help='List artifacts.\n\
|
|
327
|
+
@artifacts_app.command('list', help='List artifacts.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Lists the images (artifacts) in one repository with their tags and scan overview. Paged with `page` and `page_size` (at most 100). Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries/{registry_id}/artifacts (listContainerRegistryArtifacts).', short_help='List artifacts')
|
|
328
328
|
@handle_api_errors
|
|
329
329
|
def list_container_registry_artifacts(
|
|
330
330
|
ctx: typer.Context,
|
|
@@ -346,7 +346,7 @@ def list_container_registry_artifacts(
|
|
|
346
346
|
emit(result, collection='items')
|
|
347
347
|
|
|
348
348
|
|
|
349
|
-
@artifacts_app.command('delete', help='Delete artifact.\n\
|
|
349
|
+
@artifacts_app.command('delete', help='Delete artifact.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Permanently deletes one image and every tag that points to it. Requires `confirm=true`. Deleting an artifact that does not exist answers 200. Requires scope: container-registry.write.\n\nAPI: DELETE /container-registry/registries/{registry_id}/artifacts/{reference} (deleteContainerRegistryArtifact).', short_help='Delete artifact')
|
|
350
350
|
@handle_api_errors
|
|
351
351
|
def delete_container_registry_artifact(
|
|
352
352
|
ctx: typer.Context,
|
|
@@ -370,7 +370,7 @@ def delete_container_registry_artifact(
|
|
|
370
370
|
emit(result)
|
|
371
371
|
|
|
372
372
|
|
|
373
|
-
@artifacts_app.command('rescan', help='Rescan artifact.\n\
|
|
373
|
+
@artifacts_app.command('rescan', help='Rescan artifact.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Queues a new vulnerability scan of one image. Existing results stay visible until it completes. Requires scope: container-registry.write.\n\nAPI: POST /container-registry/registries/{registry_id}/artifacts/{reference}/scan (scanContainerRegistryArtifact).', short_help='Rescan artifact')
|
|
374
374
|
@handle_api_errors
|
|
375
375
|
def scan_container_registry_artifact(
|
|
376
376
|
ctx: typer.Context,
|
|
@@ -390,7 +390,7 @@ def scan_container_registry_artifact(
|
|
|
390
390
|
emit(result)
|
|
391
391
|
|
|
392
392
|
|
|
393
|
-
@security_app.command('get', help='Get registry security settings.\n\
|
|
393
|
+
@security_app.command('get', help='Get registry security settings.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns the vulnerability pull policy. Scanning and SBOM generation always run on push. Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries/{registry_id}/security/settings (getContainerRegistrySecuritySettings).', short_help='Get registry security settings')
|
|
394
394
|
@handle_api_errors
|
|
395
395
|
def get_container_registry_security_settings(
|
|
396
396
|
ctx: typer.Context,
|
|
@@ -406,7 +406,7 @@ def get_container_registry_security_settings(
|
|
|
406
406
|
emit(result)
|
|
407
407
|
|
|
408
408
|
|
|
409
|
-
@security_app.command('update', help='Update registry security settings.\n\
|
|
409
|
+
@security_app.command('update', help='Update registry security settings.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Sets the vulnerability pull policy: `ALLOW`, or block pulls of images with findings at or above `CRITICAL`, `HIGH`, `MEDIUM` or `LOW`. Returns 202 while the change is applied. Requires scope: container-registry.write.\n\nAPI: PATCH /container-registry/registries/{registry_id}/security/settings (updateContainerRegistrySecuritySettings).', short_help='Update registry security settings')
|
|
410
410
|
@handle_api_errors
|
|
411
411
|
def update_container_registry_security_settings(
|
|
412
412
|
ctx: typer.Context,
|
|
@@ -424,7 +424,7 @@ def update_container_registry_security_settings(
|
|
|
424
424
|
emit(result)
|
|
425
425
|
|
|
426
426
|
|
|
427
|
-
@vulnerabilities_app.command('summary', help='Get vulnerability summary.\n\
|
|
427
|
+
@vulnerabilities_app.command('summary', help='Get vulnerability summary.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns the number of vulnerability findings in an active registry, by severity. Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries/{registry_id}/security/vulnerabilities/summary (getContainerRegistryVulnerabilitySummary).', short_help='Get vulnerability summary')
|
|
428
428
|
@handle_api_errors
|
|
429
429
|
def get_container_registry_vulnerability_summary(
|
|
430
430
|
ctx: typer.Context,
|
|
@@ -440,7 +440,7 @@ def get_container_registry_vulnerability_summary(
|
|
|
440
440
|
emit(result)
|
|
441
441
|
|
|
442
442
|
|
|
443
|
-
@vulnerabilities_app.command('list', help='List vulnerabilities.\n\
|
|
443
|
+
@vulnerabilities_app.command('list', help='List vulnerabilities.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Lists vulnerability findings in an active registry, with optional filters. Paged with `page` and `page_size` (at most 100). Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries/{registry_id}/security/vulnerabilities (listContainerRegistryVulnerabilities).', short_help='List vulnerabilities')
|
|
444
444
|
@handle_api_errors
|
|
445
445
|
def list_container_registry_vulnerabilities(
|
|
446
446
|
ctx: typer.Context,
|
|
@@ -472,7 +472,7 @@ def list_container_registry_vulnerabilities(
|
|
|
472
472
|
emit(result, collection='items')
|
|
473
473
|
|
|
474
474
|
|
|
475
|
-
@sboms_app.command('list', help='List SBOMs.\n\
|
|
475
|
+
@sboms_app.command('list', help='List SBOMs.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Lists the SBOMs of one repository, one per image digest. Paged with `page` and `page_size` (at most 100). Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries/{registry_id}/security/sboms (listContainerRegistrySboms).', short_help='List SBOMs')
|
|
476
476
|
@handle_api_errors
|
|
477
477
|
def list_container_registry_sboms(
|
|
478
478
|
ctx: typer.Context,
|
|
@@ -494,7 +494,7 @@ def list_container_registry_sboms(
|
|
|
494
494
|
emit(result, collection='items', id_field='artifact_digest')
|
|
495
495
|
|
|
496
496
|
|
|
497
|
-
@sboms_app.command('get', help="Get SBOM.\n\
|
|
497
|
+
@sboms_app.command('get', help="Get SBOM.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns one image's SBOM components and their relationships. `q` filters components by name, version, type, license, supplier or package URL. Components are paged with `page` and `page_size` (at most 100). Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries/{registry_id}/security/sboms/{artifact_digest} (getContainerRegistrySbom).", short_help='Get SBOM')
|
|
498
498
|
@handle_api_errors
|
|
499
499
|
def get_container_registry_sbom(
|
|
500
500
|
ctx: typer.Context,
|
|
@@ -520,7 +520,7 @@ def get_container_registry_sbom(
|
|
|
520
520
|
emit(result)
|
|
521
521
|
|
|
522
522
|
|
|
523
|
-
@sboms_app.command('download', help="Download SBOM.\n\
|
|
523
|
+
@sboms_app.command('download', help="Download SBOM.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Downloads one image's full SBOM document as a JSON attachment (SPDX or CycloneDX). Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries/{registry_id}/security/sboms/{artifact_digest}/download (downloadContainerRegistrySbom).", short_help='Download SBOM')
|
|
524
524
|
@handle_api_errors
|
|
525
525
|
def download_container_registry_sbom(
|
|
526
526
|
ctx: typer.Context,
|
|
@@ -540,7 +540,7 @@ def download_container_registry_sbom(
|
|
|
540
540
|
write_bytes(result)
|
|
541
541
|
|
|
542
542
|
|
|
543
|
-
@app.command('metrics', help='Get registry metrics.\n\
|
|
543
|
+
@app.command('metrics', help='Get registry metrics.\n\nTemporarily paused on the public API. This client method is retained for compatibility. An empty HTTP 404 means the public operation is paused; it does not prove the resource was deleted. Returns storage use against the plan quota and outbound bandwidth over the last 24 hours, 7 days or 30 days. Bytes are decimal (1 GB = 1,000,000,000 bytes). Requires scope: container-registry.read.\n\nAPI: GET /container-registry/registries/{registry_id}/metrics (getContainerRegistryMetrics).', short_help='Get registry metrics')
|
|
544
544
|
@handle_api_errors
|
|
545
545
|
def get_container_registry_metrics(
|
|
546
546
|
ctx: typer.Context,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee reserved-ips``: Reserved IPs (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -31,9 +31,17 @@ def reserve_ip(
|
|
|
31
31
|
ctx: typer.Context,
|
|
32
32
|
site_id: str = typer.Option(..., '--site-id', show_default=False, help="Site whose public IP pool allocates the address. Copy an available `site_id` from `GET /networking/sites`; use the target VM or VPC's site when the address will be attached."),
|
|
33
33
|
label: Optional[str] = typer.Option(None, '--label', show_default=False, help='Optional label for the address (up to 120 characters), shown as its name in the portal.'),
|
|
34
|
+
idempotency_key: Optional[str] = typer.Option(None, '--idempotency-key', show_default=False, help='Retry the identical networking create with the same key to receive its dispatched create outcome for 24 hours. The key is scoped to organization, workspace and path. Reusing a dispatched key with a different request returns 409. Admission or validation refusals before a create is dispatched may be retried after correcting them. A pending or uncertain first request returns 409 with Retry-After; keep using the same body and key while its outcome is checked.'),
|
|
34
35
|
) -> None:
|
|
35
36
|
client = sdk(ctx)
|
|
36
|
-
result = client.reserved_ips.reserve_ip(
|
|
37
|
+
result = client.reserved_ips.reserve_ip(
|
|
38
|
+
**compact(
|
|
39
|
+
workspace_id=workspace(ctx),
|
|
40
|
+
site_id=site_id,
|
|
41
|
+
label=label,
|
|
42
|
+
idempotency_key=idempotency_key,
|
|
43
|
+
),
|
|
44
|
+
)
|
|
37
45
|
emit(result)
|
|
38
46
|
|
|
39
47
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee secrets``: Secret Store: stores, secrets, application identities and their scopes (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee vms``: Cloud VMs (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -49,7 +49,7 @@ def list_cloud_vms(
|
|
|
49
49
|
emit(result, id_field='id')
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
@app.command('create', help="Create a cloud VM.\n\nCreates a cloud VM. Returns an operation you can poll for status. Asynchronous: the response carries `operation_id`; poll `GET /compute/operations/{operation_id}` until `status` is `succeeded`, `failed`, `cancelled` or `timed_out`. If
|
|
52
|
+
@app.command('create', help="Create a cloud VM.\n\nCreates a cloud VM. Returns an operation you can poll for status. Asynchronous: the response carries `operation_id`; poll `GET /compute/operations/{operation_id}` until `status` is `succeeded`, `failed`, `cancelled` or `timed_out`. If you received an `operation_id`, poll its status. If the create response was lost, repeat the identical request body with the original `X-Idempotency-Key` to recover the same operation. Keep the same body and key while the outcome is uncertain; a new key starts a separate create. Requires scope: vm.write.\n\nbilling_catalog: pass --billing-catalog JSON, or --billing-interval HOURLY|MONTHLY to send the --plan-id plan's billing_catalog from GET /compute/plans with that billing_options entry merged in.\n\nAPI: POST /compute/cloud-vms (createCloudVm).", short_help='Create a cloud VM')
|
|
53
53
|
@handle_api_errors
|
|
54
54
|
def create_cloud_vm(
|
|
55
55
|
ctx: typer.Context,
|
|
@@ -629,6 +629,28 @@ def list_cloud_vm_backup_runs(
|
|
|
629
629
|
emit(result, collection='runs')
|
|
630
630
|
|
|
631
631
|
|
|
632
|
+
@backups_app.command('create', help="Start a cloud VM backup now.\n\nQueues a manual backup using the VM's enabled backup policy. When billing_catalog is omitted, the policy's stored catalog is used. Poll the returned run_id until the backup succeeds or fails. Requires scope: vm.write.\n\nAPI: POST /compute/cloud-vms/{vm_id}/backups/runs (createCloudVmBackupRun).", short_help='Start a cloud VM backup now')
|
|
633
|
+
@handle_api_errors
|
|
634
|
+
def create_cloud_vm_backup_run(
|
|
635
|
+
ctx: typer.Context,
|
|
636
|
+
vm_id: str = typer.Argument(..., metavar='VM_ID', show_default=False, help='Virtual machine ID.'),
|
|
637
|
+
requested_by: Optional[str] = typer.Option(None, '--requested-by', show_default=False),
|
|
638
|
+
reason: Optional[str] = typer.Option(None, '--reason', show_default=False),
|
|
639
|
+
billing_catalog: Optional[str] = typer.Option(None, '--billing-catalog', metavar='JSON', show_default=False, help="Optional override. When omitted, use the enabled policy's stored backup catalog. JSON (@FILE reads a file, @- stdin)."),
|
|
640
|
+
) -> None:
|
|
641
|
+
client = sdk(ctx)
|
|
642
|
+
result = client.cloud_vms.create_cloud_vm_backup_run(
|
|
643
|
+
vm_id,
|
|
644
|
+
**compact(
|
|
645
|
+
workspace_id=workspace(ctx),
|
|
646
|
+
requested_by=requested_by,
|
|
647
|
+
reason=reason,
|
|
648
|
+
billing_catalog=json_arg(billing_catalog, '--billing-catalog'),
|
|
649
|
+
),
|
|
650
|
+
)
|
|
651
|
+
emit(result)
|
|
652
|
+
|
|
653
|
+
|
|
632
654
|
@backups_app.command('restore', help='Restore a cloud VM backup.\n\nRestores a cloud VM backup recovery point by replacing the VM, creating a new VM, or restoring a single volume. Asynchronous: the response carries `restore_id`; poll the restore status read until `status` is `succeeded`, `failed` or `cancelled`. If your client times out, read the status; never resubmit. Requires scope: vm.write.\n\nAPI: POST /compute/cloud-vms/{vm_id}/backups/actions/restore (restoreCloudVmBackup).', short_help='Restore a cloud VM backup')
|
|
633
655
|
@handle_api_errors
|
|
634
656
|
def restore_cloud_vm_backup(
|
|
@@ -678,7 +700,7 @@ def restore_cloud_vm_backup(
|
|
|
678
700
|
def list_all_cloud_vm_backup_runs(
|
|
679
701
|
ctx: typer.Context,
|
|
680
702
|
vm_id: Optional[str] = typer.Option(None, '--vm-id', show_default=False, help='Return only runs of this VM.'),
|
|
681
|
-
status: Optional[List[str]] = typer.Option(None, '--status', show_default=False, help='Return only runs in these states. Repeat the parameter for several states. One of: queued, running, succeeded, failed, cancelled.'),
|
|
703
|
+
status: Optional[List[str]] = typer.Option(None, '--status', show_default=False, help='Return only runs in these states. Repeat the parameter for several states. One of: queued, running, succeeded, failed, cancelled, deleting.'),
|
|
682
704
|
limit: Optional[int] = typer.Option(None, '--limit', show_default=False, help='Maximum number of records to return.'),
|
|
683
705
|
offset: Optional[int] = typer.Option(None, '--offset', show_default=False, help='Number of items to skip before the first returned item. Default 0.'),
|
|
684
706
|
search: Optional[str] = typer.Option(None, '--search', show_default=False, help='Return only backup runs whose fields contain this text.'),
|
|
@@ -730,3 +752,16 @@ def get_cloud_vm_backup_restore(
|
|
|
730
752
|
client = sdk(ctx)
|
|
731
753
|
result = client.cloud_vms.get_cloud_vm_backup_restore(restore_id, **compact(workspace_id=workspace(ctx)))
|
|
732
754
|
emit(result)
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
@backups_app.command('restore-cancel', help='Cancel a queued cloud VM backup restore.\n\nCancels a restore only while it is queued and has not started. A running restore is refused with 409. Repeating a successful cancellation returns the cancelled restore. Requires scope: vm.write.\n\nAPI: POST /compute/cloud-vm-backups/restores/{restore_id}/actions/cancel (cancelCloudVmBackupRestore).', short_help='Cancel a queued cloud VM backup restore')
|
|
758
|
+
@handle_api_errors
|
|
759
|
+
def cancel_cloud_vm_backup_restore(
|
|
760
|
+
ctx: typer.Context,
|
|
761
|
+
restore_id: str = typer.Argument(..., metavar='RESTORE_ID', show_default=False, help='Snapshot or backup restore operation ID.'),
|
|
762
|
+
yes: bool = typer.Option(False, '--yes', '-y', help='Do not ask for confirmation.'),
|
|
763
|
+
) -> None:
|
|
764
|
+
confirm(ctx, yes, f'Cancel a queued cloud VM backup restore {restore_id}?')
|
|
765
|
+
client = sdk(ctx)
|
|
766
|
+
result = client.cloud_vms.cancel_cloud_vm_backup_restore(restore_id, **compact(workspace_id=workspace(ctx)))
|
|
767
|
+
emit(result)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.
|
|
1
|
+
# Generated by scripts/generate_commands.py from contract/ibee-cloud.yaml (IBEE Solutions API 0.9.0).
|
|
2
2
|
# Do not edit by hand: change the contract or the generator and run the script again.
|
|
3
3
|
"""``ibee vpcs``: VPCs, subnets, nodes, NAT gateways and port forwarding (one command per contract operation)."""
|
|
4
4
|
|
|
@@ -57,6 +57,7 @@ def create_vpc(
|
|
|
57
57
|
default_subnet_cidr: Optional[str] = typer.Option(None, '--default-subnet-cidr', show_default=False, help='CIDR for that first subnet; chosen automatically when omitted.'),
|
|
58
58
|
is_default: Optional[bool] = typer.Option(None, '--is-default/--no-is-default', show_default=False, help="Mark the VPC as the workspace's default VPC. Default false."),
|
|
59
59
|
connectivity_type: Optional[str] = typer.Option(None, '--connectivity-type', show_default=False, help="The VPC's internet model; the server uses `public` when this is omitted. `public` keeps dedicated public IPs available to its VMs. `private` has no shared public edge, but a VM can still be given a Reserved IP. `nat_gateway` is a private VPC with managed outbound NAT and refuses dedicated public IPs."),
|
|
60
|
+
idempotency_key: Optional[str] = typer.Option(None, '--idempotency-key', show_default=False, help='Retry the identical networking create with the same key to receive its dispatched create outcome for 24 hours. The key is scoped to organization, workspace and path. Reusing a dispatched key with a different request returns 409. Admission or validation refusals before a create is dispatched may be retried after correcting them. A pending or uncertain first request returns 409 with Retry-After; keep using the same body and key while its outcome is checked.'),
|
|
60
61
|
) -> None:
|
|
61
62
|
client = sdk(ctx)
|
|
62
63
|
result = client.vpcs.create_vpc(
|
|
@@ -72,6 +73,7 @@ def create_vpc(
|
|
|
72
73
|
default_subnet_cidr=default_subnet_cidr,
|
|
73
74
|
is_default=is_default,
|
|
74
75
|
connectivity_type=connectivity_type,
|
|
76
|
+
idempotency_key=idempotency_key,
|
|
75
77
|
),
|
|
76
78
|
)
|
|
77
79
|
emit(result)
|
|
@@ -142,6 +144,7 @@ def create_vpc_subnet(
|
|
|
142
144
|
auto_cidr: Optional[bool] = typer.Option(None, '--auto-cidr/--no-auto-cidr', show_default=False, help='Let the service choose a free CIDR when `cidr` is omitted. Default true.'),
|
|
143
145
|
prefix_length: Optional[int] = typer.Option(None, '--prefix-length', show_default=False, help='Prefix length to use for an automatically chosen CIDR.'),
|
|
144
146
|
dns: Optional[List[str]] = typer.Option(None, '--dns', show_default=False, help='DNS resolvers handed to instances in the subnet. Default `1.1.1.1` and `8.8.8.8`.'),
|
|
147
|
+
idempotency_key: Optional[str] = typer.Option(None, '--idempotency-key', show_default=False, help='Retry the identical networking create with the same key to receive its dispatched create outcome for 24 hours. The key is scoped to organization, workspace and path. Reusing a dispatched key with a different request returns 409. Admission or validation refusals before a create is dispatched may be retried after correcting them. A pending or uncertain first request returns 409 with Retry-After; keep using the same body and key while its outcome is checked.'),
|
|
145
148
|
) -> None:
|
|
146
149
|
client = sdk(ctx)
|
|
147
150
|
result = client.vpcs.create_vpc_subnet(
|
|
@@ -153,6 +156,7 @@ def create_vpc_subnet(
|
|
|
153
156
|
auto_cidr=auto_cidr,
|
|
154
157
|
prefix_length=prefix_length,
|
|
155
158
|
dns=dns,
|
|
159
|
+
idempotency_key=idempotency_key,
|
|
156
160
|
),
|
|
157
161
|
)
|
|
158
162
|
emit(result)
|
|
@@ -254,6 +258,7 @@ def create_nat_gateway(
|
|
|
254
258
|
subnet_id: Optional[str] = typer.Option(None, '--subnet-id', show_default=False, help='Subnet the gateway is placed in; chosen by the service when omitted.'),
|
|
255
259
|
reserved_public_ip_id: Optional[str] = typer.Option(None, '--reserved-public-ip-id', show_default=False, help="Reserved IP to use as the gateway's public address; a platform-assigned address is used when omitted."),
|
|
256
260
|
name: Optional[str] = typer.Option(None, '--name', show_default=False, help='Display name of the gateway. Default `NAT Gateway`.'),
|
|
261
|
+
idempotency_key: Optional[str] = typer.Option(None, '--idempotency-key', show_default=False, help='Retry the identical networking create with the same key to receive its dispatched create outcome for 24 hours. The key is scoped to organization, workspace and path. Reusing a dispatched key with a different request returns 409. Admission or validation refusals before a create is dispatched may be retried after correcting them. A pending or uncertain first request returns 409 with Retry-After; keep using the same body and key while its outcome is checked.'),
|
|
257
262
|
) -> None:
|
|
258
263
|
client = sdk(ctx)
|
|
259
264
|
result = client.vpcs.create_nat_gateway(
|
|
@@ -263,6 +268,7 @@ def create_nat_gateway(
|
|
|
263
268
|
subnet_id=subnet_id,
|
|
264
269
|
reserved_public_ip_id=reserved_public_ip_id,
|
|
265
270
|
name=name,
|
|
271
|
+
idempotency_key=idempotency_key,
|
|
266
272
|
),
|
|
267
273
|
)
|
|
268
274
|
emit(result)
|
|
@@ -343,6 +349,7 @@ def create_nat_port_forwarding_rule(
|
|
|
343
349
|
target_vm_ids: Optional[List[str]] = typer.Option(None, '--target-vm-ids', show_default=False, help='VMs that announce the Virtual IP. Required with `vip`, must be empty with `vm`.'),
|
|
344
350
|
note: Optional[str] = typer.Option(None, '--note', show_default=False, help='Free-text note stored with the rule. Default empty.'),
|
|
345
351
|
enabled: Optional[bool] = typer.Option(None, '--enabled/--no-enabled', show_default=False, help='Whether the rule is applied. Default true.'),
|
|
352
|
+
idempotency_key: Optional[str] = typer.Option(None, '--idempotency-key', show_default=False, help='Retry the identical networking create with the same key to receive its dispatched create outcome for 24 hours. The key is scoped to organization, workspace and path. Reusing a dispatched key with a different request returns 409. Admission or validation refusals before a create is dispatched may be retried after correcting them. A pending or uncertain first request returns 409 with Retry-After; keep using the same body and key while its outcome is checked.'),
|
|
346
353
|
) -> None:
|
|
347
354
|
client = sdk(ctx)
|
|
348
355
|
result = client.vpcs.create_nat_port_forwarding_rule(
|
|
@@ -359,6 +366,7 @@ def create_nat_port_forwarding_rule(
|
|
|
359
366
|
target_vm_ids=target_vm_ids,
|
|
360
367
|
note=note,
|
|
361
368
|
enabled=enabled,
|
|
369
|
+
idempotency_key=idempotency_key,
|
|
362
370
|
),
|
|
363
371
|
)
|
|
364
372
|
emit(result)
|
|
@@ -9,6 +9,8 @@ from typing import Optional
|
|
|
9
9
|
import typer
|
|
10
10
|
from ibee import Ibee, IbeeEnvironment
|
|
11
11
|
|
|
12
|
+
from . import __version__
|
|
13
|
+
|
|
12
14
|
try: # the SDK's configuration error (bad base URL), raised before anything is sent
|
|
13
15
|
from ibee.client import IbeeValidationError
|
|
14
16
|
except ImportError: # pragma: no cover - an SDK without it
|
|
@@ -19,6 +21,9 @@ except ImportError: # pragma: no cover - an SDK without it
|
|
|
19
21
|
OUTPUT_MODES = ("table", "json", "yaml", "id")
|
|
20
22
|
TRUTHY_ENV_VALUES = frozenset({"1", "true", "yes"})
|
|
21
23
|
REQUEST_TIMEOUT_SECONDS = 30
|
|
24
|
+
# Replaces the SDK's own ``ibee/<version>`` so IBEE can tell CLI calls from SDK calls
|
|
25
|
+
# (Activity Logs show the tool that made each change); the SDK's other headers stay.
|
|
26
|
+
USER_AGENT = f"ibee-cli/{__version__}"
|
|
22
27
|
|
|
23
28
|
|
|
24
29
|
@dataclass
|
|
@@ -67,6 +72,7 @@ def get_client(settings: Settings) -> Ibee:
|
|
|
67
72
|
base_url=explicit,
|
|
68
73
|
environment=IbeeEnvironment.DEVELOPMENT if settings.dev and not explicit else None,
|
|
69
74
|
timeout=REQUEST_TIMEOUT_SECONDS,
|
|
75
|
+
headers={"User-Agent": USER_AGENT},
|
|
70
76
|
)
|
|
71
77
|
except IbeeValidationError as exc:
|
|
72
78
|
fail_usage(getattr(exc, "message", None) or str(exc))
|
|
@@ -384,7 +384,14 @@ def handle_api_errors(fn: Callable) -> Callable:
|
|
|
384
384
|
try:
|
|
385
385
|
return fn(*args, **kwargs)
|
|
386
386
|
except ApiError as exc:
|
|
387
|
-
|
|
387
|
+
record = error_record(exc)
|
|
388
|
+
if exc.status_code == 404 and not exc.body and fn.__module__.rsplit(".", 1)[-1] in {"buckets", "registries"}:
|
|
389
|
+
record["code"] = "public_operation_temporarily_paused"
|
|
390
|
+
record["message"] = "This public API operation is temporarily paused. The command is retained for compatibility; the empty 404 does not prove the resource was deleted."
|
|
391
|
+
elif not record.get("message") and getattr(exc, "message", None):
|
|
392
|
+
record["message"] = exc.message
|
|
393
|
+
record["code"] = record.get("code") or getattr(exc, "code", None)
|
|
394
|
+
_print_error(record)
|
|
388
395
|
if (exc.status_code or 0) in (429, 502, 503, 504) or (exc.status_code or 0) >= 500:
|
|
389
396
|
retry_hint(getattr(exc, "idempotency_key", None))
|
|
390
397
|
raise typer.Exit(code=exit_code(exc))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ibee-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: Official command-line interface for the IBEE Solutions cloud platform
|
|
5
5
|
Author-email: IBEE Solutions <support@ibee.ai>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -13,7 +13,7 @@ Classifier: Environment :: Console
|
|
|
13
13
|
Requires-Python: >=3.10
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
License-File: LICENSE
|
|
16
|
-
Requires-Dist: ibee<0.
|
|
16
|
+
Requires-Dist: ibee<0.8,>=0.7.0
|
|
17
17
|
Requires-Dist: httpx>=0.27
|
|
18
18
|
Requires-Dist: typer>=0.12
|
|
19
19
|
Requires-Dist: click>=8.1
|
|
@@ -26,9 +26,14 @@ Dynamic: license-file
|
|
|
26
26
|
|
|
27
27
|
# IBEE Solutions CLI
|
|
28
28
|
|
|
29
|
+
Object Storage and Container Registry public management operations are temporarily paused.
|
|
30
|
+
Published methods and commands remain available for compatibility. An empty 404
|
|
31
|
+
from these routes reports the pause; it does not prove an existing resource was deleted.
|
|
32
|
+
CDN remains available.
|
|
33
|
+
|
|
29
34
|
Official command-line interface for the IBEE Solutions cloud platform, built on the
|
|
30
35
|
[`ibee` Python SDK](https://github.com/devs-ibee/ibee-python). It has one command per
|
|
31
|
-
operation of the IBEE public API (contract 0.
|
|
36
|
+
operation of the IBEE public API (contract 0.9.0, 229 operations): each command makes
|
|
32
37
|
that operation's one SDK call and prints the server's answer. The server decides
|
|
33
38
|
prices, eligibility, limits and states; the CLI checks nothing before sending.
|
|
34
39
|
|
|
@@ -32,7 +32,7 @@ def test_help_and_version() -> None:
|
|
|
32
32
|
assert group in result.output
|
|
33
33
|
for gone in ("billing", "console"):
|
|
34
34
|
assert runner.invoke(app, [gone, "--help"]).exit_code == 2
|
|
35
|
-
assert runner.invoke(app, ["--version"]).output.strip() == f"ibee-cli {__version__}" == "ibee-cli 0.
|
|
35
|
+
assert runner.invoke(app, ["--version"]).output.strip() == f"ibee-cli {__version__}" == "ibee-cli 0.7.0"
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
def test_missing_token_and_workspace_are_usage_errors(monkeypatch: pytest.MonkeyPatch) -> None:
|
|
@@ -64,6 +64,27 @@ def test_endpoint_precedence(monkeypatch: pytest.MonkeyPatch) -> None:
|
|
|
64
64
|
assert base() == "https://api.ibee.co.in/v1"
|
|
65
65
|
|
|
66
66
|
|
|
67
|
+
def test_requests_send_the_cli_user_agent(monkeypatch: pytest.MonkeyPatch) -> None:
|
|
68
|
+
"""The real client from ``get_client`` sends ``ibee-cli/<version>`` and keeps the SDK's other headers."""
|
|
69
|
+
assert context.USER_AGENT == f"ibee-cli/{__version__}"
|
|
70
|
+
client = context.get_client(context.Settings(token="t", workspace=WS, dev=False, base_url=None))
|
|
71
|
+
assert client._client_wrapper.get_headers()["User-Agent"] == f"ibee-cli/{__version__}"
|
|
72
|
+
|
|
73
|
+
sent: list[httpx.Request] = []
|
|
74
|
+
|
|
75
|
+
def capture(self, request: httpx.Request) -> httpx.Response:
|
|
76
|
+
sent.append(request)
|
|
77
|
+
return httpx.Response(200, json={"sites": [], "count": 0})
|
|
78
|
+
|
|
79
|
+
monkeypatch.setattr(httpx.HTTPTransport, "handle_request", capture) # nothing leaves the process
|
|
80
|
+
assert run(["compute", "sites"]).exit_code == 0
|
|
81
|
+
assert len(sent) == 1
|
|
82
|
+
headers = sent[0].headers
|
|
83
|
+
assert headers["user-agent"] == f"ibee-cli/{__version__}"
|
|
84
|
+
assert headers["x-fern-language"] == "Python"
|
|
85
|
+
assert headers["authorization"] == "Bearer test-token"
|
|
86
|
+
|
|
87
|
+
|
|
67
88
|
def test_workspace_is_sent_as_workspace_id(gw) -> None:
|
|
68
89
|
gw.on("GET", "compute/sites", {"sites": [], "count": 0})
|
|
69
90
|
assert run(["compute", "sites"]).exit_code == 0
|
|
@@ -151,3 +172,12 @@ def test_response_that_does_not_match_the_contract_is_printed_as_received(gw) ->
|
|
|
151
172
|
error = json.loads(result.output)["error"]
|
|
152
173
|
assert error["body"] == sent and error["request_id"] == "req-123"
|
|
153
174
|
assert error["message"].startswith("response not parsed")
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
@pytest.mark.parametrize("group,path", [("buckets", "object-storage/buckets"), ("registries", "container-registry/registries")])
|
|
178
|
+
def test_paused_public_commands_explain_empty_404(gw, group, path):
|
|
179
|
+
gw.on("GET", path, (404, None))
|
|
180
|
+
result = run([group, "list"])
|
|
181
|
+
assert result.exit_code == 14
|
|
182
|
+
assert "temporarily paused" in plain(result)
|
|
183
|
+
assert "does not prove the resource was deleted" in plain(result)
|
|
@@ -26,14 +26,13 @@ VM_CREATES = {"createCloudVm", "createGpuVm"}
|
|
|
26
26
|
#: Destructive commands besides DELETE: they ask for confirmation unless --yes.
|
|
27
27
|
CONFIRMED_POSTS = {
|
|
28
28
|
"archiveSecretStore", "revokeSecretIdentitySessions", "destroySecretVersions", "revokeS3Credential", "purgeCdnCache",
|
|
29
|
-
"restoreCloudVmSnapshot", "restoreCloudVmBackup", "detachCloudVmVolume",
|
|
30
|
-
"restoreGpuVmSnapshot", "restoreGpuVmBackup", "detachGpuVmVolume",
|
|
29
|
+
"restoreCloudVmSnapshot", "restoreCloudVmBackup", "detachCloudVmVolume", "cancelCloudVmBackupRestore",
|
|
30
|
+
"restoreGpuVmSnapshot", "restoreGpuVmBackup", "detachGpuVmVolume", "cancelGpuVmBackupRestore",
|
|
31
31
|
}
|
|
32
32
|
#: The 23 operations contract 0.6.2 removed (from 0.5.0) and the commands that called them.
|
|
33
33
|
REMOVED_COMMANDS = [
|
|
34
34
|
"vms mount-guidance-acknowledge", "gpus mount-guidance-acknowledge", "block-storage attach", "block-storage detach",
|
|
35
|
-
"billing eligibility", "console close", "console create", "console get", "
|
|
36
|
-
"registries empty", "cdn generate-url", "secrets patch-value", "vms backup-policy reschedule",
|
|
35
|
+
"billing eligibility", "console close", "console create", "console get", "registries empty", "cdn generate-url", "secrets patch-value", "vms backup-policy reschedule",
|
|
37
36
|
"gpus backup-policy reschedule", "vms resize-plan", "vms resize-root-disk", "gpus resize-plan", "gpus resize-root-disk",
|
|
38
37
|
"secrets identities update", "secrets identities scopes update", "secrets stores update", "vpcs subnets update",
|
|
39
38
|
]
|
|
@@ -123,8 +122,8 @@ TREE = command_tree()
|
|
|
123
122
|
|
|
124
123
|
|
|
125
124
|
def test_one_command_per_operation() -> None:
|
|
126
|
-
assert len(OPS) ==
|
|
127
|
-
assert CONTRACT["info"]["version"] == "0.
|
|
125
|
+
assert len(OPS) == 229
|
|
126
|
+
assert CONTRACT["info"]["version"] == "0.9.0"
|
|
128
127
|
assert set(TREE) == {op.id for op in OPS}
|
|
129
128
|
|
|
130
129
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|