@leaflow/sdk 0.0.0-dev.220.g26e832e → 0.0.0-dev.222.g62628b3

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.
@@ -48,6 +48,8 @@ export interface paths {
48
48
  * Delete a backup
49
49
  * @description Independent of the source disk: deletion succeeds whether or not that disk still exists.
50
50
  *
51
+ * Refused with `COMPUTE_RESOURCE_SUBSCRIBED` while a subscription pays for the backup, including a pay-as-you-go subscription. `meta.resource_id` names the backup. It is released when its subscription ends.
52
+ *
51
53
  * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
52
54
  */
53
55
  delete: operations["delete-backup"];
@@ -246,6 +248,8 @@ export interface paths {
246
248
  * Delete a disk
247
249
  * @description Deletion is rejected while the disk is attached, or while snapshots created from it still exist.
248
250
  *
251
+ * Refused with `COMPUTE_RESOURCE_SUBSCRIBED` while a subscription pays for the disk, including a pay-as-you-go subscription. `meta.resource_id` names the disk. It is released when its subscription ends.
252
+ *
249
253
  * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
250
254
  */
251
255
  delete: operations["delete-disk"];
@@ -352,6 +356,8 @@ export interface paths {
352
356
  * Release a floating IP
353
357
  * @description Releases the floating IP after unbinding it. Completion is reported by the returned task.
354
358
  *
359
+ * Refused with `COMPUTE_RESOURCE_SUBSCRIBED` while a subscription pays for the address or for its bandwidth, including a pay-as-you-go subscription. `meta.resource_id` names the floating IP. It is released when its subscriptions end.
360
+ *
355
361
  * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
356
362
  */
357
363
  delete: operations["release-floating-ip"];
@@ -455,6 +461,8 @@ export interface paths {
455
461
  *
456
462
  * An instance being captured as a private image cannot be released. Wait for the capture to finish, or delete that image first.
457
463
  *
464
+ * Refused with `COMPUTE_RESOURCE_SUBSCRIBED` while a subscription pays for the instance, or for a disk that is deleted with it, including a pay-as-you-go subscription. `meta.resource_id` names that resource. It is released when its subscription ends.
465
+ *
458
466
  * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
459
467
  */
460
468
  delete: operations["delete-instance"];
@@ -1028,6 +1036,8 @@ export interface paths {
1028
1036
  *
1029
1037
  * An image whose capture has not finished can be deleted; the capture is aborted.
1030
1038
  *
1039
+ * Refused with `COMPUTE_RESOURCE_SUBSCRIBED` while a subscription pays for the image, including a pay-as-you-go subscription. `meta.resource_id` names the image. It is released when its subscription ends.
1040
+ *
1031
1041
  * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
1032
1042
  */
1033
1043
  delete: operations["delete-private-image"];
@@ -1331,7 +1341,9 @@ export interface paths {
1331
1341
  post?: never;
1332
1342
  /**
1333
1343
  * Delete a snapshot
1334
- * @description Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
1344
+ * @description Refused with `COMPUTE_RESOURCE_SUBSCRIBED` while a subscription pays for the snapshot, including a pay-as-you-go subscription. `meta.resource_id` names the snapshot. It is released when its subscription ends.
1345
+ *
1346
+ * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
1335
1347
  */
1336
1348
  delete: operations["delete-snapshot"];
1337
1349
  options?: never;
@@ -2851,7 +2863,7 @@ export interface operations {
2851
2863
  "application/json": components["schemas"]["Task"];
2852
2864
  };
2853
2865
  };
2854
- /** @description The idempotency key was already used with different parameters in this scope. */
2866
+ /** @description The idempotency key was already used with different parameters in this scope, or the deletion was refused. */
2855
2867
  409: {
2856
2868
  headers: {
2857
2869
  [name: string]: unknown;
@@ -3269,7 +3281,7 @@ export interface operations {
3269
3281
  "application/json": components["schemas"]["Task"];
3270
3282
  };
3271
3283
  };
3272
- /** @description The idempotency key was already used with different parameters in this scope. */
3284
+ /** @description The idempotency key was already used with different parameters in this scope, or the deletion was refused. */
3273
3285
  409: {
3274
3286
  headers: {
3275
3287
  [name: string]: unknown;
@@ -3540,7 +3552,7 @@ export interface operations {
3540
3552
  "application/json": components["schemas"]["Task"];
3541
3553
  };
3542
3554
  };
3543
- /** @description The idempotency key was already used with different parameters in this scope. */
3555
+ /** @description The idempotency key was already used with different parameters in this scope, or the deletion was refused. */
3544
3556
  409: {
3545
3557
  headers: {
3546
3558
  [name: string]: unknown;
@@ -3800,7 +3812,7 @@ export interface operations {
3800
3812
  "application/json": components["schemas"]["Task"];
3801
3813
  };
3802
3814
  };
3803
- /** @description The idempotency key was already used with different parameters in this scope. */
3815
+ /** @description The idempotency key was already used with different parameters in this scope, or the deletion was refused. */
3804
3816
  409: {
3805
3817
  headers: {
3806
3818
  [name: string]: unknown;
@@ -4938,7 +4950,7 @@ export interface operations {
4938
4950
  "application/json": components["schemas"]["Task"];
4939
4951
  };
4940
4952
  };
4941
- /** @description The idempotency key was already used with different parameters in this scope. */
4953
+ /** @description The idempotency key was already used with different parameters in this scope, or the deletion was refused. */
4942
4954
  409: {
4943
4955
  headers: {
4944
4956
  [name: string]: unknown;
@@ -5854,7 +5866,7 @@ export interface operations {
5854
5866
  "application/json": components["schemas"]["Task"];
5855
5867
  };
5856
5868
  };
5857
- /** @description The idempotency key was already used with different parameters in this scope. */
5869
+ /** @description The idempotency key was already used with different parameters in this scope, or the deletion was refused. */
5858
5870
  409: {
5859
5871
  headers: {
5860
5872
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.220.g26e832e",
3
+ "version": "0.0.0-dev.222.g62628b3",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {