@parallelworks/client 7.86.0 → 7.88.0

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.
Files changed (2) hide show
  1. package/dist/types/api.d.ts +469 -31
  2. package/package.json +1 -1
@@ -904,6 +904,62 @@ export interface paths {
904
904
  patch?: never;
905
905
  trace?: never;
906
906
  };
907
+ "/api/admin/products/compute/proxy-whitelist": {
908
+ parameters: {
909
+ query?: never;
910
+ header?: never;
911
+ path?: never;
912
+ cookie?: never;
913
+ };
914
+ /**
915
+ * Get compute proxy whitelist
916
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
917
+ *
918
+ * > This is a platform-admin only route.
919
+ *
920
+ * Returns whether platform routing is restricted, and the hosts, IPs, and CIDR ranges allowed to route SSH through the platform.
921
+ */
922
+ get: operations["get-compute-proxy-whitelist"];
923
+ put?: never;
924
+ post?: never;
925
+ delete?: never;
926
+ options?: never;
927
+ head?: never;
928
+ /**
929
+ * Update compute proxy whitelist
930
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
931
+ *
932
+ * > This is a platform-admin only route.
933
+ *
934
+ * Restricts platform routing and replaces the proxy whitelist. Once restricted, clusters outside the whitelist connect directly instead of proxying through the platform.
935
+ */
936
+ patch: operations["update-compute-proxy-whitelist"];
937
+ trace?: never;
938
+ };
939
+ "/api/admin/products/compute/proxy-whitelist/cluster-hosts": {
940
+ parameters: {
941
+ query?: never;
942
+ header?: never;
943
+ path?: never;
944
+ cookie?: never;
945
+ };
946
+ /**
947
+ * List existing-cluster hosts
948
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
949
+ *
950
+ * > This is a platform-admin only route.
951
+ *
952
+ * Lists the hosts existing clusters report, how many accounts use each, and how the current policy routes them. These are the exact values the whitelist matches against.
953
+ */
954
+ get: operations["list-compute-proxy-cluster-hosts"];
955
+ put?: never;
956
+ post?: never;
957
+ delete?: never;
958
+ options?: never;
959
+ head?: never;
960
+ patch?: never;
961
+ trace?: never;
962
+ };
907
963
  "/api/admin/products/{product}": {
908
964
  parameters: {
909
965
  query?: never;
@@ -8890,6 +8946,50 @@ export interface paths {
8890
8946
  patch?: never;
8891
8947
  trace?: never;
8892
8948
  };
8949
+ "/api/organizations/{organization}/users/{user}/clusters/{clusterName}/disks": {
8950
+ parameters: {
8951
+ query?: never;
8952
+ header?: never;
8953
+ path?: never;
8954
+ cookie?: never;
8955
+ };
8956
+ get?: never;
8957
+ put?: never;
8958
+ /**
8959
+ * Attach Cluster Disk
8960
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
8961
+ *
8962
+ * Attaches a provisioned persistent disk to a cloud cluster. On a running cluster the cloud attachment happens asynchronously and its progress is reported on the disk's provision status.
8963
+ */
8964
+ post: operations["attach-cluster-disk"];
8965
+ delete?: never;
8966
+ options?: never;
8967
+ head?: never;
8968
+ patch?: never;
8969
+ trace?: never;
8970
+ };
8971
+ "/api/organizations/{organization}/users/{user}/clusters/{clusterName}/disks/{storageId}": {
8972
+ parameters: {
8973
+ query?: never;
8974
+ header?: never;
8975
+ path?: never;
8976
+ cookie?: never;
8977
+ };
8978
+ get?: never;
8979
+ put?: never;
8980
+ post?: never;
8981
+ /**
8982
+ * Detach Cluster Disk
8983
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
8984
+ *
8985
+ * Detaches a persistent disk from a cloud cluster. On a running cluster the cloud detachment happens asynchronously and its progress is reported on the disk's provision status.
8986
+ */
8987
+ delete: operations["detach-cluster-disk"];
8988
+ options?: never;
8989
+ head?: never;
8990
+ patch?: never;
8991
+ trace?: never;
8992
+ };
8893
8993
  "/api/organizations/{organization}/users/{user}/clusters/{clusterName}/icon": {
8894
8994
  parameters: {
8895
8995
  query?: never;
@@ -8990,6 +9090,28 @@ export interface paths {
8990
9090
  patch: operations["update-user-cluster-permissions"];
8991
9091
  trace?: never;
8992
9092
  };
9093
+ "/api/organizations/{organization}/users/{user}/clusters/{clusterName}/provision": {
9094
+ parameters: {
9095
+ query?: never;
9096
+ header?: never;
9097
+ path?: never;
9098
+ cookie?: never;
9099
+ };
9100
+ get?: never;
9101
+ put?: never;
9102
+ /**
9103
+ * Provision cluster
9104
+ * @description > This is a system-level route, so the response will be independent of the currently authenticated user.
9105
+ *
9106
+ * Provisions a cloud cluster for the first time, building its cloud infrastructure and starting the controller. Starting a stopped cluster again is the resume operation.
9107
+ */
9108
+ post: operations["provision-cluster"];
9109
+ delete?: never;
9110
+ options?: never;
9111
+ head?: never;
9112
+ patch?: never;
9113
+ trace?: never;
9114
+ };
8993
9115
  "/api/organizations/{organization}/users/{user}/clusters/{clusterName}/resume": {
8994
9116
  parameters: {
8995
9117
  query?: never;
@@ -13537,10 +13659,8 @@ export interface components {
13537
13659
  region?: string;
13538
13660
  /** @description Replace an existing version's variables instead of adding a new version. */
13539
13661
  replace?: boolean;
13540
- restore_snapshot?: boolean;
13541
13662
  /** Format: int64 */
13542
13663
  size_gb?: number;
13543
- snapshot?: string;
13544
13664
  /** Format: int64 */
13545
13665
  throughput?: number;
13546
13666
  type?: string;
@@ -13580,6 +13700,8 @@ export interface components {
13580
13700
  architecture?: string;
13581
13701
  controllerImage?: string;
13582
13702
  controllerInstanceType?: string;
13703
+ /** @description Desktop session settings. */
13704
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
13583
13705
  disks?: components["schemas"]["ClusterDisk"][] | null;
13584
13706
  healthCheck?: string;
13585
13707
  partitions?: components["schemas"]["AwsSlurmPartition"][] | null;
@@ -13621,10 +13743,8 @@ export interface components {
13621
13743
  region?: string;
13622
13744
  /** @description Replace an existing version's variables instead of adding a new version. */
13623
13745
  replace?: boolean;
13624
- restore_snapshot?: boolean;
13625
13746
  /** Format: int64 */
13626
13747
  size_gb?: number;
13627
- snapshot?: string;
13628
13748
  type?: string;
13629
13749
  /** @description Version label to add (must start with v). */
13630
13750
  version: string;
@@ -13666,6 +13786,8 @@ export interface components {
13666
13786
  architecture?: string;
13667
13787
  controllerImage?: string;
13668
13788
  controllerInstanceType?: string;
13789
+ /** @description Desktop session settings. */
13790
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
13669
13791
  disks?: components["schemas"]["ClusterDisk"][] | null;
13670
13792
  healthCheck?: string;
13671
13793
  /** @description Mount point of the controller's local disk; only applies when the controller instance type has a local disk. */
@@ -13726,10 +13848,8 @@ export interface components {
13726
13848
  region?: string;
13727
13849
  /** @description Replace an existing version's variables instead of adding a new version. */
13728
13850
  replace?: boolean;
13729
- restore_snapshot?: boolean;
13730
13851
  /** Format: int64 */
13731
13852
  size_gb?: number;
13732
- snapshot?: string;
13733
13853
  type?: string;
13734
13854
  /** @description Version label to add (must start with v). */
13735
13855
  version: string;
@@ -13769,6 +13889,8 @@ export interface components {
13769
13889
  controllerImage?: string;
13770
13890
  controllerInstanceType?: string;
13771
13891
  controllerTier1?: boolean;
13892
+ /** @description Desktop session settings. */
13893
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
13772
13894
  disks?: components["schemas"]["ClusterDisk"][] | null;
13773
13895
  healthCheck?: string;
13774
13896
  partitions?: components["schemas"]["GoogleSlurmPartition"][] | null;
@@ -13801,6 +13923,8 @@ export interface components {
13801
13923
  AddOpenstackSlurmVersionInputBody: {
13802
13924
  controllerImage?: string;
13803
13925
  controllerInstanceType?: string;
13926
+ /** @description Desktop session settings. */
13927
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
13804
13928
  floatingIpNetwork?: string;
13805
13929
  healthCheck?: string;
13806
13930
  networkId?: string;
@@ -13843,6 +13967,8 @@ export interface components {
13843
13967
  controllerMemoryGb?: number;
13844
13968
  /** @description OCPU count when the controller instance type is a flexible shape. */
13845
13969
  controllerOcpus?: number;
13970
+ /** @description Desktop session settings. */
13971
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
13846
13972
  healthCheck?: string;
13847
13973
  partitions?: components["schemas"]["OracleSlurmPartition"][] | null;
13848
13974
  region?: string;
@@ -14139,6 +14265,20 @@ export interface components {
14139
14265
  /** @description Refresh interval for bucket ingestion */
14140
14266
  refreshInterval: string;
14141
14267
  };
14268
+ AttachClusterDiskBody: {
14269
+ /**
14270
+ * @description The path to mount the disk at on the cluster.
14271
+ * @example /data
14272
+ */
14273
+ mountPoint: string;
14274
+ /** @description Export the disk over NFS to the cluster's compute nodes. */
14275
+ nfsExport?: boolean;
14276
+ /**
14277
+ * @description The id of the persistent disk to attach.
14278
+ * @example 66f1a2b3c4d5e6f7a8b9c0d1
14279
+ */
14280
+ storageId: string;
14281
+ };
14142
14282
  AttachmentResponse: {
14143
14283
  /** @description MIME type */
14144
14284
  contentType: string;
@@ -14364,10 +14504,8 @@ export interface components {
14364
14504
  provisionError?: string;
14365
14505
  /** @description Indicates if the storage has been provisioned. */
14366
14506
  provisioned: boolean;
14367
- /** @description Region the AWS bucket is in */
14507
+ /** @description Region the AWS disk is in */
14368
14508
  region?: string;
14369
- /** @description Indicates if the disk is restored from a snapshot */
14370
- restoreSnapshot?: boolean;
14371
14509
  /** @description Runtime alert information for the storage. */
14372
14510
  runtimeAlert?: components["schemas"]["RunAlert"];
14373
14511
  /** @description Session cost limit information for the storage. */
@@ -14402,10 +14540,8 @@ export interface components {
14402
14540
  /** Format: int64 */
14403
14541
  iops?: number;
14404
14542
  region?: string;
14405
- restore_snapshot?: boolean;
14406
14543
  /** Format: int64 */
14407
14544
  size_gb?: number;
14408
- snapshot?: string;
14409
14545
  /**
14410
14546
  * @description Subtype discriminator. (enum property replaced by openapi-typescript)
14411
14547
  * @enum {string}
@@ -14731,6 +14867,8 @@ export interface components {
14731
14867
  architecture?: string;
14732
14868
  controllerImage?: string;
14733
14869
  controllerInstanceType?: string;
14870
+ /** @description Desktop session settings. */
14871
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
14734
14872
  disks?: components["schemas"]["ClusterDisk"][] | null;
14735
14873
  healthCheck?: string;
14736
14874
  partitions?: components["schemas"]["AwsSlurmPartition"][] | null;
@@ -14877,6 +15015,8 @@ export interface components {
14877
15015
  currentlyProvisioning: boolean;
14878
15016
  /** @description Description of the storage. */
14879
15017
  description?: string;
15018
+ /** @description Type of the disk */
15019
+ diskType?: string;
14880
15020
  /** @description Display name of the storage. */
14881
15021
  displayName?: string;
14882
15022
  /** @description Indicates if the storage is a favorite for the requesting user. */
@@ -14897,6 +15037,8 @@ export interface components {
14897
15037
  provisionError?: string;
14898
15038
  /** @description Indicates if the storage has been provisioned. */
14899
15039
  provisioned: boolean;
15040
+ /** @description Region the disk is in */
15041
+ region?: string;
14900
15042
  /** @description Runtime alert information for the storage. */
14901
15043
  runtimeAlert?: components["schemas"]["RunAlert"];
14902
15044
  /** @description Session cost limit information for the storage. */
@@ -14910,6 +15052,11 @@ export interface components {
14910
15052
  sessionless: boolean;
14911
15053
  /** @description Sharing permissions of the storage. */
14912
15054
  shared: components["schemas"]["Shared"][] | null;
15055
+ /**
15056
+ * Format: int32
15057
+ * @description Size of the disk in GiB
15058
+ */
15059
+ size?: number;
14913
15060
  /** @description Current status of the storage. */
14914
15061
  status?: string;
14915
15062
  /** @description Tags associated with the storage. */
@@ -14918,13 +15065,13 @@ export interface components {
14918
15065
  type: string;
14919
15066
  /** @description User associated with the storage. */
14920
15067
  user: string;
15068
+ /** @description Zone the disk is in */
15069
+ zone?: string;
14921
15070
  };
14922
15071
  AzureDiskVersionSettings: {
14923
15072
  region?: string;
14924
- restore_snapshot?: boolean;
14925
15073
  /** Format: int64 */
14926
15074
  size_gb?: number;
14927
- snapshot?: string;
14928
15075
  /**
14929
15076
  * @description Subtype discriminator. (enum property replaced by openapi-typescript)
14930
15077
  * @enum {string}
@@ -15365,6 +15512,8 @@ export interface components {
15365
15512
  architecture?: string;
15366
15513
  controllerImage?: string;
15367
15514
  controllerInstanceType?: string;
15515
+ /** @description Desktop session settings. */
15516
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
15368
15517
  disks?: components["schemas"]["ClusterDisk"][] | null;
15369
15518
  healthCheck?: string;
15370
15519
  /** @description Mount point of the controller's local disk; only applies when the controller instance type has a local disk. */
@@ -15399,7 +15548,7 @@ export interface components {
15399
15548
  enforcementMode: "off" | "audit" | "enforce";
15400
15549
  /** @description Disabled or removed base images with dependency counts */
15401
15550
  images: components["schemas"]["ImageComplianceItem"][] | null;
15402
- /** @description Clusters and instances configured to boot from an unusable base image */
15551
+ /** @description Clusters and instances configured with an unusable image or snapshot, or with an image outside the catalog */
15403
15552
  resources: components["schemas"]["ResourceComplianceItem"][] | null;
15404
15553
  /** @description Root snapshots that can no longer be used */
15405
15554
  snapshots: components["schemas"]["SnapshotComplianceItem"][] | null;
@@ -15431,7 +15580,7 @@ export interface components {
15431
15580
  affectedSnapshots: number;
15432
15581
  /**
15433
15582
  * Format: int64
15434
- * @description Clusters and instances configured to boot from a disabled, removed, or unrecorded base image
15583
+ * @description Clusters and instances configured to boot from a disabled, removed, unrecorded, or custom base image
15435
15584
  */
15436
15585
  atRiskResources: number;
15437
15586
  /**
@@ -16250,6 +16399,11 @@ export interface components {
16250
16399
  diskId?: string;
16251
16400
  encrypted?: boolean;
16252
16401
  iops?: number;
16402
+ /**
16403
+ * Format: int64
16404
+ * @description Device slot the disk attaches at, assigned by the platform when the disk attaches.
16405
+ */
16406
+ lun?: number;
16253
16407
  mountPoint?: string;
16254
16408
  nfsExport?: boolean;
16255
16409
  /** @description Disk size in GiB. */
@@ -16310,6 +16464,17 @@ export interface components {
16310
16464
  throughput?: number;
16311
16465
  type?: string;
16312
16466
  };
16467
+ ClusterDiskAttachment: {
16468
+ /**
16469
+ * Format: int64
16470
+ * @description The device slot the disk attaches at, assigned by the platform. Absent on clouds that address the disk by its volume instead.
16471
+ */
16472
+ lun?: number;
16473
+ /** @description The path the disk is mounted at on the cluster. */
16474
+ mountPoint: string;
16475
+ /** @description The id of the attached persistent disk. */
16476
+ storageId: string;
16477
+ };
16313
16478
  ClusterError: {
16314
16479
  /**
16315
16480
  * @description Cluster name
@@ -18012,8 +18177,6 @@ export interface components {
18012
18177
  network?: string;
18013
18178
  /** @description Region of the disk */
18014
18179
  region?: string;
18015
- /** @description Indicates if the disk was restored from a snapshot */
18016
- restoreSnapshot?: boolean;
18017
18180
  /**
18018
18181
  * Format: int64
18019
18182
  * @description Size of the disk in GiB
@@ -18652,7 +18815,7 @@ export interface components {
18652
18815
  * @example slurm
18653
18816
  */
18654
18817
  schedulerType?: string;
18655
- /** @description True when SSH to this cluster must route through the platform tunnel (private network, not peered). False for public-IP or peered-private clusters that the workspace can dial directly. */
18818
+ /** @description True when SSH to this cluster routes through the platform. False when it is dialed directly, which a cluster on a public address does unless an administrator has whitelisted it. */
18656
18819
  shouldPlatformProxy: boolean;
18657
18820
  /**
18658
18821
  * @description The status of the resource.
@@ -18660,6 +18823,8 @@ export interface components {
18660
18823
  * @enum {string}
18661
18824
  */
18662
18825
  status: "on" | "off" | "active" | "provisioning" | "stopping" | "resuming" | "stopped" | "failed" | "updating" | "deleted" | "connecting" | "input_needed";
18826
+ /** @description Human-readable explanation of the cluster's current status, present when the last provision was skipped or failed. */
18827
+ statusDescription?: string;
18663
18828
  /**
18664
18829
  * @description The tags associated with the resource.
18665
18830
  * @example [
@@ -18851,6 +19016,8 @@ export interface components {
18851
19016
  currentlyProvisioning: boolean;
18852
19017
  /** @description Description of the storage. */
18853
19018
  description?: string;
19019
+ /** @description Type of the disk */
19020
+ diskType?: string;
18854
19021
  /** @description Display name of the storage. */
18855
19022
  displayName?: string;
18856
19023
  /** @description Indicates if the storage is a favorite for the requesting user. */
@@ -18871,6 +19038,8 @@ export interface components {
18871
19038
  provisionError?: string;
18872
19039
  /** @description Indicates if the storage has been provisioned. */
18873
19040
  provisioned: boolean;
19041
+ /** @description Region the disk is in */
19042
+ region?: string;
18874
19043
  /** @description Runtime alert information for the storage. */
18875
19044
  runtimeAlert?: components["schemas"]["RunAlert"];
18876
19045
  /** @description Session cost limit information for the storage. */
@@ -18884,6 +19053,11 @@ export interface components {
18884
19053
  sessionless: boolean;
18885
19054
  /** @description Sharing permissions of the storage. */
18886
19055
  shared: components["schemas"]["Shared"][] | null;
19056
+ /**
19057
+ * Format: int32
19058
+ * @description Size of the disk in GiB
19059
+ */
19060
+ size?: number;
18887
19061
  /** @description Current status of the storage. */
18888
19062
  status?: string;
18889
19063
  /** @description Tags associated with the storage. */
@@ -18892,13 +19066,13 @@ export interface components {
18892
19066
  type: string;
18893
19067
  /** @description User associated with the storage. */
18894
19068
  user: string;
19069
+ /** @description Zone the disk is in */
19070
+ zone?: string;
18895
19071
  };
18896
19072
  GoogleDiskVersionSettings: {
18897
19073
  region?: string;
18898
- restore_snapshot?: boolean;
18899
19074
  /** Format: int64 */
18900
19075
  size_gb?: number;
18901
- snapshot?: string;
18902
19076
  /**
18903
19077
  * @description Subtype discriminator. (enum property replaced by openapi-typescript)
18904
19078
  * @enum {string}
@@ -19112,6 +19286,8 @@ export interface components {
19112
19286
  controllerImage?: string;
19113
19287
  controllerInstanceType?: string;
19114
19288
  controllerTier1?: boolean;
19289
+ /** @description Desktop session settings. */
19290
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
19115
19291
  disks?: components["schemas"]["ClusterDisk"][] | null;
19116
19292
  healthCheck?: string;
19117
19293
  partitions?: components["schemas"]["GoogleSlurmPartition"][] | null;
@@ -21680,6 +21856,8 @@ export interface components {
21680
21856
  OpenstackSlurmVersionSettings: {
21681
21857
  controllerImage?: string;
21682
21858
  controllerInstanceType?: string;
21859
+ /** @description Desktop session settings. */
21860
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
21683
21861
  floatingIpNetwork?: string;
21684
21862
  healthCheck?: string;
21685
21863
  networkId?: string;
@@ -21933,6 +22111,8 @@ export interface components {
21933
22111
  controllerMemoryGb?: number;
21934
22112
  /** @description OCPU count when the controller instance type is a flexible shape. */
21935
22113
  controllerOcpus?: number;
22114
+ /** @description Desktop session settings. */
22115
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
21936
22116
  healthCheck?: string;
21937
22117
  partitions?: components["schemas"]["OracleSlurmPartition"][] | null;
21938
22118
  region?: string;
@@ -23314,6 +23494,40 @@ export interface components {
23314
23494
  */
23315
23495
  status: "pending" | "provisioning" | "provisioned" | "failed" | "skipped" | "deleting" | "deleted" | "warning";
23316
23496
  };
23497
+ ProxyClusterHost: {
23498
+ /**
23499
+ * Format: int64
23500
+ * @description How many accounts have an existing cluster reporting this host
23501
+ */
23502
+ accounts: number;
23503
+ /** @description The host an agent reports, which is the value the whitelist is matched against */
23504
+ host: string;
23505
+ /**
23506
+ * @description Why the host routes the way it does
23507
+ * @enum {string}
23508
+ */
23509
+ reason: "unrestricted" | "whitelisted" | "not-routable" | "direct";
23510
+ /** @description Whether SSH to this host routes through the platform under the current policy */
23511
+ shouldProxy: boolean;
23512
+ };
23513
+ ProxyClusterHostsOutputBody: {
23514
+ /** @description Reported hosts, busiest first */
23515
+ hosts: components["schemas"]["ProxyClusterHost"][] | null;
23516
+ /**
23517
+ * Format: int64
23518
+ * @description Existing clusters whose agent has not reported a host; these always route through the platform
23519
+ */
23520
+ unreportedClusters: number;
23521
+ };
23522
+ ProxyWhitelistBody: {
23523
+ /**
23524
+ * @description Whether every existing cluster routes SSH through the platform, or only the hosts listed below
23525
+ * @enum {string}
23526
+ */
23527
+ proxyScope: "all" | "specific";
23528
+ /** @description Hosts, IP addresses, and CIDR ranges whose SSH traffic may route through the platform */
23529
+ proxyWhitelist: string[] | null;
23530
+ };
23317
23531
  PublishAwsBucketRequest: {
23318
23532
  /** @description Short summary of the item. */
23319
23533
  description?: string;
@@ -23362,12 +23576,10 @@ export interface components {
23362
23576
  /** @description Publish under the organization display name (org admins only). */
23363
23577
  publishedAsOrg?: boolean;
23364
23578
  region?: string;
23365
- restore_snapshot?: boolean;
23366
23579
  /** Format: int64 */
23367
23580
  size_gb?: number;
23368
23581
  /** @description URL-friendly identifier. */
23369
23582
  slug: string;
23370
- snapshot?: string;
23371
23583
  /** @description User-defined tags for categorization and search. */
23372
23584
  tags?: string[] | null;
23373
23585
  /** Format: int64 */
@@ -23458,6 +23670,8 @@ export interface components {
23458
23670
  controllerInstanceType?: string;
23459
23671
  /** @description Short summary of the item. */
23460
23672
  description?: string;
23673
+ /** @description Desktop session settings. */
23674
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
23461
23675
  disks?: components["schemas"]["ClusterDisk"][] | null;
23462
23676
  /** @description Mark as featured (platform admins only). */
23463
23677
  featured?: boolean;
@@ -23572,12 +23786,10 @@ export interface components {
23572
23786
  /** @description Publish under the organization display name (org admins only). */
23573
23787
  publishedAsOrg?: boolean;
23574
23788
  region?: string;
23575
- restore_snapshot?: boolean;
23576
23789
  /** Format: int64 */
23577
23790
  size_gb?: number;
23578
23791
  /** @description URL-friendly identifier. */
23579
23792
  slug: string;
23580
- snapshot?: string;
23581
23793
  /** @description User-defined tags for categorization and search. */
23582
23794
  tags?: string[] | null;
23583
23795
  type?: string;
@@ -23669,6 +23881,8 @@ export interface components {
23669
23881
  controllerInstanceType?: string;
23670
23882
  /** @description Short summary of the item. */
23671
23883
  description?: string;
23884
+ /** @description Desktop session settings. */
23885
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
23672
23886
  disks?: components["schemas"]["ClusterDisk"][] | null;
23673
23887
  /** @description Mark as featured (platform admins only). */
23674
23888
  featured?: boolean;
@@ -23798,12 +24012,10 @@ export interface components {
23798
24012
  /** @description Publish under the organization display name (org admins only). */
23799
24013
  publishedAsOrg?: boolean;
23800
24014
  region?: string;
23801
- restore_snapshot?: boolean;
23802
24015
  /** Format: int64 */
23803
24016
  size_gb?: number;
23804
24017
  /** @description URL-friendly identifier. */
23805
24018
  slug: string;
23806
- snapshot?: string;
23807
24019
  /** @description User-defined tags for categorization and search. */
23808
24020
  tags?: string[] | null;
23809
24021
  type?: string;
@@ -23894,6 +24106,8 @@ export interface components {
23894
24106
  controllerTier1?: boolean;
23895
24107
  /** @description Short summary of the item. */
23896
24108
  description?: string;
24109
+ /** @description Desktop session settings. */
24110
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
23897
24111
  disks?: components["schemas"]["ClusterDisk"][] | null;
23898
24112
  /** @description Mark as featured (platform admins only). */
23899
24113
  featured?: boolean;
@@ -23968,6 +24182,8 @@ export interface components {
23968
24182
  controllerInstanceType?: string;
23969
24183
  /** @description Short summary of the item. */
23970
24184
  description?: string;
24185
+ /** @description Desktop session settings. */
24186
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
23971
24187
  /** @description Mark as featured (platform admins only). */
23972
24188
  featured?: boolean;
23973
24189
  floatingIpNetwork?: string;
@@ -24073,6 +24289,8 @@ export interface components {
24073
24289
  controllerOcpus?: number;
24074
24290
  /** @description Short summary of the item. */
24075
24291
  description?: string;
24292
+ /** @description Desktop session settings. */
24293
+ desktopSession?: components["schemas"]["DesktopSessionSettings"];
24076
24294
  /** @description Mark as featured (platform admins only). */
24077
24295
  featured?: boolean;
24078
24296
  healthCheck?: string;
@@ -24719,13 +24937,13 @@ export interface components {
24719
24937
  baseImageCspId?: string;
24720
24938
  /** @description Catalog name of the base image, when it still exists */
24721
24939
  baseImageName?: string;
24722
- /** @description Partition name the image belongs to; empty for the resource's boot image */
24940
+ /** @description Part of the resource the image belongs to, such as a partition or a controller disk; empty for the resource's boot image */
24723
24941
  component?: string;
24724
24942
  /** @description Cloud service provider */
24725
24943
  csp?: string;
24726
24944
  /** @description Resource ID */
24727
24945
  id: string;
24728
- /** @description The image value the component is configured with: a CSP image id or a boot snapshot's ID */
24946
+ /** @description The value the component is configured with: a CSP image id or a snapshot ID */
24729
24947
  imageRef?: string;
24730
24948
  /** @description Resource name */
24731
24949
  name: string;
@@ -24733,13 +24951,13 @@ export interface components {
24733
24951
  organization?: string;
24734
24952
  /** @description Whether the resource is currently provisioned */
24735
24953
  running: boolean;
24736
- /** @description Name of the boot snapshot the resource is configured with, when it still exists */
24954
+ /** @description Name of the snapshot the component is configured with, when it still exists */
24737
24955
  sourceSnapshot?: string;
24738
24956
  /**
24739
- * @description State of the resource's boot image
24957
+ * @description State of the image or snapshot this component is configured with
24740
24958
  * @enum {string}
24741
24959
  */
24742
- state: "disabled" | "removed" | "missing" | "snapshot-removed";
24960
+ state: "disabled" | "removed" | "missing" | "snapshot-removed" | "custom";
24743
24961
  /** @description Display status computed the same way the cluster and instance APIs compute it */
24744
24962
  status: string;
24745
24963
  /** @description cluster or instance */
@@ -26415,6 +26633,15 @@ export interface components {
26415
26633
  /** @description PEM private key matching the certificate; never returned by the API */
26416
26634
  privateKey?: string;
26417
26635
  };
26636
+ UpdateProxyWhitelistInputBody: {
26637
+ /**
26638
+ * @description Set to specific to restrict platform routing to the whitelisted hosts, or all to route every existing cluster through the platform
26639
+ * @enum {string}
26640
+ */
26641
+ proxyScope?: "all" | "specific";
26642
+ /** @description Replaces the proxy whitelist; entries are hosts, IP addresses, or CIDR ranges */
26643
+ proxyWhitelist?: string[];
26644
+ };
26418
26645
  UpdateQuotaBody: {
26419
26646
  /**
26420
26647
  * @description CPU limit in cores
@@ -27140,6 +27367,11 @@ export interface components {
27140
27367
  };
27141
27368
  /** @description Session IDs assigned to this worker. */
27142
27369
  sessions?: string[] | null;
27370
+ /**
27371
+ * Format: int64
27372
+ * @description Port of the worker's SSH server on the compute node. Present when the worker accepts SSH sessions through its own tunnel.
27373
+ */
27374
+ readonly sshServerPort?: number;
27143
27375
  /**
27144
27376
  * @description Worker status.
27145
27377
  * @enum {string}
@@ -28899,6 +29131,102 @@ export interface operations {
28899
29131
  };
28900
29132
  };
28901
29133
  };
29134
+ "get-compute-proxy-whitelist": {
29135
+ parameters: {
29136
+ query?: never;
29137
+ header?: never;
29138
+ path?: never;
29139
+ cookie?: never;
29140
+ };
29141
+ requestBody?: never;
29142
+ responses: {
29143
+ /** @description OK */
29144
+ 200: {
29145
+ headers: {
29146
+ [name: string]: unknown;
29147
+ };
29148
+ content: {
29149
+ "application/json": components["schemas"]["ProxyWhitelistBody"];
29150
+ };
29151
+ };
29152
+ /** @description Error */
29153
+ default: {
29154
+ headers: {
29155
+ [name: string]: unknown;
29156
+ };
29157
+ content: {
29158
+ "application/json": components["schemas"]["Error"];
29159
+ };
29160
+ };
29161
+ };
29162
+ };
29163
+ "update-compute-proxy-whitelist": {
29164
+ parameters: {
29165
+ query?: never;
29166
+ header?: never;
29167
+ path?: never;
29168
+ cookie?: never;
29169
+ };
29170
+ requestBody: {
29171
+ content: {
29172
+ "application/json": components["schemas"]["UpdateProxyWhitelistInputBody"];
29173
+ };
29174
+ };
29175
+ responses: {
29176
+ /** @description OK */
29177
+ 200: {
29178
+ headers: {
29179
+ [name: string]: unknown;
29180
+ };
29181
+ content: {
29182
+ "application/json": components["schemas"]["ProxyWhitelistBody"];
29183
+ };
29184
+ };
29185
+ /** @description Error */
29186
+ default: {
29187
+ headers: {
29188
+ [name: string]: unknown;
29189
+ };
29190
+ content: {
29191
+ "application/json": components["schemas"]["Error"];
29192
+ };
29193
+ };
29194
+ };
29195
+ };
29196
+ "list-compute-proxy-cluster-hosts": {
29197
+ parameters: {
29198
+ query?: {
29199
+ /** @description Evaluate against this scope instead of the saved one */
29200
+ scope?: "all" | "specific";
29201
+ /** @description Evaluate against these whitelist entries; only read when scope is supplied */
29202
+ entry?: string[] | null;
29203
+ };
29204
+ header?: never;
29205
+ path?: never;
29206
+ cookie?: never;
29207
+ };
29208
+ requestBody?: never;
29209
+ responses: {
29210
+ /** @description OK */
29211
+ 200: {
29212
+ headers: {
29213
+ [name: string]: unknown;
29214
+ };
29215
+ content: {
29216
+ "application/json": components["schemas"]["ProxyClusterHostsOutputBody"];
29217
+ };
29218
+ };
29219
+ /** @description Error */
29220
+ default: {
29221
+ headers: {
29222
+ [name: string]: unknown;
29223
+ };
29224
+ content: {
29225
+ "application/json": components["schemas"]["Error"];
29226
+ };
29227
+ };
29228
+ };
29229
+ };
28902
29230
  "set-platform-product-state": {
28903
29231
  parameters: {
28904
29232
  query?: never;
@@ -44992,6 +45320,82 @@ export interface operations {
44992
45320
  };
44993
45321
  };
44994
45322
  };
45323
+ "attach-cluster-disk": {
45324
+ parameters: {
45325
+ query?: never;
45326
+ header?: never;
45327
+ path: {
45328
+ /** @description The name of the organization. */
45329
+ organization: string;
45330
+ /** @description The username of the user that owns the cluster */
45331
+ user: string;
45332
+ /** @description The cluster name */
45333
+ clusterName: string;
45334
+ };
45335
+ cookie?: never;
45336
+ };
45337
+ requestBody: {
45338
+ content: {
45339
+ "application/json": components["schemas"]["AttachClusterDiskBody"];
45340
+ };
45341
+ };
45342
+ responses: {
45343
+ /** @description OK */
45344
+ 200: {
45345
+ headers: {
45346
+ [name: string]: unknown;
45347
+ };
45348
+ content: {
45349
+ "application/json": components["schemas"]["ClusterDiskAttachment"];
45350
+ };
45351
+ };
45352
+ /** @description Error */
45353
+ default: {
45354
+ headers: {
45355
+ [name: string]: unknown;
45356
+ };
45357
+ content: {
45358
+ "application/json": components["schemas"]["Error"];
45359
+ };
45360
+ };
45361
+ };
45362
+ };
45363
+ "detach-cluster-disk": {
45364
+ parameters: {
45365
+ query?: never;
45366
+ header?: never;
45367
+ path: {
45368
+ /** @description The name of the organization. */
45369
+ organization: string;
45370
+ /** @description The username of the user that owns the cluster */
45371
+ user: string;
45372
+ /** @description The cluster name */
45373
+ clusterName: string;
45374
+ /** @description The id of the attached persistent disk */
45375
+ storageId: string;
45376
+ };
45377
+ cookie?: never;
45378
+ };
45379
+ requestBody?: never;
45380
+ responses: {
45381
+ /** @description No Content */
45382
+ 204: {
45383
+ headers: {
45384
+ [name: string]: unknown;
45385
+ };
45386
+ content?: never;
45387
+ };
45388
+ /** @description Error */
45389
+ default: {
45390
+ headers: {
45391
+ [name: string]: unknown;
45392
+ };
45393
+ content: {
45394
+ "application/json": components["schemas"]["Error"];
45395
+ };
45396
+ };
45397
+ };
45398
+ };
44995
45399
  "delete-elastic-cluster-icon": {
44996
45400
  parameters: {
44997
45401
  query?: never;
@@ -45222,6 +45626,40 @@ export interface operations {
45222
45626
  };
45223
45627
  };
45224
45628
  };
45629
+ "provision-cluster": {
45630
+ parameters: {
45631
+ query?: never;
45632
+ header?: never;
45633
+ path: {
45634
+ /** @description The name of the organization. */
45635
+ organization: string;
45636
+ /** @description Username of the target user. */
45637
+ user: string;
45638
+ /** @description The name of the cluster to provision */
45639
+ clusterName: string;
45640
+ };
45641
+ cookie?: never;
45642
+ };
45643
+ requestBody?: never;
45644
+ responses: {
45645
+ /** @description No Content */
45646
+ 204: {
45647
+ headers: {
45648
+ [name: string]: unknown;
45649
+ };
45650
+ content?: never;
45651
+ };
45652
+ /** @description Error */
45653
+ default: {
45654
+ headers: {
45655
+ [name: string]: unknown;
45656
+ };
45657
+ content: {
45658
+ "application/json": components["schemas"]["Error"];
45659
+ };
45660
+ };
45661
+ };
45662
+ };
45225
45663
  "resume-cluster": {
45226
45664
  parameters: {
45227
45665
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/client",
3
- "version": "7.86.0",
3
+ "version": "7.88.0",
4
4
  "description": "Official TypeScript client for Parallel Works ACTIVATE API",
5
5
  "type": "module",
6
6
  "exports": {