shoal-web-sdk 1.0.50 → 1.0.51

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.
@@ -583,6 +583,10 @@ export type ContainerNodeProps = {
583
583
  runtimeVersion?: string;
584
584
  env?: Array<string>;
585
585
  };
586
+ export type DesiredStatus = 'STOPPED' | 'SUSPENDED' | 'RUNNING';
587
+ export type DiskType = 'pd-standard' | 'pd-balanced' | 'pd-ssd' | 'pd-extreme' | 'hyperdisk-balanced' | 'hyperdisk-extreme' | 'hyperdisk-throughput';
588
+ export type MachineType = 'e2-medium' | 'e2-micro' | 'e2-small' | 'e2-standard-2' | 'e2-standard-4' | 'e2-standard-8' | 'e2-standard-16' | 'e2-highmem-2' | 'e2-highmem-4' | 'e2-highmem-8' | 'e2-highmem-16' | 'e2-highcpu-2' | 'e2-highcpu-4' | 'e2-highcpu-8' | 'e2-highcpu-16' | 'n2-standard-2' | 'n2-standard-4' | 'n2-standard-8' | 'n2-standard-16' | 'n2-highmem-2' | 'n2-highmem-4' | 'n2-highmem-8' | 'n2-highmem-16' | 'n2-highcpu-2' | 'n2-highcpu-4' | 'n2-highcpu-8' | 'n2-highcpu-16';
589
+ export type ImageVersion = 'debian-cloud/debian-11' | 'debian-cloud/debian-12' | 'ubuntu-os-cloud/ubuntu-2004-lts' | 'ubuntu-os-cloud/ubuntu-2204-lts' | 'ubuntu-os-cloud/ubuntu-2404-lts' | 'rhel-cloud/rhel-8' | 'rhel-cloud/rhel-9' | 'rocky-linux-cloud/rocky-linux-8' | 'rocky-linux-cloud/rocky-linux-9' | 'almalinux-cloud/almalinux-8' | 'almalinux-cloud/almalinux-9' | 'almalinux-cloud/almalinux-10' | 'centos-cloud/centos-stream-9' | 'centos-cloud/centos-stream-10' | 'centos-cloud/sles-12' | 'suse-cloud/sles-15' | 'oracle-linux-cloud/oracle-linux-8' | 'oracle-linux-cloud/oracle-linux-9' | 'cos-cloud/cos-stable' | 'cos-cloud/cos-beta' | 'cos-cloud/cos-dev' | 'cos-cloud/cos-arm64-stable' | 'cos-cloud/cos-arm64-beta' | 'cos-cloud/cos-arm64-dev' | 'windows-cloud/windows-2016' | 'windows-cloud/windows-2019' | 'windows-cloud/windows-2022' | 'windows-cloud/windows-2025';
586
590
  export type Region = 'europe-west2';
587
591
  export type Cpu = '1' | '2';
588
592
  export type Memory = '512Mi' | '1Gi' | '2Gi';
@@ -685,8 +689,23 @@ export type QueueNodeProps = {
685
689
  export type ProxyNodeProps = {
686
690
  subdomain?: string;
687
691
  };
692
+ export type BootDiskProps = {
693
+ bootDiskType: DiskType;
694
+ bootDiskSizeGb: number;
695
+ hasScratchDisk: boolean;
696
+ };
688
697
  export type VmNodeProps = {
689
- os?: string;
698
+ region: string;
699
+ machineType: MachineType;
700
+ image: ImageVersion;
701
+ desiredStatus: DesiredStatus;
702
+ bootDisk: BootDiskProps;
703
+ ephemeral: boolean;
704
+ startUpScript?: string;
705
+ dockerComposeFile?: string;
706
+ sshKeys?: {
707
+ [key: string]: string;
708
+ };
690
709
  };
691
710
  export type SignedUrlDownloadResponse = {
692
711
  signedUrl: string;